]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Updating _buttons.scss border radius 6208/head
authorChristina Lutters <christina.lutters@gmail.com>
Tue, 20 Jan 2015 20:02:14 +0000 (15:02 -0500)
committerChristina Lutters <christina.lutters@gmail.com>
Tue, 20 Jan 2015 20:02:14 +0000 (15:02 -0500)
Updating `_buttons.scss` border radius mixin to set `$radius` to `true` (as described in the comment on line 137).

scss/foundation/components/_buttons.scss

index 022f6d5e1a2cbd166c878aec2509c35736fdb2c1..82718d158468be867a74936bb9e1a8ce57f083f4 100644 (file)
@@ -134,11 +134,11 @@ $button-disabled-cursor: $cursor-default-value !default;
 // We use this mixin to add button color styles
 //
 // $bg - Background color. We can set $bg:false for a transparent background. Default: $primary-color.
-// $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: true
+// $radius - If true, set to button radius which is $button-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
 // $bg-hover - Button Hover Background Color. Default: $button-bg-hover
 // $border-color - Button Border Color. Default: $button-border-color
-@mixin button-style($bg:$button-bg-color, $radius:false, $disabled:false, $bg-hover:null, $border-color:null) {
+@mixin button-style($bg:$button-bg-color, $radius:true, $disabled:false, $bg-hover:null, $border-color:null) {
 
   // We control which background styles are used,
   // these can be removed by setting $bg:false