Values, in key-value format. If the value is undefined (or null or empty string), the variable will be removed.
Optional
ext_id: stringOptional: Addon ID of the skin. If specified, the LESS variables will only apply to the one skin.
Optional
flush: booleanOptional: Flush (reset) existing LESS variables
// The following will be interpreted as "@warningColor: red;" and Monkey Groove's main color will be changed to red.
setLessValues({warningColor: 'red'}, 'Monkey Groove');
// The following will remove the custom "@warningColor: red;" from the previous example, on the Monkey Groove skin only.
setLessValues({warningColor: ''}, 'Monkey Groove');
setLessValues({warningColor: null}, 'Monkey Groove');
// The following will be interpreted as "@textColor: green;" and be applied to ALL skins.
setLessValues({textColor: 'green'});
setLessValues
[ADDED IN VERSION 5.0.2]
Set runtime values for LESS variables, for skins, without destroying existing values.