Create a Sub-theme for a LocalGov Drupal Website

We've put together a pretty cool base theme for the LocalGov Drupal distribution. Then we created a script for sub-theming. Everything is simple.

Add sensibile defaults to a Drupal theme - localgov_drupal

The long answer:

  1. cd to /web/themes/contrib/localgov_base
  2. run bash scripts/create_subtheme.sh
  3. done

The details are available in this short video:

I've started streaming some of my work, especially if it's contributions to open source, on twitch if you'd like to follow along/subscribe. As it turns out, Twitch deletes your videos after 14 days, so I have also been uploading them to YouTube. Feel free to subscribe.

Filed Under:

  1. Drupal Planet
  2. LocalGov Drupal
  3. sub-theming
  4. Drupal
  5. HTML
  6. CSS
  7. Twig
  8. JavaScript