diff --git a/components/alert/style/index.less b/components/alert/style/index.less index b20ffef8a3..1d9e547f33 100644 --- a/components/alert/style/index.less +++ b/components/alert/style/index.less @@ -6,6 +6,7 @@ @alert-message-color: @heading-color; @alert-text-color: @text-color; @alert-close-color: @text-color-secondary; +@alert-close-hover-color: @icon-color-hover; .@{alert-prefix-cls} { .reset-component; @@ -78,7 +79,7 @@ color: @alert-close-color; transition: color 0.3s; &:hover { - color: @icon-color-hover; + color: @alert-close-hover-color; } } }