diff --git a/components/topbar/app-topbar.tsx b/components/topbar/app-topbar.tsx index b877035..10b120d 100644 --- a/components/topbar/app-topbar.tsx +++ b/components/topbar/app-topbar.tsx @@ -29,8 +29,8 @@ export function AppTopbar({ notificationsSnapshot, }: AppTopbarProps) { return ( -
-
+
+
{/* Logo */} {icon} diff --git a/components/topbar/nav-styles.ts b/components/topbar/nav-styles.ts index c7845f9..c3ce002 100644 --- a/components/topbar/nav-styles.ts +++ b/components/topbar/nav-styles.ts @@ -1,20 +1,29 @@ +// Base para links diretos e triggers — pill arredondado export const linkBase = - "inline-flex h-9 items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-colors"; + "inline-flex h-8 items-center justify-center rounded-full px-3 text-sm font-medium transition-all"; -export const linkIdle = "text-foreground hover:text-foreground hover:underline"; +// Estado inativo: muted, hover suave sem underline +export const linkIdle = + "text-muted-foreground hover:text-foreground hover:bg-accent"; -export const linkActive = "text-primary"; +// Estado ativo: pill com cor primária +export const linkActive = "bg-primary/10 text-primary"; +// Trigger do NavigationMenu — espelha linkBase + linkIdle, remove estilos padrão export const triggerClass = [ - "text-foreground!", - "bg-transparent!", - "hover:bg-transparent!", - "hover:text-foreground!", - "hover:underline!", - "focus:bg-transparent!", - "focus:text-foreground!", - "data-[state=open]:bg-transparent!", - "data-[state=open]:text-foreground!", - "data-[state=open]:underline!", + "h-8!", + "rounded-full!", "px-3!", + "py-0!", + "text-sm!", + "font-medium!", + "bg-transparent!", + "text-muted-foreground!", + "hover:text-foreground!", + "hover:bg-accent!", + "focus:text-foreground!", + "focus:bg-accent!", + "data-[state=open]:text-foreground!", + "data-[state=open]:bg-accent!", + "shadow-none!", ].join(" ");