Is there a way to incorporate a new custom theme color without having to modify the bootstrap variable.scss file directly?
I have successfully updated existing colors, but I am struggling to add a completely new theme color using the same method.
File structure
@import 'custom_variables';
@import './bootstrap/bootstrap';
@import './pages/home';
custome_variables.scss
$theme-colors: (
"primary": #2c67f4, // successfully edited existing color
"danger": #ff4136,
"custom" : "red" // not working when adding new color theme
);
Tried with code but no luck
$theme-colors: map-merge(
(
"custom": "red",
),
$theme-colors
);