Create a simple theme with a base of main theme


<theme xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
    <title>Leela Theme</title>


use \Magento\Framework\Component\ComponentRegistrar;


You can skip this step, and run Step 4 if you just want to register and see it in admin tool, If you want to make design changes to your theme you can create this folder structure and overwrite CSS by writing your own CSS in _extend.less. I have added some basic overwrite CSS



    border:red 1px solid;


    .advanced {


Php bin/magento setup:upgrade
  1. Login to your adminstration tool of magento
  2. Go to Content -> Configuration
  3. You should see either single store or multiple store, click on Edit of the store you want to apply your theme
  4. You should see your theme name under drop down, in our case it ‘Leela Theme’ select it and click on apply
  5. Run following commands
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean