Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Diff color tweaks #1949
Description of the Change
This makes the blue-ish background color weaker when selecting the whole hunk. But keeps it stronger when selecting individual lines/words/characters.
Some additional changes:
Easier to read the diff when the first hunk gets automatically selected in commit previews.
The difference between a selected hunk and selected lines might be confusing?
Tested with Atom's bundled themes and a few community themes. Certain themes work better than others.
User Experience Research (Optional)
@@ Coverage Diff @@ ## master #1949 +/- ## ========================================== + Coverage 92.12% 92.13% +<.01% ========================================== Files 188 188 Lines 10807 10807 Branches 1581 1581 ========================================== + Hits 9956 9957 +1 + Misses 851 850 -1