From ab21af154c4a96c7ed349e817abf59d4db202b37 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 7 Apr 2026 12:25:37 +0200 Subject: [PATCH] fix(web): improve muted-foreground contrast ratio for WCAG AA compliance Darken --muted-foreground from oklch(0.552) to oklch(0.541) in light mode, raising the contrast ratio on muted backgrounds from 4.39:1 to ~4.55:1 (WCAG AA minimum is 4.5:1). Co-Authored-By: Claude Opus 4.6 (1M context) --- webui2/src/index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui2/src/index.css b/webui2/src/index.css index 6df72c1cb1ab8e68c9e13f7028e81115dc3035b6..ccab94439c37c23afbc015846aed55cd6bfceb06 100644 --- a/webui2/src/index.css +++ b/webui2/src/index.css @@ -20,7 +20,7 @@ --secondary: oklch(0.967 0.001 286.375); --secondary-foreground: oklch(0.21 0.006 285.885); --muted: oklch(0.967 0.001 286.375); - --muted-foreground: oklch(0.552 0.016 285.938); + --muted-foreground: oklch(0.541 0.016 285.938); --accent: oklch(0.967 0.001 286.375); --accent-foreground: oklch(0.21 0.006 285.885); --destructive: oklch(0.577 0.245 27.325);