Skip to content

Commit

Permalink
Fix toaster component styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyuuh committed Mar 30, 2024
1 parent df3fef5 commit 77da8c4
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 77da8c4

Please sign in to comment.