From 8402d2321fcbab8f6800d1cd9f49553a92ac00a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20B=C3=A4chler?= Date: Wed, 19 Oct 2016 21:41:27 +0200 Subject: [PATCH] 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. --- scss/_buttons.scss | 2 +- scss/_dropdown.scss | 2 +- scss/_input-group.scss | 2 +- scss/_normalize.scss | 2 +- scss/_type.scss | 2 +- scss/_variables.scss | 15 +++++++++------ scss/mixins/_reset-text.scss | 2 +- scss/utilities/_text.scss | 4 ++-- 8 files changed, 17 insertions(+), 14 deletions(-) diff --git a/scss/_buttons.scss b/scss/_buttons.scss index 119cf1c050..3d5089c4f5 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -105,7 +105,7 @@ fieldset[disabled] a.btn { // Make a button look and behave like a link .btn-link { - font-weight: normal; + font-weight: $font-weight-normal; color: $link-color; border-radius: 0; diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 47702e7955..1f57955bc0 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -68,7 +68,7 @@ width: 100%; // For `