From 6ee2bf2bca70bad592bcb452bc9478e13c89baf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com> Date: Thu, 22 May 2025 18:04:31 +0800 Subject: [PATCH] fix: code editor font color (#8784) --- frontend/src/views/host/file-management/code-editor/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/host/file-management/code-editor/index.vue b/frontend/src/views/host/file-management/code-editor/index.vue index 5614caf32..d10f32c78 100644 --- a/frontend/src/views/host/file-management/code-editor/index.vue +++ b/frontend/src/views/host/file-management/code-editor/index.vue @@ -424,9 +424,9 @@ const config = reactive({ monaco.editor.defineTheme('vs', { base: 'vs', inherit: true, - rules: [{ token: '', foreground: 'FFFFFF' }], + rules: [{ token: '' }], colors: { - 'editor.background': '#FFFFFF', + 'editor.background': '#f8f6f6', 'minimap.background': '#f4f4f4', 'scrollbar.shadow': '#e1e1e1', 'scrollbarSlider.background': '#e1e1e1',