mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat: completely migrate from DeprecatedThemeColors to Antd semantic tokens (#34732)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
31e2143c84
commit
1f482b42eb
@@ -30,7 +30,7 @@ const CountryMap = ({ className, ...otherProps }) => (
|
||||
export default styled(CountryMap)`
|
||||
${({ theme }) => `
|
||||
.superset-legacy-chart-country-map svg {
|
||||
background-color: ${theme.colors.grayscale.light5};
|
||||
background-color: ${theme.colorBgContainer};
|
||||
}
|
||||
|
||||
.superset-legacy-chart-country-map {
|
||||
@@ -38,13 +38,13 @@ export default styled(CountryMap)`
|
||||
}
|
||||
|
||||
.superset-legacy-chart-country-map .background {
|
||||
fill: ${theme.colors.grayscale.light5};
|
||||
fill: ${theme.colorBgContainer};
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
.superset-legacy-chart-country-map .map-layer {
|
||||
fill: ${theme.colors.grayscale.light5};
|
||||
stroke: ${theme.colors.grayscale.light1};
|
||||
fill: ${theme.colorBgContainer};
|
||||
stroke: ${theme.colorBorderSecondary};
|
||||
}
|
||||
|
||||
.superset-legacy-chart-country-map .effect-layer {
|
||||
@@ -69,7 +69,7 @@ export default styled(CountryMap)`
|
||||
|
||||
.superset-legacy-chart-country-map path.region {
|
||||
cursor: pointer;
|
||||
stroke: ${theme.colors.grayscale.light2};
|
||||
stroke: ${theme.colorSplit};
|
||||
}
|
||||
`}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user