I have recently upgraded my bootstrap from v4.5.3 to v5.2.3 for my angular project. After the upgrade i started encountring compilation problem in my project, stating error such as @theme-color-rgb variable undefined. I did tried to find solution to it and added new file of Maps.scss in my bootstrap file of project, and defining the variable @theme-color-rgb in there.
But after compiling agin i got error for different variables as mentioned below:
$theme-colors-text $theme-colors-bg-subtle $theme-colors-border-subtle $theme-colors-text-dark
$theme-colors-bg-subtle-dark $theme-colors-border-subtle-dark.
I defined all the variable again in a separate file name “variabless”.
After which i still got error while compliation about $theme-colors-text as undefined and @import “bootstrap/scss/code” file not found.
How should i solve this errors.