Less plugin for rewriting variable value
Install with npm
npm install -g less-plugin-rewrite-variable
var RewriteVariablePlugin = require("less-plugin-rewrite-variable"),
options = {
plugins: [
new RewriteVariablePlugin({
"@textColor": "#000000",
"@pageBackgound": "#FFFFFF"
})
]
};
less.render(css, options)
.then(...);
Browser usage is not supported at this time.
Licenses this source under MIT (LICENSE), You may not use this file except in compliance with the License.