Skip to content

Commit

Permalink
Added comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
meri committed Mar 17, 2016
1 parent be9e3e3 commit bca5cb2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,12 @@ protected String getName() {
}

class Contrast extends CssNameClashMultiParameterFunction {

// Return which of `color1` and `color2` has the greatest contrast with `color`
// according to the standard WCAG contrast ratio calculation.
// http://www.w3.org/TR/WCAG20/#contrast-ratiodef
// The threshold param is no longer used, in line with SASS.
// filter: contrast(3.2);
// should be kept as is, so check for color
@Override
public Expression evaluate(List<Expression> splitParameters, ProblemsHandler problemsHandler, FunctionExpression call, Expression evaluatedParameter) {
/*
Expand Down

0 comments on commit bca5cb2

Please sign in to comment.