refactor: remove unused DM Sans (#1192)

zio/stable
Anthony Fu 2023-01-15 20:13:07 +01:00 committed by GitHub
parent bf25339bc9
commit 3781e2f8d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 21 deletions

View File

@ -3,13 +3,3 @@
<NuxtPage /> <NuxtPage />
</AppLayout> </AppLayout>
</template> </template>
<style>
@font-face {
font-display: swap;
font-family: 'DM Sans';
font-style: normal;
font-weight: 400;
src: url(/fonts/DM-sans-v11.ttf) format('truetype');
}
</style>

View File

@ -1,9 +1,6 @@
import { defineTheme, palette } from 'pinceau' import { defineTheme, palette } from 'pinceau'
export default defineTheme({ export default defineTheme({
font: {
sans: 'DM Sans',
},
color: { color: {
primary: palette('#d98018'), primary: palette('#d98018'),
}, },

View File

@ -11,13 +11,6 @@ html {
font-weight: 400; font-weight: 400;
src: url(/fonts/DM-mono-v10.ttf) format('truetype'); src: url(/fonts/DM-mono-v10.ttf) format('truetype');
} }
@font-face {
font-display: swap;
font-family: 'DM Sans';
font-style: normal;
font-weight: 400;
src: url(/fonts/DM-sans-v11.ttf) format('truetype');
}
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: 'DM Serif Display'; font-family: 'DM Serif Display';

View File

@ -79,7 +79,6 @@ export default defineConfig({
presetWebFonts({ presetWebFonts({
provider: 'none', provider: 'none',
fonts: { fonts: {
sans: 'DM Sans',
serif: 'DM Serif Display', serif: 'DM Serif Display',
mono: 'DM Mono', mono: 'DM Mono',
script: 'Homemade Apple', script: 'Homemade Apple',