From 96766d401814697fbeb2b9028f5b9f650930aae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BF=8A=E4=BA=AE?= Date: Fri, 21 Dec 2018 16:56:48 +0800 Subject: [PATCH] refactor: add alert-close-hover-color --- components/alert/style/index.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/alert/style/index.less b/components/alert/style/index.less index bb56c60713..180e9cf2fe 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: #404040; .@{alert-prefix-cls} { .reset-component; @@ -78,7 +79,7 @@ color: @alert-close-color; transition: color 0.3s; &:hover { - color: #404040; + color: @alert-close-hover-color; } } }