Fix up setup docs and leftover CSS

This commit is contained in:
venashial
2022-07-28 22:50:09 -07:00
parent 13914507e8
commit 029e52eb5f
2 changed files with 3 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ Add the `base` class and a theme to the `<body>` 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:

View File

@@ -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 */