Use system font stack (#1326)

Closes https://github.com/woodpecker-ci/woodpecker/issues/1316

Applied suggestion by @silverwind
This commit is contained in:
qwerty287 2022-10-23 04:33:39 +02:00 committed by GitHub
parent 784f92eed1
commit bdf0a59bea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -54,7 +54,6 @@ export default defineComponent({
<style scoped> <style scoped>
.app { .app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }

View file

@ -22,6 +22,17 @@ export default defineConfig({
}, },
stroke: (theme) => theme('colors'), stroke: (theme) => theme('colors'),
fill: (theme) => theme('colors'), fill: (theme) => theme('colors'),
fontFamily: [
'system-ui',
'-apple-system',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Noto Sans',
'Liberation Sans',
'Arial',
'sans-serif',
],
}, },
}, },
plugins: [typography], plugins: [typography],