typerules
Version:
A typography toolkit that sets vertical rhythm and provides type functions.
60 lines (37 loc) • 1.73 kB
Markdown
# Typerules 
<p align="right">
<code>LIKED ? Leave a <a href="https://github.com/tiagoporto/typerules/stargazers">⭐</a> : <a href="https://github.com/tiagoporto/typerules/issues">😞</a></code>
</p>
[](https://github.com/tiagoporto/typerules/releases)
[](https://www.npmjs.com/package/typerules)
[](https://packagephobia.now.sh/result?p=typerules)
[](https://raw.githubusercontent.com/tiagoporto/typerules/master/LICENSE)
[](https://travis-ci.com/tiagoporto/typerules)
[](https://david-dm.org/tiagoporto/typerules?type=dev)
> A toolkit that sets typography settings, vertical rhythm, and more.
_Work in Progress_
## Installation
```sh
npm i typerules@alpha
```
## Usage
```stylus
@import '~typerules'
```
## Options
### Show grid
```stylus
$debug-vertical-rhythm = true
@import '~typerules'
```
### Generate basic styles
```stylus
@import '~typerules'
set-rhythm()
```
<!-- ## Settings -->
<!-- ## Functions -->
## Contributing
[See how to contribute](CONTRIBUTING.md).
## License
Typerules is released under the terms of the [MIT](LICENSE).