Skip to content

Commit 53f3950

Browse files
authored
style: move color var of table to default less (#3612)
1 parent f7db3ee commit 53f3950

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

components/style/themes/default.less

+5
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,11 @@
540540
@table-footer-bg: @background-color-light;
541541
@table-footer-color: @heading-color;
542542
@table-header-bg-sm: transparent;
543+
// Sorter
544+
// Legacy: `table-header-sort-active-bg` is used for hover not real active
545+
@table-header-sort-active-bg: darken(@table-header-bg, 3%);
546+
// Filter
547+
@table-header-filter-active-bg: darken(@table-header-sort-active-bg, 5%);
543548

544549
// Tag
545550
// --

components/table/style/index.less

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
@table-prefix-cls: ~'@{ant-prefix}-table';
55
@table-header-icon-color: #bfbfbf;
6-
@table-header-sort-active-bg: darken(@table-header-bg, 3%);
7-
@table-header-filter-active-bg: darken(@table-header-sort-active-bg, 5%);
86
@table-selection-column-width: 60px;
97

108
.@{table-prefix-cls}-wrapper {

0 commit comments

Comments
 (0)