1

I am creating custom theme in magento 2. Is it necessary to assign parent theme to my new custom theme.

 <parent>Vendor/theme</parent>

I want to develop whole things from the scratch, that's why I don't want to include parent theme.

  • 1
    no need if you develop everything on your own, if not you suppose get basic thins like parent styles and layout from parent theme. That's why we include parent theme – Prathap Gunasekaran Mar 15 '19 at 12:15

2 Answers2

4

Parent theme is not necessary to defined it

It is not necessary to define parent theme check here
also if you do not set a parent theme you can create all your own CSS of theme becuase it is scratch
also if you want to create your parent theme in template,layout,css,extension then here available

Rakesh Donga
  • 5,344
  • 2
  • 24
  • 57
2

No it is not necessary, if you do not set a parent theme you can create all your CSS from scratch. See this post for an example - Theming for Magento 2 - Starting from scratch

Ben Crook
  • 15,685
  • 3
  • 52
  • 104