feat: use Inter as the default font

This commit is contained in:
2024-08-23 18:44:15 +02:00
parent 86710dd3e1
commit af6ba4a319
4 changed files with 20 additions and 0 deletions

View File

@@ -13,3 +13,20 @@ html, body, #main {
}
/* stylelint-enable */
@layer base {
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url("/fonts/inter_variable.woff2") format("woff2");
}
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 100 900;
font-display: swap;
src: url("/fonts/inter_variable_italic.woff2") format("woff2");
}
}