Sass takes the first part of the filename before the first "."
So bar.$color will work if you choose to take the namespace sass automatically uses
bar.$color