You've already forked AstralRinth
forked from didirus/AstralRinth
Fix up setup docs and leftover CSS
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user