Skip to content

Commit

Permalink
set button text to foreground even with destructivew variant
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpyp committed Feb 19, 2025
1 parent 1c4154d commit a25cdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a25cdad

Please sign in to comment.