Skip to content

Commit fdee633

Browse files
authored
style: change table row color when selected in dark theme (#3759)
1 parent 79995c1 commit fdee633

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/style/themes/default.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -530,9 +530,9 @@
530530
@table-body-sort-bg: rgba(0, 0, 0, 0.01);
531531
@table-row-hover-bg: @primary-1;
532532
@table-selected-row-color: inherit;
533-
@table-selected-row-bg: #fafafa;
533+
@table-selected-row-bg: @primary-1;
534534
@table-body-selected-sort-bg: @table-selected-row-bg;
535-
@table-selected-row-hover-bg: @table-selected-row-bg;
535+
@table-selected-row-hover-bg: darken(@table-selected-row-bg, 2%);
536536
@table-expanded-row-bg: #fbfbfb;
537537
@table-padding-vertical: 16px;
538538
@table-padding-horizontal: 16px;

0 commit comments

Comments
 (0)