🐞 Issue: Custom Theme Tokens Not Applying to Charts in Superset 6.0.0
Environment
- Apache Superset: 6.0.0
- Theme Type: Custom UI Theme (via UI Theme Administration)
- Rendering Engine: Ant Design (UI) + ECharts (Charts)
📸 Screenshots
UI Theme Applied (No Visible Change in Chart Typography / Layout)
Chart-Level Overrides Not Reflected
📝 Description
I have created and applied a custom UI theme in Apache Superset 6.0.0 using the Theme Administration interface.
While the theme is successfully saved and activated:
- Font size changes (heading tokens) are not reflected in the UI
- ECharts overrides (both global and chart-type-specific) are not visible in rendered charts
- No errors are shown in the browser console or Superset logs
This creates ambiguity around:
- which tokens are actually supported
- which UI elements consume Ant Design tokens
- which chart elements consume ECharts overrides
🧩 Theme Configuration Used
{
"token": {
"fontFamily": "Monsieur La Doulaise, cursive",
"fontUrls": [
"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Monsieur+La+Doulaise&display=swap"
],
"fontSizeHeading1": 40,
"fontSizeHeading2": 32,
"fontSizeHeading3": 26,
"fontSizeHeading4": 22,
"fontSizeHeading5": 18,
"lineHeight": 2,
"lineHeightHeading1": 1.5,
"lineHeightHeading2": 1.38,
"lineHeightHeading3": 1.26,
"lineHeightHeading4": 1.12,
"lineHeightHeading5": 1,
"colorPrimary": "#b12cfe",
"colorSuccessBg": "#5ac189",
"colorWarningBg": "#f4d35e",
"colorErrorBg": "#ff6b6b"
},
"echartsOptionsOverrides": {
"grid": {
"left": "10%",
"right": "10%"
},
"tooltip": {
"backgroundColor": "#000000"
}
},
"echartsOptionsOverridesByChartType": {
"echarts_pie": {
"legend": {
"orient": "vertical",
"right": 10
}
}
}
}
❓ Observed Behavior
- UI typography (titles, headers, filters, chart titles) does not reflect configured font sizes
- Chart layout and tooltip styles ignore ECharts overrides
- Behavior is consistent across browsers and dashboards
- Theme activation works, but token consumption appears partial or undocumented
✅ Expected Behavior
-
Ant Design tokens such as fontSizeHeading*, lineHeight*, and fontFamily should visibly affect:
- Page headers
- Dashboard titles
- Chart titles
- Control labels
-
echartsOptionsOverrides and echartsOptionsOverridesByChartType should apply to:
- Legends
- Tooltips
- Grid spacing
- Chart-specific elements (e.g. pie legend orientation)
📌 Request / Ask
Could the maintainers please provide:
-
An authoritative list of UI elements that consume Ant Design theme tokens, such as:
- Page headers
- Dashboard titles
- Chart titles
- Subheaders
- Filters
- Modals
- Tables
-
A definitive mapping of chart elements → supported ECharts options, for example:
- Chart title
- Subtitle
- Legend
- Tooltip
- Axis labels
- Data labels
- Grid / padding
- Annotations
-
Clarification on:
- Which tokens are intentionally ignored
- Which tokens are UI-only vs chart-only
- Whether additional configuration (feature flags, rebuild, cache busting) is required
🎨 Design Input
If this behavior is expected, clearer documentation would significantly improve:
- Theme adoption
- Brand customization
- Enterprise design consistency
Suggested labels:
bug
theme
charts
design:suggest
documentation
Thank you for the guidance — clarity here would unlock meaningful theming capabilities for Superset users.
🐞 Issue: Custom Theme Tokens Not Applying to Charts in Superset 6.0.0
Environment
📸 Screenshots
UI Theme Applied (No Visible Change in Chart Typography / Layout)
Chart-Level Overrides Not Reflected
📝 Description
I have created and applied a custom UI theme in Apache Superset 6.0.0 using the Theme Administration interface.
While the theme is successfully saved and activated:
This creates ambiguity around:
🧩 Theme Configuration Used
{ "token": { "fontFamily": "Monsieur La Doulaise, cursive", "fontUrls": [ "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Monsieur+La+Doulaise&display=swap" ], "fontSizeHeading1": 40, "fontSizeHeading2": 32, "fontSizeHeading3": 26, "fontSizeHeading4": 22, "fontSizeHeading5": 18, "lineHeight": 2, "lineHeightHeading1": 1.5, "lineHeightHeading2": 1.38, "lineHeightHeading3": 1.26, "lineHeightHeading4": 1.12, "lineHeightHeading5": 1, "colorPrimary": "#b12cfe", "colorSuccessBg": "#5ac189", "colorWarningBg": "#f4d35e", "colorErrorBg": "#ff6b6b" }, "echartsOptionsOverrides": { "grid": { "left": "10%", "right": "10%" }, "tooltip": { "backgroundColor": "#000000" } }, "echartsOptionsOverridesByChartType": { "echarts_pie": { "legend": { "orient": "vertical", "right": 10 } } } }❓ Observed Behavior
✅ Expected Behavior
Ant Design tokens such as
fontSizeHeading*,lineHeight*, andfontFamilyshould visibly affect:echartsOptionsOverridesandechartsOptionsOverridesByChartTypeshould apply to:📌 Request / Ask
Could the maintainers please provide:
An authoritative list of UI elements that consume Ant Design theme tokens, such as:
A definitive mapping of chart elements → supported ECharts options, for example:
Clarification on:
🎨 Design Input
If this behavior is expected, clearer documentation would significantly improve:
Suggested labels:
bugthemechartsdesign:suggestdocumentationThank you for the guidance — clarity here would unlock meaningful theming capabilities for Superset users.