From 3781e2f8d2825bbf014591c38a0371da77d76ac9 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sun, 15 Jan 2023 20:13:07 +0100 Subject: [PATCH] refactor: remove unused DM Sans (#1192) --- docs/app.vue | 10 ---------- docs/tokens.config.ts | 3 --- styles/global.css | 7 ------- unocss.config.ts | 1 - 4 files changed, 21 deletions(-) diff --git a/docs/app.vue b/docs/app.vue index be5ab18a..e19315ee 100644 --- a/docs/app.vue +++ b/docs/app.vue @@ -3,13 +3,3 @@ - - diff --git a/docs/tokens.config.ts b/docs/tokens.config.ts index 6bd46382..5029aba9 100644 --- a/docs/tokens.config.ts +++ b/docs/tokens.config.ts @@ -1,9 +1,6 @@ import { defineTheme, palette } from 'pinceau' export default defineTheme({ - font: { - sans: 'DM Sans', - }, color: { primary: palette('#d98018'), }, diff --git a/styles/global.css b/styles/global.css index 986ab486..adb44b2a 100644 --- a/styles/global.css +++ b/styles/global.css @@ -11,13 +11,6 @@ html { font-weight: 400; 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-display: swap; font-family: 'DM Serif Display'; diff --git a/unocss.config.ts b/unocss.config.ts index 9eb35f21..b672b226 100644 --- a/unocss.config.ts +++ b/unocss.config.ts @@ -79,7 +79,6 @@ export default defineConfig({ presetWebFonts({ provider: 'none', fonts: { - sans: 'DM Sans', serif: 'DM Serif Display', mono: 'DM Mono', script: 'Homemade Apple',