Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mix): Align argurment names to color1/color2 #2934

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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