style: add @progress-info-text-color (#28981)

* fix(Progress): progress text color uses @progress-text-color

* change variables name

* no breaking change variable name

* Update components/style/themes/default.less

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
Yuxuan Huo 2021-02-02 12:07:31 +08:00 committed by GitHub
parent 38e7dfa5fa
commit dce3ce7fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -93,7 +93,7 @@
display: inline-block;
width: 2em;
margin-left: 8px;
color: @text-color-secondary;
color: @progress-info-text-color;
font-size: @progress-text-font-size;
line-height: 1;
white-space: nowrap;

View File

@ -532,10 +532,11 @@
// --
@progress-default-color: @processing-color;
@progress-remaining-color: @background-color-base;
@progress-text-color: @text-color;
@progress-info-text-color: @progress-text-color;
@progress-radius: 100px;
@progress-steps-item-bg: #f3f3f3;
@progress-text-font-size: 1em;
@progress-text-color: @text-color; // This is for circle text color, should be renamed better
@progress-circle-text-font-size: 1em;
// Menu
// ---