Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 369 Bytes

File metadata and controls

14 lines (8 loc) · 369 Bytes

Tailwindcss Typography Shorthand

Are you tired to write "text-lg font-bold tracking-wide font-sans"?

This plugin is a shorthand for all of these:

typog-{fontSize*}-{fontWeight*}-{letterSpacing}-{fontFamily}

* required

Example: typog-lg-bold-wide-sans

Why didn't I put "lineHeight" property? Because lineHeight is set with fontSize in tailwind.config.js