Skip to content

Commit

Permalink
Fix .btn-outline-light hover color
Browse files Browse the repository at this point in the history
Uses some if/else action to ensure there's readable text on hover. Swapped out a hex value to a variable while I was in there.

Fixes #23398, fixes #23351.
  • Loading branch information
mdo committed Aug 14, 2017
1 parent 7de266d commit 8bba121
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ fieldset[disabled] a.btn {

@each $color, $value in $theme-colors {
.btn-outline-#{$color} {
@include button-outline-variant($value, #fff);
@if $color == "light" {
@include button-outline-variant($value, $gray-900);
} @else {
@include button-outline-variant($value, $white);
}
}
}

Expand Down

0 comments on commit 8bba121

Please sign in to comment.