style/canvas: improve theme color support for context menus

This commit is contained in:
Adorian Doran 2025-10-15 17:31:37 +03:00
parent 4b4d128856
commit 210e001586

View File

@ -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;