Discovering a strange behavior in the custom.scss file of Bootstrap, I realized that setting a custom color and removing the !default flag doesn't cascade down as expected. For example, updating $blue to #000 without !default in _custom.scss should ideally affect all variables referencing it. However, after testing this out with $brand-primary and $btn-primary-bg in _variables.scss, I found out that each variable needs to be explicitly mentioned in the custom.scss file without the !default flags for the changes to take effect.
This means instead of simply defining $blue: #000000; in the custom.scss file, one would have to list all related variables like:
$blue: #000000;
$brand-primary: $blue;
$btn-primary-bg: $brand-primary;
Is there something I'm overlooking here? Shouldn't setting the custom color once automatically update all linked variables? This current process seems quite inefficient to me.