Skip to content

Commit 51736d2

Browse files
committed
Change hover of menu to color instead of bold #BEXIS2/Core#2071
1 parent 76a1b10 commit 51736d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/components/page/menu/MenuItem.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<button class="grid" use:popup={popupCombobox} >
3131
<a class="grid" href={menubarItem.Url} target="{menubarItem.Target}">
32-
<span class="capitalize whitespace-nowrap hover:font-bold">{comboboxValue ?? menubarItem.Title}</span>
32+
<span class="capitalize whitespace-nowrap text-lg hover:text-secondary-500">{comboboxValue ?? menubarItem.Title}</span>
3333
</a>
3434
</button>
3535
</div>
@@ -38,7 +38,7 @@
3838
<AccordionItem padding="p-2">
3939
<svelte:fragment slot="summary"
4040
><button class="flex items-center gap-x-1">
41-
<span class="capitalize hover:font-bold">{menubarItem.Title}</span>
41+
<span class="capitalize text-lg hover:text-primary-500">{menubarItem.Title}</span>
4242
</button></svelte:fragment
4343
>
4444
<svelte:fragment slot="content"
@@ -49,7 +49,7 @@
4949
</div>
5050
<div class="hidden sm:block place-self-center" use:popup={popupCombobox}>
5151
<button class="flex items-center gap-x-1 px-2">
52-
<span class="capitalize whitespace-nowrap hover:font-bold">{menubarItem.Title}▾</span>
52+
<span class="capitalize text-lg whitespace-nowrap hover:text-primary-500">{menubarItem.Title}▾</span>
5353
</button>
5454

5555
<div class="z-50 w-max" data-popup={id}>

0 commit comments

Comments
 (0)