From 58629b42e8d024a2f42801e02714b7c4bb85d7bb Mon Sep 17 00:00:00 2001 From: Joshua Melville Date: Thu, 5 Dec 2024 13:33:32 +0200 Subject: [PATCH] fix toast styling --- components/ui/Alert.tsx | 6 +++--- components/ui/toast.tsx | 8 ++++---- styles/globals.css | 5 ++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/components/ui/Alert.tsx b/components/ui/Alert.tsx index 2f3ee2dc..f474717c 100644 --- a/components/ui/Alert.tsx +++ b/components/ui/Alert.tsx @@ -12,11 +12,11 @@ const alertVariants = cva( variants: { variant: { default: '', - info: 'border-info bg-info/10 [--color-link:var(--color-info)] [&>svg]:text-info', + info: 'bg-info/5 border-info text-info [--color-link:var(--color-info)] [&>svg]:text-info', destructive: - 'border-destructive bg-destructive/5 text-destructive dark:border-destructive [&>svg]:text-destructive [--color-link:var(--color-destructive)]', + 'bg-destructive/5 border-destructive text-destructive [&>svg]:text-destructive [--color-link:var(--color-destructive)]', success: - 'border-success bg-success/10 text-success-foreground [&>svg]:text-success-foreground [--color-link:var(--color-success-foreground)]', + 'bg-success/5 border-success text-success [&>svg]:text-success [--color-link:var(--color-success)]', }, }, defaultVariants: { diff --git a/components/ui/toast.tsx b/components/ui/toast.tsx index e76673f2..d8907001 100644 --- a/components/ui/toast.tsx +++ b/components/ui/toast.tsx @@ -14,7 +14,7 @@ const ToastViewport = React.forwardRef<