Add a Screenshot to Your Theme for Drupal 8, 9, and 10

Contributed and custom themes can ship with a thumbnail screenshot that will be used to represent the theme when listing themes in the administration UI.

In this tutorial you'll learn how to:

  • Prepare your site for the screenshot
  • Create a screenshot of your theme
  • Define a screenshot file for your theme in the file