This repository has been 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 (underline
andline-through
); they can be customized with thetextDecorationStyle
andtextDecorationColor
theme 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
kerning
option tofalse
(thanks, @mapgrid!) - Added text rendering utilities, which can be customized with the
textRendering
theme 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
, andfontVariantLigatures
theme keys, and their names have changed to include acaps-
,nums-
, orligatures-
prefix (sonormal-caps
is nowcaps-normal
,no-ligatures
is nowligatures-none
, etc.) - The
caps
,nums
, andligatures
variants keys have changed tofontVariantCaps
,fontVariantNumeric
, andfontVariantLigatures
Removed
- Removed the
caps
,nums
, andligatures
options
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
theme
andvariants
objects in your Tailwind config (seeREADME
for 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
theme
andvariants
keys of your config (seeREADME
for more info) - Responsive variants are now generated by default