| Name | Type | Description |
|---|---|---|
value* | object | Raw value read from TOML or an environment variable. |
Resolve a user-supplied theme name to a canonical registry key.
Accepts the registry key or the human-readable label, case-insensitive on
both, with surrounding whitespace stripped - config values (especially
[ui.terminal_themes]) and the DEEPAGENTS_CODE_THEME env var are commonly
hand-edited. Also applies the legacy textual-ansi to ansi-light
migration, which predates Textual 8.2.5 and can be dropped once no
supported config can still carry the old name.