This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
Releases: benface/tailwindcss-transforms
Releases · benface/tailwindcss-transforms
v2.2.0
v2.1.0
v2.0.0
Removed since 2.0.0-beta.1
- Removed the
negativeTranslate
,negativeScale
,negativeRotate
, andnegativeSkew
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%'
intranslate
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 (seeREADME
for more info) - Added a
transform
theme object for custom transforms (it’s also what generates thetransform-none
utility) - Added
perspective
andperspectiveOrigin
theme objects (for use with the new3d
option)
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) - Transform origin utilities and responsive variants are now generated by default
- Renamed the transform origin classes from
transform-origin-[key]
totransform-[key]
v2.0.0-beta.1
Added
- Tailwind 1.0.0 compatibility
- Added a
3d
option (false
by default) to generate a bunch of new utilities (seeREADME
for more info) - Added a
transform
theme object for custom transforms (it’s also what generates thetransform-none
utility) - Added a
negativeScale
theme object (useful for flipping an element horizontally and/or vertically) - Added
perspective
andperspectiveOrigin
theme objects (for use with the new3d
option)
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) - Transform origin utilities and responsive variants are now generated by default
- Renamed the transform origin classes from
transform-origin-[key]
totransform-[key]