Skip to content

Build your personal knowledge base with Trilium Notes

style/quick edit dialog: tint the dialog background, border and promoted attributes card according to the note's custom color

Adorian Doranb58f37cd4af1
diff --git a/apps/client/src/stylesheets/theme-next/dialogs.css b/apps/client/src/stylesheets/theme-next/dialogs.css
index ed617991c3..1a36c4a31a 100644
--- a/apps/client/src/stylesheets/theme-next/dialogs.css
+++ b/apps/client/src/stylesheets/theme-next/dialogs.css
@@ -421,4 +421,12 @@ div.tn-tool-dialog {
.note-type-chooser-dialog div.note-type-dropdown .dropdown-item span.bx {
margin-inline-end: .25em;
+}
+
+/* QUICK EDIT DIALOG */
+
+.quick-edit-dialog-wrapper.tinted-dialog {
+ --modal-background-color: hsl(var(--custom-color-hue), 56%, 96%);
+ --modal-border-color: hsl(var(--custom-color-hue), 33%, 41%);
+ --promoted-attribute-card-background-color: hsl(var(--custom-color-hue), 40%, 88%);
}
\ No newline at end of file