Skip to content

Commit

Permalink
Update src/components/switch.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Radu-Cristian Popa <[email protected]>
  • Loading branch information
ionutanin and raducristianpopa authored Jan 16, 2024
1 parent 73b4b47 commit 026d5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { cn } from '@/utils/cn'

const switchVariants = cva(
[
'rounded-full bg-disabled-strong relative cursor-pointer transition-all duration-300 ease-in-out',
'rounded-full bg-disabled-strong relative cursor-pointer transition-colors duration-300 ease-in-out',
'before:content-[""] before:absolute before:bg-white before:rounded-full',
'before:top-1/2 before:transform before:-translate-y-1/2 before:left-[4px]',
'before:transition-all before:duration-300 before:ease-in-out',
Expand Down

0 comments on commit 026d5d3

Please sign in to comment.