From: Jonathan Lepolt Date: Fri, 14 Nov 2014 13:55:47 +0000 (-0500) Subject: Fix usage of $active-color in mixin X-Git-Tag: v5.5.0~24^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6036%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix usage of $active-color in mixin --- diff --git a/scss/foundation/components/_switches.scss b/scss/foundation/components/_switches.scss index 6ae9d2751..f8fd2f67b 100644 --- a/scss/foundation/components/_switches.scss +++ b/scss/foundation/components/_switches.scss @@ -143,6 +143,7 @@ $switch-active-color: $primary-color !default; // $base-style - Apply base styles? Default: true. @mixin switch-style( $paddle-bg:$switch-paddle-bg, + $active-color:$switch-active-color, $radius:false, $base-style:true) { @@ -158,7 +159,7 @@ $switch-active-color: $primary-color !default; } input:checked + label { - background: $switch-active-color; + background: $active-color; } } @@ -201,7 +202,7 @@ $switch-active-color: $primary-color !default; $base-style:true) { @include switch-base($transition-speed, $transition-ease); @include switch-size($height); - @include switch-style($paddle-bg, $radius, $base-style); + @include switch-style($paddle-bg, $active-color, $radius, $base-style); } @include exports("switch") {