Skip to content

🔧(font) export Marianne font css#121

Merged
AntoLC merged 1 commit intomainfrom
export-marianne-font-css
Jan 14, 2026
Merged

🔧(font) export Marianne font css#121
AntoLC merged 1 commit intomainfrom
export-marianne-font-css

Conversation

@AntoLC
Copy link
Copy Markdown
Contributor

@AntoLC AntoLC commented Oct 6, 2025

Purpose

In Docs for the moment we have to extract the Marianne font from the package to paste it to the public repository.
By exposing the css font, we can avoid that, and leverage the automatic bundling.

Proposal

We update our package.json to include the font CSS file in the exports and ensuring that the font can be imported correctly in both CSS and JavaScript/TypeScript files.


On the app side it would be imported like that:

/* global.css: */
@import url('@gouvfr-lasuite/ui-kit/fonts/Marianne');

@AntoLC AntoLC self-assigned this Oct 6, 2025
@AntoLC AntoLC added the enhancement New feature or request label Oct 6, 2025
@AntoLC AntoLC requested review from NathanVss and Ovgodd October 6, 2025 16:07
@AntoLC
Copy link
Copy Markdown
Contributor Author

AntoLC commented Jan 13, 2026

Seems quite active this repository !!

We want to export the Marianne font CSS file so
that users of our UI kit can easily include
the font in their projects. This involves
updating our package.json to include the
font CSS file in the exports and ensuring
that the font can be imported correctly in
both CSS and JavaScript/TypeScript files.
@AntoLC AntoLC force-pushed the export-marianne-font-css branch from d62c339 to 6925dc1 Compare January 14, 2026 08:52
@AntoLC AntoLC merged commit 88c3bd7 into main Jan 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants