Fix Vim command panel text contrast (#31985)

Apply themed foreground color to .cm-vim-panel so the Vim command input inherits a readable color in mixed overall/editor theme combinations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
GitOrigin-RevId: d31b09e64fc49fce551eee7ecead0d215aa206bc
This commit is contained in:
Alf Eaton
2026-03-05 12:42:46 +00:00
committed by Copybot
parent 1be454b95c
commit b5606cdecb

View File

@@ -168,6 +168,9 @@ const baseTheme = EditorView.baseTheme({
'.cm-diagnostic:last-of-type .ol-cm-diagnostic-actions': {
marginBottom: '4px',
},
'.cm-vim-panel': {
color: 'var(--content-primary-themed)',
},
'.cm-vim-panel input': {
color: 'inherit',
},