normalize-stitches
Version:
CSS-in-JS implementation of normalize.css for Stitches
35 lines (24 loc) • 587 B
Markdown
This package is a CSS-in-JS implementation of [normalize.css](https://necolas.github.io/normalize.css/).
To install the package with `npm` run the following command:
```bash
npm i normalize-stitches --save
```
or to install the package with `yarn` run:
```bash
yarn add normalize-stitches
```
```typescript
import { global } from '@stitches/react';
import { normalize } from 'normalize-stitches';
const globalStyles = global({
...normalize,
// Other custom global styling
});
() => {
globalStyles();
return <div />;
};
```