This is an automated email from the ASF dual-hosted git repository.

justinpark pushed a commit to branch 5.0-extensions
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/5.0-extensions by this push:
     new 03214c1ca8e theme color change
03214c1ca8e is described below

commit 03214c1ca8e36858614c59464ba3092cfbb974ef
Author: justinpark <[email protected]>
AuthorDate: Mon Feb 9 10:28:24 2026 -0800

    theme color change
---
 .../plugins/legacy-plugin-chart-world-map/src/WorldMap.js     |  3 ++-
 .../legacy-plugin-chart-world-map/test/WorldMap.test.ts       | 11 +++++++----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git 
a/superset-frontend/plugins/legacy-plugin-chart-world-map/src/WorldMap.js 
b/superset-frontend/plugins/legacy-plugin-chart-world-map/src/WorldMap.js
index a696fb750ec..ec467ad4119 100644
--- a/superset-frontend/plugins/legacy-plugin-chart-world-map/src/WorldMap.js
+++ b/superset-frontend/plugins/legacy-plugin-chart-world-map/src/WorldMap.js
@@ -253,7 +253,8 @@ function WorldMap(element, props) {
           const countryId = classes.split(' ')[1];
           const countryData = mapData[countryId];
           const originalFill =
-            (countryData && countryData.fillColor) || theme.colorBorder;
+            (countryData && countryData.fillColor) ||
+            theme.colors.grayscale.light5;
           // Store original fill color for restoration
           element.attr('data-original-fill', originalFill);
         })
diff --git 
a/superset-frontend/plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts 
b/superset-frontend/plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts
index 365426094f6..dba65a4522c 100644
--- 
a/superset-frontend/plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts
+++ 
b/superset-frontend/plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts
@@ -73,10 +73,13 @@ const baseProps = {
   colorScheme: 'supersetColors',
   sliceId: 123,
   theme: {
-    colorBorder: '#e0e0e0',
-    colorSplit: '#333',
-    colorIcon: '#000',
-    colorTextSecondary: '#666',
+    colors: {
+      grayscale: {
+        dark2: '#616161',
+        light2: '#bdbdbd',
+        light5: '#e0e0e0',
+      },
+    },
   },
   countryFieldtype: 'code',
   entity: 'country',

Reply via email to