Skip to content

Commit 3d9efcd

Browse files
committed
fix(editor): fallback to monospace font #149
1 parent 05cef47 commit 3d9efcd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/store/module/preferences.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default new Store<PreferencesStore>({
1717
theme: 'light:chrome',
1818
editor: {
1919
wrap: 'free',
20-
fontFamily: 'SF Mono, Consolas, Menlo',
20+
fontFamily: 'SF Mono, Consolas, Menlo, Ubuntu Mono, monospace',
2121
fontSize: 12,
2222
showInvisibles: false,
2323
tabSize: 2,

src/renderer/store/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { defineStore } from 'pinia'
1010
import { version } from '../../../package.json'
1111

1212
const EDITOR_DEFAULTS: EditorSettings = {
13-
fontFamily: 'SF Mono, Consolas, Menlo',
13+
fontFamily: 'SF Mono, Consolas, Menlo, Ubuntu Mono, monospace',
1414
fontSize: 12,
1515
showInvisibles: false,
1616
tabSize: 2,

0 commit comments

Comments
 (0)