From d45d1baba7a891c4a1a0b9d3f1bbcb3c22e4688b Mon Sep 17 00:00:00 2001 From: Date: Thu, 27 Jun 2019 23:38:51 -0400 Subject: [PATCH] fix(mix): Align argurment names to color1/color2 Closes #2894 --- src/fn_colors.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fn_colors.cpp b/src/fn_colors.cpp index c75195018a..64ce38048c 100644 --- a/src/fn_colors.cpp +++ b/src/fn_colors.cpp @@ -163,11 +163,11 @@ namespace Sass { c1->a()*p + c2->a()*(1-p)); } - Signature mix_sig = "mix($color-1, $color-2, $weight: 50%)"; + Signature mix_sig = "mix($color1, $color2, $weight: 50%)"; BUILT_IN(mix) { - Color_Obj color1 = ARG("$color-1", Color); - Color_Obj color2 = ARG("$color-2", Color); + Color_Obj color1 = ARG("$color1", Color); + Color_Obj color2 = ARG("$color2", Color); double weight = DARG_U_PRCT("$weight"); return colormix(ctx, pstate, color1, color2, weight);