I am using bootstrap 4.0.0
in a project. I know that bootstrap defines variables such as --primary
to define the color of buttons (in this case .btn-primary
). Instead, I would like to have my custom color.
However, I didn't manage to set another "primary" color, even inserting the following snippet of code in the HTML
files before or after the <link>
tag for the bootstrap.css
.
<style>
:root {
--primary: #009c68;
}
</style>