An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# Typerules ![Open Source Love](https://badges.frapsoft.com/os/v3/open-source.svg)


LIKED ? Leave a : 😞

[![Release](https://img.shields.io/npm/v/typerules.svg?style=flat-square&label=release)](https://github.com/tiagoporto/typerules/releases)
[![Downloads](https://img.shields.io/npm/d18m/typerules.svg?style=flat-square)](https://www.npmjs.com/package/typerules)
[![install size](https://packagephobia.com/badge?p=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).