From ef0a18dc04e1b48cf99e1f35a8bda55dab32a42e Mon Sep 17 00:00:00 2001 From: harry Date: Sat, 28 Jan 2017 20:03:21 +0530 Subject: [PATCH] Closes #9709 Added a variable button-hollow-width for border width --- scss/components/_button.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scss/components/_button.scss b/scss/components/_button.scss index 032e71c6d..e9eaf117b 100644 --- a/scss/components/_button.scss +++ b/scss/components/_button.scss @@ -38,6 +38,10 @@ $button-color-alt: $black !default; /// @type Number $button-radius: $global-radius !default; +/// Border width for hollow outline buttons +/// @type Number +$button-hollow-width: 1px !default; + /// Sizes for buttons. /// @type Map $button-sizes: ( @@ -144,11 +148,12 @@ $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-width ) { $color-hover: scale-color($color, $lightness: $hover-lightness); - border: 1px solid $color; + border: $border-width solid $color; color: $color; &:hover, &:focus { -- 2.47.2