Subthemes
One point of interest in Drupal 8 is that there is a new base theme named Classy, which both Bartik and Seven reference. This means that Bartik and Seven in reality are subthemes. So why not learn from the best, in this case, Morten Birch Heide-Jørgensen, otherwise known as "Div Killer." Morten has come through, as his nickname suggests, and created one hell of a base theme.
To become a little more intimate with this new base theme, we will create a subtheme of our own called Sassy. Since the steps involved to create and install a subtheme are similar to a starter theme, we will progress a little faster through this first part.
Adding the theme folder
Begin by navigating to our themes
folder and create a new folder inside named sassy
.
Including a screenshot
Go ahead and copy screenshot.png
from the Chapter04/start/themes/sassy
folder and place it within the themes/sassy
folder.
Configuring our theme
Begin by creating a new file in our themes/sassy
folder named sassy.info.yml
and add the...