diff options
| author | Mark Otto <[email protected]> | 2017-08-13 22:33:55 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-08-14 21:07:35 -0700 |
| commit | 5b8738afc1c7e746d6f08ec0f25f83603307de45 (patch) | |
| tree | 607711534241016f4cdee5b76d1450263f4edff3 | |
| parent | ca7b7cd3774c7ab90f415c91acacf00e9ba611ff (diff) | |
| download | bootstrap-5b8738afc1c7e746d6f08ec0f25f83603307de45.tar.xz bootstrap-5b8738afc1c7e746d6f08ec0f25f83603307de45.zip | |
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.
| -rw-r--r-- | scss/_buttons.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss index a708560b3..b4c28896b 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -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); + } } } |
