Fix SASS function syntax.
SASS variables must be defined before they're used.