ooai_llm.tui.themes¶
Theme palettes for the optional Textual explorer.
- Purpose:
Keep visual choices out of the TUI event wiring so the app can offer multiple usable terminal looks without becoming a wall of CSS.
- Design:
Themes are intentionally simple named palettes. They avoid third-party theme packages for now because Textual CSS is enough for the current app and the TUI extra should stay lightweight.
Attributes¶
Classes¶
Named color palette used to render the Textual explorer. |
Functions¶
|
Return Textual CSS for a named explorer theme. |
Module Contents¶
- ooai_llm.tui.themes.TUI_THEME_CHOICES: tuple[TUIThemeName, Ellipsis] = ('paper', 'slate', 'mono', 'forest')[source]¶
- class ooai_llm.tui.themes.TUITheme[source]¶
Named color palette used to render the Textual explorer.
- ooai_llm.tui.themes.TUI_THEMES: dict[TUIThemeName, TUITheme][source]¶
- ooai_llm.tui.themes.tui_theme_css(theme: TUIThemeName = 'paper') str[source]¶
Return Textual CSS for a named explorer theme.