mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 14:06:32 -04:00
On a light background, the selected line is black text on the palette's blue. With most palettes, this is hard to read. Light palettes make all their colors dark enough to read as text on the light background, so none of them works well as a background for text. On a light background, mix 25% of #0064ff into the terminal's background instead. On white, this gives #bfd8ff. The colored text on the selected line then stays as readable as it is elsewhere. On a dark background, keep the palette's blue. Dark palettes make it dark enough to work as a background, and it keeps working on terminals with only 8 colors. There, a color mixed from a dark background would turn into black. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>