Skip to content

Commit

Permalink
Take out Exo2 font. Change font-face to load by swap.
Browse files Browse the repository at this point in the history
  • Loading branch information
ecarlisle committed Mar 17, 2023
1 parent 393c478 commit 1823307
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/style/_ds.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,42 +80,41 @@ $border-radius: (
@return map-get($border-radius, $key);
}

/*
@font-face {
font-display: optional;
font-display: swap;
font-family: "exo2";
src: url("../fonts/exo2-semibold.woff2") format(woff2);
font-weight: 600;
font-style: normal;
}
*/

@font-face {
font-display: optional;
font-display: swap;
font-family: poppins;
font-style: normal;
font-weight: 400;
src: url("../fonts/poppins-regular.woff2") format(woff2);
}

@font-face {
font-display: optional;
font-display: swap;
font-family: poppins;
font-style: normal;
font-weight: 600;
src: url("../fonts/poppins-semibold.woff2") format(woff2);
}

@font-face {
font-display: optional;
font-display: swap;
font-family: robotomono;
font-style: normal;
font-weight: 400;
src: url("../fonts/robotomono-regular.woff2") format(woff2);
}

$font-families: (
site-title: (
"exo2",
),
headings: (
poppins,
),
Expand Down

0 comments on commit 1823307

Please sign in to comment.