Skip to content

Commit 9df8623

Browse files
committed
chore: use primary instead of amber-300
1 parent f3ddf8b commit 9df8623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ui/switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function SwitchWeb({
2020
<SwitchPrimitives.Root
2121
className={cn(
2222
"peer flex-row h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed",
23-
props.checked ? "bg-amber-300" : "bg-input",
23+
props.checked ? "bg-primary" : "bg-input",
2424
props.disabled && "opacity-50",
2525
className,
2626
)}

0 commit comments

Comments
 (0)