Hi,
I have not tried LESS yet, I am mostly looking for a solution for image processing, that is:
- Image maps:
Automatic creation of image maps from single images, and use them as background images with background-position.
LESS could generate the CSS for free. - Gradients:
Using a module like Imagene gradient generator, the code to use those images in CSS could be made more semantic.
Both of these problems suffer from CSS being not dynamic enough. A CSS preprocessor seems like the ideal complement.
-------------
LESS does already support custom functions, using $less->registerFunction().
All we need to do here is to provide a hook to expose the $less object to modules that want to modify it.
I'm going to open a new issue for that.
Comments
Comment #1
corey.aufang commentedFunctionality similar to this is coming down the pipe, follow here:
#1787160: Theme/module settings, variables, and functions...
Comment #2
donquixote commentedCool. Going to follow that one.