diff --git a/frontend/src/components/Toast.jsx b/frontend/src/components/Toast.jsx index feef9e9..4826dca 100644 --- a/frontend/src/components/Toast.jsx +++ b/frontend/src/components/Toast.jsx @@ -6,12 +6,7 @@ import { createPortal } from "react-dom"; const ToastCtx = createContext(() => {}); export const useToast = () => useContext(ToastCtx); -const STYLE = { - success: "border-sage/30 bg-sage/10", - error: "border-red-500/30 bg-red-500/10", - info: "border-ink/15 bg-paper", -}; -const ICON_COLOR = { success: "text-sage", error: "text-red-500", info: "text-muted" }; +const ICON_COLOR = { success: "text-sage", error: "text-red-400", info: "text-paper/70" }; const ICON_PATH = { success: "M20 6 9 17l-5-5", error: "M18 6 6 18M6 6l12 12", @@ -39,12 +34,12 @@ export function ToastProvider({ children }) { {children} {createPortal( -
+
{toasts.map((t) => (