feat: import/prefetch Google fonts

This commit is contained in:
Jean-Philippe Sirois
2019-07-29 14:12:08 -04:00
parent f4384afdca
commit cc9dc391a9
3 changed files with 280 additions and 0 deletions
+15
View File
@@ -8,6 +8,21 @@ module.exports = {
`gatsby-plugin-react-helmet`,
`gatsby-plugin-typescript`,
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-plugin-prefetch-google-fonts`,
options: {
fonts: [
{
family: `Oxygen`,
variants: [`400`, `700`],
},
{
family: `Montserrat`,
variants: [`400`, `700`],
},
],
},
},
{
resolve: `gatsby-transformer-remark`,
plugins: [`gatsby-remark-prismjs`],