method colorArgs documentation in bbn\Compilers\Less
Helper function to get arguments for color manipulation functions.
takes a list that contains a color like thing and a percentage
function($args)
{
return array(array('color', 0, 0, 0), 0);
}
list($color, $delta) = $args[2];
$color = $this->assertColor($color);
$delta = floatval($delta[1]);
return array($color, $delta);
}
Helper function to get arguments for color manipulation functions. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way