@devhaven/typography
v0.0.1
Published
Tailwind utilities for a better typography experience
Downloads
1
Maintainers
Readme
@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