WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit f02d7f4

Browse files
Merge pull request #13 from IATI/update-fonts
Update fonts
2 parents a805c72 + 4996e8b commit f02d7f4

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/scss/tokens/_font.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
$font-stack-heading: "pragmatica", Helvetica, Arial, sans-serif;
2-
$font-stack-body: Helvetica, Arial, sans-serif;
1+
$font-stack-heading: "Hanken Grotesk", sans-serif;
2+
$font-stack-body: "Nunito Sans", sans-serif;
33
$font-stack-monospace: monospace;
44

5-
$font-weight-body: 400;
6-
$font-weight-body-strong: 800;
7-
$font-weight-heading: 700;
5+
$font-weight-body: 300;
6+
$font-weight-body-strong: 600;
7+
$font-weight-heading: 600;
88

99
$line-height-body: 2;

src/scss/tokens/fonts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import tokens from "./_tokens.module.scss";
99

1010
## Headings
1111

12-
**Font:** Pragmatica
12+
**Font:** Hanken Grotesk
1313

1414
<Typeset
1515
fontSizes={["2.5rem", "2.0rem", "1.6rem", "1.4rem", "1.2rem", "1.1rem"]}
@@ -27,7 +27,7 @@ import tokens from "./_tokens.module.scss";
2727

2828
## Body
2929

30-
**Font:** Helvetica
30+
**Font:** Nunito Sans
3131

3232
<Typeset
3333
fontSizes={["1.2rem", "1.0rem", "0.8rem"]}

src/scss/typography/_index.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
@forward "code";
33
@forward "headings";
44

5-
@import url("https://use.typekit.net/esn8rgw.css");
5+
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap");
6+
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

0 commit comments

Comments
 (0)