You should be able to overwrite the prefix and custom colours (and any other default in any other file) at the same time.
Additional context
Looks like this might be a sass restriction. Might need to change the names of the defaults files to be scoped to their appropriate components (e.g. themes/theme-defaults, root-defaults, button-defaults).
Summary
When you try to forward multiple defaults files to override variables during sass compiling, you get the following error:
Error: This module was already loaded, so it can't be configured using "with".
Steps to reproduce
Have a setup like so:
Run
npm run build
and get an error.Expected Behaviour
You should be able to overwrite the prefix and custom colours (and any other default in any other file) at the same time.
Additional context
Looks like this might be a sass restriction. Might need to change the names of the defaults files to be scoped to their appropriate components (e.g. themes/theme-defaults, root-defaults, button-defaults).