Merge pull request #5963 from megawac/alert-text-color

Add variables for customizing alert text and heading colors
This commit is contained in:
偏右 2017-05-01 13:38:33 +08:00 committed by GitHub
commit da0365f23a

View File

@ -2,11 +2,14 @@
@alert-prefix-cls: ~"@{ant-prefix}-alert";
@alert-message-color: @heading-color;
@alert-text-color: @text-color;
.@{alert-prefix-cls} {
position: relative;
padding: 8px 48px 8px 38px;
border-radius: @border-radius-base;
color: @text-color;
color: @alert-text-color;
font-size: @font-size-base;
line-height: 16px;
margin-bottom: 10px;
@ -114,7 +117,7 @@
&-with-description &-message {
font-size: @font-size-lg;
color: @heading-color;
color: @alert-message-color;
display: block;
margin-bottom: 4px;
}