gatsby-plugin-jss

5.13.1 • Public • Published

gatsby-plugin-jss

Provide drop-in support for using the css-in-js library JSS including server rendering.

Install

npm install gatsby-plugin-jss react-jss

How to use

Add the plugin to your gatsby-config.js.

plugins: [`gatsby-plugin-jss`]

Or with theme

const theme = {
  fontSize: 16,
  fontFamily: "Roboto",
  color: "#212121",
}

plugins: [
  {
    resolve: "gatsby-plugin-jss",
    options: { theme },
  },
]

Example

https://using-jss.gatsbyjs.org/

Package Sidebar

Install

npm i gatsby-plugin-jss

Weekly Downloads

539

Version

5.13.1

License

MIT

Unpacked Size

35.3 kB

Total Files

8

Last publish

Collaborators

  • kathmbeck
  • pieh
  • tylerbarnes
  • fk
  • daniellewgatsby
  • kylemathews
  • wardpeet