create_variables
Creates a Figma variable collection with variables for multiple modes, supporting COLOR, FLOAT, STRING, and BOOLEAN types.
Instructions
Create a Figma variable collection with variables. Supports COLOR, FLOAT, STRING, and BOOLEAN types with multiple modes (e.g., light/dark theme).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | No | Mode names (e.g., ['Light', 'Dark']). First mode replaces the default mode. | |
| variables | Yes | Array of variables to create | |
| collectionName | Yes | Name for the variable collection |