-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Open
Labels
global:themingRelated to theming SupersetRelated to theming Supersetviz:chartsNamespace | Anything related to viz typesNamespace | Anything related to viz types
Description
π 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*, andfontFamilyshould visibly affect:- Page headers
- Dashboard titles
- Chart titles
- Control labels
-
echartsOptionsOverridesandechartsOptionsOverridesByChartTypeshould 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:
bugthemechartsdesign:suggestdocumentation
Thank you for the guidance β clarity here would unlock meaningful theming capabilities for Superset users.
Metadata
Metadata
Assignees
Labels
global:themingRelated to theming SupersetRelated to theming Supersetviz:chartsNamespace | Anything related to viz typesNamespace | Anything related to viz types
Type
Projects
Status
New