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

Restore an explicit white background color to files in Paste

Summary:
Ref T13105. Previously, the "source code" view in Paste rendered on a brown/orange-ish background. I've been using this element in more contexts (Files, Diffusion) and removed the colored background to make text (particularly syntax-highlighted text) easier to read and reduce visual noise with the new blame colors.

In Diffusion the view is in a box with a white background so removing the background left us with white, but in Paste it's just directly on the page so the background was bleeding through. Instead, set it to white explicitly.

Test Plan: Viewed source files in Files, Diffusion and Paste; saw text on a white background.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13105

Differential Revision: https://secure.phabricator.com/D19346

+3 -2
+2 -2
resources/celerity/map.php
··· 119 119 'rsrc/css/font/font-lato.css' => 'c7ccd872', 120 120 'rsrc/css/font/phui-font-icon-base.css' => '870a7360', 121 121 'rsrc/css/layout/phabricator-filetree-view.css' => 'b912ad97', 122 - 'rsrc/css/layout/phabricator-source-code-view.css' => 'a526a787', 122 + 'rsrc/css/layout/phabricator-source-code-view.css' => '326df52d', 123 123 'rsrc/css/phui/button/phui-button-bar.css' => 'f1ff5494', 124 124 'rsrc/css/phui/button/phui-button-simple.css' => '8e1baf68', 125 125 'rsrc/css/phui/button/phui-button.css' => '1863cc6e', ··· 780 780 'phabricator-search-results-css' => '505dd8cf', 781 781 'phabricator-shaped-request' => '7cbe244b', 782 782 'phabricator-slowvote-css' => 'a94b7230', 783 - 'phabricator-source-code-view-css' => 'a526a787', 783 + 'phabricator-source-code-view-css' => '326df52d', 784 784 'phabricator-standard-page-view' => '34ee718b', 785 785 'phabricator-textareautils' => '320810c8', 786 786 'phabricator-title' => '485aaa6c',
+1
webroot/rsrc/css/layout/phabricator-source-code-view.css
··· 17 17 white-space: pre-wrap; 18 18 padding: 2px 8px 1px; 19 19 width: 100%; 20 + background: #ffffff; 20 21 } 21 22 22 23 .phabricator-source-line {