1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

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.
This commit is contained in:
Simon Bächler
2016-10-19 21:41:27 +02:00
parent b5890e0608
commit 8402d2321f
8 changed files with 17 additions and 14 deletions

View File

@@ -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