Review tread scrubber colors

This commit is contained in:
dtonon 2026-05-11 20:52:52 +01:00
parent 1af92c8399
commit b942c4616e

View file

@ -163,13 +163,13 @@
> >
<!-- Track line --> <!-- Track line -->
<div <div
class="absolute top-0 bottom-0 rounded-full bg-brand" class="absolute top-0 bottom-0 rounded-full bg-neutral-400"
style="width: 2px; right: 4px;" style="width: 2px; right: 4px;"
></div> ></div>
<!-- Thumb --> <!-- Thumb -->
<div <div
class="absolute rounded-full bg-brand hover:bg-neutral-800 transition-colors cursor-grab active:cursor-grabbing touch-none" class="absolute rounded-full bg-brand hover:bg-neutral-600 transition-colors cursor-grab active:cursor-grabbing touch-none"
style="width: 4px; right: 3px; top: {thumbTop}px; height: {thumbHeight}px;" style="width: 4px; right: 3px; top: {thumbTop}px; height: {thumbHeight}px;"
onpointerdown={onThumbPointerDown} onpointerdown={onThumbPointerDown}
onpointermove={onThumbPointerMove} onpointermove={onThumbPointerMove}
@ -180,7 +180,7 @@
<!-- Current date label --> <!-- Current date label -->
<div <div
class="absolute text-xs text-brand whitespace-nowrap pointer-events-none leading-tight" class="absolute text-xs text-neutral-400 whitespace-nowrap pointer-events-none leading-tight"
style="right: 18px; top: {thumbTop + style="right: 18px; top: {thumbTop +
thumbHeight / 2}px; transform: translateY(-50%);" thumbHeight / 2}px; transform: translateY(-50%);"
> >