fix(lyrics): use theme accent color for active line highlight

Replace hardcoded purple (#a78bfa / rgb(99,102,241)) with
var(--accent-primary) so the karaoke gradient and glow adapt
to the active theme.

cc
This commit is contained in:
vicrodh committed 2026-04-07 19:34:00 -06:00
1 parent 42b429e86d
commit 59b34132c3
1 file changed
+4 -4
+4 -4
View File
@@ -345,8 +345,8 @@
text-shadow:
0 1px 3px rgba(0, 0, 0, 0.6),
0 2px 10px rgba(0, 0, 0, 0.4),
0 0 40px rgba(99, 102, 241, 0.4),
0 0 80px rgba(99, 102, 241, 0.2);
0 0 40px color-mix(in srgb, var(--accent-primary) 40%, transparent),
0 0 80px color-mix(in srgb, var(--accent-primary) 20%, transparent);
}
.lyrics-lines.center .lyrics-line.active {
@@ -358,8 +358,8 @@
--progress-pos: calc(var(--line-progress, 0) * 100%);
background: linear-gradient(
90deg,
#a78bfa 0%,
#a78bfa var(--progress-pos),
var(--accent-primary) 0%,
var(--accent-primary) var(--progress-pos),
var(--text-primary) var(--progress-pos),
var(--text-primary) 100%
);