From 555e4be95e00131fc335ec03043a4300e4bd342a Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Fri, 18 Sep 2026 00:36:36 +0800 Subject: [PATCH] fix(webui): widen the default sidebar and canvas contrast The default palette kept the rail almost the same tone as the page. Darken the rail in both light and dark so the split reads clearly. --- packages/webui/src/index.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/webui/src/index.css b/packages/webui/src/index.css index 10fffa17..595175e8 100644 --- a/packages/webui/src/index.css +++ b/packages/webui/src/index.css @@ -51,11 +51,11 @@ --input: oklch(94% 0.012 240); --ring: oklch(68.5% 0.155 230); - --sidebar: oklch(98% 0.006 240); + --sidebar: oklch(94% 0.008 240); --sidebar-foreground: oklch(25% 0.03 250); --sidebar-primary: oklch(68.5% 0.155 230); --sidebar-primary-foreground: oklch(99% 0.005 240); - --sidebar-accent: oklch(94% 0.025 230); + --sidebar-accent: oklch(90% 0.025 230); --sidebar-accent-foreground: oklch(35% 0.08 230); --sidebar-border: oklch(92% 0.01 240); --sidebar-ring: oklch(68.5% 0.155 230); @@ -108,7 +108,7 @@ --input: oklch(26% 0.02 250); --ring: oklch(75% 0.14 230); - --sidebar: oklch(18% 0.022 250); + --sidebar: oklch(12% 0.018 250); --sidebar-foreground: oklch(92% 0.01 240); --sidebar-primary: oklch(75% 0.14 230); --sidebar-primary-foreground: oklch(15% 0.02 250);