mirror of
https://github.com/apache/superset.git
synced 2026-07-21 06:05:46 +00:00
Per reviewer feedback: @apache-superset/core/colors should expose the interface for accessing color schemes (types, ColorSchemeGroup enum, registry bridge functions) but leave the implementation details — which palettes exist and their hex values — to the host app. - Delete categorical/ and sequential/ palette data dirs from @apache-superset/core/colors - Restore all 13 categorical and 2 sequential @superset-ui/core scheme files to owning their own palette data (revert thin wrappers) - Slim @apache-superset/core/colors/index.ts to: ColorSchemeGroup, ColorSchemeConfig, SequentialSchemeConfig types + registry bridge functions only - Restore setupColors.ts to import CategoricalScheme arrays from @superset-ui/core - Update colors.test.ts to cover only ColorSchemeGroup enum and registry bridge - Restore @superset-ui/core/src/color/types.ts to define ColorSchemeGroup directly - Remove now-unnecessary palette exclusions from check-custom-rules.js Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>