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

[Redesign] Darken things when dark header is used

Summary: Ref T8099, uses original bgcolor when dark headers are used.

Test Plan: Switch between light and dark Phabricator, see new colors.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8099

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

+28 -4
+2 -2
resources/celerity/map.php
··· 36 36 'rsrc/css/application/base/main-menu-view.css' => '44b4a289', 37 37 'rsrc/css/application/base/notification-menu.css' => 'f31c0bde', 38 38 'rsrc/css/application/base/phabricator-application-launch-view.css' => '9a233ed6', 39 - 'rsrc/css/application/base/phui-theme.css' => '1ccdcc84', 39 + 'rsrc/css/application/base/phui-theme.css' => 'd4a49411', 40 40 'rsrc/css/application/base/standard-page-view.css' => '43045fb4', 41 41 'rsrc/css/application/calendar/calendar-icon.css' => '98ce946d', 42 42 'rsrc/css/application/chatlog/chatlog.css' => 'f1971c1c', ··· 792 792 'phui-status-list-view-css' => '888cedb8', 793 793 'phui-tag-view-css' => '402691cc', 794 794 'phui-text-css' => 'cf019f54', 795 - 'phui-theme-css' => '1ccdcc84', 795 + 'phui-theme-css' => 'd4a49411', 796 796 'phui-timeline-view-css' => '2d181f3f', 797 797 'phui-workboard-view-css' => '0cac51a4', 798 798 'phui-workpanel-view-css' => '4bdc2562',
+1 -1
src/applications/config/option/PhabricatorUIConfigOptions.php
··· 47 47 EOJSON; 48 48 49 49 return array( 50 - $this->newOption('ui.header-color', 'enum', 'light') 50 + $this->newOption('ui.header-color', 'enum', 'blindigo') 51 51 ->setDescription( 52 52 pht('Sets the color of the main header.')) 53 53 ->setEnumOptions($options),
+3 -1
src/view/page/PhabricatorStandardPageView.php
··· 351 351 352 352 $classes = array(); 353 353 $classes[] = 'main-page-frame'; 354 - $classes[] = 'phui-theme-'.PhabricatorEnv::getEnvConfig('ui.header-color'); 355 354 $developer_warning = null; 356 355 if (PhabricatorEnv::getEnvConfig('phabricator.developer-mode') && 357 356 DarkConsoleErrorLogPluginAPI::getErrors()) { ··· 510 509 if ($this->getRequest()->getStr('__aural__')) { 511 510 $classes[] = 'audible'; 512 511 } 512 + 513 + $classes[] = 'phui-theme-'.PhabricatorEnv::getEnvConfig('ui.header-color'); 514 + 513 515 514 516 return implode(' ', $classes); 515 517 }
+22
webroot/rsrc/css/application/base/phui-theme.css
··· 71 71 border-left: 1px solid {$lightblueborder}; 72 72 border-right: 1px solid {$lightblueborder}; 73 73 } 74 + 75 + /*--- Dark "Classic" ---------------------------------------------------------*/ 76 + 77 + .phui-theme-dark { 78 + background-color: #ebecee; 79 + } 80 + 81 + .phui-theme-dark .phui-box-border { 82 + border-color: {$lightblueborder}; 83 + border-bottom-color: {$blueborder}; 84 + } 85 + 86 + /*--- Blindigo "Phacility" ---------------------------------------------------*/ 87 + 88 + .phui-theme-blindigo { 89 + background-color: #F1F1F4; 90 + } 91 + 92 + .phui-theme-blindigo .phui-box-border { 93 + border-color: {$lightblueborder}; 94 + border-bottom-color: {$blueborder}; 95 + }