@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 source code viewer background color when using Dark Mode in Diffusion

Summary:
This CSS fix replaces the hard coded white background value by the diff.background CSS variable. This is a proposal
to address this issue but it may be a good idea to create a different CSS variable (for instance source.background)
in order to avoid any potential side effect in the future.

| Before | After |
|---------|---------|
|{F333617}|{F333618}|

Fix : T15056

Test Plan:
- Flush all Phorge caches
- Sign in
- Open a diffusion repository
- Open any file
- Check that viewer background color is consistent with the theme.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

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

bob 17befe9b a5d8b2d5

+3 -3
+2 -2
resources/celerity/map.php
··· 121 121 'rsrc/css/fuel/fuel-handle-list.css' => '2c4cbeca', 122 122 'rsrc/css/fuel/fuel-map.css' => 'd6e31510', 123 123 'rsrc/css/fuel/fuel-menu.css' => '21f5d199', 124 - 'rsrc/css/layout/phabricator-source-code-view.css' => '49656486', 124 + 'rsrc/css/layout/phabricator-source-code-view.css' => 'e382316a', 125 125 'rsrc/css/phui/button/phui-button-bar.css' => 'a4aa75c4', 126 126 'rsrc/css/phui/button/phui-button-simple.css' => '1ff278aa', 127 127 'rsrc/css/phui/button/phui-button.css' => 'f9d0f9c8', ··· 805 805 'phabricator-search-results-css' => '9ea70ace', 806 806 'phabricator-shaped-request' => '995f5102', 807 807 'phabricator-slowvote-css' => '1694baed', 808 - 'phabricator-source-code-view-css' => '49656486', 808 + 'phabricator-source-code-view-css' => 'e382316a', 809 809 'phabricator-standard-page-view' => 'e08c7462', 810 810 'phabricator-textareautils' => 'f340a484', 811 811 'phabricator-title' => '43bc9360',
+1 -1
webroot/rsrc/css/layout/phabricator-source-code-view.css
··· 16 16 white-space: pre-wrap; 17 17 padding: 2px 8px 1px; 18 18 width: 100%; 19 - background: #ffffff; 19 + background: {$diff.background}; 20 20 } 21 21 22 22 .phabricator-source-line {