mirror of
https://github.com/mfocko/blog.git
synced 2024-11-10 00:09:07 +01:00
feat: use ‹Hack Nerd Font› as a fallback
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
81a1812dbf
commit
221c46d350
4 changed files with 30 additions and 3 deletions
|
@ -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"),
|
||||
],
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
|
|
@ -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)"
|
||||
|
|
24
src/css/Hack Nerd Font.css
Normal file
24
src/css/Hack Nerd Font.css
Normal file
File diff suppressed because one or more lines are too long
|
@ -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'],
|
||||
|
|
Loading…
Reference in a new issue