mozilla / mofo-bootstrap

Mozilla Foundation's Bootstrap 4 theme.
https://mozilla.github.io/mofo-bootstrap/demo/
Mozilla Public License 2.0
61 stars 13 forks source link

Default button's font-family to Fira #102

Closed mmmavis closed 7 years ago

mmmavis commented 7 years ago

related: https://github.com/mozilla/nsf-challenge/pull/16

thoughts? @alanmoo @gvn

alanmoo commented 7 years ago

It looks like this comes down to the fact that Normalize inside Bootstrap sets button { font-family:sans-serif;}, but .btn doesn't set a font, so a.btn has Fira but button.btn doesn't.

I kind of get why bootstrap does this, but it's not great. I wouldn't be opposed to adding .btn{font-family: inherit} or even font-family: "Fira Sans" since it is our customization of Bootstrap, after all. Thoughts @gvn? I'm going to dig/open an issue in the main Bootstrap repo about this too.

gvn commented 7 years ago

I actually just noticed this today. Let's probably use inherit since we may be switching off Fira soon with the new branding.

fitojb commented 7 years ago

we may be switching off Fira soon with the new branding.

For the record, Fira is staying in the new branding. It wouldn’t be good taste to use a seriffed typeface intended for display sizes in body text.

gvn commented 7 years ago

Either way, inherit will work for what we're trying to accomplish here.