Create code from designs with the Dev Mode MCP server | Figma
IntermediateDesign Tool Workflows
Shows how to run a short JavaScript snippet in Figma's console to set code syntax on every local variable in a collection, mapping variable names to CSS custom properties. It is aimed at designers who already use Figma variables and want to connect them to code.