mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
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:
@@ -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',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user