ResolvedTheme
Defined in: theme.ts:15
Theme engine.
The server resolves brand/campaign/context colours and sends tokens plus, for each token, WHERE IT CAME FROM. The client’s job is only to put them somewhere CSS can see them, and to do it as custom properties rather than inline styles so a copied component can be restyled without forking the package.
sources is carried alongside deliberately: it is what the Ledger renders,
and a theme that arrives without provenance is a theme nobody can explain
to a brand manager asking why their blue changed.
Properties
Section titled “Properties”colors
Section titled “colors”colors:
Record<string,string>
Defined in: theme.ts:16
sources
Section titled “sources”sources:
Record<string,string>
Defined in: theme.ts:17