Skip to content

fix: Set correct font-weight to variable font #4550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 21, 2025
Merged

Conversation

zatteo
Copy link
Member

@zatteo zatteo commented Jul 18, 2025

Some font-weight CSS directives do not work on Cozy apps. For example, in this screenshot from cozy-settings, "Add an additional security level" has font-weight: 500 set by cozy-ui but it is not taken into account.

Screenshot 2025-07-18 at 16 53 52

It seems that setting a range in @font-face like in this PR solves the issue. It worked by changing it directly in Firefox developer tools but in this PR it does not.

So to summarize :

  • There is an issue with font weight
  • I think it is related to how we use @font-face
  • This PR does not fix it

Did I miss something ?

@nono nono merged commit a1d3775 into master Jul 21, 2025
4 checks passed
@nono nono deleted the fix/variable-font branch July 21, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants