set_stroke_variable
Bind color variables to node strokes for theme-compatible border colors in Figma designs.
Instructions
Bind a color variable to a node's stroke. Use this for theme-compatible border colors.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to modify | |
| variableId | Yes | The ID of the color variable to bind | |
| strokeIndex | No | Index of the stroke to modify (default: 0) |