Summary
Having a greater appreciation for how Drupal 8 has reengineered their theming layer with the introduction of YAML to manage metadata makes working with themes much more enjoyable. Whether we are working with the default themes that are shipped with Drupal 8, installing prebuilt themes, or creating new themes from scratch, understanding what makes up a theme helps to ensure that we know how to best work with assets.
In this chapter, we explored the Appearance interface and installed, uninstalled, and configured themes and their many theme settings. We got a better understanding of how *.info.yml
and *.libraries.yml
work to manage a theme and its respective assets.
With our new theme in place, we can begin exploring Twig and all the great features that Drupal 8 introduces to us with this new templating engine in the next chapter.