Improve Code Contrast in PODRenderer and Project Site #1128
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Some of the colors in prettified code sections don't meet a minimum suggested contrast of 4.5:1 for accessibility, this PR bumps the colors in the light theme -- used in PODRenderer and the project website but not debug pages -- to that minimum. A second commit removes stripes.png, which is 1px white/8% gray vertical stripes that hamper readability and can cause artifacts on some displays, for a solid average of the two. The dark theme on the debug page doesn't have this issue.
Motivation
Accessibility is important for new and current users and we should take complaints about it very seriously. Not everyone has good sight, or will stay young, or can correct their vision, or afford the nicest equipment. Comments like "con crit please" and "wtf did you do to your DE" are unwelcoming, inconsiderate, etc.
References
http://code-of-conduct.mojolicious.org/
https://irclog.perlgeek.de/mojo/2017-09-02#i_15107586
https://irclog.perlgeek.de/mojo/2017-09-03#i_15107708
Rendered Changes
Firefox 52 ESR, Windows 10, 96 dpi:
![contrast-example](https://user-images.githubusercontent.com/4412188/30005874-efc1ff8e-90b9-11e7-97b3-c25318215379.png)