From: Abraham Castro Date: Thu, 28 Jan 2016 18:17:29 +0000 (+0100) Subject: Added button-color-alt variable to mixin X-Git-Tag: v6.2.1~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8031%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Added button-color-alt variable to mixin The alternative font color for buttons wasn't working because it wasn't present in the button-style mixin --- diff --git a/scss/components/_button.scss b/scss/components/_button.scss index 67a006042..439d29173 100644 --- a/scss/components/_button.scss +++ b/scss/components/_button.scss @@ -99,7 +99,7 @@ $button-opacity-disabled: 0.25 !default; $color: $button-color ) { @if $color == auto { - $color: foreground($background); + $color: foreground($background, $button-color-alt, $button-color); } @if $background-hover == auto { @@ -203,7 +203,7 @@ $button-opacity-disabled: 0.25 !default; @each $name, $color in $foundation-colors { @if $button-fill != hollow { &.#{$name} { - @include button-style($color, auto); + @include button-style($color, auto, auto); } } @else {