Skip to content

Commit

Permalink
Fix for button hover colors
Browse files Browse the repository at this point in the history
fixes hover color per issue #5451
  • Loading branch information
Richard LaFranchi committed Jul 16, 2014
1 parent 4f092ca commit fa7ae84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/foundation/components/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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% {
Expand Down

0 comments on commit fa7ae84

Please sign in to comment.