Skip to content

Commit

Permalink
Updating less.php, 299
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantcholakov committed Jan 25, 2016
1 parent f43453c commit d8bb96f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/common/classes/Less/Functions.php
Expand Up @@ -813,11 +813,11 @@ private function _isa($n, $type) {
return is_a($n, $type) ? new Less_Tree_Keyword('true') : new Less_Tree_Keyword('false');
}

public function tint($color, $amount) {
public function tint($color, $amount = null) {
return $this->mix( $this->rgb(255,255,255), $color, $amount);
}

public function shade($color, $amount) {
public function shade($color, $amount = null) {
return $this->mix($this->rgb(0, 0, 0), $color, $amount);
}

Expand Down

0 comments on commit d8bb96f

Please sign in to comment.