From 721a545211d1751e3514a8bb90f83f6cf9a07433 Mon Sep 17 00:00:00 2001 From: He Linming Date: Fri, 23 Aug 2019 17:03:04 +0800 Subject: [PATCH] fix: descriptions background is not themeable (#18372) (#18440) --- components/descriptions/style/index.less | 2 +- components/style/themes/default.less | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/descriptions/style/index.less b/components/descriptions/style/index.less index c7ab5fc64f..dae1baeb76 100644 --- a/components/descriptions/style/index.less +++ b/components/descriptions/style/index.less @@ -115,7 +115,7 @@ } .@{descriptions-prefix-cls}-item-label { - background-color: #fafafa; + background-color: @descriptions-bg; &::after { display: none; } diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 100a8af462..e25173eeb5 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -186,8 +186,10 @@ @checkbox-check-color: #fff; @checkbox-border-width: @border-width-base; -// Dropdown +// Descriptions +@descriptions-bg: #fafafa; +// Dropdown @dropdown-selected-color: @primary-color; // Empty