diff --git a/.visual-evidence/sidebar-nav/after.png b/.visual-evidence/sidebar-nav/after.png new file mode 100644 index 000000000..f8685e0f9 Binary files /dev/null and b/.visual-evidence/sidebar-nav/after.png differ diff --git a/.visual-evidence/sidebar-nav/before.png b/.visual-evidence/sidebar-nav/before.png new file mode 100644 index 000000000..1f76ecd1b Binary files /dev/null and b/.visual-evidence/sidebar-nav/before.png differ diff --git a/src/renderer/src/components/settings/SettingsSidebar.tsx b/src/renderer/src/components/settings/SettingsSidebar.tsx index 4a28cca75..21fb22082 100644 --- a/src/renderer/src/components/settings/SettingsSidebar.tsx +++ b/src/renderer/src/components/settings/SettingsSidebar.tsx @@ -140,10 +140,10 @@ export function SettingsSidebar({ const searchShortcutHint = useShortcutLabel('settings.search') const navItemClassName = (isActive: boolean): string => cn( - 'flex w-full items-center gap-2 rounded-lg px-3 py-1.5 text-left text-[13px] outline-none transition-colors focus-visible:ring-[3px] focus-visible:ring-worktree-sidebar-ring/50', + 'flex w-full items-center gap-2 rounded-lg px-3 py-1.5 text-left text-[13px] outline-none transition-colors duration-150 focus-visible:ring-[3px] focus-visible:ring-worktree-sidebar-ring/50', isActive - ? 'bg-worktree-sidebar-accent font-medium text-worktree-sidebar-accent-foreground' - : 'text-worktree-sidebar-foreground/60 hover:bg-worktree-sidebar-foreground/8 hover:text-worktree-sidebar-foreground' + ? 'bg-worktree-sidebar-accent font-medium text-worktree-sidebar-accent-foreground ring-1 ring-worktree-sidebar-ring/25' + : 'text-worktree-sidebar-foreground/60 hover:bg-worktree-sidebar-accent/60 hover:text-worktree-sidebar-foreground' ) const installStatusLabel = (status: SettingsNavInstallStatus): string => { switch (status) {