mix brand.gen (Rendro v1.3.4) (adapter)

Copy Markdown View Source

Regenerates derived brand assets from the single source of truth, brand/tokens/tokens.json.

This is a dev-only convenience task. The generated files are committed, so the repository renders on GitHub without anyone running this. Run it only after editing brand/tokens/tokens.json.

mix brand.gen          # regenerate tokens.css + tailwind.tokens.js
mix brand.gen --check  # verify committed outputs match the source (CI / QA gate)

Outputs:

  • brand/tokens/tokens.css — :root custom properties (raw + semantic), light + dark
  • brand/tokens/tailwind.tokens.js — tailwind theme.extend excerpt

Not added to mix.exs :package files — brand assets live in git, never in the Hex tarball.