feat: add custom css properties to change fonts (#890)
This commit is contained in:
parent
94175a33e1
commit
d587968b58
7 changed files with 75 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue