Benface Tailwindcss Typography Versions Save

Tailwind CSS plugin to generate typography utilities and text style components

v3.1.0

4 years ago

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

4 years ago

Fixed

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

v3.0.0

4 years ago

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

4 years ago

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

4 years ago

Fixed

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

v2.1.0

4 years ago

Added

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

v2.0.0

5 years ago

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

5 years ago

Added

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

v2.0.0-beta.1

5 years ago

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

5 years ago

Added

  • Added the hyphens-none and hyphens-manual utilities

Changed

  • Changed the hyphens utility to hyphens-auto