If you answer yes, we store and analyse information that helps us improve the website. You can change your choice at any time at the bottom of the page. More about what we store and why.

We also store necessary information that cannot be opted out of. This makes the website work and keeps it secure.

Skip to main content

What are you looking for?

Try searching for…

Getting started

Multiple themes

Learn how to have multiple themes in the same project.

Updated October 20, 2026

It is possible to have multiple themes in the same project if you use a config file. Below we go through two ways to do it.

This page assumes that you have read "Build your theme".

Same color names

If you have two themes that will be switched between in the same interface, you must use the same color names in both themes. Then you can put both in one config file, which generates two CSS files, one per theme.

For example:

You can validate the config file in the Theme Builder. Click Import config and paste the config file.

Different color names

If the themes have different color names, they can't be in the same config file. The CLI doesn't accept it, and Figma can't switch between them with modes, because of limitations in how Figma handles modes. In this case, you need to create one config file for each theme, and run the command once for each config file.

It is common to have to do it this way if you have a repository that collects all the themes for multiple brands.

some-org.config.json:

other-org.config.json:

Run them one after the other:

Note that we have different output folders in the two config files, so that the CSS for each theme is placed in its own folder.

Edit this page on github.com (opens in a new tab)