From 28db665f67b02e94a4b8931444c1ac9544f184fd Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Mon, 25 Dec 2017 11:29:53 +0100 Subject: [PATCH] fix: allow to use inherit/global font-weight for button --- scss/components/_button.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scss/components/_button.scss b/scss/components/_button.scss index 7c9fc0533..4e21c817f 100644 --- a/scss/components/_button.scss +++ b/scss/components/_button.scss @@ -11,8 +11,9 @@ $button-font-family: inherit !default; /// Font weight for button elements. +/// Ignored if null (default) /// @type Font-Weight -$button-font-weight: inherit !default; +$button-font-weight: null !default; /// Padding inside buttons. /// @type List @@ -95,9 +96,7 @@ $button-responsive-expanded: false !default; vertical-align: middle; margin: $button-margin; font-family: $button-font-family; - @if ($button-font-weight != inherit && $button-font-weight != $global-weight-normal) { - font-weight: $button-font-weight; - } + font-weight: $button-font-weight; @if (type-of($button-padding) == 'map') { @each $size, $padding in $button-padding { -- 2.47.2