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 /scss/utilities | |
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 'scss/utilities')
-rw-r--r-- | scss/utilities/_text.scss | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scss/utilities/_text.scss b/scss/utilities/_text.scss index 9d96c46562..9140910c5d 100644 --- a/scss/utilities/_text.scss +++ b/scss/utilities/_text.scss @@ -32,10 +32,12 @@ // Weight and italics -.font-weight-light { font-weight: $font-weight-light !important; } -.font-weight-normal { font-weight: $font-weight-normal !important; } -.font-weight-bold { font-weight: $font-weight-bold !important; } -.font-italic { font-style: italic !important; } +.font-weight-light { font-weight: $font-weight-light !important; } +.font-weight-lighter { font-weight: $font-weight-lighter !important; } +.font-weight-normal { font-weight: $font-weight-normal !important; } +.font-weight-bold { font-weight: $font-weight-bold !important; } +.font-weight-bolder { font-weight: $font-weight-bolder !important; } +.font-italic { font-style: italic !important; } // Contextual colors |