Themes
Change color, type and control styling across a whole document.
A theme is the set of colors and type settings a document draws from. Controls
refer to theme tokens — primary, warning, base-content — rather than to
literal colors, so changing the theme restyles every screen at once and keeps
the result coherent.
A control set to the error variant follows the theme; a control given a literal
color keeps that color.
Adjusting the theme
Section titled “Adjusting the theme”- Open the Theme panel.
- Change a token and watch the canvas update.
- Save the document to keep it.
The canvas renders with the theme applied, so the editor shows what the runtime will draw.
Reusing a theme
Section titled “Reusing a theme”Themes export from the Theme panel as a .thm file, which imports into any
other document.
Related
Section titled “Related”- Button — variants, and setting colors directly.
- USB import & export — moving a
.thmbetween documents.