Skip to content

Commit d3d50af

Browse files
committed
radio group updates
1 parent cd2ff58 commit d3d50af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/demos/radio-group-demo.svelte

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,32 @@
44

55
<RadioGroup.Root class="flex flex-col gap-4 text-sm font-medium">
66
<div
7-
class="group flex cursor-pointer select-none items-center gap-3 text-foreground/50 transition-colors [&:has([data-state=checked])]:text-foreground"
7+
class="group flex cursor-pointer select-none items-center gap-3 text-foreground transition-all"
88
>
99
<RadioGroup.Item
1010
id="amazing"
1111
value="amazing"
12-
class="shrink-0 rounded-full border-2 border-foreground/40 ring-offset-1 transition-all duration-200 sq-5 focus:outline-none focus-visible:ring-2 focus-visible:ring-foreground/70 data-[state=checked]:border-6 data-[state=checked]:border-foreground data-[state=checked]:group-hover:border-foreground"
12+
class="shrink-0 rounded-full border border-border-input bg-background transition-all duration-150 ease-in-out sq-5 data-[state=checked]:border-6 data-[state=checked]:border-foreground"
1313
/>
1414
<Label.Root for="amazing">Amazing</Label.Root>
1515
</div>
1616
<div
17-
class="group flex cursor-pointer select-none items-center gap-3 text-foreground/50 transition-colors [&:has([data-state=checked])]:text-foreground"
17+
class="group flex cursor-pointer select-none items-center gap-3 text-foreground transition-all"
1818
>
1919
<RadioGroup.Item
2020
id="average"
2121
value="average"
22-
class="shrink-0 rounded-full border-2 border-foreground/40 ring-offset-1 transition-all duration-200 sq-5 focus:outline-none focus-visible:ring-2 focus-visible:ring-foreground/70 data-[state=checked]:border-6 data-[state=checked]:border-foreground data-[state=checked]:group-hover:border-foreground "
22+
class="shrink-0 rounded-full border border-border-input bg-background transition-all duration-150 ease-in-out sq-5 data-[state=checked]:border-6 data-[state=checked]:border-foreground"
2323
/>
2424
<Label.Root for="average">Average</Label.Root>
2525
</div>
2626
<div
27-
class="group flex cursor-pointer select-none items-center gap-3 text-foreground/50 transition-colors [&:has([data-state=checked])]:text-foreground"
27+
class="group flex cursor-pointer select-none items-center gap-3 text-foreground transition-all"
2828
>
2929
<RadioGroup.Item
3030
id="terrible"
3131
value="terrible"
32-
class="shrink-0 rounded-full border-2 border-foreground/40 ring-offset-1 transition-all duration-200 sq-5 focus:outline-none focus-visible:ring-2 focus-visible:ring-foreground/70 data-[state=checked]:border-6 data-[state=checked]:border-foreground data-[state=checked]:group-hover:border-foreground"
32+
class="shrink-0 rounded-full border border-border-input bg-background transition-all duration-150 ease-in-out sq-5 data-[state=checked]:border-6 data-[state=checked]:border-foreground"
3333
/>
3434
<Label.Root for="terrible">Terrible</Label.Root>
3535
</div>

0 commit comments

Comments
 (0)