1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 11:52:40 +01:00
phorge-phorge/src/applications/differential/render
epriestley 84aff44bcd Add a "Red/Green Colorblind" accessibility mode, make all web UIs and email respect it
Summary:
Fixes T12172. Fixes T12060. This allows runtime code building CSS for mail to read CSS variables, then makes all the code do that.

It reverts the non-colorblind red/green to the colors in use before T12060, which seem better for non-colorblind users since no one really complained?

Test Plan:
  - Viewed code diffs in Web UI.
  - Viewed prose diffs in Web UI.
  - Viewed code diffs in email.
  - Viewed prose diffs in email.

All modes respected the accessibility color scheme.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12172, T12060

Differential Revision: https://secure.phabricator.com/D17269
2017-02-23 10:57:39 -08:00
..
DifferentialChangesetHTMLRenderer.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialChangesetOneUpMailRenderer.php Add a "Red/Green Colorblind" accessibility mode, make all web UIs and email respect it 2017-02-23 10:57:39 -08:00
DifferentialChangesetOneUpRenderer.php Bring up contrast on light green / red diffs 2017-01-04 15:18:24 -08:00
DifferentialChangesetOneUpTestRenderer.php Make "Show Context" persist rendering, whitespace, encoding, etc 2015-03-05 14:03:00 -08:00
DifferentialChangesetRenderer.php Render more info for binary files in Differential 2016-06-06 19:58:39 +00:00
DifferentialChangesetTestRenderer.php Render more info for binary files in Differential 2016-06-06 19:58:39 +00:00
DifferentialChangesetTwoUpRenderer.php Bring up contrast on light green / red diffs 2017-01-04 15:18:24 -08:00
DifferentialChangesetTwoUpTestRenderer.php Make "Show Context" persist rendering, whitespace, encoding, etc 2015-03-05 14:03:00 -08:00
DifferentialRawDiffRenderer.php Extend from Phobject 2015-06-15 18:02:27 +10:00