Skip to content

Commit 6cd0cd0

Browse files
committed
⬆️(dependencies) gouvfr-lasuite/ui-kit to 0.6.0
Upgrade @gouvfr-lasuite/ui-kit from 0.5.0 to 0.6.0. Some properties have been removed in 0.5.0, which causes the design of the app to be broken. Version 0.6.0 has as well some breaking changes, about the "logo" properties that are not available anymore. We fix them in this commit.
1 parent 10b0885 commit 6cd0cd0

File tree

5 files changed

+238
-157
lines changed

5 files changed

+238
-157
lines changed

src/frontend/apps/impress/cunningham.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@ tokens.themes.default.theme.colors = {
4040
...customColors,
4141
};
4242

43+
tokens.themes.default.theme = {
44+
...tokens.themes.default.theme,
45+
...{
46+
logo: {
47+
src: '/assets/logo-gouv.svg',
48+
widthHeader: '110px',
49+
widthFooter: '220px',
50+
alt: 'Gouvernement Logo',
51+
},
52+
},
53+
};
54+
4355
tokens.themes.default.components = {
4456
...tokens.themes.default.components,
4557
...{

src/frontend/apps/impress/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@emoji-mart/react": "1.1.1",
2727
"@fontsource/material-icons": "5.2.5",
2828
"@gouvfr-lasuite/integration": "1.0.3",
29-
"@gouvfr-lasuite/ui-kit": "0.5.0",
29+
"@gouvfr-lasuite/ui-kit": "0.6.0",
3030
"@hocuspocus/provider": "2.15.2",
3131
"@openfun/cunningham-react": "3.1.0",
3232
"@react-pdf/renderer": "4.3.0",

0 commit comments

Comments
 (0)