This repository was archived by the owner on Feb 22, 2022. It is now read-only.
Releases: benface/tailwindcss-typography
Releases · benface/tailwindcss-typography
v3.1.0
Added
- Added
line-[style]andline-[color]utilities to go with Tailwind’s text decoration utilities (underlineandline-through); they can be customized with thetextDecorationStyleandtextDecorationColortheme keys
Fixed
- Fixed an issue when using a font size that includes a default line height in a text style (e.g.
['16px', '24px']), which is supported since Tailwind 1.3
v3.0.1
v3.0.0
Added
- Added kerning utilities, which can be disabled by setting the
kerningoption tofalse(thanks, @mapgrid!) - Added text rendering utilities, which can be customized with the
textRenderingtheme object (thanks, @mapgrid!)
Changed
- Changed to use Tailwind 1.2’s new plugin definition syntax
- Font variant utilities (caps, nums, and ligatures) are now generated from the
fontVariantCaps,fontVariantNumeric, andfontVariantLigaturestheme keys, and their names have changed to include acaps-,nums-, orligatures-prefix (sonormal-capsis nowcaps-normal,no-ligaturesis nowligatures-none, etc.) - The
caps,nums, andligaturesvariants keys have changed tofontVariantCaps,fontVariantNumeric, andfontVariantLigatures
Removed
- Removed the
caps,nums, andligaturesoptions
v2.2.0
v2.1.1
v2.1.0
v2.0.0
Changed since 2.0.0-beta.2
- Added support for global variants thanks to Tailwind’s
variants()helper function
Added since 1.x
- Tailwind 1.0.0 compatibility
- Added text unset utilities
- Added boolean options to enable/disable the non-configurable utilities (
ellipsis,hyphens, andtextUnset)
Changed since 1.x
- Most of the config options have been moved to the
themeandvariantsobjects in your Tailwind config (seeREADMEfor more info) - Responsive variants are now generated by default
v2.0.0-beta.2
Added
- Added text unset utilities
- Added boolean options to enable/disable the non-configurable utilities (
ellipsis,hyphens, andtextUnset)
v2.0.0-beta.1
Added
- Tailwind 1.0.0 compatibility
Changed
- The plugin doesn’t accept a config object anymore; instead it finds what it needs in the
themeandvariantskeys of your config (seeREADMEfor more info) - Responsive variants are now generated by default