sfirke opened a new issue, #37289: URL: https://github.com/apache/superset/issues/37289
### Bug description **USE CASE** I have a dashboard that has custom CSS. That worked in 4.1.4. When we updated to 6.0.0, it suddenly became unusable if you navigated to the dashboard and Superset detected you were using Dark Mode - because the colors we had hard-coded in the CSS depended on a light theme (see screenshot). **SOLUTION** I should be able to assign `THEME_DEFAULT` to the dashboard so that even if a user is in dark mode, they see the light theme. **BUG** The two system default themes, `THEME_DARK` and `THEME_DEFAULT`, are not available in the dropdown menu when assigning a dashboard theme. Here my workaround is to create a mostly-empty light theme, which I _can_ then assign to the dashboard: <img width="727" height="885" alt="Image" src="https://github.com/user-attachments/assets/59dec77b-86c1-4e31-b639-7cba97984c78" /> I hope the fix is as simple as a backend change that allows these two themes to appear in the dashboard theme selection list. Or if I'm misunderstanding and there's a better/other way to force a dashboard to be always-light or always-dark so that any custom CSS applied on top remains valid, please correct me. ### Screenshots/recordings _No response_ ### Superset version 6.0.0 ### Python version Not applicable ### Node version Not applicable ### Browser Firefox ### Additional context _No response_ ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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]
