chore: use fork of gatsby-plugin-prefer-google-fonts

This commit is contained in:
Jean-Philippe Sirois
2020-11-12 05:06:01 -05:00
parent 578ac6549b
commit a16a5444cb
3 changed files with 134 additions and 65 deletions
+5 -8
View File
@@ -9,7 +9,7 @@ module.exports = {
`gatsby-plugin-styled-components`,
`gatsby-plugin-polished`,
{
resolve: `gatsby-plugin-prefetch-google-fonts`,
resolve: `@el7cosmos/gatsby-plugin-prefetch-google-fonts`,
options: {
fonts: [
{
@@ -20,16 +20,13 @@ module.exports = {
family: `Montserrat`,
variants: [`400`, `700`],
},
{
family: `Oxygen Mono`,
variants: [`400`],
},
],
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [`Oxygen Mono\:400`],
display: "swap",
},
},
`gatsby-plugin-layout`,
{
resolve: `gatsby-plugin-mdx`,