chg: pkg: SWC-89 change the structure from sw plugin to sw theme
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
"license": "MIT",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"EtailWestTheme\\": "src/"
|
||||
"EtailConferenceTheme\\": "src/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"shopware-plugin-class": "EtailWestTheme\\EtailWestTheme",
|
||||
"shopware-plugin-class": "EtailConferenceTheme\\EtailConferenceTheme",
|
||||
"label": {
|
||||
"en-GB": "eTail West theme plugin for presentation"
|
||||
}
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace EtailWestTheme;
|
||||
namespace EtailConferenceTheme;
|
||||
|
||||
use Shopware\Core\Framework\Plugin;
|
||||
use Shopware\Storefront\Framework\ThemeInterface;
|
||||
|
||||
/**
|
||||
* Class EtailWestTheme
|
||||
* Class EtailConferenceTheme
|
||||
*
|
||||
* @package EtailWestTheme
|
||||
* @package EtailConferenceTheme
|
||||
* @author Lang <https://www.splendidbear.org>
|
||||
* @category Class
|
||||
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License
|
||||
* @link www.splendidbear.org
|
||||
* @since 2023. 02. 15.
|
||||
*/
|
||||
class EtailWestTheme extends Plugin
|
||||
class EtailConferenceTheme extends Plugin implements ThemeInterface
|
||||
{
|
||||
}
|
||||
0
src/Resources/app/storefront/dist/storefront/js/etail-conference-theme.js
vendored
Normal file
0
src/Resources/app/storefront/dist/storefront/js/etail-conference-theme.js
vendored
Normal file
0
src/Resources/app/storefront/src/assets/.gitkeep
Normal file
0
src/Resources/app/storefront/src/assets/.gitkeep
Normal file
0
src/Resources/app/storefront/src/main.js
Normal file
0
src/Resources/app/storefront/src/main.js
Normal file
0
src/Resources/app/storefront/src/scss/base.scss
Normal file
0
src/Resources/app/storefront/src/scss/base.scss
Normal file
8
src/Resources/app/storefront/src/scss/overrides.scss
Normal file
8
src/Resources/app/storefront/src/scss/overrides.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Override variable defaults
|
||||
==================================================
|
||||
This file is used to override default SCSS variables from the Shopware Storefront or Bootstrap.
|
||||
|
||||
Because of the !default flags, theme variable overrides have to be declared beforehand.
|
||||
https://getbootstrap.com/docs/4.0/getting-started/theming/#variable-defaults
|
||||
*/
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
|
||||
<services>
|
||||
|
||||
</services>
|
||||
</container>
|
||||
22
src/Resources/theme.json
Normal file
22
src/Resources/theme.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "EtailConferenceTheme",
|
||||
"author": "Shopware AG",
|
||||
"views": [
|
||||
"@Storefront",
|
||||
"@Plugins",
|
||||
"@EtailConferenceTheme"
|
||||
],
|
||||
"style": [
|
||||
"app/storefront/src/scss/overrides.scss",
|
||||
"@Storefront",
|
||||
"app/storefront/src/scss/base.scss"
|
||||
],
|
||||
"script": [
|
||||
"@Storefront",
|
||||
"app/storefront/dist/storefront/js/etail-conference-theme.js"
|
||||
],
|
||||
"asset": [
|
||||
"@Storefront",
|
||||
"app/storefront/src/assets"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user