reinit shadcn-svelte, fixes #318

This commit is contained in:
vcoppe
2026-04-07 22:01:58 +02:00
parent 5aaacccef9
commit 694e73a677
7 changed files with 194 additions and 93 deletions

View File

@@ -31,13 +31,13 @@ get along, so we shut typescript up by casting `value` to `never`.
data-slot="slider-track"
data-orientation={orientation}
class={cn(
"h-1.5 bg-muted rounded-full data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1 bg-muted relative grow overflow-hidden data-horizontal:w-full data-vertical:h-full"
"bg-muted rounded-full data-horizontal:h-1.5 data-horizontal:w-full data-vertical:h-full data-vertical:w-1 bg-muted relative grow overflow-hidden data-horizontal:w-full data-vertical:h-full"
)}
>
<SliderPrimitive.Range
data-slot="slider-range"
class={cn(
"h-full bg-black absolute select-none data-horizontal:h-full data-vertical:w-full"
"bg-primary absolute select-none data-horizontal:h-full data-vertical:w-full"
)}
/>
</span>