pull/6571/head
sean-brydon 2023-01-21 16:14:08 +00:00 committed by GitHub
parent da0ea5d9d0
commit 0e04f5d338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -39,7 +39,7 @@ const buttonClasses = cva(
variant: {
button: "",
icon: "flex justify-center",
fab: "h-14 w-14 sm:h-9 sm:w-auto rounded-full justify-center sm:rounded-md sm:px-4 sm:py-2.5 radix-state-open:rotate-45 sm:radix-state-open:rotate-0 transition-transform radix-state-open:shadown-none radix-state-open:ring-0 !shadow-none",
fab: "rounded-full justify-center sm:rounded-md radix-state-open:rotate-45 sm:radix-state-open:rotate-0 transition-transform radix-state-open:shadown-none radix-state-open:ring-0 !shadow-none",
},
color: {
primary: "text-white dark:text-black",
@ -145,6 +145,11 @@ const buttonClasses = cva(
size: "sm",
className: "h-6 w-6 !p-1",
},
{
variant: "fab",
size: "base",
className: "h-14 sm:h-9 sm:w-auto sm:px-4 sm:py-2.5",
},
],
defaultVariants: {
variant: "button",