@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.

Improve Dark Mode for diffs

Summary:
Use colors which somehow work, though likely improving all the "Codeblock syntax highlighting" variables for Dark Mode may also make sense at some point.

Refs T15056

Test Plan:
* Go to http://phorge.localhost/settings/panel/display/ and set `Accessibility` to `Dark Mode (Experimental)`
* Look at text file differences in a revision diff like http://phorge.localhost/D1
* Edit the text description of a task and click "(Show Details)" in the timeline entry

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: mainframe98, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15056

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

+19 -19
+19 -19
src/applications/celerity/postprocessor/CelerityDarkModePostprocessor.php
··· 193 193 194 194 // Diffs 195 195 'diff.background' => '#121b27', 196 - 'new-background' => 'rgba(151, 234, 151, .55)', 197 - 'new-bright' => 'rgba(151, 234, 151, .75)', 198 - 'old-background' => 'rgba(251, 175, 175, .55)', 199 - 'old-bright' => 'rgba(251, 175, 175, .8)', 200 - 'move-background' => '#faca00', 196 + 'new-background' => 'rgba(213, 246, 213, .2)', 197 + 'new-bright' => 'rgba(24, 129, 24, .8)', 198 + 'old-background' => 'rgba(252, 207, 207, .2)', 199 + 'old-bright' => 'rgba(144, 9, 9, .7)', 200 + 'move-background' => '#614f05', 201 201 'copy-background' => '#f1c40f', 202 202 203 203 'diffsize.small.background' => '#324d67', ··· 249 249 'syntax.comment-special' => '#6d6', 250 250 'syntax.string-doc' => '#fff', 251 251 'syntax.string-heredoc' => '#fff', 252 - 'syntax.string' => '#f88', 253 - 'syntax.string-backtick' => '#f88', 254 - 'syntax.literal-string-char' => '#f88', 255 - 'syntax.string-double' => '#f88', 256 - 'syntax.string-single' => '#f88', 257 - 'syntax.string-other' => '#f88', 258 - 'syntax.string-regex' => '#f88', 259 - 'syntax.name-variable' => '#8ff', 260 - 'syntax.variable-instance' => '#8ff', 261 - 'syntax.variable-global' => '#8ff', 252 + 'syntax.string' => '#ffb3b3', 253 + 'syntax.string-backtick' => '#ffb3b3', 254 + 'syntax.literal-string-char' => '#ffb3b3', 255 + 'syntax.string-double' => '#ffb3b3', 256 + 'syntax.string-single' => '#ffb3b3', 257 + 'syntax.string-other' => '#ffb3b3', 258 + 'syntax.string-regex' => '#ffb3b3', 259 + 'syntax.name-variable' => '#b3ffff', 260 + 'syntax.variable-instance' => '#b3ffff', 261 + 'syntax.variable-global' => '#b3ffff', 262 262 'syntax.name-attribute' => '#4cf', 263 263 'syntax.keyword-constant' => '#0cf', 264 264 'syntax.name-operator' => '#0cf', 265 - 'syntax.keyword' => '#e8e', 266 - 'syntax.keyword-declaration' => '#e8e', 267 - 'syntax.keyword-namespace' => '#e8e', 268 - 'syntax.keyword-type' => '#e8e', 265 + 'syntax.keyword' => '#f2a6f2', 266 + 'syntax.keyword-declaration' => '#f2a6f2', 267 + 'syntax.keyword-namespace' => '#f2a6f2', 268 + 'syntax.keyword-type' => '#f2a6f2', 269 269 'syntax.comment-preproc' => '#08f', 270 270 'syntax.keyword-preproc' => '#08f', 271 271 'syntax.keyword-reserved' => '#08f',