Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

gatsby-plugin-google-fonts

0.0.4 • Public • Published

gatsby-plugin-google-fonts

How to use it ?

yarn add gatsby-plugin-google-fonts
// or
npm install gatsby-plugin-google-fonts --save

Add some fonts to your gatsby-config.js:

module.exports = {
  siteMetadata: {
    title: `I like Google fonts`
  },
  plugins: [
    {
      resolve: `gatsby-plugin-google-fonts`,
      options: {
        fonts: [
          `limelight`,
          `source sans pro\:300,400,400i,700` // you can also specify font weights and styles
        ]
      }
    }
  ]
}

How to find great ideas ?

install

npm i gatsby-plugin-google-fonts

Downloadsweekly downloads

2,549

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability