Badge add type prop, close #3425

This commit is contained in:
梁灏 2018-06-21 15:04:49 +08:00
parent 457fe0874c
commit cc27c42a0d
4 changed files with 51 additions and 2 deletions

View file

@ -38,6 +38,26 @@
position: relative;
transform: translateX(0);
}
&-primary{
background: @primary-color;
}
&-success{
background: @success-color;
}
&-error{
background: @error-color;
}
&-warning{
background: @warning-color;
}
&-info{
background: @info-color;
}
&-normal{
background: @normal-color;
color: @subsidiary-color;
}
}
&-dot {

View file

@ -9,7 +9,7 @@
@processing-color : @primary-color;
@warning-color : #ff9900;
@error-color : #ed3f14;
@normal-color : #d9d9d9;
@normal-color : #e6ebf1;
@link-color : #2D8cF0;
@link-hover-color : tint(@link-color, 20%);
@link-active-color : shade(@link-color, 5%);