diff --git a/editor/css/editor-libs/codemirror-override.css b/editor/css/editor-libs/codemirror-override.css index d08a96bec..9d8f475c5 100644 --- a/editor/css/editor-libs/codemirror-override.css +++ b/editor/css/editor-libs/codemirror-override.css @@ -19,6 +19,7 @@ .cm-editor .cm-scroller { line-height: inherit; + font-family: var(--font-code); } .cm-editor .cm-cursor { diff --git a/editor/css/editor-libs/common.css b/editor/css/editor-libs/common.css index e1d50045f..d82d4856f 100644 --- a/editor/css/editor-libs/common.css +++ b/editor/css/editor-libs/common.css @@ -2,7 +2,8 @@ --font-fallback: BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-sans; --font-body: Inter, var(--font-fallback); - --font-code: Consolas, "Courier New", monospace; + --font-code: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, + monospace; --type-body-l: 400 1rem/1.1876 var(--font-body); /* 16px/19px */ --type-emphasis-m: 600 0.8125rem/1.23 var(--font-body); /* 13px/16px */ --font-heading: var(--font-body);