fix: code editor font color (#8784)

This commit is contained in:
2025-05-22 18:04:31 +08:00 committed by GitHub
parent aa8277dc03
commit 6ee2bf2bca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -424,9 +424,9 @@ const config = reactive<EditorConfig>({
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',