File tree Expand file tree Collapse file tree
apps/app/src/components/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ const Switch = React.forwardRef<
1111> ( ( { className, ...props } , ref ) => (
1212 < SwitchPrimitives . Root
1313 className = { cn (
14- "peer inline-flex 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 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input" ,
14+ "peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-border 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 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input" ,
1515 className
1616 ) }
1717 { ...props }
1818 ref = { ref }
1919 >
2020 < SwitchPrimitives . Thumb
2121 className = { cn (
22- "pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
22+ "pointer-events-none block h-5 w-5 rounded-full bg-foreground shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
2323 ) }
2424 />
2525 </ SwitchPrimitives . Root >
You can’t perform that action at this time.
0 commit comments