tailwindcss-typography-shorthand
v1.1.2
Published
Tailwindcss Typography Shorthand
Downloads
190
Readme
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