Fix .btn-outline-light hover color

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.
This commit is contained in:
Mark Otto 2017-08-13 22:33:55 -07:00 committed by Mark Otto
parent ca7b7cd377
commit 5b8738afc1
1 changed files with 5 additions and 1 deletions

View File

@ -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);
}
}
}