Parses a W3C Design Tokens (DTCG)
document into a flat list of CSS custom properties. Groups become dashed
name segments, $type is inherited from ancestor groups, and {alias}
references (whole-value and embedded) are resolved. Composite tokens
(shadow, typography, …) whose value cannot be expressed as a single CSS
string are skipped.
Parses a W3C Design Tokens (DTCG) document into a flat list of CSS custom properties. Groups become dashed name segments,
$typeis inherited from ancestor groups, and{alias}references (whole-value and embedded) are resolved. Composite tokens (shadow, typography, …) whose value cannot be expressed as a single CSS string are skipped.