Skip to content

Commit 5b8738a

Browse files
committed
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.
1 parent ca7b7cd commit 5b8738a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scss/_buttons.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ fieldset[disabled] a.btn {
5858

5959
@each $color, $value in $theme-colors {
6060
.btn-outline-#{$color} {
61-
@include button-outline-variant($value, #fff);
61+
@if $color == "light" {
62+
@include button-outline-variant($value, $gray-900);
63+
} @else {
64+
@include button-outline-variant($value, $white);
65+
}
6266
}
6367
}
6468

0 commit comments

Comments
 (0)