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

v2.0.0

Choose a tag to compare

@benface benface released this 13 May 18:12
· 20 commits to master since this release

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

Changed since 1.x

  • 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)
  • Multiple utilities as well as responsive variants are now generated by default (see README for more info)
  • Shorter class names for transition durations (transition-duration-500 is now transition-500) and timing functions (transition-timing-ease is now transition-ease)
  • Transition utilities now set transition-property instead of the transition shorthand; as a result, responsive transition utilities don’t reset the duration, timing function or delay anymore
  • For the above to work, the plugin now sets some base styles on all elements (changes transition-property's default value of all to none, and sets the default duration, timing function, and delay defined in the theme)