mirror of
https://github.com/apache/superset.git
synced 2026-05-08 17:35:33 +00:00
fix(table): improve conditional formatting text contrast (#38705)
This commit is contained in:
committed by
GitHub
parent
361afff798
commit
02ffb52f4a
@@ -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,
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user