Reset file for Emotion CSS-in-JS library.
The original reset.css
is pulled from shannonmoeller/reset.css, and parsed into emotion ready format.
npm install --save emotion-reset
// global.js - place in your app where global styles reside
import emotionReset from 'emotion-reset';
import {injectGlobal} from 'emotion';
/* eslint-disable no-unused-expressions */
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;
}
...
`;
/* eslint-enable */
The MIT License
This package is heavily inspired/stolen from emotion-normalize.