Skip to content

Commit 3b861e4

Browse files
Enhance editor theme styles by adding font properties for improved readability
1 parent b414839 commit 3b861e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/components/editor/editorTheme.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ export function createEditorTheme(theme: CoreUITheme): Extension {
4646
'&': {
4747
backgroundColor: theme.backgroundLevel1,
4848
color: theme.textPrimary,
49+
fontFamily: "'Courier New', monospace",
50+
fontSize: '12px',
51+
lineHeight: '1.6',
4952
},
5053
'.cm-content': {
5154
caretColor: theme.textPrimary,
52-
fontFamily: "'Courier New', monospace",
53-
fontSize: '12px',
5455
},
5556
'.cm-cursor, .cm-dropCursor': {
5657
borderLeftColor: theme.textPrimary,

0 commit comments

Comments
 (0)