generator-drupal-theme
v0.1.7
Published
A Yeoman generator to create Drupal themes. This is also build to create sub-themes of Zen, Omega, Aurora and Mothership.
Downloads
30
Maintainers
Readme
Drupal Theme Generator
Yeoman generator
=============================================================
|| _____ _ ||
|| | __ \ | | ||
|| | | | |_ __ _ _ _ __ __ _| | ||
|| | | | | '__| | | | '_ \ / _` | | ||
|| | |__| | | | |_| | |_) | (_| | | ||
|| |_____/|_| \__,_| .__/ \__,_|_| ||
|| |__ __| | | | ||
|| | | | |__ __|_| __ ___ ___ ||
|| | | | '_ \ / _ \ '_ ` _ \ / _ \ ||
|| | | | | | | __/ | | | | | __/ ||
|| _|_|_ |_| |_|\___|_| |_| |_|\___| ||
|| / ____| | | ||
|| | | __ ___ _ __ ___ _ __ __ _| |_ ___ _ __ ||
|| | | |_ |/ _ \ '_ \ / _ \ '__/ _` | __/ _ \| '__| ||
|| | |__| | __/ | | | __/ | | (_| | || (_) | | ||
|| \_____|\___|_| |_|\___|_| \__,_|\__\___/|_| ||
=============================================================
Getting Started
What is Yeoman?
Trick question. It's not a thing. It's this guy:
Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
$ npm install -g yo
Yeoman Generators
Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.
To install generator-drupal-theme from npm, run:
$ npm install -g generator-drupal-theme
Finally, initiate the generator:
$ yo drupal-theme
Creating a Sub Theme
This Yeoman generator allows you to create a sub-theme of any Drupal base theme. When you initiate the generator, it will ask you which Drupal base theme you would like to use. There are several packed with this, some of which will give you their own special code when you create a sub-theme. You can also specify any other base theme of your choice, by selecting "custom".
Getting To Know Yeoman
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.
If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.
License
MIT