Tailwind CSS plugin to generate gradient background utilities
theme.extend
which only allows extending top-level objects; in other words, the linearGradients
object that contained nested directions
and colors
objects has been replaced by two top-level theme objects, linearGradientDirections
and linearGradientColors
; same for radialGradients
(radialGradientShapes
, radialGradientSizes
, etc.), conicGradients
(conicGradientStartingAngles
, conicGradientPositions
, etc.), repeatingLinearGradients
, repeatingRadialGradients
, and repeatingConicGradients
README
for more info)gradients
theme and variants keys to linearGradients
variants()
helper functiontheme
and variants
keys of your config (see README
for more info)rgba()
version of the color instead of using the transparent
keyword, which is interpreted as rgba(0, 0, 0, 0)
(transparent black) by Safari and the CSS spec