From 026d5d34d3624e335bbf6fdd9a0d26c98e5b23c4 Mon Sep 17 00:00:00 2001 From: Ionut Anin Date: Tue, 16 Jan 2024 19:53:31 +0200 Subject: [PATCH] Update src/components/switch.tsx Co-authored-by: Radu-Cristian Popa --- src/components/switch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/switch.tsx b/src/components/switch.tsx index bc046b61..27cc51dd 100644 --- a/src/components/switch.tsx +++ b/src/components/switch.tsx @@ -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',