@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix dark mode for Differential revision history selector

Summary:
Replace hardcoded colors of `differential-update-history-*` with variables.

Refs T15056

Test Plan:
* Go to http://phorge.localhost/settings/panel/display/ and set Accessibility to Dark Mode (Experimental)
* Have a patch `D1` in Differential with several revisions
* On http://phorge.localhost/D1, go to the "Revision Contents" box and select the "History" tab, look at the diff selector table on the right

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15056

Differential Revision: https://we.phorge.it/D26212

+14 -4
+5
src/applications/celerity/postprocessor/CelerityDarkModePostprocessor.php
··· 197 197 'diffsize.small.icon' => '#cadce7', 198 198 'diffsize.large.icon' => '#f2d7c0', 199 199 200 + 'diff.update-history-new' => '#226622', 201 + 'diff.update-history-new-now' => '#155815', 202 + 'diff.update-history-old' => '#a65353', 203 + 'diff.update-history-old-now' => '#903e3e', 204 + 200 205 // Usually light yellow 201 206 'gentle.highlight' => '#26c1c9', 202 207 'gentle.highlight.border' => '#21a9b0',
+5
src/applications/celerity/postprocessor/CelerityDefaultPostprocessor.php
··· 210 210 'diffsize.small.icon' => '#6699ba', 211 211 'diffsize.large.icon' => '#e5ae7e', 212 212 213 + 'diff.update-history-new' => '#d0ffd0', 214 + 'diff.update-history-new-now' => '#aaffaa', 215 + 'diff.update-history-old' => '#f9d0d0', 216 + 'diff.update-history-old-now' => '#ffaaaa', 217 + 213 218 // Usually light yellow 214 219 'gentle.highlight' => '#fdf3da', 215 220 'gentle.highlight.border' => '#c9b8a8',
+4 -4
webroot/rsrc/css/application/differential/revision-history.css
··· 30 30 } 31 31 32 32 .aphront-table-view td.differential-update-history-old { 33 - background: #f9d0d0; 33 + background: {$diff.update-history-old}; 34 34 } 35 35 36 36 .aphront-table-view td.differential-update-history-new { 37 - background: #d0ffd0; 37 + background: {$diff.update-history-new}; 38 38 } 39 39 40 40 .aphront-table-view ··· 43 43 .aphront-table-view 44 44 .alt-differential-update-history-old-now 45 45 td.differential-update-history-old { 46 - background: #ffaaaa; 46 + background: {$diff.update-history-old-now}; 47 47 } 48 48 49 49 .aphront-table-view ··· 52 52 .aphront-table-view 53 53 .alt-differential-update-history-new-now 54 54 td.differential-update-history-new { 55 - background: #aaffaa; 55 + background: {$diff.update-history-new-now}; 56 56 }