set_fills
Set a Figma node's fills to solid colors or gradients, including color values, opacity, and gradient transforms.
Instructions
Set a node's fills. SOLID: { type:'SOLID', color:{r,g,b} } (0–1). Gradient: { type:'GRADIENT_LINEAR'|…, gradientStops:[{position,color:{r,g,b,a}}], gradientTransform } (round-trips get_node output). Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fills | Yes | Paints to apply | |
| nodeId | Yes | Figma node id to repaint |