/generator-center-subtheme

Yeoman generator for the Prototype Drupal theme

Primary LanguageCSS

generator-center-subtheme Build Status

Yeoman generator

Getting Started

If you don't have Yeoman installed yet, run the following.

npm install -g yo

To install generator-drupal-prototype from npm, run:

npm install -g generator-center-subtheme

Create a directory for your new theme. The following assumes you are running the commands from the root of your Drupal project.

mkdir sites/all/themes/my_new_theme
cd sites/all/themes/my_new_theme

Finally, initiate the generator:

yo center-subtheme

The generator will prompt you for a theme name and description then scaffold out a new theme.

License

MIT