figma_set_variables_mode
Switch the active Figma Variables mode for a specific frame or entire page to apply Dark, Light, or Brand themes.
Instructions
Switch the active Figma Variables mode (e.g. Dark Mode, Light Mode, Brand theme) for a specific artboard/frame or the entire page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Screenshot resolution scale (default: 1) | |
| target | No | fileName of a specific connected Figma document, when more than one is open (see figma_list_targets). | |
| capture | No | Whether to capture a PNG screenshot of the target after switching mode (default: false) | |
| mode_name | Yes | Target mode name to activate (e.g. 'Dark', 'Light', 'Compact') | |
| target_id | No | Target node ID (frame/artboard) to set mode on. If omitted, applies to current selection or active page. | |
| collection_name | Yes | Name of the variable collection (e.g. 'Theme', 'Mode', 'Brand') |