mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 14:50:00 -07:00
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:
@@ -303,7 +303,7 @@
|
||||
|
||||
.mesh-strip-btn.disconnect {
|
||||
background: var(--accent-red, #ff3366);
|
||||
color: white;
|
||||
color: var(--text-inverse);
|
||||
}
|
||||
|
||||
.mesh-strip-btn.disconnect:hover {
|
||||
@@ -478,7 +478,7 @@
|
||||
0 2px 8px rgba(0, 0, 0, 0.6),
|
||||
0 0 20px 8px rgba(0, 255, 255, 0.7), /* Strong outer glow */
|
||||
inset 0 0 8px rgba(255, 255, 255, 0.3); /* Inner highlight */
|
||||
color: #000;
|
||||
color: var(--text-inverse);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
@@ -1088,7 +1088,7 @@
|
||||
border-radius: 4px;
|
||||
padding: 10px 14px;
|
||||
cursor: pointer;
|
||||
color: #000;
|
||||
color: var(--text-inverse);
|
||||
transition: all 0.15s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1231,7 +1231,7 @@
|
||||
background: var(--accent-cyan);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
color: #000;
|
||||
color: var(--text-inverse);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
@@ -1413,7 +1413,7 @@
|
||||
.mesh-position-btn:hover,
|
||||
.mesh-telemetry-btn:hover {
|
||||
background: var(--accent-cyan);
|
||||
color: #000;
|
||||
color: var(--text-inverse);
|
||||
border-color: var(--accent-cyan);
|
||||
}
|
||||
|
||||
@@ -1435,7 +1435,7 @@
|
||||
|
||||
.mesh-qr-btn:hover {
|
||||
background: var(--accent-cyan);
|
||||
color: #000;
|
||||
color: var(--text-inverse);
|
||||
border-color: var(--accent-cyan);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user