Manage Style
style_manageCreate or update named styles for paint, text, effects, or grids in Figma, supporting variable binding and property customization.
Instructions
Create a named style (paint/text/effect/grid), or update an existing one when styleId is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of style to create or update | |
| name | Yes | Name of the style | |
| description | No | Description of the style | |
| properties | No | Style properties to set; which subset applies depends on `type` (TEXT/PAINT/EFFECT/GRID). | |
| styleId | No | ID of the style to update (if not creating a new one) | |
| bindVariables | No | Map of field names to variable IDs (to bind) or null (to unbind). For PAINT styles, valid fields include 'color'. For TEXT styles, fields include 'fontSize', 'fontFamily', etc. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the style | |
| name | Yes | Name of the style | |
| type | Yes | Type of the style |