cli/cli

Search match color highlight is unreadable in light theme (GitHub Light)

rafaelrinaldi opened this issue · 1 comments

Describe the bug

Search match terms are unreadable in light theme. I tried workaround via GLAMOUR_STYLE and COLORFGBG but none worked.

  • Terminal: Kitty
  • OS: macOS
  • Theme: GitHub Light
$ gh --version                                           
gh version 2.47.0 (2024-04-03)
https://github.com/cli/cli/releases/tag/v2.47.0

Steps to reproduce the behavior

  1. Set terminal theme to light color (white background).
  2. Search for something in any repository. E.g.: gh search code "eval\("
  3. See below:

CleanShot 2024-04-11 at 09 59 34@2x

Expected vs actual behavior

I expect the text to be readable and color contrast to react to my current theme. Or at least be given tools to customize/alias gh commands to support my color scheme.

Logs

N/A

Although I'm on Ubuntu (i.e., gnome-terminal), still I wanted to see how it looks in Light mode. It seems okay, but TBH, black on brown is not very eye-friendly:

code-search