Skip to content

Commit fa7ae84

Browse files
author
Richard LaFranchi
committed
Fix for button hover colors
fixes hover color per issue #5451
1 parent 4f092ca commit fa7ae84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scss/foundation/components/_buttons.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ $button-disabled-opacity: 0.7 !default;
133133
$bg-lightness: lightness($bg);
134134

135135
background-color: $bg;
136-
border-color: $bc;
136+
border-color: scale-color($bg, $lightness: $button-function-factor);
137137
&:hover,
138-
&:focus { background-color: $bh; }
138+
&:focus { background-color: scale-color($bg, $lightness: $button-function-factor); }
139139

140140
// We control the text color for you based on the background color.
141141
@if $bg-lightness > 70% {

0 commit comments

Comments
 (0)