Skip to content

alfed7/jss-reset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jss-reset

JSS reset and typography styles, live demo here.

The global export in index.js is generated with yarn build which does:

jss convert src/index.css -f js -e es6 > src/index.js

Usage

Install:

yarn add --dev jss-reset

Usage:

import { jss } from 'react-jss';
import { reset, typography } from 'jss-reset';

jss.createStyleSheet(reset).attach();
jss.createStyleSheet(typography).attach(); // optional!