Skip to content

Redesign setup TUI and rebrand CLI to teal#45

Merged
munezaclovis merged 2 commits intomainfrom
feat/setup-tui-redesign
Mar 14, 2026
Merged

Redesign setup TUI and rebrand CLI to teal#45
munezaclovis merged 2 commits intomainfrom
feat/setup-tui-redesign

Conversation

@munezaclovis
Copy link
Copy Markdown
Contributor

@munezaclovis munezaclovis commented Mar 14, 2026

Summary

  • Rebrand from purple to teal (#b39ddb#00D4AA) across the entire CLI: ui styles, fang color scheme, tables, trees, spinners, progress bars, and install.sh
  • Redesign setup wizard TUI: clean inline tab bar with separators, / indicators replacing [x]/[ ] checkboxes, segmented pill toggles for automation settings (teal for "true", orange #FF6B35 for "ask"), proper spacing between list items
  • Fix Ctrl+C during setup producing install output — now returns non-zero exit on cancel so install.sh stops immediately

Test plan

  • Run pv setup — verify new tab bar, indicators, and automation toggles render correctly
  • Press Ctrl+C during setup — confirm clean exit with no trailing output
  • Run PV_INSTALL_LOCAL_BUILD=./pv bash install.sh and Ctrl+C during setup — verify install.sh stops
  • Run pv status, pv link, pv unlink — confirm teal accent color throughout
  • Run pv php:list, pv php:use — confirm teal accent
  • Verify pv --help shows teal title (fang color scheme)

Replace the purple (#b39ddb) brand color with teal (#00D4AA) across the
entire CLI — ui styles, fang color scheme, tables, trees, spinners,
progress bars, and install.sh.

Redesign the setup wizard TUI:
- Clean inline tab bar with │ separators and teal divider line
- ●/○ indicators replacing [x]/[ ] checkboxes
- Segmented pill toggles for automation settings (teal/orange)
- Proper spacing between list items
- Add orange (#FF6B35) for "ask" mode automation toggle

Fix Ctrl+C during setup producing install output by returning
ErrAlreadyPrinted (non-zero exit) on cancel so install.sh stops.
…tions

- Add ErrUserCancelled sentinel for setup cancellation instead of
  reusing ErrAlreadyPrinted, which misrepresents user intent
- Fix AutoOff toggle having no visual indicator (gray bg on active false)
- Export AccentColor/OrangeColor as raw lipgloss.Color values so other
  packages reference canonical brand colors without duplicating hex strings
- Remove local color duplicates in setup_tui.go, use ui.AccentColor
- Simplify renderSetupMultiSelect and renderSettingsTab logic
- Unify redundant help bar switch cases
@munezaclovis munezaclovis merged commit 8322f46 into main Mar 14, 2026
1 check passed
@munezaclovis munezaclovis deleted the feat/setup-tui-redesign branch March 27, 2026 22:48
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