Local vs Global Variables

Is there a way to make local variables overwrite global (library) variables with the same name?

My idea is to create general components, and then assign styles on individual files using local variables for different project instances.


Would also like to know this. It would be very useful to have an option to override embedded variables with local ones.