From 2aa5f00192ab18080effbede7035ab57a3bda8f1 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Mar 2026 19:47:27 +0000 Subject: [PATCH] fix: use !important on dark theme CSS variables Force dark theme variables to override :root values. Co-Authored-By: Claude Opus 4.6 --- internal/views/static/css/samsa.css | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/internal/views/static/css/samsa.css b/internal/views/static/css/samsa.css index 5e768e0..eb1f478 100644 --- a/internal/views/static/css/samsa.css +++ b/internal/views/static/css/samsa.css @@ -26,19 +26,19 @@ html[data-theme="dark"], @media (prefers-color-scheme: dark) { - --bg: #0f0f0f; - --bg-secondary: #1a1a1a; - --bg-tertiary: #242424; - --border: #2e2e2e; - --border-focus: #404040; - --text-primary: #e8eaed; - --text-secondary: #9aa0a6; - --text-muted: #6b7280; - --accent: #14b8a6; - --accent-hover: #2dd4bf; - --accent-soft: #134e4a; - --shadow-sm: 0 1px 3px rgba(0,0,0,0.3); - --shadow-md: 0 4px 12px rgba(0,0,0,0.4); + --bg: #0f0f0f !important; + --bg-secondary: #1a1a1a !important; + --bg-tertiary: #242424 !important; + --border: #2e2e2e !important; + --border-focus: #404040 !important; + --text-primary: #e8eaed !important; + --text-secondary: #9aa0a6 !important; + --text-muted: #6b7280 !important; + --accent: #14b8a6 !important; + --accent-hover: #2dd4bf !important; + --accent-soft: #134e4a !important; + --shadow-sm: 0 1px 3px rgba(0,0,0,0.3) !important; + --shadow-md: 0 4px 12px rgba(0,0,0,0.4) !important; } *, *::before, *::after {