Creating a custom css style in mypagestyle.styl with the following properties:
:local .mybutton
border-radius: 1px;
padding: 2px;
margin: 2px;
font-size: 14px;
text-align: center;
background-color: #4582ec;
color: #fff;
All styles are being applied except for the color and background-color.
The color and background-color attributes seem to be ineffective.
In the jsx code, I have included the following:
<Button className={mypagestyle.mybutton}>{"Test"}</Button>
Upon inspecting the element, I noticed that the class is "btn btn-default" from Bootstrap styling, even though I did not specify any bootstrap classes like "btn btn-primary."
As a newbie, what am I doing wrong?
Thank you!