Skip to content

feat(examples): TUI theme switcher#66

Merged
Meirtz merged 1 commit into
Agentix-Project:masterfrom
Meirtz:feat/tui-themes
May 30, 2026
Merged

feat(examples): TUI theme switcher#66
Meirtz merged 1 commit into
Agentix-Project:masterfrom
Meirtz:feat/tui-themes

Conversation

@Meirtz
Copy link
Copy Markdown
Collaborator

@Meirtz Meirtz commented May 29, 2026

Stacks on #63 (the Agentix TUI). GitHub shows the cumulative diff until #63 merges; the net change here is just the theme switchereval_tui/app.py (~20 lines: _themes set up in on_mount, a t binding, action_cycle_theme) + one pilot test.

What

Adds a theme switcher to the TUI: t cycles a branded agentix theme (registered best-effort) plus always-available built-ins (tokyo-night, gruvbox, nord, dracula, textual-light), with a toast showing the active theme. Reliable across Textual versions — the branded theme registration is guarded, and cycling only includes themes confirmed present in available_themes.

Verification

  • ruff check, headless run_test pilot (t changes app.theme) — 11 pilot tests green.

`t` cycles a branded `agentix` theme (best-effort registration) plus
always-available built-ins (tokyo-night / gruvbox / nord / dracula /
textual-light), with a toast showing the active theme. ruff + 11 pilot
tests green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Meirtz Meirtz force-pushed the feat/tui-themes branch from be47cea to d7ae2ee Compare May 30, 2026 12:11
@Meirtz Meirtz merged commit cc035b8 into Agentix-Project:master May 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant