mix rendro.gen.theme (Rendro v1.3.4) (adapter)

Copy Markdown View Source

Generates an application-owned, fixed Rendro theme wrapper.

mix rendro.gen.theme PRESET --accent #RRGGBB [--mode light|dark]
  [--module Elixir.Module.Name] [--out lib/path/to/theme.ex] [--force | --check]

PRESET, --accent, and --mode use Rendro's closed vocabulary. The generated module intentionally exposes only theme/0 and register_fonts/1; edit the committed wrapper if the application later needs a different policy. Re-running this task does not update detached application code.

Normal writes use Mix's standard conflict handling. --force is the sole noninteractive overwrite path. --check only compares bytes and never creates, prompts for, or writes files. These are single-invocation guarantees; this task makes no parallel-writer or interruption-rollback claim.