Describe Your Theme with an Info File for Drupal 8, 9, and 10

Info files, aka files, provide Drupal with metadata about your theme, the features it supports, and the regions that it defines. All themes are required to have a file, and creating one is generally the first step you'll take when creating a new theme.

In this tutorial we'll:

  • Create a new .info.yml file and define a new theme
  • Review the required key/value pairs of an .info.yml file
  • Enable our new theme in the Drupal UI

By the end of this tutorial you'll be able start a new theme by creating the required *.info.yml file and better understand its contents.