fix: use !important on dark theme CSS variables
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 7s
Mirror to GitHub / mirror (push) Failing after 5s
Tests / test (push) Successful in 25s

Force dark theme variables to override :root values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude 2026-03-23 19:47:27 +00:00
parent 39c1c1b9ea
commit 2aa5f00192

View file

@ -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 {