1.0.1 • Published 4 years ago

emotion-minireset v1.0.1

Weekly downloads
132
License
MIT
Repository
github
Last release
4 years ago

emotion-minireset

Minireset.css file for Emotion CSS-in-JS library.

The original minireset.css is pulled from jgthms/minireset.css, and parsed into emotion ready format.

Usage

yarn add emotion-minireset

JavaScript

import { Global, css } from "@emotion/core";
import emotionMinireset from 'emotion-minireset';

// ...

<Global
  styles={css`
    ${emotionMinireset}
    html,
    body {
      padding: 0;
      margin: 0;
      background: white;
      min-height: 100%;
      font-family: Helvetica, Arial, sans-serif;
    }
  `}
/>

License

The MIT License

Credits

emotion-minireset is maintained and sponsored by Ombori, it was inspired by emotion-normalize.