From d8f7c6bf8125f41fa4bd37c7125b9cb5fcfdeefd Mon Sep 17 00:00:00 2001 From: Dotta Date: Fri, 6 Mar 2026 13:53:08 -0600 Subject: [PATCH] Brighten destructive/error red in dark mode for readability The dark-mode --destructive color was too dim (lightness 0.396) to read against dark backgrounds. Bumped to 0.637 lightness with higher chroma so error text is clearly visible. Set --destructive-foreground to white for contrast on destructive button backgrounds. Co-Authored-By: Claude Opus 4.6 --- ui/src/index.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/index.css b/ui/src/index.css index 1842f4f7..0fa33136 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -94,8 +94,8 @@ --muted-foreground: oklch(0.708 0 0); --accent: oklch(0.269 0 0); --accent-foreground: oklch(0.985 0 0); - --destructive: oklch(0.396 0.141 25.723); - --destructive-foreground: oklch(0.637 0.237 25.331); + --destructive: oklch(0.637 0.237 25.331); + --destructive-foreground: oklch(0.985 0 0); --border: oklch(0.269 0 0); --input: oklch(0.269 0 0); --ring: oklch(0.439 0 0);