Fix overly heavy Marianne font weights in the UI kit

Open
#380 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
design

Research direction

Start by locating where the UI kit loads and applies Marianne font files, then compare the configured weights with the provided font files and the attached screenshot. Check the affected UI states, including unread text in Tchap V2; done means Marianne renders at its intended weights and unread text no longer appears bold.

Written by the indexing model from the issue text.

Description

Image

Marianne consistently renders heavier than intended in the UI kit. This reduces readability and can make states ambiguous: in Tchap V2, text can look unread because it appears bold.

We need to correct the rendering to match the intended font weights. This must be fixed before making Marianne the default font for the French version of Docs.

[Font files](https://fichiers.numerique.gouv.fr/explorer/items/54f2ec18-d8b0-4fc8-be26-290a7180111c

Dominant language
TypeScript
Stars
36
Forks
14
Avg merge
2d 10h
Merged PRs (30d)
12

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from suitenumerique/ui-kit

All issues in suitenumerique/ui-kit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.