Customize a theme
The features described in this topic are available only to customers enrolled in Early Access and are intended for testing in non-production environments.
In the theme editor, tokens are grouped according to their design purpose. Depending on the design schema, these can represent colors, typography, dimensions, durations, font families, font weights, easing effects, numbers, and other design settings.
Design Studio provides controls appropriate for different token types. For example, colors can use standard CSS color formats, while dimensions use a value and unit. The current implementation supports px and rem units for dimensions.
You can change the values you want to customize a theme. As you edit a token, components that reference that token use the new value, so a single design decision can be reflected consistently wherever that token is used. Changing a value updates the corresponding styling throughout the theme, and saving persists those values for the next time the theme is opened.
You do not need to change every token. A theme can reuse existing token values and override only the values that need to differ for the particular brand or campaign.
To customize a theme:
- In Design Studio, in the left toolbar, click Themes.
- In the Custom themes section, click on the tile of the theme you want to customize.
- In the left-hand panel, use the drop-down menu to select the site to preview the theme.
- In the right-hand panel, update the value of the tokens you want to change.
- To update the theme’s name or display name of the theme, in the top toolbar, click Settings.
- When you are done with customizing the theme, click Save.
You can now preview your theme before applying it to a live experience. This lets you check how the selected colors, typography, spacing, and other design decisions work together before making the theme available on a site. When you’re happy with how your theme looks, you must publish it to make it available for use outside Design Studio.