diff --git a/components/style/themes/default.less b/components/style/themes/default.less index feb05da1fd..a38b18825d 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 db7e1f6fa7..be205b706b 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -138,11 +138,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,