Update button

This commit is contained in:
Leon van Zyl
2025-08-13 09:25:25 +02:00
parent c412e6e76d
commit 4eae69b8ce
7 changed files with 74 additions and 54 deletions

View File

@@ -10,7 +10,7 @@ const buttonVariants = cva(
variants: {
variant: {
default:
"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
"relative bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 hover:brightness-110 before:absolute before:inset-0 before:rounded-[inherit] before:opacity-0 hover:before:opacity-100 before:transition-opacity before:duration-300 before:[box-shadow:0_0_1rem_color-mix(in_oklab,var(--primary)_40%,transparent),0_0_2.2rem_color-mix(in_oklab,var(--primary)_25%,transparent)]",
destructive:
"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
outline: