Skip to content

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'

2 participants