Skip to main content

Interface: SpacingTokens

Defined in: types.ts:41

@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

page

page: number;

Defined in: types.ts:44


stack

stack: number;

Defined in: types.ts:43


unit

unit: number;

Defined in: types.ts:42