emotion-reset
Reset file for Emotion CSS-in-JS library.
The original reset.css
is pulled from shannonmoeller/reset.css, and parsed into emotion ready format.
Usage
npm install --save emotion-reset
JavaScript
import emotionReset from 'emotion-reset';
import {injectGlobal} from 'emotion';
injectGlobal`
${emotionReset}
// You can continue writing global styles, for instance
*, *::after, *::before {
box-sizing: border-box;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
}
...
`;
License
The MIT License
Credits
This package is inspired by heavily inspired/stolen from emotion-normalize.