Browse Source

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

Add variables for customizing alert text and heading colors
pull/5980/head
偏右 8 years ago
committed by GitHub
parent
commit
da0365f23a
  1. 7
      components/alert/style/index.less

7
components/alert/style/index.less

@ -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;
}

Loading…
Cancel
Save