This repository has been archived by the owner on Dec 15, 2024. It is now read-only.
Releases: benface/tailwindcss-gradients
Releases · benface/tailwindcss-gradients
v3.0.0
Changed
- 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
v2.3.1
v2.3.0
v2.2.0
v2.1.0
Added
- Added repeating gradient utilities, both linear and radial (see
README
for more info)
Changed
- 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
v2.0.1
v2.0.0
Added since 2.0.0-beta.2
- Added radial gradient utilities (see
README
for more info)
Changed since 2.0.0-beta.2
- Renamed the
gradients
theme and variants keys tolinearGradients
- 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
andvariants
keys of your config (seeREADME
for more info) - Responsive variants are now generated by default
Fixed since 1.x
- 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
v2.0.0-beta.2
Fixed
- 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
v2.0.0-beta.1
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
andvariants
keys of your config (seeREADME
for more info) - Responsive variants are now generated by default
v1.1.0
Added
- Added
directions
option (defaults to all sides and corners) - Added proper tests with Jest
Changed
- 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