LESS for Fantom

Sunday, 22 January 2012 5:50pm

I worked up a Fantom wrapper around LESS this week. Code and docs over on BitBucket:

https://bitbucket.org/afrankvt/less

LESS is a great little "extension" to CSS that adds lots of convenient features like variables, mixins, and nested rules that make developing and managing complex CSS much easier.

The Fantom wrapper adds:

  • An API interface to compile LESS files from a Str input or a File reference
  • A simple command line interface for compiling LESS files to CSS files
  • A BuildTask for integrating LESS into your Fantom build pipeline