Skip to content

feat(tui): add /theme slash command and fix Plan panel dark theme colors#1

Merged
MengZ-super merged 2 commits intomainfrom
feat/tui-theme-slash-command-and-plan-panel-fix
May 7, 2026
Merged

feat(tui): add /theme slash command and fix Plan panel dark theme colors#1
MengZ-super merged 2 commits intomainfrom
feat/tui-theme-slash-command-and-plan-panel-fix

Conversation

@MengZ-super
Copy link
Copy Markdown
Owner

Summary

  • Add /theme command to toggle between light/dark themes at runtime
  • Add --theme CLI flag for startup theme selection
  • Fix Plan panel displaying white background in dark theme by setting explicit section_bg instead of Color::Reset
  • Fix plan_progress_color and plan_completed_color to use deeper DEEPSEEK_BLUE instead of bright SKY blue in dark theme
  • Restore Ctrl+T → Live Transcript Overlay (revert accidental toggle_theme binding)
  • Add theme field to TuiOptions and update all test initializers
  • Add KbLiveTranscript localization for Ctrl+T keybinding

Test plan

  • Run cargo build successfully
  • Test /theme command toggles theme correctly
  • Verify Plan panel has dark background in dark theme
  • Verify Ctrl+T opens live transcript overlay
  • Run cargo test -p deepseek-tui and confirm all tests pass

🤖 Generated with Claude Code

MengZ-super and others added 2 commits May 7, 2026 16:04
- Add /theme command to toggle between light/dark themes at runtime
- Add --theme CLI flag for startup theme selection
- Fix Plan panel displaying white background in dark theme by setting
  explicit section_bg instead of Color::Reset
- Fix plan_progress_color and plan_completed_color to use deeper
  DEEPSEEK_BLUE instead of bright SKY blue in dark theme
- Restore Ctrl+T → Live Transcript Overlay (revert accidental
  toggle_theme binding)
- Add theme field to TuiOptions and update all test initializers
- Add KbLiveTranscript localization for Ctrl+T keybinding

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Accept origin/main palette.rs restructuring (PaletteMode, LIGHT_UI_THEME)
and fix theme-related references to use new UITheme names.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@MengZ-super MengZ-super merged commit f943bd0 into main May 7, 2026
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