From 229db1a642801fb8e9bab5618df3f0500b319e69 Mon Sep 17 00:00:00 2001 From: ars Date: Wed, 29 Mar 2017 16:18:29 +0200 Subject: [PATCH] Add $button-font-family variable --- scss/components/_button.scss | 7 ++++++- scss/settings/_settings.scss | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scss/components/_button.scss b/scss/components/_button.scss index 26170a3ae..2e075afe0 100644 --- a/scss/components/_button.scss +++ b/scss/components/_button.scss @@ -6,6 +6,10 @@ /// @group button //// +/// Font family for button elements. +/// @type String | List +$button-font-family: $body-font-family !default; + /// Padding inside buttons. /// @type List $button-padding: 0.85em 1em !default; @@ -82,6 +86,7 @@ $button-transition: background-color 0.25s ease-out, color 0.25s ease-out !defau display: inline-block; vertical-align: middle; margin: $button-margin; + font-family: $button-font-family; @if (type-of($button-padding) == 'map') { @each $size, $padding in $button-padding { @@ -158,7 +163,7 @@ $button-transition: background-color 0.25s ease-out, color 0.25s ease-out !defau @mixin button-hollow-style( $color: $primary-color, - $hover-lightness: $button-hollow-hover-lightness, + $hover-lightness: $button-hollow-hover-lightness, $border-width: $button-hollow-border-width ) { $color-hover: scale-color($color, $lightness: $hover-lightness); diff --git a/scss/settings/_settings.scss b/scss/settings/_settings.scss index af784b6d6..d0d57e108 100644 --- a/scss/settings/_settings.scss +++ b/scss/settings/_settings.scss @@ -240,6 +240,7 @@ $breadcrumbs-item-slash: true; // 11. Button // ---------- +$button-font-family: $body-font-family; $button-padding: 0.85em 1em; $button-margin: 0 0 $global-margin 0; $button-fill: solid; -- 2.47.2