dosubot[bot] commented on issue #34865:
URL: https://github.com/apache/superset/issues/34865#issuecomment-3378869488
<!-- Answer -->
In Superset 6.x and later, APP_NAME and APP_ICON are now managed through the
theming system, not by setting those variables in superset_config.py or
superset_config_docker.py. To update the app name and logo, define
THEME_DEFAULT (and optionally THEME_DARK) in your superset_config.py like this:
```python
THEME_DEFAULT = {
"token": {
"brandLogoUrl": "/static/assets/images/your_logo.png", # logo path
"brandLogoAlt": "Your App Name", # app name
(alt text)
# ...other theme tokens...
}
}
```
This replaces the old config variables. You can use the [Ant Design theme
editor](https://ant.design/theme-editor) to generate theme JSON for more
customization. For dark mode, use THEME_DARK with the same structure.
There's a theme hierarchy: base themes from config, system themes set by
admins in the UI (if ENABLE_UI_THEME_ADMINISTRATION is enabled), and dashboard
themes. Custom themes override base themes for any properties they define. If
you want to edit themes via the UI, set the `ENABLE_THEME_EDITOR` feature flag
to True in your config.
See [this migration note](https://github.com/apache/superset/issues/34824)
and [theming PR](https://github.com/apache/superset/pull/35220) for more
details.
<!-- 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/b4ab1931-f422-47fc-8289-fb8819155cae?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/b4ab1931-f422-47fc-8289-fb8819155cae?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/b4ab1931-f422-47fc-8289-fb8819155cae?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/b4ab1931-f422-47fc-8289-fb8819155cae?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/b4ab1931-f422-47fc-8289-fb8819155cae?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/b4ab1931-f422-47fc-8289-fb8819155cae?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/b4ab1931-f422-47fc-8289-fb8819155cae?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34865)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]