Skip to content

Conversation

@AntoLC
Copy link
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');

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 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
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