fix: make button hover state darker instead of lighter (#111)

This commit is contained in:
Dayuan Jiang
2025-12-05 23:38:24 +09:00
committed by GitHub
parent fe1aa2747e
commit 9e781005af

View File

@@ -10,7 +10,7 @@ const buttonVariants = cva(
variants: {
variant: {
default:
"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
"bg-primary text-primary-foreground shadow-xs hover:brightness-75",
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: