Skip to content

[Hacktoberfest]: Dropdown selected/unselected colors are reversed #4

Description

@viiccwen

Contribution Type

Bug Fix

Difficulty Level

Beginner - Good first issue

Contribution Description

When using the AI configuration panel, the tview.DropDown component displays colors incorrectly (not really sure...):

Image
  • Unselected items are shown with a highlighted green background and black text.
  • Selected item is shown with a gray background and white text.

This is the opposite of the intended behavior, right? the selected option should be clearly highlighted (e.g., green text or green background), and unselected options should remain neutral (e.g., white/gray).

Motivation

No response

Relevant Experience

No response

Pre-contribution Checklist

  • I have read the Contributing Guidelines
  • I have read the Code of Conduct
  • I have checked existing issues to avoid duplicates
  • I understand this is a Hacktoberfest contribution

Agreement

  • I agree to follow this project's Code of Conduct
  • I understand that quality contributions are valued over quantity

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions