Skip to content

Commit

Permalink
Add less variable @icon-color
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Mar 12, 2019
1 parent f65853b commit 74ea064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/style/mixins/iconfont.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.iconfont-mixin() {
display: inline-block;
color: @icon-color;
font-style: normal;
line-height: 0;
text-align: center;
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
Expand Down

0 comments on commit 74ea064

Please sign in to comment.