Magento 2 theme structure is basic and important part which are need to understand during whenever someone want to explore the Magento 2 E-commerce Solution.
In Magento 2 themes files are located in app/design/frontend/<Vendor>/. And built in theme are located in vendor/magento/theme-frontend whenever magento 2 instance is deployed from composer.
Typical Structure Of Magento 2 Theme Directory:
following is the structure of theme directory
Lets explain each of directory and file for theme in details.
Module specific styles, layouts and templates contain in this folder.
This folder contain file view.xml which have configuration for for stores product images, thumbnail.
All translation csv files are located in this i18n folder.
It contains screenshot of theme file for preview.
All static files like css, js and images for background will be located in this folder for loading into frontend.
It have theme dependencies and some meta-information.
This file is required to register your theme in the system.
It contains the basic meta-information, like the theme name and the parent theme name, if the theme is inherited from an existing theme. The file is used by the Magento 2 system to recognize the theme.
Required Files For Magento 2 Theming:
Following is the list of files which are required for magento 2 theming system.
This is introduction for magento 2 theming. Advance topic will be discussed in later on.