Compile a W3C Design Tokens (DTCG) tokens.json into :root CSS custom properties, resolving {alias} references.
| Argument | Description |
|---|---|
<tokens.json> | DTCG design tokens document. |
| Option | Description |
|---|---|
-o, --output <path> | Write the stylesheet to a file instead of stdout. |
--selector <selector> | CSS selector for the custom properties. (default: :root) |
$ banira tokens-css design.tokens.json -o tokens.cssGroups become dashed name segments (color.primary → --color-primary),
$type is inherited from parent groups, and {alias} references are resolved —
so vanilla components can use a standards-based token pipeline with no design-system runtime.