Configuration overview
Theme Manager has three configuration surfaces:
~/.tg.jsonrecords CLI-owned generation state plus oneactiveThemeselected by the user.- Package-root
themes/contains included custom definitions. - Adapter paths hold generated sources and tool-owned live destinations.
Generation owns source output and source-related state. Selection owns theme identity (activeTheme). Application owns runtime light/dark switching without changing identity. Adapters own environment gates, reload hooks, packaged output, and privileged exceptions.
Read the config file reference before editing state manually, and use the integration catalogue for target paths.