Skip to content

Conversation

@ThanhNguyxn
Copy link
Contributor

Summary

Fixes #6849

The orng and lucent-orng themes were missing the selectedListItemText property, causing button text in permission dialogs to be invisible.

Problem

When using the orng theme, the permission dialog buttons have invisible text because:

  • Button background uses primary color (orange #EC5B2B)
  • Button text defaults to background color (black #0a0a0a in dark mode)
  • Black text on orange background is hard to read, and in some terminal configurations appears completely invisible

Solution

Added explicit selectedListItemText values to both theme files:

  • Dark mode: #0a0a0a (black) - provides good contrast on orange background
  • Light mode: #ffffff (white) - provides good contrast on lighter orange

Files Changed

  • packages/opencode/src/cli/cmd/tui/context/theme/orng.json
  • packages/opencode/src/cli/cmd/tui/context/theme/lucent-orng.json

Testing

Manual testing required:

  1. Set theme to orng
  2. Trigger a permission dialog (e.g., file write operation)
  3. Verify button text is now visible

…isibility

Fixes anomalyco#6849

The orng and lucent-orng themes were missing the selectedListItemText
property, causing button text in permission dialogs to use the background
color (black in dark mode) which is invisible against the orange button
background.

This adds explicit selectedListItemText values:
- Dark mode: #0a0a0a (black) for contrast on orange
- Light mode: #ffffff (white) for contrast on lighter orange
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@rekram1-node rekram1-node merged commit d9aef1d into anomalyco:dev Jan 7, 2026
3 checks passed
@ThanhNguyxn ThanhNguyxn deleted the fix/orng-theme-text-visibility branch January 8, 2026 09:11
@ThanhNguyxn ThanhNguyxn restored the fix/orng-theme-text-visibility branch January 8, 2026 09:11
@ThanhNguyxn ThanhNguyxn deleted the fix/orng-theme-text-visibility branch January 8, 2026 09:11
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.

Theme colors issue with orng theme in the permission dialog

2 participants