Skip to content

Generation problems

--all and --theme select custom themes; they cannot be combined with seed sources such as --color, --pick, --random, --last, or --favorite. Use one source family per command.

For seed generation, the source precedence is favorite > last > random > pick > provided. Supplying more than one seed-source flag is an error rather than a tie-breaker.

Those flags read ~/.tg.json. Generate a color first, or save a favorite with --save-fav, then retry. A missing or malformed state file starts from defaults; it cannot manufacture a previous color or favorite.

Confirm the ID appears in the included themes list or in configured custom theme definitions. Theme discovery reads package-root definitions; check the spelling and file extension before treating it as a renderer problem.

Generation isolates adapter work. Read the adapter-specific failure and inspect its generated source path rather than assuming every target was rolled back. Successful targets and ~/.tg.json may already have been written; the CLI offers no global rollback.

See supported targets for source filenames, environment requirements, and capabilities.