mirror of
https://github.com/zadam/trilium.git
synced 2026-01-02 04:34:25 +01:00
style/text selection: refactor, apply custom color tint over the note title selection
This commit is contained in:
parent
8b630c6e2e
commit
6d80323a76
@ -349,5 +349,5 @@ body .todo-list input[type="checkbox"]:not(:checked):before {
|
||||
|
||||
.note-split.with-hue *::selection,
|
||||
.quick-edit-dialog-wrapper.with-hue *::selection {
|
||||
background: hsl(var(--custom-color-hue), 49.2%, 35%);
|
||||
--selection-background-color: hsl(var(--custom-color-hue), 49.2%, 35%);
|
||||
}
|
||||
@ -320,5 +320,5 @@
|
||||
|
||||
.note-split.with-hue *::selection,
|
||||
.quick-edit-dialog-wrapper.with-hue *::selection {
|
||||
background: hsl(var(--custom-color-hue), 60%, 90%);
|
||||
--selection-background-color: hsl(var(--custom-color-hue), 60%, 90%);
|
||||
}
|
||||
@ -21,6 +21,7 @@ div.note-title-widget {
|
||||
|
||||
&::selection {
|
||||
color: var(--main-text-color);
|
||||
background: var(--selection-background-color);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user