diff --git a/components/alert/style/index.less b/components/alert/style/index.less index 52e7e6ffea..eafd205b41 100644 --- a/components/alert/style/index.less +++ b/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; }