mix corex.design.build (Corex Design v0.2.2)

Copy Markdown View Source

Generates the Corex design bundle from Elixir theme config and shipped anatomy CSS.

This is a Phoenix asset step, not part of mix compile. Wire it into assets.build and assets.deploy (before Tailwind). After changing config :corex_design, re-run this task (or mix assets.build).

Options

  • --output — destination directory (default from config :corex_design or assets/corex)
  • --config — path to an Elixir config script whose keyword list is applied as config :corex_design

Security

--config is loaded with Code.eval_file/1. Only pass a trusted local path (your own project config). Never evaluate untrusted or user-uploaded files.