mozilla/mofo-bootstrap

Default button's font-family to Fira

Closed this issue · 4 comments

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

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

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

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