Interface: ResolveOptions
Defined in: types.ts:169
@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
colorScheme?
optional colorScheme?: ColorScheme;
Defined in: types.ts:170
contrast?
optional contrast?: Contrast;
Defined in: types.ts:172
density?
optional density?: Density;
Defined in: types.ts:171
reducedMotion?
optional reducedMotion?: boolean;
Defined in: types.ts:173
registry?
optional registry?: Record<string, RasdTheme>;
Defined in: types.ts:175
Registry used to resolve extends; defaults to the built-ins.