feat: support font selection

This commit is contained in:
Erzbir
2026-08-17 15:49:55 +08:00
parent 4f082af1bf
commit fd72c8cba8
8 changed files with 51 additions and 2 deletions
+33 -1
View File
@@ -10,4 +10,36 @@
url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
font-display: swap;
font-style: normal;
}
}
@font-face {
font-family: 'Hack';
src: url('../fonts/hack-regular.woff2?sha=3114f1256') format('woff2');
font-weight: 400;
font-display: swap;
font-style: normal;
}
@font-face {
font-family: 'Hack';
src: url('../fonts/hack-bold.woff2?sha=3114f1256') format('woff2');
font-weight: 700;
font-display: swap;
font-style: normal;
}
@font-face {
font-family: 'Hack';
src: url('../fonts/hack-italic.woff2?sha=3114f1256') format('woff2');
font-weight: 400;
font-display: swap;
font-style: italic;
}
@font-face {
font-family: 'Hack';
src: url('../fonts/hack-bolditalic.woff2?sha=3114f1256') format('woff2');
font-weight: 700;
font-display: swap;
font-style: italic;
}