From 7561d846fad2d90d3d34802d948988169492fec6 Mon Sep 17 00:00:00 2001 From: Xubin Ren <52506698+Re-bin@users.noreply.github.com> Date: Mon, 27 Jul 2026 21:44:19 +0800 Subject: [PATCH] style(webui): highlight selected conversations --- webui/src/components/ChatList.tsx | 5 +++-- webui/src/tests/chat-list.test.tsx | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/webui/src/components/ChatList.tsx b/webui/src/components/ChatList.tsx index 142808052..12c36297b 100644 --- a/webui/src/components/ChatList.tsx +++ b/webui/src/components/ChatList.tsx @@ -255,13 +255,14 @@ export const ChatList = memo(function ChatList({ "group flex min-w-0 max-w-full items-center gap-2 rounded-xl px-2 text-[13px] transition-colors", compact ? "min-h-7" : "min-h-8", active - ? "bg-sidebar-accent/70 text-sidebar-accent-foreground shadow-[inset_0_0_0_1px_hsl(var(--sidebar-border)/0.16)]" - : "text-sidebar-foreground/82 hover:bg-sidebar-accent/50 hover:text-sidebar-foreground", + ? "bg-sidebar-accent text-sidebar-accent-foreground shadow-[inset_0_0_0_1px_hsl(var(--sidebar-border)/0.55)]" + : "text-sidebar-foreground/82 hover:bg-sidebar-accent/75 hover:text-sidebar-foreground", )} >