Skip to content

Commit 24b1577

Browse files
PanJiaChenLeopoldthecoder
authored andcommitted
Table: use $--table-header-background to define header background(ElemeFE#8871)
$--table-header-background is defined but never used
1 parent b3a5981 commit 24b1577

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/theme-chalk/src/common/var.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ $--table-text-color: $--color-text-regular !default;
480480
$--table-header-color: $--color-text-secondary !default;
481481
$--table-row-hover-background: $--background-color-base !default;
482482
$--table-current-row-background: $--color-primary-light-9 !default;
483-
$--table-header-background: $--color-text-secondary !default;
483+
$--table-header-background: $--color-white !default;
484484
$--table-footer-background: $--color-text-placeholder !default;
485485
$--table-fixed-box-shadow: 0 0 10px rgba(0, 0, 0, .12) !default;
486486

packages/theme-chalk/src/table.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
overflow: hidden;
169169
user-select: none;
170170
text-align: left;
171+
background-color: $--table-header-background;
171172

172173
div {
173174
display: inline-block;

0 commit comments

Comments
 (0)