Add a variable to control processing colors (#8166)

This commit is contained in:
Graeme Yeates 2017-11-11 01:15:16 -05:00 committed by 偏右
parent 55c85f77a1
commit b46cb4b740
3 changed files with 5 additions and 4 deletions

View File

@ -67,7 +67,7 @@
background-color: @success-color;
}
&-processing {
background-color: @primary-color;
background-color: @processing-color;
position: relative;
&:after {
position: absolute;
@ -76,7 +76,7 @@
width: 100%;
height: 100%;
border-radius: 50%;
border: 1px solid @primary-color;
border: 1px solid @processing-color;
content: '';
animation: antStatusProcessing 1.2s infinite ease-in-out;
}

View File

@ -2,7 +2,7 @@
@import "../../style/mixins/index";
@steps-prefix-cls: ~"@{ant-prefix}-steps";
@process-icon-color: @primary-color;
@process-icon-color: @processing-color;
@process-title-color: @heading-color;
@process-description-color: @text-color;
@process-tail-color: @border-color-split;

View File

@ -8,6 +8,7 @@
@primary-color : @blue-6;
@info-color : @blue-6;
@success-color : @green-6;
@processing-color : @primary-color;
@error-color : @red-6;
@highlight-color : @red-6;
@warning-color : @gold-6;
@ -298,7 +299,7 @@
// Progress
// --
@progress-default-color: @primary-color;
@progress-default-color: @processing-color;
@progress-remaining-color: @background-color-base;
// Menu