get_figma_styles
Extract style data and CSS from Figma design nodes using file URLs to analyze design elements and generate code for development workflows.
Instructions
根据Figma URL获取节点的样式数据
Input Schema
Name | Required | Description | Default |
---|---|---|---|
generateCSS | No | 是否生成CSS代码 | |
url | Yes | Figma文件URL,可以包含node-id参数指定特定节点 |
Input Schema (JSON Schema)
{
"properties": {
"generateCSS": {
"default": false,
"description": "是否生成CSS代码",
"type": "boolean"
},
"url": {
"description": "Figma文件URL,可以包含node-id参数指定特定节点",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}