This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_posts/create-zen-sub-theme-using-drush.md
Oliver Davies 85a10c545b Run prettier on all *.md files
```
prettier '{app,source}/**/**.md' --write
```
2020-03-08 17:57:45 +00:00

1.1 KiB

title date excerpt tags
Create a Zen Sub-theme Using Drush 2013-09-06 How to quickly create a Zen sub-theme using Drush.
drupal
drupal-planet
drush
zen
theming

How to use Drush to quickly build a new sub-theme of Zen.

First, download the Zen theme if you haven't already done so.

$ drush dl zen

This will now enable you to use the "drush zen" command.

$ drush zen "Oliver Davies" oliverdavies --description="A Zen sub-theme for oliverdavies.co.uk" --without-rtl

The parameters that I'm passing it are:

  1. The human-readable name of the theme.
  2. The machine-readable name of the theme.
  3. The description of the theme (optional).
  4. A flag telling Drush not to include any right-to-left elements within my sub-theme as these aren't needed (optional).

This will create a new theme in sites/all/themes/oliverdavies.

For further help, type $ drush help zen to see the Drush help page for the zen command.