mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-18 09:48:39 +01:00
Change CLOSED colors to Indigo over Black
Summary: CLosed is a pretty important state and black tends to blend in a bit. This bumps to an alternate color to improve ability to scan and know state of objects. Test Plan: Review a number of closed objects. I will follow up with another diff on 'Archived' colors. {F261895} Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11222
This commit is contained in:
parent
384b670709
commit
311747bd5e
6 changed files with 14 additions and 10 deletions
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
return array(
|
return array(
|
||||||
'names' => array(
|
'names' => array(
|
||||||
'core.pkg.css' => '5403bbed',
|
'core.pkg.css' => '63e782fb',
|
||||||
'core.pkg.js' => '44aac665',
|
'core.pkg.js' => '44aac665',
|
||||||
'darkconsole.pkg.js' => '8ab24e01',
|
'darkconsole.pkg.js' => '8ab24e01',
|
||||||
'differential.pkg.css' => '8af45893',
|
'differential.pkg.css' => '8af45893',
|
||||||
|
@ -130,7 +130,7 @@ return array(
|
||||||
'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce',
|
'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce',
|
||||||
'rsrc/css/phui/phui-form-view.css' => 'aad06f2a',
|
'rsrc/css/phui/phui-form-view.css' => 'aad06f2a',
|
||||||
'rsrc/css/phui/phui-form.css' => '9aecbda1',
|
'rsrc/css/phui/phui-form.css' => '9aecbda1',
|
||||||
'rsrc/css/phui/phui-header-view.css' => 'b6c0d4b4',
|
'rsrc/css/phui/phui-header-view.css' => '8d9907ad',
|
||||||
'rsrc/css/phui/phui-icon.css' => 'a013a63d',
|
'rsrc/css/phui/phui-icon.css' => 'a013a63d',
|
||||||
'rsrc/css/phui/phui-image-mask.css' => '5a8b09c8',
|
'rsrc/css/phui/phui-image-mask.css' => '5a8b09c8',
|
||||||
'rsrc/css/phui/phui-info-panel.css' => '27ea50a1',
|
'rsrc/css/phui/phui-info-panel.css' => '27ea50a1',
|
||||||
|
@ -771,7 +771,7 @@ return array(
|
||||||
'phui-fontkit-css' => '9c3d2dce',
|
'phui-fontkit-css' => '9c3d2dce',
|
||||||
'phui-form-css' => '9aecbda1',
|
'phui-form-css' => '9aecbda1',
|
||||||
'phui-form-view-css' => 'aad06f2a',
|
'phui-form-view-css' => 'aad06f2a',
|
||||||
'phui-header-view-css' => 'b6c0d4b4',
|
'phui-header-view-css' => '8d9907ad',
|
||||||
'phui-icon-view-css' => 'a013a63d',
|
'phui-icon-view-css' => 'a013a63d',
|
||||||
'phui-image-mask-css' => '5a8b09c8',
|
'phui-image-mask-css' => '5a8b09c8',
|
||||||
'phui-info-panel-css' => '27ea50a1',
|
'phui-info-panel-css' => '27ea50a1',
|
||||||
|
|
|
@ -541,13 +541,13 @@ final class DifferentialTransaction extends PhabricatorApplicationTransaction {
|
||||||
case self::TYPE_ACTION:
|
case self::TYPE_ACTION:
|
||||||
switch ($this->getNewValue()) {
|
switch ($this->getNewValue()) {
|
||||||
case DifferentialAction::ACTION_CLOSE:
|
case DifferentialAction::ACTION_CLOSE:
|
||||||
return PhabricatorTransactions::COLOR_BLUE;
|
return PhabricatorTransactions::COLOR_INDIGO;
|
||||||
case DifferentialAction::ACTION_ACCEPT:
|
case DifferentialAction::ACTION_ACCEPT:
|
||||||
return PhabricatorTransactions::COLOR_GREEN;
|
return PhabricatorTransactions::COLOR_GREEN;
|
||||||
case DifferentialAction::ACTION_REJECT:
|
case DifferentialAction::ACTION_REJECT:
|
||||||
return PhabricatorTransactions::COLOR_RED;
|
return PhabricatorTransactions::COLOR_RED;
|
||||||
case DifferentialAction::ACTION_ABANDON:
|
case DifferentialAction::ACTION_ABANDON:
|
||||||
return PhabricatorTransactions::COLOR_BLACK;
|
return PhabricatorTransactions::COLOR_INDIGO;
|
||||||
case DifferentialAction::ACTION_RETHINK:
|
case DifferentialAction::ACTION_RETHINK:
|
||||||
return PhabricatorTransactions::COLOR_RED;
|
return PhabricatorTransactions::COLOR_RED;
|
||||||
case DifferentialAction::ACTION_REQUEST:
|
case DifferentialAction::ACTION_REQUEST:
|
||||||
|
|
|
@ -290,7 +290,7 @@ final class PhabricatorMacroTransaction
|
||||||
}
|
}
|
||||||
case PhabricatorMacroTransactionType::TYPE_DISABLED:
|
case PhabricatorMacroTransactionType::TYPE_DISABLED:
|
||||||
if ($new) {
|
if ($new) {
|
||||||
return PhabricatorTransactions::COLOR_BLACK;
|
return PhabricatorTransactions::COLOR_RED;
|
||||||
} else {
|
} else {
|
||||||
return PhabricatorTransactions::COLOR_SKY;
|
return PhabricatorTransactions::COLOR_SKY;
|
||||||
}
|
}
|
||||||
|
|
|
@ -188,7 +188,7 @@ final class ManiphestTransaction
|
||||||
if (ManiphestTaskStatus::isOpenStatus($new)) {
|
if (ManiphestTaskStatus::isOpenStatus($new)) {
|
||||||
return 'green';
|
return 'green';
|
||||||
} else {
|
} else {
|
||||||
return 'black';
|
return 'indigo';
|
||||||
}
|
}
|
||||||
|
|
||||||
case self::TYPE_PRIORITY:
|
case self::TYPE_PRIORITY:
|
||||||
|
@ -204,7 +204,7 @@ final class ManiphestTransaction
|
||||||
return 'orange';
|
return 'orange';
|
||||||
|
|
||||||
case self::TYPE_MERGED_INTO:
|
case self::TYPE_MERGED_INTO:
|
||||||
return 'black';
|
return 'indigo';
|
||||||
}
|
}
|
||||||
|
|
||||||
return parent::getColor();
|
return parent::getColor();
|
||||||
|
|
|
@ -134,7 +134,7 @@ final class PonderQuestionTransaction
|
||||||
case PonderQuestionStatus::STATUS_OPEN:
|
case PonderQuestionStatus::STATUS_OPEN:
|
||||||
return PhabricatorTransactions::COLOR_GREEN;
|
return PhabricatorTransactions::COLOR_GREEN;
|
||||||
case PonderQuestionStatus::STATUS_CLOSED:
|
case PonderQuestionStatus::STATUS_CLOSED:
|
||||||
return PhabricatorTransactions::COLOR_BLACK;
|
return PhabricatorTransactions::COLOR_INDIGO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,10 +123,14 @@ body.device-phone .phui-header-view {
|
||||||
}
|
}
|
||||||
|
|
||||||
.phui-header-subheader .phui-header-status-dark {
|
.phui-header-subheader .phui-header-status-dark {
|
||||||
color: #111;
|
color: {$indigo};
|
||||||
text-shadow: 0 1px #fff;
|
text-shadow: 0 1px #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.phui-header-subheader .phui-header-status-dark .phui-icon-view {
|
||||||
|
color: {$indigo};
|
||||||
|
}
|
||||||
|
|
||||||
.phui-header-subheader .phui-header-status-red {
|
.phui-header-subheader .phui-header-status-red {
|
||||||
color: {$red};
|
color: {$red};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue