feat: use ‹Hack Nerd Font› as a fallback

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2023-07-17 20:03:12 +02:00
parent 81a1812dbf
commit 221c46d350
Signed by: mfocko
GPG key ID: 7C47D46246790496
4 changed files with 30 additions and 3 deletions

View file

@ -81,7 +81,10 @@ const config = {
docs: false,
blog: false,
theme: {
customCss: require.resolve("./src/css/custom.css"),
customCss: [
require.resolve("./src/css/custom.css"),
require.resolve("./src/css/Hack Nerd Font.css"),
],
},
}),
],

View file

@ -1,6 +1,6 @@
#!/bin/sh
FONT="Iosevka,'Iosevka Term','Cascadia Code','JetBrains Mono','Fira Code',monospace"
FONT="'Iosevka', 'Cascadia Code', 'JetBrains Mono', 'Fira Code', 'Hack Nerd Font', monospace"
for pic in $(find ./static/files -name '*.dot' -print); do
SVG_NAME=".$(echo $pic | cut -d'.' -f2)"

File diff suppressed because one or more lines are too long

View file

@ -30,7 +30,7 @@
}
pre, code, kbd, var, tt {
font-family: Iosevka, 'Iosevka Term', 'Cascadia Code', 'JetBrains Mono', 'Fira Code', monospace;
font-family: 'Iosevka', 'Cascadia Code', 'JetBrains Mono', 'Fira Code', 'Hack Nerd Font', monospace;
}
[data-theme='light'] img[src$='#gh-dark-mode-only'],