How to set custom button text color in Bootstrap 4 and Sass?
问题 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 background color. How can I use this mixin and set the color at the same time, without modifying _buttons.scss ? custom.scss .my_button { @include button-variant(HOW TO SET TEXT COLOR TO WHITE?); } _buttons.scss @mixin button-variant($background, $border, $hover-background: darken($background, 7.5%), $hover-border: darken($border, 10%),