Skip to content

Build your personal knowledge base with Trilium Notes

style/canvas: improve theme color support for context menus

Adorian Doran210e001586e5
diff --git a/apps/client/src/stylesheets/theme-next/notes/canvas.css b/apps/client/src/stylesheets/theme-next/notes/canvas.css
index 14da56c527..9597addecb 100644
--- a/apps/client/src/stylesheets/theme-next/notes/canvas.css
+++ b/apps/client/src/stylesheets/theme-next/notes/canvas.css
@@ -60,6 +60,15 @@
border: 1px solid transparent;
}
+/* Context menu label */
+:root .excalidraw .context-menu-item__label {
+ color: var(--menu-text-color);
+}
+
+:root .excalidraw .context-menu-item:hover .context-menu-item__label {
+ color: var(--hover-item-text-color);
+}
+
/* Context menu item keyboard shortcut */
:root .excalidraw .context-menu-item__shortcut {
padding: 0;