Skip to content

Commit

Permalink
Change the body font from Cardo to Poppins to aid readability.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrody committed Oct 21, 2024
1 parent 4585227 commit 6ce82a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/_sass/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
@use "./colours";

$body-font-family: cardo, serif;
$body-font-family: poppins, serif;
$body-font-weight: 400;
$body-font-weight-bold: 700;
$heading-font-family: poppins, sans-serif;
$heading-font-weight: 600;

@import "https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap";
@import "https://fonts.googleapis.com/css?family=Cardo:400,700&display=swap";

body {
font-family: $body-font-family;
font-size: 15pt;
font-weight: $body-font-weight;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
line-height: 1.6;
color: colours.$navy;
}

Expand Down

0 comments on commit 6ce82a6

Please sign in to comment.