mirror of
https://github.com/smittix/intercept.git
synced 2026-06-14 16:43:38 -07:00
fix: introduce --accent-cyan-rgb to make all opacity variants theme-aware
All files used hardcoded rgba(74, 163/158, 255, X) values in actual CSS rules that CSS variable overrides couldn't touch. Solution: add --accent-cyan-rgb triplet to variables.css root/light/enhanced blocks, then replace every rgba(74,1xx,255,) occurrence across all CSS files with rgba(var(--accent-cyan-rgb),). Enhanced tier sets the triplet to 200, 150, 40 (amber), so tscm.css panel bg, index.css card borders, and all other tinted surfaces go amber automatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -650,9 +650,9 @@
|
||||
}
|
||||
|
||||
.mesh-badge-primary {
|
||||
background: rgba(74, 158, 255, 0.15);
|
||||
background: rgba(var(--accent-cyan-rgb), 0.15);
|
||||
color: var(--accent-cyan);
|
||||
border: 1px solid rgba(74, 158, 255, 0.3);
|
||||
border: 1px solid rgba(var(--accent-cyan-rgb), 0.3);
|
||||
}
|
||||
|
||||
.mesh-badge-secondary {
|
||||
@@ -1349,7 +1349,7 @@
|
||||
}
|
||||
|
||||
.mesh-traceroute-snr.snr-ok {
|
||||
background: rgba(74, 158, 255, 0.15);
|
||||
background: rgba(var(--accent-cyan-rgb), 0.15);
|
||||
color: var(--accent-cyan);
|
||||
}
|
||||
|
||||
@@ -1572,7 +1572,7 @@
|
||||
}
|
||||
|
||||
.mesh-network-neighbor-snr.snr-ok {
|
||||
background: rgba(74, 158, 255, 0.15);
|
||||
background: rgba(var(--accent-cyan-rgb), 0.15);
|
||||
color: var(--accent-cyan);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user