]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update button mixin comments to clarify transparency options 6094/head
authorDoxxon <doxxon.co@gmail.com>
Wed, 10 Dec 2014 10:02:47 +0000 (18:02 +0800)
committerDoxxon <doxxon.co@gmail.com>
Wed, 10 Dec 2014 10:02:47 +0000 (18:02 +0800)
doc/includes/buttons/examples_buttons_custom_mixin.html
scss/foundation/components/_buttons.scss

index 181655bd85b09e62845e1a8ba388e75134ad8bef..07cc755c54fba7e2afe15dfc46e0f2f4b580887a 100644 (file)
@@ -5,7 +5,7 @@
   @include button(
     // $padding - Used to build padding for buttons Default: $button-med or rem-calc(12)
     $padding,
-    // Primary color set in settings file. Default: $primary-color.
+    // Background color. We can set $bg:false for a transparent background. Default: $primary-color.
     $bg,
     // If true, set to button radius which is $global-radius or explicitly set radius amount in px (ex. $radius:10px). Default:false.
     $radius,
index 0e7a58f8c2337a2f79b2e4e70829fabb75a91413..022f6d5e1a2cbd166c878aec2509c35736fdb2c1 100644 (file)
@@ -133,7 +133,7 @@ $button-disabled-cursor: $cursor-default-value !default;
 //
 // We use this mixin to add button color styles
 //
-// $bg - Primary color set in settings file. Default: $button-bg.
+// $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
 // $disabled - We can set $disabled:true to create a disabled transparent button. Default: false
 // $bg-hover - Button Hover Background Color. Default: $button-bg-hover