Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew <browner12@gmail.com>2018-07-25 03:23:17 +0300
committerMark Otto <otto@github.com>2018-07-25 03:23:17 +0300
commitc8a4d9dd745e0529e8868aef4551dc2a493745a3 (patch)
tree5692bb7a2417e5cd1375abd69ccad8a5b92faa60 /.stylelintrc
parent3b558734382ce58b51e5fc676453bfd53bba9201 (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--.stylelintrc5
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,