We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e34919 commit 8fcadcfCopy full SHA for 8fcadcf
src/browser/modules/Editor/Monaco.tsx
@@ -72,6 +72,9 @@ const Monaco = ({
72
editor.defineTheme(DARK_THEME, monacoDarkTheme)
73
editor.defineTheme(LIGHT_THEME, monacoLightTheme)
74
editor.defineTheme(OUTLINE_THEME, monacoLightTheme)
75
+ // Browser's light theme is called 'normal', but OS's light theme is called 'light'
76
+ // 'light' is used when theme is set to light in OS and auto in browser
77
+ editor.defineTheme('light', monacoLightTheme)
78
79
editorRef.current = editor.create(
80
document.getElementById(monacoId) as HTMLElement,
0 commit comments