From 694f73d060131dc278a52fe1af01d9662a708ff0 Mon Sep 17 00:00:00 2001 From: Graeme Yeates Date: Mon, 8 May 2017 01:57:52 -0400 Subject: [PATCH] Add variable to control tag default color (#6039) --- components/tag/style/index.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/tag/style/index.less b/components/tag/style/index.less index 1f1003877d..f9b17fd749 100644 --- a/components/tag/style/index.less +++ b/components/tag/style/index.less @@ -4,6 +4,7 @@ @tag-prefix-cls: ~"@{ant-prefix}-tag"; @tag-default-bg: @background-color-base; +@tag-default-color: @text-color; .@{tag-prefix-cls} { display: inline-block; @@ -27,7 +28,7 @@ &, a, a:hover { - color: @text-color; + color: @tag-default-color; } &-text {