Upon careful consideration and investigation, I have come to two conclusions:
If you simply want to use these colors in a basic class, you can utilize the variable like so:
.custom
{
color:$indigo-300;
}
However, if you intend to use them as primary colors, for example in your styles.scss file:
// It is essential to import both scss/functions and scss/variables
@import "../node_modules/bootstrap/scss/functions";
@import "../node_modules/bootstrap/scss/variables";
$primary: $pink-600;
$secondary: $yellow-300;
$success: $green;
$info: $cyan;
$warning: $yellow;
$danger: $red;
$light: $gray-100;
$dark: $gray-900;
// Additionally, you must override the $theme-colors
$theme-colors: (
"primary": $primary,
"secondary": $secondary,
"success": $success,
"info": $info,
"warning": $warning,
"danger": $danger,
"light": $light,
"dark": $dark
);
@import '../node_modules/bootstrap/scss/bootstrap.scss';