1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-03 10:23:05 +02:00

add 'lighter' and 'bolder' font weight classes (#26580)

* add 'lighter' and 'bolder' font weight classes

these are 2 special values for font weight, that will give their content a font-weight value of 100 more or less than their inherited font-weight.

probably doesn't fully fulfill this issue, https://github.com/twbs/bootstrap/issues/23969, but it's a start

* Update .stylelintrc

* add 'lighter' and 'bolder' variables per @mdo 's request.
This commit is contained in:
Andrew
2018-07-24 19:23:17 -05:00
committed by Mark Otto
parent 3b55873438
commit c8a4d9dd74
3 changed files with 12 additions and 5 deletions

View File

@@ -18,7 +18,10 @@
"declaration-empty-line-before": null,
"declaration-no-important": true,
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric",
"font-weight-notation": [
"numeric", {
"ignore": ["relative"]
}],
"function-url-no-scheme-relative": true,
"function-url-quotes": "always",
"length-zero-no-unit": true,