Bootstrap 5 – Custom theme-colors not updating classes
Bootstrap 5.1.0 A recent change to the way the text- and bg- classes are created requires additional SASS map merges in 5.1.0 @import “functions”; @import “variables”; @import “mixins”; $tertiary: #3fb247; $custom-theme-colors:map-merge($theme-colors, ( “tertiary”: $tertiary )); $theme-colors: map-merge($theme-colors, $custom-theme-colors); $theme-colors-rgb: map-loop($theme-colors, to-rgb, “$value”); $utilities-colors: map-merge($utilities-colors, $theme-colors-rgb); $utilities-text-colors: map-loop($utilities-colors, rgba-css-var, “$key”, “text”); $utilities-bg-colors: map-loop($utilities-colors, rgba-css-var, “$key”, “bg”); … Read more