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

Add .font-weight-light class, add !important to the classes #22963

Merged
merged 3 commits into from
Aug 11, 2017
Merged

Conversation

mdo
Copy link
Member

@mdo mdo commented Jul 2, 2017

Adds the class and !important to match other utils.

Fixes #20528.

@@ -240,6 +240,7 @@ $font-size-lg: 1.25rem !default;
$font-size-sm: .875rem !default;
$font-size-xs: .75rem !default;

$font-weight-light: light !default;
Copy link
Contributor

Choose a reason for hiding this comment

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

There's no such thing as font-weight: light - there's lighter, but it's relative and I'm not sure it's what you wanted to achieve here. Alternatively it could be 300, but it would need to be tested with the font stack if it reliably supports this weight (or at least does a fallback to other weight that 'looks light')

@mdo mdo merged commit 1846ab3 into v4-dev Aug 11, 2017
@mdo mdo deleted the font-weights branch August 11, 2017 05:40
@mdo mdo mentioned this pull request Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants