Skip to content

Hints Kitten highlights bright are invisible in light themes #7330

@dderjoel

Description

@dderjoel

Describe the bug

When using the hints kitten, pressing CTRL+SHIFT+P>F, the files are highlighted.
When using a light theme, the highlighted bright color is illegible.
This does not happen with a dark theme

To Reproduce
Steps to reproduce the behavior:

  1. Select a light theme such as "Solarized Light"
  2. ls in some directory
  3. press CTRL+SHIFT+P>F
  4. see that matching files are hinted bright and one cannot read it.
  5. repeat the process with a dark theme and the highlights are readable.

Screenshots
dark
light

Environment details

kitty 0.33.1 created by Kovid Goyal
Linux arch4 6.8.2-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000 x86_64
Arch Linux 6.8.2-arch2-1 (/dev/tty)

Running under: X11
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /bin/zsh
Loaded config files:
  /home/joel/.config/kitty/kitty.conf

Config options different from defaults:
enable_audio_bell       False
input_delay             5
repaint_delay           20
shell_integration       frozenset({'no-complete'})
Added shortcuts:
	ctrl+- →  change_font_size all -2.0
	ctrl+= →  change_font_size all +2.0
Changed shortcuts:
	kitty_mod+p > f →  kitten hints --type path, kitten hints --type hyperlink, kitten hints --type linenum, kitten hints --type hash --program -, kitten hints --type word --program -, kitten hints --type line --program -, kitten hints --type path --program -
Colors:
	active_border_color     #cb4b16   
	active_tab_background   #fdf6e3   
	active_tab_foreground   #657b83   
	background              #fdf6e3   
	color0                  #073642   
	color1                  #dc322f   
	color10                 #586e75   
	color11                 #657b83   
	color12                 #839496   
	color13                 #6c71c4   
	color14                 #93a1a1   
	color15                 #fdf6e3   
	color2                  #859900   
	color3                  #b58900   
	color4                  #268bd2   
	color5                  #d33682   
	color6                  #2aa198   
	color7                  #eee8d5   
	color8                  #93a1a1   
	color9                  #cb4b16   
	cursor                  #657b83   
	cursor_text_color       #fdf6e3   
	foreground              #657b83   
	inactive_border_color   #93a1a1   
	inactive_tab_background #93a1a1   
	inactive_tab_foreground #fdf6e3   
	selection_background    #eee8d5   
	selection_foreground    #586e75   

Important environment variables seen by the kitty process:
	PATH                                /home/joel/bin:/usr/local/bin:/home/joel/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/joel/.local/share/gem/ruby/3.0.0/bin
	LANG                                en_US.UTF-8
	EDITOR                              nvim
	SHELL                               /bin/zsh
	DISPLAY                             :0
	USER                                joel
	XDG_CONFIG_HOME                     /home/joel/.config
	XDG_SEAT                            seat0
	XDG_SESSION_TYPE                    tty
	XDG_SESSION_CLASS                   user
	XDG_VTNR                            1
	XDG_SESSION_ID                      1
	XDG_RUNTIME_DIR                     /run/user/1000

Additional context
Cannot be reproduced with a blank config, because a light theme must be selected

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions