style/note title & icon: add support for both dark and light color schemes

This commit is contained in:
Adorian Doran 2025-12-17 01:33:23 +02:00
parent 468d4a4369
commit ddca68eafa
3 changed files with 8 additions and 4 deletions

View File

@ -199,6 +199,10 @@
--badge-background-color: #ffffff1a;
--badge-text-color: var(--muted-text-color);
--note-icon-button-background-color: #444444;
--note-icon-button-hover-background-color: #5a5a5a;
--note-icon-button-color: white;
--promoted-attribute-card-background-color: #ffffff21;
--promoted-attribute-card-shadow: none;

View File

@ -191,6 +191,10 @@
--badge-background-color: #00000011;
--badge-text-color: var(--muted-text-color);
--note-icon-button-background-color: #4f4f4f;
--note-icon-button-hover-background-color: #737373;
--note-icon-button-color: white;
--promoted-attribute-card-background-color: #00000014;
--promoted-attribute-card-shadow: none;

View File

@ -76,10 +76,6 @@ div.note-icon-widget {
}
body.experimental-feature-new-layout {
--note-icon-button-background-color: #444444;
--note-icon-button-hover-background-color: #5a5a5a;
--note-icon-button-color: white;
.note-icon-widget button.note-icon {
--input-focus-outline-color: var(--note-icon-button-hover-background-color);