You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gatsby-plugin-jss

Package Overview
Dependencies
Maintainers
0
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

5.14.0
latest
Source
npmnpm
Version published
Maintainers
0
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 06 Nov 2024

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