diff --git a/src/styles/fonts.scss b/src/styles/fonts.scss index d6234ce..957a7bc 100644 --- a/src/styles/fonts.scss +++ b/src/styles/fonts.scss @@ -9,6 +9,6 @@ } @font-face { - font-family: 'JetBrainsMono'; - src: url('./fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype'); + font-family: 'Maple Mono'; + src: url('./fonts/MapleMono-VariableFont_wdth,wght.ttf') format('truetype'); } diff --git a/src/styles/fonts/JetBrainsMono-VariableFont_wght.ttf b/src/styles/fonts/JetBrainsMono-VariableFont_wght.ttf deleted file mode 100755 index d73994a..0000000 Binary files a/src/styles/fonts/JetBrainsMono-VariableFont_wght.ttf and /dev/null differ diff --git a/src/styles/fonts/MapleMono-VariableFont_wdth,wght.ttf b/src/styles/fonts/MapleMono-VariableFont_wdth,wght.ttf new file mode 100644 index 0000000..6c7bd30 Binary files /dev/null and b/src/styles/fonts/MapleMono-VariableFont_wdth,wght.ttf differ diff --git a/src/styles/global.scss b/src/styles/global.scss index 820fb9b..053a6be 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -11,6 +11,7 @@ --background: #fffdf5; --border: #{$border-style} #8f7a20; --font: 'Noto Sans', sans-serif; + --mono-font: 'Maple Mono', monospace; } .theme-dark { @@ -99,6 +100,7 @@ kbd { code, kbd { + font-family: var(--mono-font); font-size: 0.85rem; } @@ -128,6 +130,7 @@ kbd { .astro-code span { background-color: var(--background) !important; /* Optional, if you also want font styles */ + font-family: var(--mono-font); font-style: var(--shiki-light-font-style); font-weight: var(--shiki-light-font-weight); text-decoration: var(--shiki-light-text-decoration);