Skip to content

Commit

Permalink
feat: add font-display
Browse files Browse the repository at this point in the history
Signed-off-by: Thaddeus Kuah <[email protected]>
  • Loading branch information
thaddeuskkr committed Feb 23, 2025
1 parent 0307af8 commit 6bdb050
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
font-family: "Geist";
font-style: normal;
font-weight: 100 900;
font-display: swap;
font-optical-sizing: auto;
src: url("/fonts/Geist-VariableFont_wght.ttf");
}
Expand All @@ -12,6 +13,7 @@
font-family: "Geist Mono";
font-style: normal;
font-weight: 100 900;
font-display: swap;
font-optical-sizing: auto;
src: url("/fonts/GeistMono-VariableFont_wght.ttf");
}
Expand Down

0 comments on commit 6bdb050

Please sign in to comment.