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

This commit is contained in:
Adorian Doran 2025-10-23 10:18:52 +03:00
parent a01fb39599
commit b58f37cd4a

View File

@ -422,3 +422,11 @@ 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%);
}