Define a Drupal 8 theme with an .info.yml file.
A theme is a collection of files that define the presentation layer. You can also create one or more "sub-themes" or variations on a theme.
Adding regions to a theme requires:
Twig is the default template engine for Drupal 8.
Sub-themes are just like any other theme, with one difference: they inherit the parent theme's resources. There are no limits on the
Classy is a theme in Drupal 8 core that is used as a base theme for Bartik and Seven. Its purpose is to provide many classes throughout the
Document all css class selectors that are in the classy theme Drupal8 RC 2
Drupal has a powerful image manipulation system that allows for the creation of image styles that can perform various effects on an image
Many themers prefer to keep header / footer codes in a separate file and call the file in page.html.twig
Many Twig templates will have one or more attribute objects passed in as variables. The job of the Attribute object is to store a set of
Just like Drupal 7, you can affect the output of certain HTML via preprocess functions. For example, if you wanted to add a class to a menu
There is no user interface for editing breakpoints in Drupal 8. Due to the fact that breakpoints are config, it's not possible to provide a
In the Drupal administration section, each theme has its own settings page at admin/appearance/settings/themeName. And this page has a form
This is a list of some of the most noteworthy changes in Drupal 8 that affect theming.
Changes to core classes
This document was used during much of the Twig conversion process for Drupal 8 and could be useful to you too for updating your own themes
Using automation tools simplifies the task of creating themes. Here we are going to use gulpjs to create an automation tool for a custom
Which properties of a base theme do and don't get inherited by a sub-theme.
A table showing all elements with z-indexes in Drupal 8 core themes, modules and libraries.