These are chat archives for less/less.js

4th
Dec 2015
ian505c5
@ian505c5
Dec 04 2015 01:48 UTC
Has anyone ever generated a less file based on selections made in a UI? For example, it would be a theme.less, where you can specificy the @appBgColor, through a color picker.
I’m thinking something like a JSON doc of property/value pairs thats processed by blank and the output is my less file. This can be done either through some sort of template, or manually line by line I guess, just curious if anyone has been down this path or know of tooling so I don’t reinvent the wheel
Zephraph
@zephraph
Dec 04 2015 01:55 UTC
I haven't done it personally, but I'm looking to do something similar in the near future.
Adam Laycock
@Arcath
Dec 04 2015 14:34 UTC
@ian505c5 i have done it using the wordpress theme customizer