You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2022/04/04 08:12:11 UTC
[superset] 11/23: chore: Removes plugin-chart-pivot-table hard-coded colors (#19439)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to tag 1.5.0rc1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 99c8f9bd1319f1a245dbc323cecfc3137458c167
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Thu Mar 31 13:30:36 2022 -0300
chore: Removes plugin-chart-pivot-table hard-coded colors (#19439)
(cherry picked from commit 31095a523d5bb379fef5ef4cdf5738031857179b)
---
.../plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js b/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js
index 06bfdd3b0c..7ff2c0e526 100644
--- a/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js
+++ b/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js
@@ -84,7 +84,7 @@ export const Styles = styled.div`
}
table.pvtTable tr th.active {
- background-color: #d9dbe4;
+ background-color: ${theme.colors.primary.light3};
}
table.pvtTable .pvtTotalLabel {
@@ -97,7 +97,7 @@ export const Styles = styled.div`
}
table.pvtTable tbody tr td {
- color: #2a3f5f;
+ color: ${theme.colors.primary.dark2};
padding: ${theme.gridUnit}px;
background-color: ${theme.colors.grayscale.light5};
border-top: 1px solid ${theme.colors.grayscale.light2};
@@ -133,7 +133,7 @@ export const Styles = styled.div`
}
.hoverable:hover {
- background-color: #eceef2;
+ background-color: ${theme.colors.primary.light4};
cursor: pointer;
}
`}