import { getPlatform } from './utils' ; const fontMonoLinux = `"Droid Sans Mono", "monospace", monospace, "Droid Sans Fallback"` ; const fontMonoWin = `Consolas, "Courier New", monospace` ; const fontMonoMac = `Menlo, Monaco, "Courier New", monospace` ; export const font = `Ubuntu2, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";` ; export const fonts = { sansSerif : font , mono : getMonoFont ( ) , } ; function getMonoFont ( ) { const platform = getPlatform ( ) ; if ( platform . isLinux ) { return fontMonoLinux ; } if ( platform . isMac ) { return fontMonoMac ; } if ( platform . isWin ) { return fontMonoWin ; } return fontMonoLinux ; }