less-plugin-theme-creator

1.0.1 • Public • Published

NPM version Dependencies devDependency Status optionalDependency Status

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.

Package Sidebar

Install

npm i less-plugin-theme-creator

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • hoogi