css_class_to_figma_style
Transform CSS class definitions into Figma local paint and text styles. Provide a CSS file path to automate style creation.
Instructions
Convert CSS class definitions to Figma local paint/text styles
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cssFilePath": "<cssFilePath>"
},
"name": "css_class_to_figma_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cssFilePath | Yes | Absolute path to the CSS file | |
| classNames | No | Optional list of specific class names to convert. If omitted, all classes are processed. |