refactor: use explicit hex color for skip segments

This commit is contained in:
2026-05-24 21:13:42 +02:00
parent 7c1045df93
commit 650b2e614a

View File

@@ -67,7 +67,7 @@ export const renderSegments = (): void => {
// use distinct colors so segments are readable over buffered/progress fills
bar.className = 'absolute top-0 h-full opacity-95';
// single color for OP/ED, rendered above buffered/progress fills
bar.classList.add('bg-amber-300/90');
bar.style.backgroundColor = '#f5c542';
bar.style.left = `${(s.start / bounds) * 100}%`;
bar.style.width = `${((s.end - s.start) / bounds) * 100}%`;
track.appendChild(bar);