style(folder-browser): auto-contrast text on selected row

Replace hardcoded #fff on `.folder-col-row.selected` with a relative
OKLCH expression that picks black or white based on the accent's
lightness. Keeps rows readable on bright-accent themes (Muma, pastel
sets) without per-theme overrides.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Psychotoxical
2026-04-19 16:44:08 +02:00
parent 6878867e64
commit 81ed6db9d1
+2 -2
View File
@@ -7814,11 +7814,11 @@ html.no-compositing .fsr-lyric-line.fsrl-active .fsr-lyric-word.active {
.folder-col-row.selected {
background: var(--accent);
color: #fff;
color: oklch(from var(--accent) clamp(0, (0.58 - l) * 100, 1) 0 h);
}
.folder-col-row.selected .folder-col-chevron {
color: rgba(255, 255, 255, 0.7);
color: oklch(from var(--accent) clamp(0, (0.58 - l) * 100, 1) 0 h / 0.7);
}
.folder-col-icon {