Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15412694
D13361.id32352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D13361.id32352.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -36,7 +36,7 @@
'rsrc/css/application/base/main-menu-view.css' => '44b4a289',
'rsrc/css/application/base/notification-menu.css' => 'f31c0bde',
'rsrc/css/application/base/phabricator-application-launch-view.css' => '9a233ed6',
- 'rsrc/css/application/base/phui-theme.css' => '1ccdcc84',
+ 'rsrc/css/application/base/phui-theme.css' => 'd4a49411',
'rsrc/css/application/base/standard-page-view.css' => '43045fb4',
'rsrc/css/application/calendar/calendar-icon.css' => '98ce946d',
'rsrc/css/application/chatlog/chatlog.css' => 'f1971c1c',
@@ -792,7 +792,7 @@
'phui-status-list-view-css' => '888cedb8',
'phui-tag-view-css' => '402691cc',
'phui-text-css' => 'cf019f54',
- 'phui-theme-css' => '1ccdcc84',
+ 'phui-theme-css' => 'd4a49411',
'phui-timeline-view-css' => '2d181f3f',
'phui-workboard-view-css' => '0cac51a4',
'phui-workpanel-view-css' => '4bdc2562',
diff --git a/src/applications/config/option/PhabricatorUIConfigOptions.php b/src/applications/config/option/PhabricatorUIConfigOptions.php
--- a/src/applications/config/option/PhabricatorUIConfigOptions.php
+++ b/src/applications/config/option/PhabricatorUIConfigOptions.php
@@ -47,7 +47,7 @@
EOJSON;
return array(
- $this->newOption('ui.header-color', 'enum', 'light')
+ $this->newOption('ui.header-color', 'enum', 'blindigo')
->setDescription(
pht('Sets the color of the main header.'))
->setEnumOptions($options),
diff --git a/src/view/page/PhabricatorStandardPageView.php b/src/view/page/PhabricatorStandardPageView.php
--- a/src/view/page/PhabricatorStandardPageView.php
+++ b/src/view/page/PhabricatorStandardPageView.php
@@ -351,7 +351,6 @@
$classes = array();
$classes[] = 'main-page-frame';
- $classes[] = 'phui-theme-'.PhabricatorEnv::getEnvConfig('ui.header-color');
$developer_warning = null;
if (PhabricatorEnv::getEnvConfig('phabricator.developer-mode') &&
DarkConsoleErrorLogPluginAPI::getErrors()) {
@@ -511,6 +510,9 @@
$classes[] = 'audible';
}
+ $classes[] = 'phui-theme-'.PhabricatorEnv::getEnvConfig('ui.header-color');
+
+
return implode(' ', $classes);
}
diff --git a/webroot/rsrc/css/application/base/phui-theme.css b/webroot/rsrc/css/application/base/phui-theme.css
--- a/webroot/rsrc/css/application/base/phui-theme.css
+++ b/webroot/rsrc/css/application/base/phui-theme.css
@@ -71,3 +71,25 @@
border-left: 1px solid {$lightblueborder};
border-right: 1px solid {$lightblueborder};
}
+
+/*--- Dark "Classic" ---------------------------------------------------------*/
+
+.phui-theme-dark {
+ background-color: #ebecee;
+}
+
+.phui-theme-dark .phui-box-border {
+ border-color: {$lightblueborder};
+ border-bottom-color: {$blueborder};
+}
+
+/*--- Blindigo "Phacility" ---------------------------------------------------*/
+
+.phui-theme-blindigo {
+ background-color: #F1F1F4;
+}
+
+.phui-theme-blindigo .phui-box-border {
+ border-color: {$lightblueborder};
+ border-bottom-color: {$blueborder};
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 2:27 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225455
Default Alt Text
D13361.id32352.diff (3 KB)
Attached To
Mode
D13361: [Redesign] Darken things when dark header is used
Attached
Detach File
Event Timeline
Log In to Comment