Skip to content

Commit ff5b952

Browse files
author
Felix Hennig
committed
Merge branch 'feat/new-header-font' into feat/redesign
2 parents da8d214 + 5ebaa04 commit ff5b952

File tree

6 files changed

+31
-1
lines changed

6 files changed

+31
-1
lines changed

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,8 @@
6161
"typeface-titillium-web": "1.1.13",
6262
"vinyl-buffer": "^1.0",
6363
"vinyl-fs": "^3.0"
64+
},
65+
"dependencies": {
66+
"typeface-ibm-plex-mono": "^1.1.13"
6467
}
6568
}

src/css/doc.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
.doc h6 {
3434
color: var(--heading-font-color);
3535
font-weight: var(--heading-font-weight);
36+
font-family: 'IBM Plex Mono', sans-serif;
3637
hyphens: none;
3738
line-height: 1.3;
3839
margin: 1rem 0 0;

src/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "typeface-roboto-mono.css";
22
@import "typeface-titillium-web.css";
3+
@import "typeface-ibm-plex-mono.css";
34
@import "vars.css";
45
@import "base.css";
56
@import "body.css";

src/css/typeface-ibm-plex-mono.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@font-face {
2+
font-family: "IBM Plex Mono";
3+
font-style: normal;
4+
font-weight: 400;
5+
src:
6+
url(~typeface-ibm-plex-mono/files/ibm-plex-mono-latin-400.woff2) format("woff2"),
7+
url(~typeface-ibm-plex-mono/files/ibm-plex-mono-latin-400.woff) format("woff");
8+
}
9+
10+
@font-face {
11+
font-family: "IBM Plex Mono";
12+
font-style: normal;
13+
font-weight: 600;
14+
src:
15+
url(~typeface-ibm-plex-mono/files/ibm-plex-mono-latin-600.woff2) format("woff2"),
16+
url(~typeface-ibm-plex-mono/files/ibm-plex-mono-latin-600.woff) format("woff");
17+
}

src/css/vars.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
--doc-margin: 0 auto;
8383
--doc-margin--desktop: 0 1rem;
8484
--heading-font-color: var(--color-jet-80);
85-
--heading-font-weight: normal;
85+
--heading-font-weight: 600;
8686
--alt-heading-font-weight: var(--body-font-weight-bold);
8787
--section-divider-color: var(--panel-border-color);
8888
--link-font-color: #1880bd;

0 commit comments

Comments
 (0)