fix: aumentar opacidade dos links da topbar de /70 para /90
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -43,12 +43,12 @@ type TopNavMenuProps = {
|
|||||||
// pl-3 pr-7: compensa os 16px da seta (ml-1 + size-3) dos triggers
|
// pl-3 pr-7: compensa os 16px da seta (ml-1 + size-3) dos triggers
|
||||||
const linkBase =
|
const linkBase =
|
||||||
"inline-flex h-9 items-center justify-center rounded-md pl-3 pr-7 py-2 text-sm font-medium transition-colors";
|
"inline-flex h-9 items-center justify-center rounded-md pl-3 pr-7 py-2 text-sm font-medium transition-colors";
|
||||||
const linkIdle = "text-foreground/70 hover:text-foreground hover:underline";
|
const linkIdle = "text-foreground/90 hover:text-foreground hover:underline";
|
||||||
const linkActive = "text-primary";
|
const linkActive = "text-primary";
|
||||||
|
|
||||||
// NavigationMenuTrigger override: remove backgrounds, keep underline style
|
// NavigationMenuTrigger override: remove backgrounds, keep underline style
|
||||||
const triggerClass = [
|
const triggerClass = [
|
||||||
"text-foreground/70!",
|
"text-foreground/90!",
|
||||||
"bg-transparent!",
|
"bg-transparent!",
|
||||||
"hover:bg-transparent!",
|
"hover:bg-transparent!",
|
||||||
"hover:text-foreground!",
|
"hover:text-foreground!",
|
||||||
|
|||||||
Reference in New Issue
Block a user