I created the following SCSS to make what used to be the btn-default look in Boostrap 3. If I use the button directly on a page it shows as expected. However, if I use in inside of a table or a card then all I see is the border a text. The background is transparent and the font color is blue like a hyperlink instead of black.
Here is all I added.
.btn-default {
@extend .btn;
border-color: #BCBCBC;
}
This is how I use it.
<button type="button" id="btnReset" class="btn-default btn-sm">
<span class="fas fa-sync-alt" aria-hidden="true"></span> Reset
</button>
UPDATE - FIX
Based on the suggestions below this is what I came up with. It's not exactly the color of the BS3 but I liked it slightly darker than what BS3 used.
.btn-default {
$color-bg: #DCDCDC;
$color-border: #BCBCBC;
$hover-bg: #BFBFBF;
$active-bg: #BFBFBF;
@include button-variant( $color-bg, $color-border, $hover-bg, darken($color-border, 10%), $active-bg, darken($color-border, 12.5%) );
}