In my project, I've set up my custom.scss
file with the following code:
$primary: #e84c22;
$theme-colors: (
primary: $primary,
);
@import "~bootstrap/scss/bootstrap.scss";
Currently, the color looks like this:
https://i.sstatic.net/lbLMK.png
However, I am not happy with the text appearance inside the btn-primary
class. It is currently dark and regular font, but I want it to be white and bold without having to add the classes text-light
and fw-bold
to each button element. My desired look is like this:
https://i.sstatic.net/Go3yy.png
How can I achieve this by making changes to the custom.scss
file?
Additional information:
In contrast to the btn-danger
class
https://i.sstatic.net/ixBlc.png
which has white text by default. There should be a way to adjust the text color based on the brightness of the background color in bootstrap.