Interface: DTCGToken
Defined in: roots/toDTCG.ts:15
A single DTCG token node with $value and $type.
Follows the W3C Design Tokens Community Group format: https://design-tokens.github.io/community-group/format/
Properties
$extensions?
optional$extensions?:Record<string,unknown>
Defined in: roots/toDTCG.ts:23
$type?
optional$type?:string
Defined in: roots/toDTCG.ts:22
W3C DTCG type. Optional — omitted for opaque/keyword tokens that have
no valid DTCG scalar type ($type is optional in the DTCG spec). There is
no 'string' DTCG type; emitting one would break conformant importers.
$value
$value:
string|number
Defined in: roots/toDTCG.ts:16