Narcoleptic Programmers' Medicine

    gatsby-plugin-google-fonts

    1.0.1 • 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
            ],
            display: 'swap'
          }
        }
      ]
    }

    How to find great ideas ?

    Install

    npm i gatsby-plugin-google-fonts

    DownloadsWeekly Downloads

    17,265

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.34 kB

    Total Files

    5

    Last publish

    Collaborators

    • didierfranc