Using variables from PHP code in your LESS files

assetic: filters: lessphp: apply_to: "\.less$" # Formatter options: compressed, lessjs, classic formatter: "compressed" preserve_comments: false presets: my_variable: "#000" http://isometriks.com/using-less-with-symfony2

SASS /LESS/ Color Variables

http://sachagreif.com/sass-color-variables/

Asset Management with Assetic. Configuration options

http://slides.liip.ch/static/2011-05-31_assetic/#14

Symfony2.1. How to integrate assetic lessphp filter

https://gist.github.com/3082684 https://gist.github.com/1844433

lessphp filter ignores @import statements

https://github.com/kriswallsmith/assetic/issues/109

lessphp

lessphp is a compiler for LESS written in PHP

LESS CSS Assetic Configuration in a Symfony2 Project

http://www.dobervich.com/2011/05/10/less-css-assetic-configuration-in-a-symfony2-project/ http://blogsh.de/2011/09/18/assetic-less/ http://xavierbriand.net/2012/02/09/symfony2-assetic-twitter-boostrap-and-less/ http://www.kiwwito.com/article/less-css-with-assetic-and-symfony-2

bootstrap less => common.less

https://github.com/markdotto/Preboot.less/blob/master/bootstrap.less