create_paint_style
Create a reusable paint style from solid or gradient paints. Group styles by using slashes in the style name. Later apply with apply_style_to_node or edit with update_paint_style.
Instructions
Create a reusable local paint (color) style from SOLID or gradient paints (same shape as set_fills); use slashes in the name for folder grouping. Apply it to nodes with apply_style_to_node, or edit it later with update_paint_style. Returns { ok, styleId, name }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Style name, e.g. "Brand/Primary" | |
| paints | Yes | Paints | |
| description | No | Optional style description |