From: Christopher Keele Date: Sun, 5 Mar 2017 08:18:15 +0000 (-0800) Subject: Respect $button-background for default buttons. X-Git-Tag: v6.4.0-rc1~97^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9839%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Respect $button-background for default buttons. Affects hollow and disabled buttons. Fixes #9838. --- diff --git a/scss/components/_button.scss b/scss/components/_button.scss index 26170a3ae..3c8c76d10 100644 --- a/scss/components/_button.scss +++ b/scss/components/_button.scss @@ -157,7 +157,7 @@ $button-transition: background-color 0.25s ease-out, color 0.25s ease-out !defau } @mixin button-hollow-style( - $color: $primary-color, + $color: $button-background, $hover-lightness: $button-hollow-hover-lightness, $border-width: $button-hollow-border-width ) { @@ -173,10 +173,10 @@ $button-transition: background-color 0.25s ease-out, color 0.25s ease-out !defau } /// Adds disabled styles to a button by fading the element, reseting the cursor, and disabling pointer events. -/// @param [Color] $background [$primary-color] - Background color of the disabled button. +/// @param [Color] $background [$button-background] - Background color of the disabled button. /// @param [Color] $color [$button-color] - Text color of the disabled button. Set to `auto` to have the mixin automatically generate a color based on the background color. @mixin button-disabled( - $background: $primary-color, + $background: $button-background, $color: $button-color ) { @if $color == auto {