Skip to content

Commit

Permalink
Merge pull request #20 from Hyuuh/main
Browse files Browse the repository at this point in the history
Fix toaster component styles
  • Loading branch information
pheralb authored Mar 30, 2024
2 parents df3fef5 + 77da8c4 commit b425248
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/providers/toaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ export const ToasterComponent = () => {
position="bottom-right"
theme={theme === "dark" ? "dark" : "light"}
toastOptions={{
style: {
background: theme === "dark" ? "#171717" : "#f3f4f6",
color: theme === "dark" ? "#f5f5f5" : "#1f2937",
borderColor: theme === "dark" ? "#262626" : "#e5e7eb",
},
classNames: {
toast: "font-sans",
toast:
"font-sans dark:bg-[#171717] bg-[#f3f4f6] text-[#1f2937] dark:text-[#f5f5f5] dark:border-[#262626]",
description: "font-mono",
closeButton: "dark:bg-[#262626] dark:hover:bg-[#464646]",
},
}}
/>
Expand Down

0 comments on commit b425248

Please sign in to comment.