fix: replace 100+ hardcoded colors with CSS variables for light theme

Add theme-aware severity/neon CSS variables and replace hardcoded hex
colors (#fff, #000, #00ff88, #ffcc00, etc.) with var() references
across 26 files so text remains readable in both dark and light themes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-03-03 11:35:17 +00:00
parent f3d475d53a
commit 38644bced6
26 changed files with 4415 additions and 4326 deletions

View File

@@ -262,7 +262,7 @@
.toggle-switch input:checked + .toggle-slider:before {
transform: translateX(20px);
background-color: white;
background-color: var(--text-inverse);
}
.toggle-switch input:focus + .toggle-slider {
@@ -430,7 +430,7 @@
background: linear-gradient(135deg, var(--accent-amber, #d4a853) 0%, var(--accent-orange, #f59e0b) 100%);
border: none;
border-radius: 6px;
color: #000;
color: var(--text-inverse);
font-size: 13px;
font-weight: 600;
text-decoration: none;