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

@@ -203,14 +203,14 @@ function WorldMap(element, props) {
height,
data: processedData,
fills: {
defaultFill: theme.colors.grayscale.light2,
defaultFill: theme.colorBorder,
},
geographyConfig: {
popupOnHover: !inContextMenu,
highlightOnHover: !inContextMenu,
borderWidth: 1,
borderColor: theme.colorSplit,
highlightBorderColor: theme.colors.grayscale.light5,
highlightBorderColor: theme.colorIcon,
highlightFillColor: color,
highlightBorderWidth: 1,
popupTemplate: (geo, d) =>
@@ -232,7 +232,7 @@ function WorldMap(element, props) {
animate: true,
highlightOnHover: !inContextMenu,
highlightFillColor: color,
highlightBorderColor: theme.colors.grayscale.dark2,
highlightBorderColor: theme.colorTextSecondary,
highlightBorderWidth: 2,
highlightBorderOpacity: 1,
highlightFillOpacity: 0.85,