From 48db42f3855709a92c4fb64c81efbba8a60d5be8 Mon Sep 17 00:00:00 2001 From: Nathan Panchout Date: Mon, 17 Mar 2025 15:02:01 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20refactor=20and=20theme=20?= =?UTF-8?q?token=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The configuration file has been simplified by importing configurations from @gouvfr-lasuite/ui-kit . Colors and components have been updated to reflect the new values. Additionally, adjustments have been made to global styles, including the addition of styles for Material icons. Form components have also been modified to incorporate the new style properties. --- src/frontend/apps/impress/cunningham.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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,