feat(css): switch to ‹JetBrains Mono›

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2023-08-01 20:26:03 +02:00
parent 751570be08
commit 3db5b21033
Signed by: mfocko
GPG key ID: 7C47D46246790496
4 changed files with 21 additions and 1 deletions

View file

@ -84,7 +84,7 @@ const config = {
theme: {
customCss: [
require.resolve("./src/css/custom.scss"),
require.resolve("./src/css/cascadia_code.css"),
require.resolve("./src/css/jetbrains_mono.css"),
],
},
}),

View file

@ -0,0 +1,20 @@
@font-face {
font-family: "JetBrains Mono";
src: url("/fonts/JetBrainsMono[wght].woff2") format("woff2");
}
@font-face {
font-family: "JetBrains Mono";
font-style: italic;
src: url("/fonts/JetBrainsMono-Italic[wght].woff2") format("woff2");
}
[data-theme='dark'] pre,
[data-theme='dark'] code,
[data-theme='dark'] kbd,
[data-theme='dark'] var,
[data-theme='dark'] tt,
[data-theme='dark'] text {
font-weight: 350;
}

Binary file not shown.

Binary file not shown.