From 39cfc3bd3e06d49e93468962f7929e8dbdc9f2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Wed, 22 Jul 2026 21:03:51 +0300 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20polish=20nav=20active?= =?UTF-8?q?=20states=20with=20subtle=20glow=20and=20group=20highlight=20-?= =?UTF-8?q?=20add=20inset=20shadow=20+=20glow=20on=20active=20nav=20items?= =?UTF-8?q?=20(side=20+=20tab=20bar)=20-=20highlight=20group=20heading=20w?= =?UTF-8?q?hen=20any=20child=20is=20active?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/mobile-tab-bar.tsx | 4 ++-- src/components/layout/side-nav.tsx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/layout/mobile-tab-bar.tsx b/src/components/layout/mobile-tab-bar.tsx index 1407ff9..2c2420b 100644 --- a/src/components/layout/mobile-tab-bar.tsx +++ b/src/components/layout/mobile-tab-bar.tsx @@ -61,8 +61,8 @@ export function MobileTabBar(props: { onMenu: () => void }) { > diff --git a/src/components/layout/side-nav.tsx b/src/components/layout/side-nav.tsx index 7807699..81f7454 100644 --- a/src/components/layout/side-nav.tsx +++ b/src/components/layout/side-nav.tsx @@ -176,12 +176,12 @@ function NavLink(props: { props.standalone ? "text-xs font-semibold" : "text-[13px] font-medium", props.collapsed ? "justify-center px-0 h-10 w-10 mx-auto" : props.standalone ? "gap-2.5 px-3" : "gap-2.5 pl-8 pr-3", active() - ? "bg-primary/12 text-primary font-semibold shadow-sm" + ? "bg-primary/12 text-primary font-semibold shadow-[inset_0_0_0_1px_hsl(var(--primary)/0.14),0_1px_6px_hsl(var(--primary)/0.08)]" : "text-sidebar-foreground/80 hover:bg-secondary hover:text-foreground", )} > - + {t(props.item.labelKey)} @@ -275,8 +275,8 @@ export function SideNav(props: { onNavigate?: () => void; collapsed?: boolean })