All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project mostly adheres to Semantic Versioning.
3.0.0 - 2020-02-05
- Changed to use Tailwind 1.2’s new plugin definition syntax
- Flattened the theme configuration in order to support
theme.extend
which only allows extending top-level objects; in other words, thelinearGradients
object that contained nesteddirections
andcolors
objects has been replaced by two top-level theme objects,linearGradientDirections
andlinearGradientColors
; same forradialGradients
(radialGradientShapes
,radialGradientSizes
, etc.),conicGradients
(conicGradientStartingAngles
,conicGradientPositions
, etc.),repeatingLinearGradients
,repeatingRadialGradients
, andrepeatingConicGradients
2.3.1 - 2019-09-01
- Fixed an issue when using nested object notation for gradient colors
2.3.0 - 2019-07-08
- Added conic gradient utilities, both standard and repeating (see
README
for more info)
2.2.0 - 2019-07-05
- Added a
bg-none
utility to remove gradients on larger screens (e.g.bg-gradient-b-black sm:bg-none
)
2.1.0 - 2019-05-24
- Added repeating gradient utilities, both linear and radial (see
README
for more info)
- Values that are optional in
linear-gradient()
andradial-gradient()
(direction, shape, size, and position) are now omitted when the value is the same as the CSS-defined default value
2.0.1 - 2019-05-23
- Fixed an error when using keywords for colors such as
inherit
orcurrentColor
2.0.0 - 2019-05-17
- Added radial gradient utilities (see
README
for more info)
- Renamed the
gradients
theme and variants keys tolinearGradients
- Added support for global variants thanks to Tailwind’s
variants()
helper function
- Tailwind 1.0.0 compatibility
- 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) - Responsive variants are now generated by default
- Single-color gradients now generate a transparent
rgba()
version of the color instead of using thetransparent
keyword, which is interpreted asrgba(0, 0, 0, 0)
(transparent black) by Safari and the CSS spec
2.0.0-beta.2 - 2019-04-04
- Single-color gradients now generate a transparent
rgba()
version of the color instead of using thetransparent
keyword, which is interpreted asrgba(0, 0, 0, 0)
(transparent black) by Safari and the CSS spec
2.0.0-beta.1 - 2019-04-04
- Tailwind 1.0.0 compatibility
- 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) - Responsive variants are now generated by default
1.1.0 - 2018-11-05
- Added
directions
option (defaults to all sides and corners) - Added proper tests with Jest
- The classes that are generated by default are now shorter (
bg-gradient-t-[color]
instead ofbg-gradient-to-top-[color]
, etc.) but can be customized with thedirections
option
1.0.1 - 2018-08-14
- Fixed escaping in selectors generated by the plugin
1.0.0 - 2018-08-13
Initial release