Merge pull request #15345 from ant-design/add-icon-color

Add less variable @icon-color
This commit is contained in:
偏右 2019-03-12 23:05:06 +08:00 committed by GitHub
commit 43392bfaa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
.iconfont-mixin() {
display: inline-block;
color: @icon-color;
font-style: normal;
line-height: 0;
text-align: center;

View File

@ -47,6 +47,7 @@
@text-color-warning: @gold-7;
@text-color-danger: @red-7;
@text-color-inverse: @white;
@icon-color: inherit;
@icon-color-hover: fade(@black, 75%);
@heading-color: fade(#000, 85%);
@heading-color-dark: fade(@white, 100%);