From 029e52eb5f3765eb1ae0f38156d1d1c34f7a2831 Mon Sep 17 00:00:00 2001 From: venashial Date: Thu, 28 Jul 2022 22:50:09 -0700 Subject: [PATCH] Fix up setup docs and leftover CSS --- docs/routes/setup.md | 2 +- src/styles/variables/typography.postcss | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/routes/setup.md b/docs/routes/setup.md index 569d9170..67c7bb41 100644 --- a/docs/routes/setup.md +++ b/docs/routes/setup.md @@ -144,7 +144,7 @@ Add the `base` class and a theme to the `` tag in `src/app.html`: ## `7.` Setup fonts -Copy the the `fonts/` folder from [Omorphia's repository](https://github.com/modrinth/omorphia/blob/main/docs/static/assets/fonts) and place them in the `/assets` folder at the root of your project. +Copy the the `fonts/` folder from [Omorphia's repository](https://github.com/modrinth/omorphia/blob/main/docs/static/assets/fonts) and place them in the `static/` folder at the root of your project. Add the following preload tags to your head in `app.html` to speed up font loading: diff --git a/src/styles/variables/typography.postcss b/src/styles/variables/typography.postcss index 36c4cf6c..a9cdaa07 100644 --- a/src/styles/variables/typography.postcss +++ b/src/styles/variables/typography.postcss @@ -14,10 +14,9 @@ --font-weight-bold: 700; /* Font stacks */ - --body-font: Inter, Times; - /* --body-font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica Neue, Helvetica, + --body-font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica Neue, Helvetica, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, 'Apple Color Emoji', 'Segoe UI Emoji', - Arial, sans-serif; */ + Arial, sans-serif; --mono-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; /* inter-regular - latin */