From 3b7c1c8980a2864be44eff5fa38f71fb87fa001a Mon Sep 17 00:00:00 2001 From: ejunga Date: Fri, 30 May 2025 09:08:09 -0400 Subject: [PATCH] Fix table colors in light mode --- tdx-enhanced.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tdx-enhanced.js b/tdx-enhanced.js index feee009..70b3ddf 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -2613,9 +2613,12 @@ thead, tbody, tfoot, tr, td, th { background-color: var(--bg-1); /* can change to 0 for non-striped rows */ } -td.k-table-td, -.k-grid .k-grid-header .k-table-th, .k-table-tbody .k-group-cell { - background-color: var(--bg-0); +td.k-table-td { + background-color: var(--bg-1); +} + +tr.k-alt td.k-table-td { + background-color: var(--bg-0) } .k-table-th { @@ -2626,7 +2629,7 @@ td.k-table-td, color: var(--txt-4) !important; } -td.k-table-td, .k-grid .k-grid-header .k-table-th, .k-table-tbody .k-group-cell { +.k-grid .k-grid-header .k-table-th, .k-table-tbody .k-group-cell { background-color: unset; }