From b58f37cd4af1adfe38cc9621fce688c6760a47d7 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Thu, 23 Oct 2025 10:18:52 +0300 Subject: [PATCH] style/quick edit dialog: tint the dialog background, border and promoted attributes card according to the note's custom color --- apps/client/src/stylesheets/theme-next/dialogs.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/client/src/stylesheets/theme-next/dialogs.css b/apps/client/src/stylesheets/theme-next/dialogs.css index ed617991c..1a36c4a31 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