To create a theme in Drupal 8 from scratch, use the following steps:

  • Create a theme folder inside Drupal 8 to store your theme in a .info.yml file and libraries file.
  • Create the .info.yml file
  • Create the .libraries.yml file.
  • Start creating the stylesheets
  • Now, create designs and then, you have your own theme in Drupal 8.
BY Best Interview Question ON 12 May 2020