Skip to content

Selected permission option result unreadable when background colour is "none" #7246

Description

@ariane-emory

Description

With the recent changes in how permissions are displayed in the TUI, the text for the selected option is now completely unreadable when the background color is set to "none".

This reminds me of a prior issue that occurred with selected menu items when the background colour was set to "none" that was fixed a couple of months ago by having it automatically calculate a contrasting colour or using a selectedListItemText colour from the theme (see packages/opencode/src/cli/cmd/tui/context/theme.tsx).

Plugins

None

OpenCode version

1.1.6

Steps to reproduce

  1. Set the colour of 'background' to "none" in your theme.
  2. Perform an action that will cause a request for permissions to be displayed.

Screenshot and/or share link

Image

Operating System

MacOS Sequoia latest

Terminal

iTerm2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions