Merge pull request #420 from langflow-ai/fix/toast_light_mode

fix: add sonner styling for light mode
This commit is contained in:
pushkala-datastax 2025-11-19 10:51:52 -08:00 committed by GitHub
commit 230081e591
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,11 +16,11 @@ const Toaster = ({ ...props }: ToasterProps) => {
classNames: { classNames: {
toast: toast:
"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg", "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
description: "group-[.toast]:text-muted-foreground", description: "!text-muted-foreground",
actionButton: actionButton:
"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground", "!bg-primary !text-primary-foreground",
cancelButton: cancelButton:
"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground", "!bg-muted !text-muted-foreground",
}, },
}} }}
{...props} {...props}