figma_add_mode
Add a new mode to an existing Figma variable collection, enabling variables to hold different values for contexts such as Light/Dark themes or device sizes.
Instructions
Add a new mode to an existing Figma variable collection. Modes allow variables to have different values for different contexts (e.g., Light/Dark themes, device sizes). Requires the Desktop Bridge plugin to be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modeName | Yes | The name for the new mode (e.g., 'Dark', 'Mobile', 'High Contrast'). | |
| collectionId | Yes | The collection ID to add the mode to (e.g., 'VariableCollectionId:123:456'). Get this from figma_get_variables. |