Uninen / tauri-vue-template

Tauri 2 + Vue (TypeScript) template w/ Vitest, Tailwind, and full CI/CD configured
216 stars 22 forks source link

Configure system fonts by default #30

Closed Uninen closed 1 week ago

Uninen commented 11 months ago

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

Uninen commented 11 months ago

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 commented 1 week ago

Fixed in v2