feat: add custom css properties to change fonts (#890)

This commit is contained in:
Robert Kaussow 2024-10-06 14:36:18 +02:00 committed by GitHub
parent 94175a33e1
commit d587968b58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 75 additions and 14 deletions

View file

@ -2,6 +2,10 @@
:root {
--code-max-height: 60rem;
--header-font-family: "DancingScript";
--body-font-family: "DancingScript";
--code-font-family: "DancingScript";
}
/* Light mode theming */
@ -152,3 +156,13 @@
--footer-link-color-visited: #ffcc5c;
}
}
@font-face {
font-family: "DancingScript";
src:
url("fonts/DancingScript.woff2") format("woff2"),
url("fonts/DancingScript.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}