New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-jss

Package Overview
Dependencies
Maintainers
16
Versions
383
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-jss

Gatsby plugin that adds SSR support for JSS

4.9.0
Source
npm
Version published
Weekly downloads
156
-27.44%
Maintainers
16
Weekly downloads
 
Created
Source

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/

Keywords

gatsby

FAQs

Package last updated on 01 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts