From 765673053bb21189c4b7fd452b8320545db6efa1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adrian=20F=C3=B6der?= Date: Thu, 5 Jun 2014 18:25:39 +0200 Subject: [PATCH] [BUGFIX] Re-introduce `true` default value for button radius mixin This re-introduces the correct change made in #4454 which was accidentally reverted with 9d029fcde921efca9a7b502956de9aaa0a7e12bb: The `button-style` mixin must have a default value of `true` in order for global radius settings taking effect. --- scss/foundation/components/_buttons.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/foundation/components/_buttons.scss b/scss/foundation/components/_buttons.scss index b9ac42cac..013b07f9d 100644 --- a/scss/foundation/components/_buttons.scss +++ b/scss/foundation/components/_buttons.scss @@ -120,7 +120,7 @@ $button-disabled-opacity: 0.7 !default; // $bg - Primary color set in settings file. Default: $button-bg. // $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: true // $disabled - We can set $disabled:true to create a disabled transparent button. Default: false -@mixin button-style($bg:$button-bg, $radius:false, $disabled:false) { +@mixin button-style($bg:$button-bg, $radius:true, $disabled:false) { // We control which background styles are used, // these can be removed by setting $bg:false -- 2.47.2