From b5606cdecb90272fee7c5ad0a3aab2e89b241be5 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 5 Mar 2026 12:42:46 +0000 Subject: [PATCH] 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 --- .../web/frontend/js/features/source-editor/extensions/theme.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/web/frontend/js/features/source-editor/extensions/theme.ts b/services/web/frontend/js/features/source-editor/extensions/theme.ts index b3742aef50..a90c0dcdeb 100644 --- a/services/web/frontend/js/features/source-editor/extensions/theme.ts +++ b/services/web/frontend/js/features/source-editor/extensions/theme.ts @@ -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', },