From: Adrian Föder Date: Thu, 5 Jun 2014 16:25:39 +0000 (+0200) Subject: [BUGFIX] Re-introduce `true` default value for button radius mixin X-Git-Tag: v5.3.1~31^2~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5271%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git [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. --- 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