figma_set_strokes
Set stroke or border colors and weights on Figma nodes using hex/CSS colors or color variables to apply design tokens directly.
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 |