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 15, 2017
1 parent ca7b7cd commit 5b8738a
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 5b8738a

Please sign in to comment.