Skip to content

aiba/clj-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-less

A Clojure library for compiling less files to CSS.

It reuses a rhino context so subsequent compiles are fast.

All calls to clj-less.core/less are synchronized around a single atom, so they are potentially blocking.

Some parts ported from java to clojure from the official Java less compiler: https://github.com/marceloverdijk/lesscss-java

Install

Add the following dependency to your project.clj file:

[clj-less "0.1"]

Example

(use 'clj-less.core)

(less "@color: #4D926F;
       body { background: @color; }")

License

Copyright © 2012 Aaron Iba

Distributed under the Eclipse Public License, the same as Clojure.

About

Faster, threadsafe clojure less css compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published