-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Headers' font is hardcoded? #11741
Comments
|
Can you elaborate on that? I just noticed it by accident and I've been using Bootstrap for a long time. I can see why some people would like to have this configurable but the default should inherit the base font to make things easier... |
@XhmikosR Folks may be relying on that fact that it doesn't inherit, so changing it could break folks' sites (in that the heading font might change unexpectedly). IMO, that makes such a change backwards-incompatible, and we can only make such changes in major releases (e.g. v4). |
Ugh, this is a problem of CSS practicality vs LESS functionality. Some folks want the ease of use you're talking bout @XhmikosR, and others want variables for fucking everything. The variable is why this is happening I think. Setting it to |
Thanks! |
When overwriting the default font in
body
, I'd expect this to be inherited for the headers too. Is there any reason for this or it's a mistake?BTW, since normalize.css sets the default font in
html
shouldn't Bootstrap set it there too? In this case you could remove "sans-serif" from your font property.EDIT: I guess this is done on purpose after looking at type.less... Perhaps it should be set to
inherit
as a default then?The text was updated successfully, but these errors were encountered: