Drupal 9 - Create a sub-theme

By ReginaHack, 28 June, 2020

One of the things I wanted to do is, have my formatted source code inside the blog articles styled in a different way. To support the community and Drupal9 fancy new things, I used the 'Olivero' theme originally. Now I had to create a sub-theme to be able to change things. Drush to the rescue!

lando drush generate theme

Drush lando olivero subtheme

Creates all the folders and files needed. Don't forget to rebuild the cache with:

lando drush cr