Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@benface benface released this 16 May 19:00
· 13 commits to master since this release

Removed since 2.0.0-beta.1

  • Removed the negativeTranslate, negativeScale, negativeRotate, and negativeSkew theme objects as they are not needed anymore; just like negative margins in Tailwind 1.0, if the key of a translate, scale, rotate, or skew utility starts with a minus sign (-), the generated class will now automatically start with a minus sign as well (e.g. '-full': '-100%' in translate will generate a -translate-x-full class)

Changed since 2.0.0-beta.1

  • Added support for global variants thanks to Tailwind’s variants() helper function

Added since 1.x

  • Tailwind 1.0.0 compatibility
  • Added a 3d option (false by default) to generate a bunch of new utilities (see README for more info)
  • Added a transform theme object for custom transforms (it’s also what generates the transform-none utility)
  • Added perspective and perspectiveOrigin theme objects (for use with the new 3d option)

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)
  • Transform origin utilities and responsive variants are now generated by default
  • Renamed the transform origin classes from transform-origin-[key] to transform-[key]