oyejorge / less.php

less.js ported to PHP.
http://lessphp.typesettercms.com
Apache License 2.0
657 stars 2 forks source link

Parse variables? #365

Open danielwolf1 opened 6 years ago

danielwolf1 commented 6 years ago

Hi there,

is there any way to transform a php array which contains less varialbes and other less variables definitions, like this:

Array ( .... [var1] : #5F7285 [var2] : darken(@var1, 15%) .... )

into and array where all variable values are replaced and parsed? Thanks.