It's bootstrap 4.0 with SASS
My style.scss file contains the following code:
@import "../bootstrap/scss/bootstrap";
@import "colors";
@import "main";
and _colors.scss file contains the following code:
$bg-white : white;
$theme-colors: (
primary: #333333
)
You can see that I am just trying to override the $theme-color('primary') but the problem is this that it does nothing.
And If I shift @import "colors" in the start of the file style.scss It gives me following error:
error ../bootstrap/scss/_forms.scss (Line 284: $color: null is not a color for `rgba')
Actually, the style.scss file compiles to style.css file and that one is linked file.
Question: How I can override the $theme-color in bootstrap-4 when using SASS?
Any help will be appreciated, and Thanks in advance
Cheers.