Closed Brettm12345 closed 5 years ago
I made it so styled-components injects the headerFontFamily
and the bodyFontFamily
into font-face
declarations so it will be easier to change the font over. You can see my pull request here
Be sure to use font-display: swap
in the @font-face
(documentation) declarations.
Write the @font-face
declorations in layout.js in the createGlobalStyle
template
Switch header font from Playfair Display to Didot