Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/formatting toolbar: tweak the colors of collapsible dropdown sections

Adorian Doran9999540b1b6b
diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css
index b49f9142af..88ac611373 100644
--- a/apps/client/src/stylesheets/theme-next-dark.css
+++ b/apps/client/src/stylesheets/theme-next-dark.css
@@ -89,6 +89,7 @@
--menu-item-arrow-color: #ffffffa3;
--menu-item-delimiter-color: #ffffff1c;
--menu-item-group-header-color: #ffffff91;
+ --menu-section-background-color: #fefefe08;
--modal-backdrop-color: #000;
--modal-shadow-color: rgba(0, 0, 0, .5);
diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css
index bdf3ae2280..af02177653 100644
--- a/apps/client/src/stylesheets/theme-next-light.css
+++ b/apps/client/src/stylesheets/theme-next-light.css
@@ -83,6 +83,7 @@
--menu-item-arrow-color: #00000080;
--menu-item-delimiter-color: #00000030;
--menu-item-group-header-color: #00000061;
+ --menu-section-background-color: #00000006;
--modal-backdrop-color: #7c7c7c;
--modal-shadow-color: #00000033;
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index 769ba5699d..434f2233eb 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -119,8 +119,8 @@
bottom: var(--negative-padding);
left: var(--negative-padding);
right: var(--negative-padding);
- border-top: 1px solid var(--ck-color-base-border);
- background: rgba(0, 0, 0, .025);
+ border-top: 1px solid var(--ck-editor-popup-border-color);
+ background: var(--menu-section-background-color);
}
.ck.ck-collapsible:last-child::before {