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 numerical values for font-weight instead of keyword values #18613

Closed
wants to merge 5 commits into from
Closed

Use numerical values for font-weight instead of keyword values #18613

wants to merge 5 commits into from

Conversation

guylepage3
Copy link

Pull request in regards to Issue #18605

I replaced all the font-weight: bold; declaration with font-weight: 700; as this allows for a much easier and more consistent flow for font-weight's throughout bootstrap. font-weight: with a 700; value on the chosen sans-serif, serif and monospace typefaces used in bootstrap is now supported by modern browsers.

@cvrebert
Copy link
Collaborator

Based on #18433, I'm not sure whether @mdo would really prefer numbers here.

(Also, if approved, this will need squashing, and porting to v4)

@guylepage3
Copy link
Author

I really feel like this is a more consistent way to layout font-weights. It's been an issue of mine for a little while now. I understand why it was done originally as browsers were not consistent with weight numbers but there seems to be more weight numbering in v4 anyway.

I actually originally noticed this in v4. So I can create a pull request for v4 as well. Just let me know.

@cvrebert cvrebert changed the title Font weight Switching out bold descriptive value weights with numerical 700 values Dec 21, 2015
@cvrebert cvrebert changed the title Switching out bold descriptive value weights with numerical 700 values Use numerical values for font-weight instead of keyword values Dec 21, 2015
@mdo
Copy link
Member

mdo commented Dec 30, 2015

Not going to be changing this kind of stuff in v3 at this point—not an important change for this version. Thanks though!

@mdo mdo closed this Dec 30, 2015
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.

3 participants