fix(header): drop nav triggers back to font-light
navigationMenuTriggerStyle ships with font-medium baked in. Our pre-NavigationMenu nav had no weight class so it inherited Roboto 300 (font-light) from the body, which read more in keeping with the restrained aesthetic of the rest of the page. Override the cva base with font-light on each NavigationMenuTrigger and on the Marketplace flat link. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
262fb039a8
commit
0aeab92763
1 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ watch(() => route.path, closeMobile)
|
||||||
<NavigationMenuList>
|
<NavigationMenuList>
|
||||||
<NavigationMenuItem v-for="g in groups" :key="g.id">
|
<NavigationMenuItem v-for="g in groups" :key="g.id">
|
||||||
<NavigationMenuTrigger
|
<NavigationMenuTrigger
|
||||||
class="bg-transparent hover:bg-muted hover:text-primary focus:bg-muted focus:text-primary data-[state=open]:bg-muted data-[state=open]:text-primary"
|
class="bg-transparent font-light hover:bg-muted hover:text-primary focus:bg-muted focus:text-primary data-[state=open]:bg-muted data-[state=open]:text-primary"
|
||||||
>
|
>
|
||||||
{{ g.label }}
|
{{ g.label }}
|
||||||
</NavigationMenuTrigger>
|
</NavigationMenuTrigger>
|
||||||
|
|
@ -125,7 +125,7 @@ watch(() => route.path, closeMobile)
|
||||||
:class="
|
:class="
|
||||||
cn(
|
cn(
|
||||||
navigationMenuTriggerStyle(),
|
navigationMenuTriggerStyle(),
|
||||||
'bg-transparent hover:bg-muted hover:text-primary focus:bg-muted focus:text-primary',
|
'bg-transparent font-light hover:bg-muted hover:text-primary focus:bg-muted focus:text-primary',
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue