[PR #5378] fix: add fg color to some TUI text elements for light mode visibility #11370

Closed
opened 2026-02-16 18:16:12 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5378

State: closed
Merged: Yes


Similar to #5352, multiple text elements in the TUI were missing explicit fg (foreground color) attributes, making them invisible or hard to read in light mode.

Fixed in:

  • Status dialog fallback text
  • Provider dialog instructions
  • Sidebar "Getting started" callout
  • Dialog titles (Alert, Help, Prompt, Confirm, Provider)

Screenshots of the invisible texts
All those elements now use fg={theme.text} to ensure proper visibility across all themes.
Screenshot 2025-12-10 at 17 54 23
Screenshot 2025-12-10 at 17 55 35
Screenshot 2025-12-10 at 17 57 18
Screenshot 2025-12-10 at 18 14 49

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5378 **State:** closed **Merged:** Yes --- Similar to #5352, multiple text elements in the TUI were missing explicit `fg` (foreground color) attributes, making them invisible or hard to read in light mode. Fixed in: - Status dialog fallback text - Provider dialog instructions - Sidebar "Getting started" callout - Dialog titles (Alert, Help, Prompt, Confirm, Provider) Screenshots of the invisible texts All those elements now use `fg={theme.text}` to ensure proper visibility across all themes. <img width="601" height="252" alt="Screenshot 2025-12-10 at 17 54 23" src="https://github.com/user-attachments/assets/18dc3419-04a7-443c-a0a4-4096c1f37a57" /> <img width="602" height="228" alt="Screenshot 2025-12-10 at 17 55 35" src="https://github.com/user-attachments/assets/54e26e0e-1636-455d-9a40-8080f05a2401" /> <img width="598" height="353" alt="Screenshot 2025-12-10 at 17 57 18" src="https://github.com/user-attachments/assets/9a160220-6c71-4853-bc3e-eef16214357a" /> <img width="400" height="322" alt="Screenshot 2025-12-10 at 18 14 49" src="https://github.com/user-attachments/assets/f19071ed-258c-49d0-927a-7f78932f5269" />
yindo added the pull-request label 2026-02-16 18:16:12 -05:00
yindo closed this issue 2026-02-16 18:16:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11370