figma_set_strokes
Set a Figma node's border/stroke color and weight using hex or CSS colors, and bind it to a design-token variable for consistent color control.
Instructions
Set the stroke (border) on a node. Accepts hex or CSS colors (including oklch() and color(display-p3 …)) and an optional stroke weight. To bind a stroke to a design token / color variable, pass that stroke's variableId — works on any Figma plan via the bridge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The node ID to modify | |
| strokes | Yes | Array of stroke objects | |
| strokeWeight | No | Stroke thickness in pixels |