Skip to content

BlankRiser/devhaven-typography

Repository files navigation

@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

About

Tailwind utilities for a better typography experience

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published