From bf66b5bed1bb9672152bdbc242633a185a72e752 Mon Sep 17 00:00:00 2001 From: v0 Date: Wed, 4 Feb 2026 16:47:51 +0000 Subject: [PATCH] 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> --- components/ui/toast.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/toast.tsx b/components/ui/toast.tsx index 2dc6668..926acbc 100644 --- a/components/ui/toast.tsx +++ b/components/ui/toast.tsx @@ -31,7 +31,7 @@ const toastVariants = cva( variant: { default: 'border bg-background text-foreground', 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: {