From a25cdad9d97c6067864a3e37224541e2719880af Mon Sep 17 00:00:00 2001 From: johnpyp Date: Wed, 19 Feb 2025 13:57:40 -0800 Subject: [PATCH] set button text to foreground even with destructivew variant --- app/components/ui/button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/ui/button.tsx b/app/components/ui/button.tsx index 51dd6f6..8b0ee34 100644 --- a/app/components/ui/button.tsx +++ b/app/components/ui/button.tsx @@ -10,7 +10,7 @@ const buttonVariants = cva( variants: { variant: { default: "bg-primary text-primary-foreground hover:bg-primary/90", - destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90", + destructive: "bg-destructive text-primary-foreground hover:bg-destructive/90", outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground", secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80", ghost: "hover:bg-accent hover:text-accent-foreground",