From 1c61b47a64e20cb0f71e8f4ed0df7ada7d10a675 Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Sat, 14 Mar 2026 12:11:07 -0700 Subject: [PATCH] Glassmorphic active state for sidebar buttons with accent border shine --- app/src/components/Sidebar.tsx | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/app/src/components/Sidebar.tsx b/app/src/components/Sidebar.tsx index 9ddb3c98..ac4e9f17 100644 --- a/app/src/components/Sidebar.tsx +++ b/app/src/components/Sidebar.tsx @@ -32,7 +32,15 @@ export function Sidebar({ isMacOS }: SidebarProps) { > {/* Logo */}
- Voicebox + Voicebox
{/* Navigation Buttons */} @@ -48,14 +56,25 @@ export function Sidebar({ isMacOS }: SidebarProps) { key={tab.id} to={tab.path} className={cn( - 'w-12 h-12 rounded-full flex items-center justify-center transition-all duration-200', - 'hover:bg-muted/50', - isActive ? 'bg-muted/50 text-foreground shadow-lg' : 'text-muted-foreground', + 'relative w-12 h-12 rounded-full flex items-center justify-center transition-all duration-200 overflow-hidden', + isActive + ? 'bg-white/[0.07] text-foreground shadow-lg backdrop-blur-sm border border-white/[0.08]' + : 'text-muted-foreground hover:bg-muted/50', )} title={tab.label} aria-label={tab.label} > - + {isActive && ( +
+ )} + ); })}