import { AlertCircle, AlertTriangle, CheckCircle2, Info, XCircle } from "lucide-react"; import type { NotifLevel } from "../../lib/notifications"; // Each notification level's icon and colours, shared by the toasts and the notifications inbox. Its own // module so Toaster exports only components (Fast Refresh). export const LEVEL_STYLE: Record = { info: { icon: Info, color: "text-info", bar: "bg-info" }, success: { icon: CheckCircle2, color: "text-success", bar: "bg-success" }, warning: { icon: AlertTriangle, color: "text-warn", bar: "bg-warn" }, error: { icon: AlertCircle, color: "text-danger", bar: "bg-danger" }, fatal: { icon: XCircle, color: "text-danger", bar: "bg-danger" }, };