3

I have a need to do variable substitution at least in CSS from JavaScript (let's ignore whether that's client or server side for the moment). Ideally, I'd use the LESS syntax which offers more features than just variable substitution. Has anyone found a JS implementation of LESS?

1 Answer 1

6

The next version of LESS is written in JavaScript. I believe it will work from the client or server. I don't know how well it works right now, but it could be worth looking into.

The source code is at http://github.com/cloudhead/less.js.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! I didn't realize that LESS is being ported to JS. Looks great!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.