Metadata for a registered theme.
ThemeEntry(
self,
label: str,
dark: bool,
colors: ThemeColors,
custom: bool = True
)| Name | Type |
|---|---|
| label | str |
| dark | bool |
| colors | ThemeColors |
| custom | bool |
Human-readable label shown in the theme picker.
Whether this is a dark theme variant.
Resolved color set.
Whether this theme must be registered with Textual via register_theme().
True for LangChain-branded themes and user-defined themes.
False for Textual built-in themes that Textual already knows about.
All registered theme entries, keyed by Textual theme name.
Read-only after module load (MappingProxyType).