From 2f0a9d42a04cc1a10ba8602cf50a8e7e45c4df14 Mon Sep 17 00:00:00 2001 From: Matthias Huber Date: Tue, 5 Nov 2024 16:00:50 +0100 Subject: [PATCH] re-apply mrt-selected-row-background-color and mrt-pinned-row-background-color #386 --- .../src/components/body/MRT_TableBodyRow.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mantine-react-table/src/components/body/MRT_TableBodyRow.module.css b/packages/mantine-react-table/src/components/body/MRT_TableBodyRow.module.css index 4d5d0a704..f857fca74 100644 --- a/packages/mantine-react-table/src/components/body/MRT_TableBodyRow.module.css +++ b/packages/mantine-react-table/src/components/body/MRT_TableBodyRow.module.css @@ -100,7 +100,7 @@ /* end column pinning styles */ /* row pinning styles */ &[data-row-pinned] { - background-color: var(--mantine-color-body); + background-color: var(--mrt-pinned-row-background-color, --mantine-color-body); bottom: calc(var(--mrt-pinned-row-bottom) * 1px); opacity: 0.97; top: calc(var(--mrt-pinned-row-top) * 1px); @@ -141,7 +141,7 @@ /* selection styles */ &[data-selected] { - background-color: var(--mantine-color-body); + background-color: var(--mrt-selected-row-background-color, --mantine-color-body); td { &[data-column-pinned] {