💄 Improve button styling

This commit is contained in:
Luke Vella 2023-11-24 22:06:36 +07:00
parent 3bba2c7ede
commit c208b460aa

View file

@ -16,7 +16,7 @@ const buttonVariants = cva(
destructive:
"bg-destructive text-destructive-foreground active:bg-destructive hover:bg-destructive/90",
default:
"rounded-md px-3.5 py-2.5 data-[state=open]:shadow-none hover:border-gray-100 data-[state=open]:bg-gray-100 active:bg-gray-100 hover:bg-white/50 bg-gray-50",
"rounded-md px-3.5 py-2.5 data-[state=open]:shadow-none data-[state=open]:bg-gray-100 active:bg-gray-200 hover:bg-gray-100 bg-gray-50",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
ghost: "border-transparent hover:bg-gray-200 active:bg-gray-300",