@motion-script/core / Fill
Type Alias: Fill
Fill =
FillProp|FillResolved|FillChain| (FillProp|FillResolved|FillChain)[]
Defined in: attributes/shape/fill/chain.ts:245
Accepted shapes for a node's fill prop.
Can be a single fill, a FillChain builder result, an already-resolved
FillResolved, or an array mixing any of these (each chain contributes
all its layers in place):
'red' // plain CSS color Fills.image('bg.jpg') // chain ['#e8c584', Fills.image('bg.jpg')] ['#e8c584', ...Fills.image('bg.jpg')] resolvedFills // FillResolved[] passes through