Skip to content
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

Use common font weight/name mappings in Font Library #59976

Open
Tracked by #60528
peterwilsoncc opened this issue Mar 19, 2024 · 3 comments
Open
Tracked by #60528

Use common font weight/name mappings in Font Library #59976

peterwilsoncc opened this issue Mar 19, 2024 · 3 comments
Labels

Comments

@peterwilsoncc
Copy link
Contributor

What problem does this address?

The font Library currently displays font weights using their numeric values, for example "Open Sans 400 Normal", "Open Sans 400 Italic".

These font weights are unintuitive for people who do not work on the web on a daily basis. The regular site owner is likely to be unaware that 400 Normal means the standard font weight.

Given most developers define font weight via the keywords, it's probably fair to assume that the numbers are unintuitive for a good number of web developers too. (I know it takes me a little thought to remember 400 is normal.)

What is your proposed solution?

Rather than display the numeric weight value, I suggest using the common name mappings sourced from MDN:

Value Common weight name
100 Thin (Hairline)
200 Extra Light (Ultra Light)
300 Light
400 Normal (Regular)
500 Medium
600 Semi Bold (Demi Bold)
700 Bold
800 Extra Bold (Ultra Bold)
900 Black (Heavy)
950 Extra Black (Ultra Black)
@sahiladit
Copy link

sahiladit commented Mar 19, 2024

can you assign it to me?This is my first contribution can you tell me what is the name of the file or where can i get this file so that i can edit this issue.

@cbirdsong
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants