Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

style: adjust success toast for dark mode (#3362)

marliessophie44428870f7c3
diff --git a/web/src/features/notifications/SuccessNotification.tsx b/web/src/features/notifications/SuccessNotification.tsx
index 39613f796a..ce2030706f 100644
--- a/web/src/features/notifications/SuccessNotification.tsx
+++ b/web/src/features/notifications/SuccessNotification.tsx
@@ -15,19 +15,19 @@ export const SuccessNotification: React.FC<SuccessNotificationProps> = ({
<div className="flex justify-between">
<div className="flex min-w-[300px] flex-1 flex-col gap-2">
<div className="flex items-center gap-2">
- <BadgeCheck size={20} className="text-destructive-foreground" />
- <div className="m-0 text-sm font-medium leading-tight text-destructive-foreground">
+ <BadgeCheck size={20} className="text-primary-foreground" />
+ <div className="m-0 text-sm font-medium leading-tight text-primary-foreground">
{title}
</div>
</div>
{description && (
- <div className="text-sm leading-tight text-destructive-foreground">
+ <div className="text-sm leading-tight text-primary-foreground">
{description}
</div>
)}
</div>
<button
- className="flex h-6 w-6 cursor-pointer items-start justify-end border-none bg-transparent p-0 text-destructive-foreground transition-colors duration-200"
+ className="flex h-6 w-6 cursor-pointer items-start justify-end border-none bg-transparent p-0 text-primary-foreground transition-colors duration-200"
onClick={onDismiss}
aria-label="Close"
>