Skip to content

Commit

Permalink
feat(fonts): enable text font-family swap
Browse files Browse the repository at this point in the history
Google Fonts is finally supporting `font-display: swap`.
See: https://www.zachleat.com/web/google-fonts-display/
  • Loading branch information
Lluis Agusti committed May 24, 2019
1 parent 6ec06d2 commit 0d3a58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/styles/Fonts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Fonts = createGlobalStyle`
}
/* Open Sans */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap');
`;

export default Fonts;

0 comments on commit 0d3a58f

Please sign in to comment.