Skip to content

Instantly share code, notes, and snippets.

@xndrdev
Created June 25, 2018 07:14
Show Gist options
  • Save xndrdev/840379becb69e86d302e23be1eeec74c to your computer and use it in GitHub Desktop.
Save xndrdev/840379becb69e86d302e23be1eeec74c to your computer and use it in GitHub Desktop.

Revisions

  1. xndrdev renamed this gist Jun 25, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. xndrdev created this gist Jun 25, 2018.
    34 changes: 34 additions & 0 deletions Theme.php CSS einfügen
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    <?php

    namespace Shopware\Themes\DEINTHEME;

    use Shopware\Components\Form as Form;

    class Theme extends \Shopware\Components\Theme
    {
    protected $extend = 'Responsive';

    protected $name = <<<'SHOPWARE_EOD'
    DEINTHEME
    SHOPWARE_EOD;

    protected $description = <<<'SHOPWARE_EOD'

    SHOPWARE_EOD;

    protected $author = <<<'SHOPWARE_EOD'

    SHOPWARE_EOD;

    protected $license = <<<'SHOPWARE_EOD'

    SHOPWARE_EOD;

    protected $css = [
    'src/css/hover-min.css'
    ];

    public function createConfig(Form\Container\TabContainer $container)
    {
    }
    }