Skip to content

Commit 837fafd

Browse files
committed
fix(webapp): drop the shadow from the tertiary slider handle
The run timeline's zoom handle carried a 4px-spread drop shadow that read as a dark halo. Removed from the variant rather than the call site, so the storybook sample matches. The `focus:` copy of the shadow went with it: it was byte-identical to the base one, so focus already looked the same as rest and nothing is lost. Also drops `hover:border-text-dimmed`, which set the border to the colour it already was.
1 parent 54636f9 commit 837fafd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

apps/webapp/app/components/primitives/Slider.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ const variants = {
2626
root: "h-4",
2727
track: "h-1 bg-grid-bright group-hover:bg-background-dimmed",
2828
range: "bg-transparent group-hover:bg-secondary",
29-
thumb:
30-
"h-3 w-3 border-2 border-text-dimmed bg-grid-bright shadow-[0_1px_3px_4px_rgb(0_0_0/0.2),0_1px_2px_-1px_rgb(0_0_0/0.1)] hover:border-text-dimmed focus:shadow-[0_1px_3px_4px_rgb(0_0_0/0.2),0_1px_2px_-1px_rgb(0_0_0/0.1)]",
29+
thumb: "h-3 w-3 border-2 border-text-dimmed bg-grid-bright",
3130
thumbSize: 12,
3231
mark: "bg-grid-bright border-background-dimmed",
3332
markHover: "hover:bg-text-dimmed",

0 commit comments

Comments
 (0)