From a94d1aeb2f2407171327ccd58b20b980e808c40b Mon Sep 17 00:00:00 2001 From: Andres Date: Wed, 14 Aug 2024 09:19:32 -0600 Subject: [PATCH] fix(IR-37-46): fixed order of disabled buttton classes --- packages/ui/src/primitives/tailwind/Button/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/primitives/tailwind/Button/index.tsx b/packages/ui/src/primitives/tailwind/Button/index.tsx index 31641e2262..8daeef8fec 100644 --- a/packages/ui/src/primitives/tailwind/Button/index.tsx +++ b/packages/ui/src/primitives/tailwind/Button/index.tsx @@ -90,8 +90,8 @@ const Button = React.forwardRef( sizes[size], fullWidth ? 'w-full' : 'w-fit', roundedTypes[rounded], - variants[variant], disabled ? 'bg-[#F3F4F6] text-[#9CA3AF] dark:bg-[#5F7DBF] dark:text-[#FFFFFF]' : '', + variants[variant], className )