theme
functionRegister a theme so it appears in the workbench theme picker. Purely declarative. There is no handler and nothing runs at author time. The token values themselves live in the module you point at, written with `defineModularTheme`; this constructor only gives them an id, a label, and a place in the picker.
Import
import { theme } from '@modular/sdk';Notes
- category
- Authoring