Skip to content

Commit 4f76629

Browse files
committed
fix: use color without opacity effect and also apply shadow to selected cards
1 parent 83cdee4 commit 4f76629

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/BookCard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function handleClick(e: MouseEvent) {
4545
>
4646
<UCard
4747
variant="subtle"
48-
class="h-full transition-all hover:shadow-lg dark:hover:shadow-neutral-200/20"
48+
class="h-full transition-all hover:shadow-lg dark:hover:shadow-neutral-700"
4949
:ui="{
5050
header: 'p-0 sm:px-0',
5151
body: 'p-2 sm:p-4'
@@ -93,7 +93,7 @@ function handleClick(e: MouseEvent) {
9393
class="overflow-hidden h-full transition-all"
9494
:class="{
9595
'ring-2 ring-primary shadow-lg': selected,
96-
'hover:shadow-lg': !selected
96+
'hover:shadow-lg dark:hover:shadow-neutral-700': !selected
9797
}"
9898
>
9999
<!-- Cover in header slot - no padding -->

0 commit comments

Comments
 (0)