You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now Bootstrap uses the hardcoded font weights bold and normal.
Websites might use different weights such as medium or thin or use light as default weight instead of normal.
If Bootstrap used settings variables for $font-weight-normal and $font-weight-bold the user could easily override the default values or use numerical weights.
Right now Bootstrap uses the hardcoded font weights
bold
andnormal
.Websites might use different weights such as
medium
orthin
or uselight
as default weight instead ofnormal
.If Bootstrap used settings variables for
$font-weight-normal
and$font-weight-bold
the user could easily override the default values or use numerical weights.This would also help #18605.
Those two lines could be added to the _variables.scss:
All occurrences of
font-weight: normal;
would be replaced byfont-weight: $font-weight-normal
. The same applied forfont-weight: bold;
.Foundation uses a similar approach.
I could create a pull-request for this.
The text was updated successfully, but these errors were encountered: