aboutsummaryrefslogtreecommitdiff
path: root/scss/utilities
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/utilities
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/utilities')
-rw-r--r--scss/utilities/_text.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/utilities/_text.scss b/scss/utilities/_text.scss
index b4468e98d..5ad2ee9b3 100644
--- a/scss/utilities/_text.scss
+++ b/scss/utilities/_text.scss
@@ -26,8 +26,8 @@
// Weight and italics
-.font-weight-normal { font-weight: normal; }
-.font-weight-bold { font-weight: bold; }
+.font-weight-normal { font-weight: $font-weight-normal; }
+.font-weight-bold { font-weight: $font-weight-bold; }
.font-italic { font-style: italic; }
// Contextual colors