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

Rename hairline and thin font weights to thin and extralight #2333

Merged
merged 2 commits into from
Sep 6, 2020

Conversation

adamwathan
Copy link
Member

@adamwathan adamwathan commented Sep 6, 2020

This PR renames the font-hairline and font-thin classes to font-thin and font-extralight respectively to align with the OpenType spec.

This is a breaking chance so this is behind a future flag called standardFontWeights until 2.0.

Upgrade strategy is find and replace font-thin to font-extralight, then replace font-hairline with font-thin. Should be very easy and reliable to change with find and replace.

Resolves #1128.

@adamwathan adamwathan merged commit 30a4e51 into master Sep 6, 2020
@adamwathan adamwathan deleted the rename-light-font-weights branch September 6, 2020 11:07
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.

font weight font-thin is different with 'OpenType specification'
1 participant