feat: completely migrate from DeprecatedThemeColors to Antd semantic tokens (#34732)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Maxime Beauchemin
2025-08-18 14:04:26 -07:00
committed by GitHub
parent 31e2143c84
commit 1f482b42eb
147 changed files with 378 additions and 552 deletions

View File

@@ -40,8 +40,8 @@ export default styled(Partition)`
}
.superset-legacy-chart-partition rect {
stroke: ${theme.colors.grayscale.light2};
fill: ${theme.colors.grayscale.light1};
stroke: ${theme.borderColorSecondary};
fill: ${theme.colorBgLayout};
fill-opacity: 80%;
transition: fill-opacity 180ms linear;
cursor: pointer;
@@ -57,7 +57,7 @@ export default styled(Partition)`
}
.superset-legacy-chart-partition g:hover text {
fill: ${theme.colors.grayscale.dark2};
fill: ${theme.colorTextHeading};
}
.superset-legacy-chart-partition .partition-tooltip {
@@ -67,14 +67,14 @@ export default styled(Partition)`
opacity: 0;
padding: ${theme.sizeUnit}px;
pointer-events: none;
background-color: ${theme.colors.grayscale.dark2};
background-color: ${theme.colorBgElevated};
border-radius: ${theme.borderRadius}px;
}
.partition-tooltip td {
padding-left: ${theme.sizeUnit}px;
font-size: ${theme.fontSizeSM}px;
color: ${theme.colors.grayscale.light5};
color: ${theme.colorTextSecondary};
}
`}
`;