Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2934 from nschonni/fix(mix)--Align-argurment-name…
Browse files Browse the repository at this point in the history
…s-to-color1/color2

fix(mix): Align argurment names to color1/color2
  • Loading branch information
mgreter authored Jul 15, 2019
2 parents 0f3d6ad + 3844174 commit c81a8e5
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 c81a8e5

Please sign in to comment.