mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user