diff --git a/superset-frontend/src/setup/setupColors.ts b/superset-frontend/src/setup/setupColors.ts index 7865e4b2a0ff6..b5603cf84d9ad 100644 --- a/superset-frontend/src/setup/setupColors.ts +++ b/superset-frontend/src/setup/setupColors.ts @@ -69,7 +69,11 @@ export default function setupColors( registerColorSchemes( // @ts-ignore getSequentialSchemeRegistry(), - [...SequentialCommon, ...SequentialD3, ...extraSequentialColorSchemes], + [ + ...SequentialCommon, + ...SequentialD3, + ...extraSequentialColorSchemes.map(s => new SequentialScheme(s)), + ], 'superset_seq_1', ); }