If you add a BS styled button (e.g. btn-danger) the CSS "covers" its color by applying the current theme color. To reproduce the problem just create a new site by following the instructions in README and then create a hook with a button:
The button should be red because of the btn-danger class, but the background is overridden by the color of the current palette (the border is still red):
Moreover, there's a nasty interaction with hoovering; when the mouse is over the button the color reverts to the original red:
If you add a BS styled button (e.g. btn-danger) the CSS "covers" its color by applying the current theme color. To reproduce the problem just create a new site by following the instructions in README and then create a hook with a button:
The button should be red because of the
btn-danger
class, but the background is overridden by the color of the current palette (the border is still red):Moreover, there's a nasty interaction with hoovering; when the mouse is over the button the color reverts to the original red:
Unfortunately I don't know much about CSS and the internals of your code to understand where's the problem, but the culprit could be in https://github.com/razonyang/hugo-theme-bootstrap/blob/eed4b79b970961f2163d6506a4253f893f8dd1fa/src/scss/_main.scss#L45-L52