DominikGuzei / flawless.css

A full stack html5 and css3 framework that uses less.js as it's core to provide a truly modular system with addons and other cute stuff ;-D
MIT License
184 stars 11 forks source link

Refactor Less.js custom framework functions #11

Closed superstructor closed 13 years ago

superstructor commented 13 years ago

Currently there is one essential custom Flaw{LESS} framework function that is attached to less.tree.functions from less.js. There is also the ability for the end user of Flaw{LESS} to add extra custom functions.

As attaching custom functions to less.tree.functions requires a customized copy of the Less.js file custom functions do not work in environments other than the browser without significant hacking around.

Such environments include

I'm currently working on various solutions so that Flaw{LESS} functions can be used with vanilla Less.js. If you have any ideas on the best way to do this please leave a comment.