Skip to content

Commit 1e0bf2b

Browse files
committed
change style in routes menu
1 parent 2f2755e commit 1e0bf2b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/routes-menu/Item.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ const props = defineProps<{
1010
<template>
1111
<NuxtLink
1212
:to="props.route"
13-
class="hover:bg-muted-foreground/30 text-md w-full cursor-pointer justify-start rounded-lg px-2.5 py-1.5"
13+
class="text-md w-full cursor-pointer justify-start rounded-lg px-2.5 py-1.5"
1414
:class="
1515
route.fullPath == props.route
16-
? 'bg-muted-foreground/40 hover:bg-muted-foreground/40 font-bold'
17-
: ''
16+
? 'bg-primary text-primary-foreground'
17+
: 'hover:bg-muted'
1818
"
1919
>
2020
{{ props.title }}

components/routes-menu/Menu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const menuItems = [
2222
</script>
2323

2424
<template>
25-
<div :class="cn('flex flex-col gap-2', props.class)">
25+
<div :class="cn('flex flex-col gap-3', props.class)">
2626
<DrawerClose v-if="withDrawerClose" as-child v-for="item in menuItems">
2727
<RoutesMenuItem :title="item.title" :route="item.route" />
2828
</DrawerClose>

0 commit comments

Comments
 (0)