Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiaanduplessis/styled-nanoreset
Nanoreset + Styled Components
https://github.com/tiaanduplessis/styled-nanoreset
nanoreset styled-components
Last synced: 7 days ago
JSON representation
Nanoreset + Styled Components
- Host: GitHub
- URL: https://github.com/tiaanduplessis/styled-nanoreset
- Owner: tiaanduplessis
- License: mit
- Created: 2018-12-24T08:16:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T21:18:12.000Z (about 4 years ago)
- Last Synced: 2024-11-07T17:49:47.310Z (11 days ago)
- Topics: nanoreset, styled-components
- Language: JavaScript
- Homepage:
- Size: 144 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# styled-nanoreset
[![package version](https://img.shields.io/npm/v/styled-nanoreset.svg?style=flat-square)](https://npmjs.org/package/styled-nanoreset)
[![package downloads](https://img.shields.io/npm/dm/styled-nanoreset.svg?style=flat-square)](https://npmjs.org/package/styled-nanoreset)
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![package license](https://img.shields.io/npm/l/styled-nanoreset.svg?style=flat-square)](https://npmjs.org/package/styled-nanoreset)
[![make a pull request](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)> [Nanoreset](https://github.com/tiaanduplessis/nanoreset/) + Styled Components
## Table of Contents
- [styled-nanoreset](#styled-nanoreset)
- [Table of Contents](#table-of-contents)
- [Install](#install)
- [Usage](#usage)
- [Similar](#similar)
- [Contribute](#contribute)
- [License](#license)## Install
This project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com).
```sh
$ npm install styled-nanoreset
$ # OR
$ yarn add styled-nanoreset
```## Usage
```jsx
import * as React from 'react'
import { NanoReset } from 'styled-nanoreset'const App = () => (
Hi, I'm an app!
}export default App
````reset` is also available as a named export:
```javascript
import { injectGlobal } from 'styled-components'
import reset from 'styled-nanoreset'
injectGlobal`
${reset}
`
```## Similar
Also see [styled-normalize](https://www.npmjs.com/package/styled-normalize)
from [Sergey Sova](https://github.com/sergeysova).## Contribute
1. Fork it and create your feature branch: `git checkout -b my-new-feature`
2. Commit your changes: `git commit -am "Add some feature"`
3. Push to the branch: `git push origin my-new-feature`
4. Submit a pull request## License
MIT