Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

The selected file in the file tree uses a hardcoded background color (#2d2c35 in pkg/ui/common/styles.go). On most dark terminal themes this is nearly invisible — it barely reads as different from unselected items.

A ui.selectedColor config key would let users match it to their theme:

ui:
  selectedColor: "#1e6ab5"

The implementation is small: thread the hex string from UIConfig into common.Colors at startup in filetree.go's updateStyles().

Screenshot

How it could be configured to look as an example:
diffnav-selected

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.