chore: update fonts

This commit is contained in:
Erzbir
2026-08-19 01:39:19 +08:00
parent 9874e7c3ef
commit 1f9b64f9af
4 changed files with 48 additions and 34 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+48 -34
View File
@@ -1,45 +1,59 @@
@font-face { @font-face {
font-family: 'JetBrains Mono'; font-family: "JetBrains Mono";
src: local('JetBrains Mono'), src: local("JetBrains Mono"),
local('JetBrains Mono Regular'), local("JetBrainsMono"),
local('JetBrainsMono-Regular'), url("../fonts/JetBrainsMono.woff2") format("woff2");;
local('JetBrainsMonoNL Nerd Font'),
local('JetBrainsMonoNL Nerd Font Mono'),
local('JetBrainsMono Nerd Font'),
local('JetBrainsMono Nerd Font Mono'),
url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
font-display: swap;
font-style: normal; font-style: normal;
font-weight: 100 800;
font-display: swap;
} }
@font-face { @font-face {
font-family: 'Hack'; font-family: "JetBrains Mono";
src: url('../fonts/hack-regular.woff2?sha=3114f1256') format('woff2'); src: local("JetBrains Mono Italic"),
font-weight: 400; local("JetBrainsMono-Italic"),
font-display: swap; url("../fonts/JetBrainsMono-Italic.woff2") format("woff2");
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-style: italic;
font-weight: 100 800;
font-display: swap;
} }
@font-face { @font-face {
font-family: 'Hack'; font-family: "Hack";
src: url('../fonts/hack-bolditalic.woff2?sha=3114f1256') format('woff2'); src: local("Hack Regular"),
font-weight: 700; local("Hack-Regular"),
url("../fonts/hack-regular.woff2?sha=3114f1256") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap; font-display: swap;
font-style: italic;
} }
@font-face {
font-family: "Hack";
src: local("Hack Bold"),
local("Hack-Bold"),
url("../fonts/hack-bold.woff2?sha=3114f1256") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Hack";
src: local("Hack Italic"),
local("Hack-Italic"),
url("../fonts/hack-italic.woff2?sha=3114f1256") format("woff2");
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Hack";
src: local("Hack Bold Italic"),
local("Hack-BoldItalic"),
url("../fonts/hack-bolditalic.woff2?sha=3114f1256") format("woff2");
font-weight: 700;
font-style: italic;
font-display: swap;
}