Skip to content

Commit eecf19a

Browse files
Update destructive button styling: lighter color, bright red hover shadow, uppercase text
Co-Authored-By: Satya Patel <[email protected]>
1 parent fe8d89d commit eecf19a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/src/components/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const buttonVariants = cva(
1111
variant: {
1212
default: 'bg-primary text-primary-foreground shadow-xs hover:bg-primary/90',
1313
destructive:
14-
'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',
14+
'bg-destructive/70 text-white shadow-xs uppercase hover:bg-destructive/80 hover:shadow-[0_0_20px_rgba(239,68,68,0.8)] focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/50',
1515
outline:
1616
'border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50',
1717
secondary: 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',

0 commit comments

Comments
 (0)