Skip to content

Build your personal knowledge base with Trilium Notes

style/toasts: get rid of some !important properties

Adorian Doranbad7776076ef
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 6e6a70a3cc..7976826c59 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -980,8 +980,8 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
}
.toast {
- background-color: var(--accented-background-color) !important;
- color: var(--main-text-color) !important;
+ --bs-toast-bg: var(--accented-background-color);
+ --bs-toast-color: var(--main-text-color);
z-index: 9999999999 !important;
pointer-events: all;
}