Skip to content

Commit

Permalink
feat: use newly chosen fonts
Browse files Browse the repository at this point in the history
"Hanken Grotesk" for headings, "Nunito Sans" for body
  • Loading branch information
tillywoodfield committed Sep 3, 2024
1 parent 1acf1cb commit c05c3c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/scss/tokens/_font.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$font-stack-heading: "pragmatica", Helvetica, Arial, sans-serif;
$font-stack-body: Helvetica, Arial, sans-serif;
$font-stack-heading: "Hanken Grotesk", sans-serif;
$font-stack-body: "Nunito Sans", sans-serif;
$font-stack-monospace: monospace;

$font-weight-body: 400;
$font-weight-body-strong: 800;
$font-weight-heading: 700;
$font-weight-body: 300;
$font-weight-body-strong: 600;
$font-weight-heading: 600;

$line-height-body: 2;
4 changes: 2 additions & 2 deletions src/scss/tokens/fonts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import tokens from "./_tokens.module.scss";

## Headings

**Font:** Pragmatica
**Font:** Hanken Grotesk

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

## Body

**Font:** Helvetica
**Font:** Nunito Sans

<Typeset
fontSizes={["1.2rem", "1.0rem", "0.8rem"]}
Expand Down
3 changes: 2 additions & 1 deletion src/scss/typography/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
@forward "code";
@forward "headings";

@import url("https://use.typekit.net/esn8rgw.css");
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap");
@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 comments on commit c05c3c2

Please sign in to comment.