aboutsummaryrefslogtreecommitdiff
path: root/scss/mixins/_reset-text.scss
diff options
context:
space:
mode:
authorSimon Bächler <[email protected]>2016-10-19 21:41:27 +0200
committerSimon Bächler <[email protected]>2016-10-19 21:41:27 +0200
commit8402d2321fcbab8f6800d1cd9f49553a92ac00a2 (patch)
tree3bc8c48a1c3f6190ebb848455dc2b1904da35245 /scss/mixins/_reset-text.scss
parentb5890e0608ad2262cde4a38e90afa19f1cb5d852 (diff)
downloadbootstrap-8402d2321fcbab8f6800d1cd9f49553a92ac00a2.tar.xz
bootstrap-8402d2321fcbab8f6800d1cd9f49553a92ac00a2.zip
Use a variable for the default font weights. Fixes #20741
Websites might use different weights such as medium or thin or use light as default weight instead of normal. Also referenced: #18605 and #16170.
Diffstat (limited to 'scss/mixins/_reset-text.scss')
-rw-r--r--scss/mixins/_reset-text.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/mixins/_reset-text.scss b/scss/mixins/_reset-text.scss
index bb882f2ac..b95273097 100644
--- a/scss/mixins/_reset-text.scss
+++ b/scss/mixins/_reset-text.scss
@@ -2,7 +2,7 @@
font-family: $font-family-base;
// We deliberately do NOT reset font-size or word-wrap.
font-style: normal;
- font-weight: normal;
+ font-weight: $font-weight-normal;
letter-spacing: normal;
line-break: auto;
line-height: $line-height-base;