mirror of
https://github.com/smittix/intercept.git
synced 2026-06-20 03:14:21 -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:
@@ -12,8 +12,8 @@
|
||||
background: var(--accent-red) !important;
|
||||
}
|
||||
@keyframes vdl2-pulse {
|
||||
0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 158, 255, 0.7); }
|
||||
50% { opacity: 0.6; box-shadow: 0 0 6px 3px rgba(74, 158, 255, 0.3); }
|
||||
0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(var(--accent-cyan-rgb), 0.7); }
|
||||
50% { opacity: 0.6; box-shadow: 0 0 6px 3px rgba(var(--accent-cyan-rgb), 0.3); }
|
||||
}
|
||||
|
||||
/* VDL2 message animation */
|
||||
@@ -23,7 +23,7 @@
|
||||
animation: vdl2FadeIn 0.3s ease;
|
||||
}
|
||||
.vdl2-msg:hover {
|
||||
background: rgba(74, 158, 255, 0.05);
|
||||
background: rgba(var(--accent-cyan-rgb), 0.05);
|
||||
}
|
||||
@keyframes vdl2FadeIn {
|
||||
from { opacity: 0; transform: translateY(-3px); }
|
||||
|
||||
Reference in New Issue
Block a user