From f47a22e888db87575e49de0d0f7dc35c7827ede4 Mon Sep 17 00:00:00 2001 From: ycjcl868 <45808948@qq.com> Date: Wed, 27 Nov 2019 15:24:48 +0800 Subject: [PATCH] feat: add @table-bg --- components/style/themes/default.less | 1 + components/table/style/index.less | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 7723bacc8a..0e24cb24e9 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -445,6 +445,7 @@ // Table // -- +@table-bg: @component-background; @table-header-bg: @background-color-light; @table-header-color: @heading-color; @table-header-sort-bg: @background-color-base; diff --git a/components/table/style/index.less b/components/table/style/index.less index 3b4146352c..c627b401d2 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -47,7 +47,7 @@ // weak priority td { - background: @component-background; + background: @table-bg; } &-cell-ellipsis {