I use PHP (lessphp) to compile LESS files into CSS files on the server. I would like to pass a variable to a LESS file, like color or language:
compile('input.less?lang=en')
and use it as a variable in LESS like @lang.
Is it possible? If not, are there any workarounds?
Gregory bolkenstijn
source share