mirror of https://github.com/twbs/bootstrap.git
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:
parent
ca7b7cd377
commit
5b8738afc1
|
@ -58,7 +58,11 @@ fieldset[disabled] a.btn {
|
||||||
|
|
||||||
@each $color, $value in $theme-colors {
|
@each $color, $value in $theme-colors {
|
||||||
.btn-outline-#{$color} {
|
.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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue