mirror of
https://github.com/handsomezhuzhu/2fa-tool.git
synced 2026-02-20 19:50:15 +00:00
fix: improve contrast for destructive alert in light mode
Use `text-white` and adjust background colors for better readability. Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
@@ -31,7 +31,7 @@ const toastVariants = cva(
|
|||||||
variant: {
|
variant: {
|
||||||
default: 'border bg-background text-foreground',
|
default: 'border bg-background text-foreground',
|
||||||
destructive:
|
destructive:
|
||||||
'destructive group border-destructive bg-destructive text-destructive-foreground',
|
'destructive group border-red-500 bg-red-500 text-white dark:border-red-600 dark:bg-red-600',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
defaultVariants: {
|
defaultVariants: {
|
||||||
|
|||||||
Reference in New Issue
Block a user