How to edit a theme's settings to update the color scheme and add a logo.
Themes in Drupal are responsible for the look and feel of your site. They provide the HTML markup, CSS, typography, images, and interactive experience that people encounter when they view your site. Each theme is a set of files including style sheets, Twig templates, Drupal-specific YAML files, images, and more, all contained within a directory. There are hundreds of community-contributed themes available. Themes are often one of the first places you'll start to modify the code and make your Drupal site truly unique.
Developers can create new themes to customize the look and feel of a site. This can be done by either extending an existing theme and making minor changes, or creating a completely custom design.
There are three different types of themes:
- core themes: themes that are included with Drupal core and live in the /core/themes directory
- contributed themes: themes that are download from Drupal.org, and are typically placed in the /themes/contrib directory
- custom themes: themes that you or a theme developer created specifically for your use case, and are typically placed in the /themes/custom directory
- Install a new theme
- Change the overall appearance of your Drupal site
- Modify the appearance of specific pages, or elements on a page
The basic concept of themes, how they are integrated into a Drupal site, and the role they play is unlikely to change. While it is possible to do so, there is little reason to use anything other than Twig as your theme engine. Resources labeled with Drupal 8 should also apply to Drupal 9.
- List of all contributed themes (Drupal.org)
- Search through the list of all contributed themes.
- Drupal User Guide: Finding Themes (Drupal.org)
- Learn how to find and evaluate themes on Drupal.org.
- Drupal User Guide: Downloading and Installing a Theme from Drupal.org (Drupal.org)
- Learn how to download a contributed theme and install it. Includes instructions for downloading with Composer, or manually.
- Theming Drupal (Drupal.org)
- Primary landing page for Drupal theming documentation.