Skip to content

Commit

Permalink
feat: enable font swat to reduce flickering during loading
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Nov 7, 2023
1 parent f871891 commit 249ce26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/styles/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
url('/assets/fonts/CadizWeb-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
Expand All @@ -12,6 +13,7 @@
url('/assets/fonts/CadizWeb-Black.woff') format('woff');
font-weight: 800;
font-style: normal;
font-display: swap;
}

* {
Expand Down

0 comments on commit 249ce26

Please sign in to comment.