Skip to content

normalize.css converted to and exported as a JSS object.

License

Notifications You must be signed in to change notification settings

thancock20/normalize.jss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

normalize.jss

normalize.css converted to and exported as a JSS object.

This is version 5.0.0 of normalize.css converted to JSS using the JSS-CLI

Use case:

If you're using JSS for styling, and want to use normalize.css as a base. However, you don't want to setup Webpack to load CSS just for the one file.

Getting started

Simply install into your project with npm:

npm install --save normalize.jss

Then import and load Normalize as a global style with JSS:

import Normalize from 'normalize.jss';
import jss from 'jss';

const sheet = jss.createStyleSheet({ '@global': Normalize });
sheet.attach();

The jss-global plugin must be installed and enabled to use the @global declaration above.

About

normalize.css converted to and exported as a JSS object.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published