Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-jss

Package Overview
Dependencies
Maintainers
9
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.13.0-next.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.9K
increased by122.44%
Maintainers
9
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

FAQs

Package last updated on 25 Jul 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc