From acea4cf731292d571ae95d88995144dc15657f2a Mon Sep 17 00:00:00 2001 From: meteor Date: Sun, 7 Mar 2021 10:31:56 +0800 Subject: [PATCH] style: change table row color when selected in dark theme --- components/style/themes/default.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 3e95718fcd..1c9c2b2590 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -530,9 +530,9 @@ @table-body-sort-bg: rgba(0, 0, 0, 0.01); @table-row-hover-bg: @primary-1; @table-selected-row-color: inherit; -@table-selected-row-bg: #fafafa; +@table-selected-row-bg: @primary-1; @table-body-selected-sort-bg: @table-selected-row-bg; -@table-selected-row-hover-bg: @table-selected-row-bg; +@table-selected-row-hover-bg: darken(@table-selected-row-bg, 2%); @table-expanded-row-bg: #fbfbfb; @table-padding-vertical: 16px; @table-padding-horizontal: 16px;