modify the function on gradient in mixins less