Skip to content

Commit

Permalink
fix(mix): Align argurment names to color1/color2
Browse files Browse the repository at this point in the history
Closes sass#2894
  • Loading branch information
nschonni committed Jun 28, 2019
1 parent c713140 commit 3844174
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fn_colors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3844174

Please sign in to comment.