0.0.1 • Published 2 years ago
@devhaven/typography v0.0.1
@devhaven/typography
Tailwind utilities for better typography. Works best with Inter.
Assumption
1 rem
= 10px
Installation
Install plugin from npm
npm i @devhaven/typography
Add the plugin to tailwind.config.js
module.exports = {
// ...
plugins: [
// ...
require('@devhaven/typography'),
// ...
],
};
Classes available
.text-button
.text-helper
.text-label
.text-caption
.text-body-01
.text-body-02
.text-body-03
.text-subtitle-01
.text-subtitle-02
.text-subtitle-03
0.0.1
2 years ago