|
|
@@ -92,6 +92,12 @@ const createThemeFromOptions = ({
|
|
|
* Base styles that can have &dark and &light variants
|
|
|
*/
|
|
|
const baseTheme = EditorView.baseTheme({
|
|
|
+ '&light.cm-editor': {
|
|
|
+ colorScheme: 'light',
|
|
|
+ },
|
|
|
+ '&dark.cm-editor': {
|
|
|
+ colorScheme: 'dark',
|
|
|
+ },
|
|
|
'.cm-content': {
|
|
|
fontSize: 'var(--font-size)',
|
|
|
fontFamily: 'var(--source-font-family)',
|