diff --git a/src/frontend/apps/impress/cunningham.ts b/src/frontend/apps/impress/cunningham.ts index b2906c30..bc9fbc3a 100644 --- a/src/frontend/apps/impress/cunningham.ts +++ b/src/frontend/apps/impress/cunningham.ts @@ -1,4 +1,8 @@ -import { cunninghamConfig as tokens } from '@gouvfr-lasuite/ui-kit'; +import { cunninghamConfig } from '@gouvfr-lasuite/ui-kit'; + +const tokens = { + ...cunninghamConfig, +}; const customColors = { 'primary-action': '#1212FF', @@ -34,7 +38,6 @@ const customColors = { 'yellow-500': '#B7A73F', 'yellow-600': '#66673D', }; - tokens.themes.default.theme.colors = { ...tokens.themes.default.theme.colors, ...customColors,