From adfca8ae78537d0c37e825fdb3c6f139a155c3ef Mon Sep 17 00:00:00 2001 From: Graeme Yeates Date: Wed, 3 May 2017 10:33:28 -0400 Subject: [PATCH] Use @tag-default-bg for multiselect tags --- components/select/style/index.less | 3 ++- components/style/themes/default.less | 5 +++++ components/tag/style/index.less | 3 --- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/components/select/style/index.less b/components/select/style/index.less index 77c60d2925..1d0befab09 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -298,7 +298,8 @@ } .@{select-prefix-cls}-selection__choice { - background-color: #f3f3f3; + color: @tag-default-color; + background-color: @tag-default-bg; border-radius: 4px; cursor: default; float: left; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 6e9eaeab36..fb317a8523 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -299,6 +299,11 @@ @table-padding-vertical: 16px; @table-padding-horizontal: 8px; +// Tag +// -- +@tag-default-bg: #f3f3f3; +@tag-default-color: @text-color; + // TimePicker // --- @time-picker-panel-column-width: 56px; diff --git a/components/tag/style/index.less b/components/tag/style/index.less index f9b17fd749..3b977610e4 100644 --- a/components/tag/style/index.less +++ b/components/tag/style/index.less @@ -3,9 +3,6 @@ @tag-prefix-cls: ~"@{ant-prefix}-tag"; -@tag-default-bg: @background-color-base; -@tag-default-color: @text-color; - .@{tag-prefix-cls} { display: inline-block; line-height: 20px;