]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
[BUGFIX] Re-introduce `true` default value for button radius mixin 5271/head
authorAdrian Föder <adrian@foeder.de>
Thu, 5 Jun 2014 16:25:39 +0000 (18:25 +0200)
committerAdrian Föder <adrian@foeder.de>
Thu, 5 Jun 2014 16:25:39 +0000 (18:25 +0200)
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

index b9ac42cac79c3cff4a10757b363db2ed7d34bbb1..013b07f9d9a17127c3f4a887418cd92359f92554 100644 (file)
@@ -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