Skip to main content
Glama

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
NameRequiredDescriptionDefault
nodeIdYesThe ID of the node to modify
variableIdYesThe ID of the color variable to bind
strokeIndexNoIndex of the stroke to modify (default: 0)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agenisea/cc-fig-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server