feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor#31590
feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor#31590mistercrunch merged 195 commits intomasterfrom
Conversation
|
Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment
|
f1c7929 to
43452ff
Compare
97e182d to
0655910
Compare
1ca8e6e to
6c6532e
Compare
003f992 to
1652452
Compare
Chiseling at #31590 and bringing what's atomically committable out of there. This simply adds eslint checks to pre-commit. Note that: - it requires having run `npm i` in superset-frontend - it's set up to NOT run in CI as part of the pre-commit validation workflow, since we run eslint more formally in another workflow Why doing this? Currently it's common to forget to run `npm run lint` prior to committing/pushing, so people can waste time waiting for CI to fail where it could be caught easily. It's nice to have pre-commit do the check itself because it will only evaluate the files that have changed, making it much faster than running a full lint run against all files.
…rt/e2e.ts While working on #31590, I noticed that `expect` was not properly imported. It was using it from global for some unknown reason.
1652452 to
f89a23b
Compare
Chiseling at #31590 that has gotten big / unruly, in this PR is a refactor of Alert-related components, going vanilla AntD. Also. Deprecating colors.alerts since it's ambiguous/redundant with warning/error and does not exist in antd-v5
Chiseling at #31590 that has gotten big / unruly, in this PR is a refactor of Alert-related components, going vanilla AntD. Also. Deprecating colors.alerts since it's ambiguous/redundant with warning/error and does not exist in antd-v5
Chiseling at #31590 that has gotten big / unruly, in this PR is a refactor of Alert-related components, going vanilla AntD. Also. Deprecating colors.alerts since it's ambiguous/redundant with warning/error and does not exist in antd-v5
Chiseling at #31590 that has gotten big / unruly, in this PR is a refactor of Alert-related components, going vanilla AntD. Also. Deprecating colors.alerts since it's ambiguous/redundant with warning/error and does not exist in antd-v5
Chiseling at #31590 that has gotten big / unruly, in this PR is a refactor of Alert-related components, going vanilla AntD. Also. Deprecating colors.alerts since it's ambiguous/redundant with warning/error and does not exist in antd-v5
geido
left a comment
There was a problem hiding this comment.
It’s been a great experience contributing to this project, and I’m excited to see it come to life!
EnxDev
left a comment
There was a problem hiding this comment.
Contributing to this project has been a rewarding experience. It’s been a pleasure working with you guys! I’m really looking forward to seeing it in action; thanks so much, everyone ❤️
rusackas
left a comment
There was a problem hiding this comment.
This diff is giving my browser a heart attack... but here's the codeowner stamp it needs!
Thanks (and congratulations) to all involved, this is a HUGE deal, and a loooong time coming.

This merges the long-running “theming” branch into
master.Superset is now fully, dynamically themeable. We’ve moved to Ant Design v5’s
token-based theming and css-in-js, killed the last traces of Bootstrap/.less,
and unlocked a first-class dark mode.
Highlights
@superset-ui/core/componentsfor easy reusesuperset_config.py); WYSIWYG editor behind a FFBy the numbers
masterthe whole wayKnown gaps / follow-ups
theme.colors.*tokensBREAKING CHANGES
THEME_OVERRIDESis gone — configs must move to the new Antd-compatible JSONHuge thanks to everyone who battled merge conflicts and kept this branch alive.
Ready for prime time — let’s ship it. 🚀