Skip to content

Commit cd29b47

Browse files
authored
Merge pull request #95 from hammercode-dev/fix/toaster-color
[FIX] - Fix Toaster Color
2 parents 7a4192c + 8addd81 commit cd29b47

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/ui/Toaster/index.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,7 @@ const Toaster = ({ ...props }: ToasterProps) => {
1717
"--normal-border": "var(--border)",
1818
} as React.CSSProperties
1919
}
20-
toastOptions={{
21-
classNames: {
22-
success: "!bg-green-500 !text-white",
23-
error: "!bg-destructive !text-white",
24-
title: "!text-popover-foreground !font-semibold",
25-
description: "!text-popover-foreground",
26-
},
27-
}}
20+
richColors
2821
{...props}
2922
/>
3023
);

0 commit comments

Comments
 (0)