From 33aa70e4a5cdfc848730b1b504948e5991c16c2d Mon Sep 17 00:00:00 2001 From: Wenyan0315 <206175637+Wenyan0315@users.noreply.github.com> Date: Wed, 7 Oct 2026 21:51:37 +0800 Subject: [PATCH] fix(webui): improve destructive contrast in dark mode --- webui/src/globals.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webui/src/globals.css b/webui/src/globals.css index dadaae638..67f2e568f 100644 --- a/webui/src/globals.css +++ b/webui/src/globals.css @@ -80,8 +80,9 @@ --muted-foreground: 0 0% 65%; --accent: 0 0% 25%; --accent-foreground: 0 0% 98%; - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 0% 98%; + /* Destructive text needs contrast on dark surfaces; filled controls use a dark label. */ + --destructive: 0 93.5% 81.8%; + --destructive-foreground: 0 0% 9%; --border: 0 0% 28%; --input: var(--border); --ring: 0 0% 83.1%;