From 5d8a3f6f66126f2022e3270b15d895726ba0b7f0 Mon Sep 17 00:00:00 2001 From: Graeme Yeates Date: Fri, 23 Jun 2017 12:37:19 -0400 Subject: [PATCH] Use background-color-active for table sort and selected backgrounds --- components/style/themes/default.less | 2 ++ components/table/style/index.less | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/style/themes/default.less b/components/style/themes/default.less index b82dc13964..ffd4ff70e6 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -290,7 +290,9 @@ // Table // -- @table-header-bg: @background-color-base; +@table-header-sort-bg: @background-color-active; @table-row-hover-bg: @primary-1; +@table-selected-row-bg: #fafafa; @table-padding-vertical: 16px; @table-padding-horizontal: 8px; diff --git a/components/table/style/index.less b/components/table/style/index.less index 8b628363b5..90ca1f4ba7 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -126,11 +126,11 @@ } &-tbody > tr.@{table-prefix-cls}-row-selected { - background: #fafafa; + background: @table-selected-row-bg; } &-thead > tr > th.@{table-prefix-cls}-column-sort { - background: #eaeaea; + background: @table-header-sort-bg; } &-thead > tr > th,