antd-theme-generator
Version:
This a script to generate color specific styles less file and which you can use to change theme dynamically in browser
15 lines (11 loc) • 398 B
JavaScript
(function(exports) {
var postProcessor = function() {};
postProcessor.prototype = {
process: function (css) {
return 'hr {height:50px;}\n' + css;
}
};
exports.install = function(less, pluginManager) {
pluginManager.addPostProcessor( new postProcessor());
};
})(typeof exports === 'undefined' ? this['postProcessorPlugin'] = {} : exports);