From fa7ae8492668d1dfb159a0b90c7bd0a1299fcbde Mon Sep 17 00:00:00 2001 From: Richard LaFranchi Date: Wed, 16 Jul 2014 13:58:03 -0600 Subject: [PATCH] Fix for button hover colors fixes hover color per issue #5451 --- scss/foundation/components/_buttons.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scss/foundation/components/_buttons.scss b/scss/foundation/components/_buttons.scss index 60fd0c83c..791469305 100755 --- a/scss/foundation/components/_buttons.scss +++ b/scss/foundation/components/_buttons.scss @@ -133,9 +133,9 @@ $button-disabled-opacity: 0.7 !default; $bg-lightness: lightness($bg); background-color: $bg; - border-color: $bc; + border-color: scale-color($bg, $lightness: $button-function-factor); &:hover, - &:focus { background-color: $bh; } + &:focus { background-color: scale-color($bg, $lightness: $button-function-factor); } // We control the text color for you based on the background color. @if $bg-lightness > 70% { -- 2.47.2