Interface: ThemeTokens
Defined in: types.ts:73
@rasd/themes — the public entry point (docs/17-api-reference.md §11).
A theme is data: a JSON document of design tokens that the resolver turns
into one frozen ResolvedTheme per (colour scheme × contrast × density ×
reduced motion) combination. Nothing here touches the DOM, the network or the
filesystem, so the same functions run in the React renderer, in React Native,
in the CLI linter and in the builder's theme editor.
Properties
color
color: ColorTokens;
Defined in: types.ts:74
control
control: ControlTokens;
Defined in: types.ts:80
elevation
elevation: ElevationTokens;
Defined in: types.ts:78
motion
motion: MotionTokens;
Defined in: types.ts:79
radius
radius: RadiusTokens;
Defined in: types.ts:77
spacing
spacing: SpacingTokens;
Defined in: types.ts:76
typography
typography: TypographyTokens;
Defined in: types.ts:75