banira tokens

Generate a theming / design-tokens document (Markdown) from the components’ CSS custom properties, grouped per component and by token namespace.

Usage

$ banira tokens <files...> [options]

Arguments

ArgumentDescription
<files...>Component source files to analyze.

Options

OptionDescription
-o, --output <path>Write the document to a file instead of stdout.
--title <title>Document title. (default: Design Tokens)

Examples

write a tokens doc
$ banira tokens src/*.ts -o TOKENS.md

Notes

Reads the @cssprop custom properties from the manifest. Complements manifest --md’s inline per-component table with a dedicated, grouped theming reference.