How to use the jss-plugin-extend function in jss-plugin-extend

To help you get started, we’ve selected a few jss-plugin-extend examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ubergrape / grape-electron / src / pages / index.js View on Github external
}

const jss = create()
jss.use(
  functions(),
  isolate({
    reset: [
      'inherit',
      {
        fontFamily:
          '"Proxima Nova", "Helvetica Neue", Arial, Helvetica, sans-serif',
      },
    ],
  }),
  global(),
  extend(),
  nested(),
  camel(),
  unit(),
  expand(),
)

jss.createStyleSheet(styles).attach()
const { page, type, url } = qs.parse(window.location.search.substr(1))
const Page = pageComponentMap[page]

render(
  
    
      
    
  ,

jss-plugin-extend

JSS plugin that enables mixing in styles.

MIT
Latest version published 1 year ago

Package Health Score

70 / 100
Full package analysis

Popular jss-plugin-extend functions