Skip to content

unify panel border colors via BORDER_COLORS constant#532

Merged
JeremyDev87 merged 1 commit intomasterfrom
feat/494-unify-tui-panel-border-colors
Feb 18, 2026
Merged

unify panel border colors via BORDER_COLORS constant#532
JeremyDev87 merged 1 commit intomasterfrom
feat/494-unify-tui-panel-border-colors

Conversation

@JeremyDev87
Copy link
Owner

Summary

Closes #494

Replaces scattered hardcoded border color values ('cyan', 'gray') across TUI panel components with a single centralized BORDER_COLORS constant exported from theme.ts.

  • Add BORDER_COLORS constant to theme.ts referencing NEON_COLORS.primary ('cyan')
  • Replace all hardcoded borderColor values in 5 TUI components
  • Add theme.spec.ts tests to verify value and immutability

Changes

File Change
utils/theme.ts Add BORDER_COLORS = { panel: NEON_COLORS.primary }
utils/theme.spec.ts Add tests for BORDER_COLORS value and Object.freeze
components/ActivityVisualizer.tsx 'gray'BORDER_COLORS.panel (×2)
components/FlowMap.tsx 'gray'BORDER_COLORS.panel (×3)
components/FocusedAgentPanel.tsx 'cyan'BORDER_COLORS.panel (×2)
components/HeaderBar.tsx 'cyan'BORDER_COLORS.panel (×2)
components/StageHealthBar.tsx 'cyan'BORDER_COLORS.panel (×1)

Test Plan

  • yarn workspace codingbuddy test passes with new BORDER_COLORS specs
  • TUI renders with consistent border colors across all panels

- Add BORDER_COLORS constant to theme.ts with panel key referencing NEON_COLORS.primary (cyan)
- Replace hardcoded 'cyan' and 'gray' borderColor values across all TUI components
- Components updated: ActivityVisualizer, FlowMap, FocusedAgentPanel, HeaderBar, StageHealthBar
- Add tests for BORDER_COLORS in theme.spec.ts (value and immutability checks)
@vercel
Copy link

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Feb 18, 2026 5:37am

@JeremyDev87 JeremyDev87 self-assigned this Feb 18, 2026
@JeremyDev87 JeremyDev87 added feat tui TUI Agent Monitor labels Feb 18, 2026
@JeremyDev87 JeremyDev87 changed the title feat(tui): unify panel border colors via BORDER_COLORS constant unify panel border colors via BORDER_COLORS constant Feb 18, 2026
@JeremyDev87 JeremyDev87 merged commit bdc292b into master Feb 18, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the feat/494-unify-tui-panel-border-colors branch February 18, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat tui TUI Agent Monitor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify TUI panel border colors via centralized theme constant

1 participant