From e21b2ea6263ce5711f0bc2531b2108fa01f02a37 Mon Sep 17 00:00:00 2001 From: Guz013 <43732358+Guz013@users.noreply.github.com> Date: Mon, 19 Jun 2023 14:27:59 -0300 Subject: [PATCH] =?UTF-8?q?chore(unocss):=20=F0=9F=94=A7=20update=20fonts,?= =?UTF-8?q?=20change=20to=20Mono=20Sans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/www/package.json | 2 -- apps/www/src/routes/+layout.svelte | 9 +++++++++ apps/www/unocss.config.ts | 6 +----- 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 apps/www/src/routes/+layout.svelte diff --git a/apps/www/package.json b/apps/www/package.json index 754c4a3..f6d30b8 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -18,7 +18,6 @@ }, "devDependencies": { "@fontsource-variable/fira-code": "^5.0.3", - "@fontsource-variable/inter": "^5.0.3", "@iconify-json/solar": "^1.1.1", "@iconify-json/svg-spinners": "^1.1.1", "@iconify/types": "^2.0.0", @@ -29,7 +28,6 @@ "@typescript-eslint/eslint-plugin": "^5.59.11", "@typescript-eslint/parser": "^5.59.11", "@unocss/extractor-svelte": "^0.52.7", - "cal-sans": "^1.0.1", "mdsvex": "^0.10.6", "rehype-external-links": "^2.1.0", "sass": "^1.63.4", diff --git a/apps/www/src/routes/+layout.svelte b/apps/www/src/routes/+layout.svelte new file mode 100644 index 0000000..2805c76 --- /dev/null +++ b/apps/www/src/routes/+layout.svelte @@ -0,0 +1,9 @@ + + +
+ +
diff --git a/apps/www/unocss.config.ts b/apps/www/unocss.config.ts index 1cd7d33..a3b8bc7 100644 --- a/apps/www/unocss.config.ts +++ b/apps/www/unocss.config.ts @@ -36,17 +36,13 @@ export default defineConfig({ presetWebFonts({ fonts: { sans: { - name: 'Inter', + name: 'Mona Sans', provider: 'none', }, code: { name: 'Fira Code', provider: 'none', }, - cal: { - name: 'Cal Sans', - provider: 'none', - }, }, }), // @ts-expect-error It seems that this preset