Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: use theme color for toast background

thecodrra2ca5c199cb5
diff --git a/apps/web/src/utils/toast.tsx b/apps/web/src/utils/toast.tsx
index 25af1a6fb..8cd846f5a 100644
--- a/apps/web/src/utils/toast.tsx
+++ b/apps/web/src/utils/toast.tsx
@@ -31,6 +31,7 @@ function showToast(
position: "bottom-right",
style: {
maxWidth: "auto",
+ backgroundColor: "var(--background)",
},
});
return { hide: () => toast.dismiss(id) };