From ac85c6929663c439cfad3300260c90f7af1d21b1 Mon Sep 17 00:00:00 2001 From: Abraham Castro Date: Thu, 28 Jan 2016 19:17:29 +0100 Subject: [PATCH] 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 --- scss/components/_button.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.47.2