Skip to content

Commit c40f3b8

Browse files
committed
fix: preserve contrast in danger badges
1 parent bc22446 commit c40f3b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ui/badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const badgeVariants = cva("inline-flex items-center rounded-full border px-2.5 p
1010
outline: "border-border text-muted-foreground",
1111
positive: "border-positive/20 bg-positive/10 text-positive-foreground",
1212
warning: "border-warning/25 bg-warning/10 text-warning-foreground",
13-
danger: "border-destructive/20 bg-destructive/10 text-destructive",
13+
danger: "border-destructive/35 bg-destructive/10 text-foreground",
1414
info: "border-info/20 bg-info/10 text-info-foreground",
1515
},
1616
},

0 commit comments

Comments
 (0)