Package Exports
- @devhaven/typography
- @devhaven/typography/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@devhaven/typography) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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