mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-05 21:46:49 -04:00
If gui.authorColors names no color for an author, lazygit derives one from a hash of their name. Checking whether these colors are readable means looking at a repository, but the authors of a real one rarely land near the edges of the range, so the worst cases go unseen. Add cmd/author_colors_repo. It searches for names at the lowest and highest lightness and saturation, at twelve hues, and commits once as each of them. The names depend only on the hashing, so the same repository shows the colors of any lazygit build and can be kept around to compare them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>