Skip to content

Commit 46f0e19

Browse files
committed
Swap Hack font for JetBrains Mono
1 parent 26d6ad8 commit 46f0e19

36 files changed

Lines changed: 10 additions & 25 deletions

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ post_view_navigation_prompt = "Thanks for reading! Read other posts?"
102102
# Use full Hack character set, not just a subset.
103103
# Switch this to true if you need full unicode support.
104104
# Defaults to false.
105-
use_full_hack_font = false
105+
use_full_hack_font = true
106106

107107
# Optional: Global favicon URL and mimetype.
108108
# Mimetype defaults to "image/x-icon".

sass/font-hack-subset.scss

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,11 @@
5757
font-style: normal;
5858
}
5959

60-
/* Adding Recursive font (https://www.recursive.design/) */
61-
@font-face {
62-
font-family: "RecVar";
63-
src: url("fonts/RecVar1085.woff2") format("woff2");
64-
font-style: oblique 0deg 15deg;
65-
font-weight: 300 1000;
66-
}
67-
6860
@font-face {
6961
font-family: "Hack";
7062
/* Use full version (not a subset) for unicode icon support */
71-
src: url("fonts/hack-regular.woff2?sha=3114f1256") format("woff2"),
72-
url("fonts/hack-regular.woff?sha=3114f1256") format("woff");
63+
src: url("fonts/hack-regular-subset.woff2?sha=3114f1256") format("woff2"),
64+
url("fonts/hack-regular-subset.woff?sha=3114f1256") format("woff");
7365
font-weight: 400;
7466
font-style: normal;
7567
}

sass/font-hack.scss

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,37 +57,30 @@
5757
font-style: normal;
5858
}
5959

60-
@font-face {
61-
font-family: "RecVar";
62-
src: url("fonts/RecVar1085.woff2") format("woff2");
63-
font-style: oblique 0deg 15deg;
64-
font-weight: 300 1000;
65-
}
66-
6760
@font-face {
6861
font-family: "Hack";
69-
src: url("fonts/hack-regular.woff?sha=3114f1256") format("woff");
62+
src: url("fonts/JetBrainsMono-Regular.woff2?sha=3114f1256") format("woff");
7063
font-weight: 400;
7164
font-style: normal;
7265
}
7366

7467
@font-face {
7568
font-family: "Hack";
76-
src: url("fonts/hack-bold.woff?sha=3114f1256") format("woff");
69+
src: url("fonts/JetBrainsMono-Bold.woff2?sha=3114f1256") format("woff");
7770
font-weight: 700;
7871
font-style: normal;
7972
}
8073

8174
@font-face {
8275
font-family: "Hack";
83-
src: url("fonts/hack-italic.woff?sha=3114f1256") format("woff");
76+
src: url("fonts/JetBrainsMono-Italic.woff2?sha=3114f1256") format("woff");
8477
font-weight: 400;
8578
font-style: italic;
8679
}
8780

8881
@font-face {
8982
font-family: "Hack";
90-
src: url("fonts/hack-bolditalic.woff?sha=3114f1256") format("woff");
83+
src: url("fonts/JetBrainsMono-BoldItalic.woff2?sha=3114f1256") format("woff");
9184
font-weight: 700;
9285
font-style: italic;
9386
}
92.4 KB
Binary file not shown.
95.9 KB
Binary file not shown.
91.5 KB
Binary file not shown.
94.6 KB
Binary file not shown.
90.5 KB
Binary file not shown.
93.6 KB
Binary file not shown.
93.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)