I would like to create a new button style in Bootstrap 4 with a white (#fff) text color. Mixin button-variant
automatically sets the text color based on the bac
This is similar to: How to create new set of color styles in Bootstrap 4 with sass
You need to use @include for the custom button, set the color:
, and pass in the appropriate mixin params...
.btn-custom {
@include button-variant(pink, red, red, #444, #333, red);
color: #fff;
}
https://www.codeply.com/go/EHwnjvUXac
Related: Extending Bootstrap 4 and SASS