https://github.com/tiagoporto/typerules
A typography toolkit that sets vertical rhythm and provides type functions.
https://github.com/tiagoporto/typerules
baseline css functions scale stylus toolkit type typography vertical-rhythm
Last synced: 29 days ago
JSON representation
A typography toolkit that sets vertical rhythm and provides type functions.
- Host: GitHub
- URL: https://github.com/tiagoporto/typerules
- Owner: tiagoporto
- License: mit
- Created: 2017-10-18T13:05:55.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T04:32:12.000Z (2 months ago)
- Last Synced: 2025-03-29T01:02:49.691Z (about 2 months ago)
- Topics: baseline, css, functions, scale, stylus, toolkit, type, typography, vertical-rhythm
- Language: Stylus
- Homepage:
- Size: 3.55 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Typerules 
[](https://github.com/tiagoporto/typerules/releases)
[](https://www.npmjs.com/package/typerules)
[](https://packagephobia.com/result?p=typerules)> 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()
```## Contributing
[Check how to contribute](https://github.com/tiagoporto/.github/blob/main/CONTRIBUTING.md).
## License
This project is licensed under the [MIT License](LICENSE).