extract-color-vars
Extract color variables from Figma DSL files and export them into formats like UnoCSS, TailwindCSS, or custom templates for streamlined design-to-code workflows.
Instructions
从Figma DSL文件中提取颜色变量,并输出在用户指定的文件中(比如unocss、tailwindcss或者自定义标准文件中等)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fileKey | Yes | The key of the Figma file to fetch, often found in a provided URL like figma.com/(file|design)/<fileKey>/... | |
nodeId | No | The ID of the node to fetch, often found as URL parameter node-id=<nodeId>, always use if provided |