For one of my projects I’ve made a _SASSGeneral file which includes all mixins and global variables. I import this file everywhere where needed (page templates and modules).
No I have a second project and I want to make this file globally available. This is no problem except for the fact that each project will have it’s own $ProjectColor variable (within the new _color.scss file). So now I have to import this file and it’s $ProjectColor variable to this general files.
Because each project will have it’s own _color.scss I have the need for a regex or some kind which handles the different map names. Can someone give me some tips or alternatives?