1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +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:
Chad Little 2015-01-05 11:19:01 -08:00
parent 384b670709
commit 311747bd5e
6 changed files with 14 additions and 10 deletions

View file

@ -7,7 +7,7 @@
*/
return array(
'names' => array(
'core.pkg.css' => '5403bbed',
'core.pkg.css' => '63e782fb',
'core.pkg.js' => '44aac665',
'darkconsole.pkg.js' => '8ab24e01',
'differential.pkg.css' => '8af45893',
@ -130,7 +130,7 @@ return array(
'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce',
'rsrc/css/phui/phui-form-view.css' => 'aad06f2a',
'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-image-mask.css' => '5a8b09c8',
'rsrc/css/phui/phui-info-panel.css' => '27ea50a1',
@ -771,7 +771,7 @@ return array(
'phui-fontkit-css' => '9c3d2dce',
'phui-form-css' => '9aecbda1',
'phui-form-view-css' => 'aad06f2a',
'phui-header-view-css' => 'b6c0d4b4',
'phui-header-view-css' => '8d9907ad',
'phui-icon-view-css' => 'a013a63d',
'phui-image-mask-css' => '5a8b09c8',
'phui-info-panel-css' => '27ea50a1',

View file

@ -541,13 +541,13 @@ final class DifferentialTransaction extends PhabricatorApplicationTransaction {
case self::TYPE_ACTION:
switch ($this->getNewValue()) {
case DifferentialAction::ACTION_CLOSE:
return PhabricatorTransactions::COLOR_BLUE;
return PhabricatorTransactions::COLOR_INDIGO;
case DifferentialAction::ACTION_ACCEPT:
return PhabricatorTransactions::COLOR_GREEN;
case DifferentialAction::ACTION_REJECT:
return PhabricatorTransactions::COLOR_RED;
case DifferentialAction::ACTION_ABANDON:
return PhabricatorTransactions::COLOR_BLACK;
return PhabricatorTransactions::COLOR_INDIGO;
case DifferentialAction::ACTION_RETHINK:
return PhabricatorTransactions::COLOR_RED;
case DifferentialAction::ACTION_REQUEST:

View file

@ -290,7 +290,7 @@ final class PhabricatorMacroTransaction
}
case PhabricatorMacroTransactionType::TYPE_DISABLED:
if ($new) {
return PhabricatorTransactions::COLOR_BLACK;
return PhabricatorTransactions::COLOR_RED;
} else {
return PhabricatorTransactions::COLOR_SKY;
}

View file

@ -188,7 +188,7 @@ final class ManiphestTransaction
if (ManiphestTaskStatus::isOpenStatus($new)) {
return 'green';
} else {
return 'black';
return 'indigo';
}
case self::TYPE_PRIORITY:
@ -204,7 +204,7 @@ final class ManiphestTransaction
return 'orange';
case self::TYPE_MERGED_INTO:
return 'black';
return 'indigo';
}
return parent::getColor();

View file

@ -134,7 +134,7 @@ final class PonderQuestionTransaction
case PonderQuestionStatus::STATUS_OPEN:
return PhabricatorTransactions::COLOR_GREEN;
case PonderQuestionStatus::STATUS_CLOSED:
return PhabricatorTransactions::COLOR_BLACK;
return PhabricatorTransactions::COLOR_INDIGO;
}
}
}

View file

@ -123,10 +123,14 @@ body.device-phone .phui-header-view {
}
.phui-header-subheader .phui-header-status-dark {
color: #111;
color: {$indigo};
text-shadow: 0 1px #fff;
}
.phui-header-subheader .phui-header-status-dark .phui-icon-view {
color: {$indigo};
}
.phui-header-subheader .phui-header-status-red {
color: {$red};
}