Skip to content

Commit

Permalink
Remove italics, add swap for fontDisplay
Browse files Browse the repository at this point in the history
- uses the trick from https://github.com/KyleAMathews/typography.js/issues/211\#issuecomment-494001270 (while the actual feature PR is still not merged)
  • Loading branch information
lehtoinen committed Jul 10, 2020
1 parent acbd51c commit 3f12b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const typography = new Typography({
},
{
name: 'Lato',
styles: ['400', '400i', '700', '700i', '900'],
styles: ['400', '700&display=swap'],
},
],
},
Expand Down

0 comments on commit 3f12b4c

Please sign in to comment.