mistercrunch opened a new pull request, #34732:
URL: https://github.com/apache/superset/pull/34732
This comprehensive migration eliminates the deprecated
theme.colors.{type}.{variation} system in favor of Antd's semantic token
system. All 250+ usages across 125+ files have been migrated using contextual
analysis to ensure appropriate semantic mappings.
Key changes:
- Migrated all theme.colors.grayscale.* to semantic text/border/background
tokens
- Migrated all theme.colors.{state}.* to semantic state tokens (colorError,
etc.)
- Replaced theme.colors.primary.* with semantic primary tokens
- Updated core UI components, chart plugins, and legacy visualizations
- Fixed TypeScript compilation by migrating remaining theme.colors references
- Replaced deprecated transitionTiming with motionDurationMid
Migration strategy used contextual analysis rather than 1:1 mapping:
- CSS property context (color vs border-color vs background-color)
- Element type context (text, icon, border, background, interactive)
- Semantic role context (primary, secondary, tertiary, disabled, placeholder)
- Visual hierarchy preservation with appropriate token selection
--
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]