Fixed sonner styling

This commit is contained in:
Lucas Oliveira 2025-11-19 15:15:41 -03:00
parent 42e5e25f60
commit 580ffc044c

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}