File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import _ from 'lodash'
22
33const OSX = global . process . platform === 'darwin'
4+ const win = global . process . platform === 'win32'
45const electron = require ( 'electron' )
56const { ipcRenderer } = electron
67const consts = require ( 'browser/lib/consts' )
@@ -28,14 +29,14 @@ export const DEFAULT_CONFIG = {
2829 theme : 'base16-light' ,
2930 keyMap : 'sublime' ,
3031 fontSize : '14' ,
31- fontFamily : 'Monaco, Consolas' ,
32+ fontFamily : win ? 'Segoe UI' : 'Monaco, Consolas' ,
3233 indentType : 'space' ,
3334 indentSize : '2' ,
3435 switchPreview : 'BLUR' // Available value: RIGHTCLICK, BLUR
3536 } ,
3637 preview : {
3738 fontSize : '14' ,
38- fontFamily : 'Lato' ,
39+ fontFamily : win ? 'Segoe UI' : 'Lato' ,
3940 codeBlockTheme : 'dracula' ,
4041 lineNumber : true
4142 }
You can’t perform that action at this time.
0 commit comments