How to pass a variable from PHP to LESS? -
i use php (lessphp) compile less files css files on serverside. pass variable less file, color or language:
compile('input.less?lang=en')
and use variable in less @lang.
is possible? if not, there workarounds?
this built in feature of lessphp, here's documentation: http://leafo.net/lessphp/docs/#setting_variables_from_php
Comments
Post a Comment