fix(table): improve conditional formatting text contrast (#38705)

This commit is contained in:
João Pedro Alves Barbosa
2026-03-22 18:59:15 -03:00
committed by GitHub
parent 361afff798
commit 02ffb52f4a
14 changed files with 1698 additions and 82 deletions

View File

@@ -576,6 +576,9 @@ export default function PivotTableChart(props: PivotTableProps) {
omittedHighlightHeaderGroups: [METRIC_KEY],
cellColorFormatters: { [METRIC_KEY]: metricColorFormatters },
dateFormatters,
cellBackgroundColor: theme.colorBgBase,
cellTextColor: theme.colorPrimaryText,
activeHeaderBackgroundColor: theme.colorPrimaryBg,
}),
[
colTotals,
@@ -586,6 +589,9 @@ export default function PivotTableChart(props: PivotTableProps) {
rowTotals,
rowSubTotals,
selectedFilters,
theme.colorBgBase,
theme.colorPrimaryBg,
theme.colorPrimaryText,
toggleFilter,
],
);