Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Releases: benface/tailwindcss-typography

v3.1.0

10 May 00:47
Compare
Choose a tag to compare

Added

  • Added line-[style] and line-[color] utilities to go with Tailwind’s text decoration utilities (underline and line-through); they can be customized with the textDecorationStyle and textDecorationColor 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

13 Feb 18:00
Compare
Choose a tag to compare

Fixed

  • Negative text indent utilities now have the expected class name (-indent-* instead of indent--*)

v3.0.0

05 Feb 16:27
Compare
Choose a tag to compare

Added

  • Added kerning utilities, which can be disabled by setting the kerning option to false (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, and fontVariantLigatures theme keys, and their names have changed to include a caps-, nums-, or ligatures- prefix (so normal-caps is now caps-normal, no-ligatures is now ligatures-none, etc.)
  • The caps, nums, and ligatures variants keys have changed to fontVariantCaps, fontVariantNumeric, and fontVariantLigatures

Removed

  • Removed the caps, nums, and ligatures options

v2.2.0

03 Sep 00:23
Compare
Choose a tag to compare

Added

  • Added utilities for some OpenType features: caps (alternate glyphs for capital letters), nums (alternate glyphs for numbers, fractions, and ordinal markers), and ligatures
  • Added a no-ellipsis utility to undo ellipsis at breakpoints

v2.1.1

27 May 15:03
Compare
Choose a tag to compare

Fixed

  • Fixed an issue when using an array for a font family in a text style

v2.1.0

27 May 03:49
Compare
Choose a tag to compare

Added

  • Added text style components (see the textStyles theme object in the README for more info)

v2.0.0

13 May 18:05
Compare
Choose a tag to compare

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, and textUnset)

Changed since 1.x

  • Most of the config options have been moved to the theme and variants objects in your Tailwind config (see README for more info)
  • Responsive variants are now generated by default

v2.0.0-beta.2

05 Apr 03:13
Compare
Choose a tag to compare

Added

  • Added text unset utilities
  • Added boolean options to enable/disable the non-configurable utilities (ellipsis, hyphens, and textUnset)

v2.0.0-beta.1

05 Apr 02:34
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

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 and variants keys of your config (see README for more info)
  • Responsive variants are now generated by default

v1.1.0

22 Mar 16:02
Compare
Choose a tag to compare

Added

  • Added the hyphens-none and hyphens-manual utilities

Changed

  • Changed the hyphens utility to hyphens-auto