diff options
author | Andrew <browner12@gmail.com> | 2018-07-25 03:23:17 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2018-07-25 03:23:17 +0300 |
commit | c8a4d9dd745e0529e8868aef4551dc2a493745a3 (patch) | |
tree | 5692bb7a2417e5cd1375abd69ccad8a5b92faa60 /.stylelintrc | |
parent | 3b558734382ce58b51e5fc676453bfd53bba9201 (diff) |
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.
Diffstat (limited to '.stylelintrc')
-rw-r--r-- | .stylelintrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.stylelintrc b/.stylelintrc index 3d86d2ac75..520451b321 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -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, |