Changing Variables from Library to be Different Values in Current File

Is there a way to substitute the values of inherited variables from other files in my library?
For instance, I want to have the color variable “Error” be #ff4040 in master file while having that very same variable be #F02090 in a different file I’m working on- Additionally that variable is being used in various asset instances that I call from the master file.
So, if I inserted an asset component with “Error”(#ff4040) background color from my library, it would have #f02090 as its background in the current file.