Skip to content

Conversation

AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Sep 19, 2025

Purpose

In some components, the Arial font was still used because of a centering problem.

Proposal

We removed all instances of Arial and replaced them with the current font token, the centering problems
were fixed by adding "contain: content;" to the css.

  • 🍱(frontend) replace Marianne font
  • ♻️(frontend) replace Arial font-family with token font

Demo

Before:

image

After:

image

@AntoLC AntoLC self-assigned this Sep 19, 2025
@AntoLC AntoLC added enhancement improve an existing feature frontend labels Sep 19, 2025
@AntoLC AntoLC force-pushed the refacto/replace-arial branch from f116ef5 to 7c001ab Compare September 19, 2025 12:58
@AntoLC AntoLC linked an issue Sep 19, 2025 that may be closed by this pull request
Copy link

github-actions bot commented Sep 19, 2025

Size Change: -22 B (0%)

Total Size: 3.65 MB

Filename Size Change
apps/impress/out/_next/static/css/e6db258771d1472b.css 0 B -25.2 kB (removed) 🏆
apps/impress/out/_next/static/dd4872ce/_buildManifest.js 0 B -863 B (removed) 🏆
apps/impress/out/_next/static/bff7baf0/_buildManifest.js 862 B +862 B (new file) 🆕
apps/impress/out/_next/static/css/3152bba33325959c.css 25.2 kB +25.2 kB (new file) 🆕

compressed-size-action

@AntoLC AntoLC requested a review from Ovgodd September 19, 2025 15:01
Copy link
Collaborator

@Ovgodd Ovgodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good !

Some improvements has been made to the Marianne
fonts. We replace the previous one with the
newer version.
In some components, the Arial font was still used
because of a centering problem.
We removed all instances of Arial and replaced them
with the current font token, the centering problems
were fixed by adding "contain: content;" to the css.
@AntoLC AntoLC force-pushed the refacto/replace-arial branch from 7c001ab to a751f12 Compare September 22, 2025 08:09
@AntoLC AntoLC merged commit a751f12 into main Sep 22, 2025
20 of 22 checks passed
@AntoLC AntoLC deleted the refacto/replace-arial branch September 22, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement improve an existing feature frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💄Remove Arial font

2 participants