Import from Figma variables
Last updated
Last updated
If you already have design tokens or variables in Figma, you can easily import them into Studio. Below is an example workflow using the Tokens Studio for Figma plugin.
In the plugin, look for an Import Variables button.
Choose whether to convert numbers to dimensions, use rem values, etc.
Click Import.
Tip: You might see collections such as “foundation” or “light” and “dark” in Figma, which will become token sets groups and the modes will become token sets in Studio. The Figma collections will be mapped as Theme Groups and modes as Theme Options in Studio.
Studio supports theming through the concept of Theme Groups and Theme Options. This allows you to toggle between sets like light and dark, or any other variant (for more information on Themes check out ).
The Figma collections will be created as Theme Groups and modes will be created as Theme Options.
Open the Theme Panel • In your project, click the Themes tab.
Verify that your collections have been created as Theme Groups (e.g., Color Mode, breakpoint)
Verify that the modes in your collections have been created as Theme Options under the corresponding Theme Group (e.g., Light and Dark in Color Mode)
Click on the Theme Option on the left panel to see the sets that are enabled for the Theme Option.
Open the Tokens tab on the left panel. • At the bottom of the left-hand panel, you can select which theme is active (e.g., Default + Light or Default + Dark). • This will update the token values displayed in the UI.