Skip to content

Commit

Permalink
fix: add font display swap for faster web fonts load
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdp committed Sep 26, 2020
1 parent 01e5664 commit 604c7af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ const typography = new Typography({
baseFontSize: '18px',
googleFonts: [
{
name: 'Lato',
name: 'Lato&display=swap',
styles: ['400', '500', '700'],
},
{
name: 'Montserrat',
name: 'Montserrat&display=swap',
styles: ['400', '500', '700'],
},
{
name: 'Rubik',
name: 'Rubik&display=swap',
styles: ['400', '500', '700'],
},
],
Expand Down

0 comments on commit 604c7af

Please sign in to comment.