From 5b22f78f188c240a789e26cf23340cd27b7ca1bd Mon Sep 17 00:00:00 2001 From: Sara Burns Date: Fri, 24 Apr 2026 13:54:44 -0400 Subject: [PATCH 1/3] wip --- .../static/js/embed_dashboard.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/platform_plugin_aspects/static/js/embed_dashboard.js b/platform_plugin_aspects/static/js/embed_dashboard.js index 1b169d08..87df6478 100644 --- a/platform_plugin_aspects/static/js/embed_dashboard.js +++ b/platform_plugin_aspects/static/js/embed_dashboard.js @@ -67,7 +67,21 @@ function _embedDashboard(dashboard_uuid, superset_url, xblock_id){ /* Perform extra operations on the dashboard object or the container when the dashboard is loaded - */ + */ + dashboard.setThemeConfig({ + theme_default: { + token: { + colorPrimary: "#2893B3", + fontFamily: "Inter, sans-serif" + } + }, + theme_dark: { + algorithm: "dark", + token: { + colorPrimary: "#2893B3" + } + } + }); }); } From ba262394f2a71712d3220065c9b3209a8e6d0dff Mon Sep 17 00:00:00 2001 From: Sara Burns Date: Fri, 24 Apr 2026 14:06:25 -0400 Subject: [PATCH 2/3] wip --- platform_plugin_aspects/static/js/embed_dashboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platform_plugin_aspects/static/js/embed_dashboard.js b/platform_plugin_aspects/static/js/embed_dashboard.js index 87df6478..a3cd4fc3 100644 --- a/platform_plugin_aspects/static/js/embed_dashboard.js +++ b/platform_plugin_aspects/static/js/embed_dashboard.js @@ -68,6 +68,7 @@ function _embedDashboard(dashboard_uuid, superset_url, xblock_id){ Perform extra operations on the dashboard object or the container when the dashboard is loaded */ + console.log('---------testtesttest--------'); dashboard.setThemeConfig({ theme_default: { token: { From 0f215b091febb7309bee5eecd00b486355f62cda Mon Sep 17 00:00:00 2001 From: Sara Burns Date: Mon, 27 Apr 2026 10:46:55 -0400 Subject: [PATCH 3/3] wip --- platform_plugin_aspects/static/js/embed_dashboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platform_plugin_aspects/static/js/embed_dashboard.js b/platform_plugin_aspects/static/js/embed_dashboard.js index a3cd4fc3..8b4fac7f 100644 --- a/platform_plugin_aspects/static/js/embed_dashboard.js +++ b/platform_plugin_aspects/static/js/embed_dashboard.js @@ -45,6 +45,7 @@ async function fetchGuestToken() { } function _embedDashboard(dashboard_uuid, superset_url, xblock_id){ + console.log('---------testtesttest--------'); window.supersetEmbeddedSdk .embedDashboard({ id: dashboard_uuid, // given by the Superset embedding UI