GitHub user dosubot[bot] added a comment to the discussion: Can Superset v5 
enable system-wide dark/light theme + Roboto font purely via superset_config.py 
(no frontend rebuild)?

<!-- Answer -->
Superset v5 does not support changing the font family to Roboto or enabling 
system-wide dark/light theme switching via superset_config.py alone, without 
rebuilding the frontend or modifying source code. These features—runtime custom 
font loading (like Roboto) and config-driven theming (including dark mode)—were 
introduced after v5 and are officially supported starting in Superset 6.0.0 and 
above. In v6+, you can configure these directly in superset_config.py without 
frontend rebuilds or workarounds 
([details](https://github.com/apache/superset/pull/34416), 
[docs](https://github.com/apache/superset/blob/master/docs/docs/configuration/theming.mdx)).


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/cc15a3b1-d6c1-445d-bd4c-40c9b3a17f58?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/cc15a3b1-d6c1-445d-bd4c-40c9b3a17f58?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/cc15a3b1-d6c1-445d-bd4c-40c9b3a17f58?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/cc15a3b1-d6c1-445d-bd4c-40c9b3a17f58?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/cc15a3b1-d6c1-445d-bd4c-40c9b3a17f58?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/cc15a3b1-d6c1-445d-bd4c-40c9b3a17f58?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/cc15a3b1-d6c1-445d-bd4c-40c9b3a17f58?feedback_type=other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Superset%20v5%20does%20not%20support%20changing%20the%20font%20family%20to%20Roboto%20or%20enabling%20system-wide%20dark/light%20theme%20switching%20via%20superset_config.py%20alone%2C%20without%20rebuilding%20the%20frontend%20or%20modifying%20source%20code.%20These%20features%E2%80%94runtime%20custom%20font%20loading%20%28like%20Roboto%29%20and%20config-driven%20theming%20%28including%20dark%20mode%29%E2%80%94were%20introduced%20after%20v5%20and%20are%20officially%20supported%20starting%20in%20Superset%206.0.0%20and%20above.%20In%20v6%2B%2C%20you%20can%20configure%20these%20directly%20in%20superset_config.py%20without%20frontend%20rebuilds%20or%20workarounds%C2%A0%28%5Bdetails%5D%28https%3A//github.com/apache/superset/pull/34416%29%2C%20%5Bdocs%5D%28
 
https%3A//github.com/apache/superset/blob/master/docs/docs/configuration/theming.mdx%29%29.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/36230)

GitHub link: 
https://github.com/apache/superset/discussions/36230#discussioncomment-15056729

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to