less-plugin-theme-creator
v1.0.1
Published
create theme.css from regular less files by simple ruleset
Downloads
2
Maintainers
Readme
less-plugin-theme-creator
Creates a theme file like Bootstrap's "bootstrap-theme.css" from existing full less project files.
lessc usage
Install..
npm install -g npm i less-plugin-theme-creator
Programmatic usage (Grunt example)
module.exports = function(grunt) {
grunt.initConfig({
less: {
development: {
options: {
paths: ['less'],
plugins : [
new (require('less-plugin-theme-creator'))({
replacements: {
'@brand-primary': 'FF00F2'
}
})
]
},
files: {
"dist/theme.css": "less/bootstrap.less",
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-less');
grunt.registerTask('default', ['less']);
};
Browser usage
Browser usage is not supported at this time.