less.ruby
less.ruby copied to clipboard
HSLA not supported
When trying to run the following code through lessc I get the following error;
Code: a { color: hsla(0,0%,0%,1) }
Error: /var/lib/gems/1.8/gems/less-1.2.21/bin/../lib/less/engine/nodes/function.rb:25:in 'hsla': undefined method '<=' for [0.0%]:Less::Node::Expression (NoMethodError)
$ lessc -v lessc 1.2.21
checkout the following link for the dotless implementation of hsla as well as other color manipulation functions.
http://github.com/chrisjowen/nLess/blob/master/src/dotless.Test/Spec/Functions/FunctionFixture.cs