less.ruby icon indicating copy to clipboard operation
less.ruby copied to clipboard

HSLA not supported

Open KennethSundqvist opened this issue 15 years ago • 1 comments

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

KennethSundqvist avatar Feb 22 '10 18:02 KennethSundqvist

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

jamesfoster avatar Feb 26 '10 08:02 jamesfoster