️(frontend) load Marianne font

Ui-kit expose now correctly the Marianne font.
We can use it now just by importing the font
from our css, no need to copy paste the font
in the public folder.
This commit is contained in:
Anthony LC
2026-01-23 16:04:32 +01:00
parent c3e83c6612
commit 6b7fc915dd
3 changed files with 2 additions and 11 deletions

View File

@@ -39,4 +39,3 @@ service-worker.js
# Font embedding
public/assets/fonts/emoji/*
!public/assets/fonts/emoji/fallback.png
public/assets/fonts/Marianne/*

View File

@@ -55,14 +55,6 @@ const nextConfig = {
to: path.resolve(__dirname, 'public/assets/fonts/emoji'),
force: true,
},
{
from: path.resolve(
__dirname,
'../../node_modules/@gouvfr-lasuite/ui-kit/dist/assets/fonts/Marianne',
),
to: path.resolve(__dirname, 'public/assets/fonts/Marianne'),
force: true,
},
],
}),
);

View File

@@ -3,7 +3,7 @@
@import url('@fontsource/material-icons-outlined');
@import url('@fontsource-variable/material-symbols-outlined');
@import url('@fontsource-variable/inter');
@import url('/assets/fonts/Marianne/Marianne-font.css');
@import url('@gouvfr-lasuite/ui-kit/fonts/Marianne');
body {
margin: 0;