Skip to content

Commit

Permalink
Fix dark mode in search navigation (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
katharinawuensche committed Jun 13, 2024
1 parent 91c084b commit bc172cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ definePageMeta({
v-for="link in links"
:key="link.label"
:to="link.href"
class="group m-2 flex h-fit items-center gap-4 rounded-md border p-2 shadow transition hover:bg-primary-50 active:bg-primary-50 xl:mx-0 dark:hover:bg-primary-950 dark:active:bg-primary-950"
:class="$route.path === link.href.path && 'bg-primary-100'"
class="group m-2 flex h-fit items-center gap-4 rounded-md border p-2 shadow transition hover:bg-primary-100 active:bg-primary-100 xl:mx-0 dark:hover:bg-primary-900 dark:active:bg-primary-900"
:class="$route.path === link.href.path && 'bg-primary-100 dark:bg-primary-900'"
>
<component
:is="link.icon"
Expand Down

0 comments on commit bc172cd

Please sign in to comment.