tauri-vue-template icon indicating copy to clipboard operation
tauri-vue-template copied to clipboard

Configure system fonts by default

Open Uninen opened this issue 1 year ago • 1 comments

See: https://tauri.app/v1/guides/building/app-size#remove-unnecessary-custom-fonts

Uninen avatar Dec 14 '23 18:12 Uninen

Something like:

fontFamily: {
  sans: [
    '-apple-system',
    'BlinkMacSystemFont',
    'Segoe UI',
    'Helvetica',
    'Arial',
    'sans-serif',
    'Apple Color Emoji',
    'Segoe UI Emoji',
  ],
  serif: [
    'Iowan Old Style',
    'Apple Garamond',
    'Baskerville',
    'Times New Roman',
    'Droid Serif',
    'Times',
    'Source Serif Pro, serif',
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
  ],
  mono: [
    'ui-monospace',
    'SFMono-Regular',
    'SF Mono',
    'Menlo',
    'Consolas',
    'Liberation Mono',
    'monospace',
  ],
},

Uninen avatar Dec 14 '23 20:12 Uninen