Function: themeToCssVars()
function themeToCssVars(resolved): Record<string, string>;
Defined in: css.ts:83
Emits every token of a resolved theme as --rasd-* custom properties.
Only tokens are emitted. Per-component overrides stay on
ResolvedTheme.components, where the renderer reads them as data: they are
an open-ended Record<string, unknown> whose values have no unit contract,
so serialising them into CSS would be guesswork.
Parameters
| Parameter | Type |
|---|---|
resolved | ResolvedTheme |
Returns
Record<string, string>