The out of the box Github diff viewer is quite horrible to interact with as a red/green colorblind person.
Suggestions for improvements:
@Munter This is such an excellent problem. A potential consideration is subscribing the CSS that determines additions and subtractions to a color palette set that could help people distinguish. Maybe where a user could select a different rendering of the same content. That would avoid all users having to be impacted but providing the same opportunity.
So things that would be addition/deletion could be reassigned.
One suggestion could be to add a high-contrast monochrome theme; for example an added line could be gray background with black text and a removed line the inverse.
I get the issue but any changes to such a base feature will likely receive a huge pushback unless done by GitHub themselves.
I suggest picking a color scheme that works for you and setting it in Stylus or Refined GitHub's option via CSS and sending the suggestion to GitHub.
There's also this https://userstyles.org/styles/149864/github-diff-colorblind-friendly
Any way the lines themselves could be altered? Theres only a handful of useful combinations I can think of; jagged like lightning, curvy, dashed, dotted, alternating thin-thick, jagged left side curvy right, etc. If color is the problem, can the problem be removed entirely?
I鈥檓 closing this for the reasons I stated earlier. This is already possible through CSS for who is interested
Most helpful comment
One suggestion could be to add a high-contrast monochrome theme; for example an added line could be gray background with black text and a removed line the inverse.