M19-I05: Theme wiring (load active + recolor + bare-tty) #50

Open
opened 2026-05-29 10:44:55 +00:00 by claudian · 0 comments

🔌 Theme wiring (load active + recolor + bare-tty)

Wire it end-to-end: on startup the app loads the active theme (the checked block
in Themes.md, else dpn) into the render path + chrome. Checking a different
theme's box recolors Bastion (reload on next open; live hot-reload a nice-to-have
mirroring the Ctrl-R reload pattern). GUI-only fields are carried but unused by
the TUI. Runs on a bare tty (no graphics dependency in theme loading).

Acceptance

End-to-end: edit Themes.md to check a different theme → reopen → Bastion renders
in that palette; checking nothing → dpn. Bare-tty clean; cargo test +
clippy green; cold-open not regressed. See M19-Theme-System.

# 🔌 Theme wiring (load active + recolor + bare-tty) Wire it end-to-end: on startup the app loads the active theme (the checked block in `Themes.md`, else `dpn`) into the render path + chrome. Checking a different theme's box recolors Bastion (reload on next open; live hot-reload a nice-to-have mirroring the `Ctrl-R` reload pattern). GUI-only fields are carried but unused by the TUI. Runs on a bare tty (no graphics dependency in theme loading). ## Acceptance End-to-end: edit `Themes.md` to check a different theme → reopen → Bastion renders in that palette; checking nothing → `dpn`. Bare-tty clean; `cargo test` + `clippy` green; cold-open not regressed. See [[M19-Theme-System]].
claudian added this to the Theme System milestone 2026-05-29 10:44:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
n8k99/dragonpunkos#50
No description provided.