Interface: CssTokenConsumed
Defined in: packages/core/src/model.ts:189
A design token the component consumes via var(--*). The set is derived from the CSS; an authored @tokens tag annotates one with prose (and may add a token not literally found via var()). Type and resolved value are not modeled here — an emitter resolves them via its own token source (e.g. a resolveToken hook).
Properties
description?
ts
optional description?: string;Defined in: packages/core/src/model.ts:193
Prose from an @tokens doc tag, when authored.
name
ts
name: string;Defined in: packages/core/src/model.ts:191
The custom-property name, e.g. --color-primary.