Skip to content

Build your personal knowledge base with Trilium Notes

style/canvas/context menu items: apply the right color for icons

Adorian Doran7ed82f95274d
diff --git a/apps/client/src/stylesheets/theme-next/notes/canvas.css b/apps/client/src/stylesheets/theme-next/notes/canvas.css
index 601ae8eba0..2efb9707bf 100644
--- a/apps/client/src/stylesheets/theme-next/notes/canvas.css
+++ b/apps/client/src/stylesheets/theme-next/notes/canvas.css
@@ -83,7 +83,12 @@
border: 1px solid transparent;
}
-/* Context menu label */
+/* Context menu item icon */
+:root .excalidraw .dropdown-menu-item__icon {
+ color: var(--menu-item-icon-color);
+}
+
+/* Context menu item label */
:root .excalidraw .context-menu-item__label,
:root .excalidraw .context-menu-item.dangerous .context-menu-item__label {
color: var(--menu-text-color);