-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Ant Design 5 Theme #29328
feat: Add Ant Design 5 Theme #29328
Conversation
Can you convert this to a draft given that the SIP was not approved yet? |
46348ec
to
219f856
Compare
/testenv up |
@geido Ephemeral environment spinning up at http://52.35.19.68:8080. Credentials are |
fontSizeSM: supersetTheme.typography.sizes.s, | ||
fontSizeXL: supersetTheme.typography.sizes.xl, | ||
|
||
lineWidthBold: supersetTheme.gridUnit / 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: do we want to tie this to the grid unit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can revisit this as we continue the upgrade. The general theme is the result of the usage of the individual components, so this needs to be thought of as a draft for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Suggestion for future iterations - since antd5's theming is a new concept in Superset, could we have some descriptive comments or references to docs where they're relevant (such as what is a theme algorithm, what tokens are available etc)? I think it will make the transition easier for us
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
This work is part of SIP 139 #29268.
This PR introduces Ant Design 5 in the repo and adds the initial Ant Design mapping with the original Superset theme to allow overrides through preamble. This should serve as the base for the Ant Design upgrade. As new components are upgraded, this initial mapping will be adjusted accordingly.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N.A.
TESTING INSTRUCTIONS
All tests should pass
ADDITIONAL INFORMATION