fills
The paints used to fill the area of the shape. For help on how to change this value, see Editing Properties.
Supported on:
Signature
fills: ReadonlyArray<Paint> | figma.mixed
Remarks
This property can return figma.mixed
if the node has multiple sets of fills. Text nodes can have multiple sets of fills if some characters are colored differently than others.
Use solidPaint
to create solid paint fills with CSS color strings.
Page nodes have a backgrounds
property instead of a fills
property.