Download the PHP package alexvergara/alpaca-test-theme without Composer
On this page you can find all versions of the php package alexvergara/alpaca-test-theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alexvergara/alpaca-test-theme
More information about alexvergara/alpaca-test-theme
Files in alexvergara/alpaca-test-theme
Package alpaca-test-theme
Short Description M2Challenge Alex Test theme (Alpaca)
License MIT
Informations about the package alpaca-test-theme
Introduction
Magento 2 theme created on top of own components library, designed from scratch by SNOW.DOG front-end team following design systems methodology principles.
Demo
- Magento 2 Open Source + Alpaca theme - https://alpaca-ce-demo.snowdog.pro
- Magento 2 Open Source + Alpaca theme + Solr based catalog* - https://alpaca-ce-solr-demo.snowdog.pro
- Magento 2 Commerce + Alpaca theme - https://alpaca-demo.snowdog.pro
-
Magento 2 Commerce + Alpaca theme + Solr based catalog* - https://alpaca-solr-demo.snowdog.pro
- Apache Solr based catalog is an internal Snowdog product, not open-sourced. If you are interested in having it in your store, please contact us at [email protected]
Installation
- Install Magento using Composer
composer require snowdog/theme-frontend-alpaca
- Create
dev/tools/frontools/config/themes.json
config file following one of the samples:- Clean Alpaca
- Custom theme based on Alpaca
- Install Frontools dependecies and setup config files
cd vendor/snowdog/frontools && yarn && gulp setup
- In Frontools directory (or
/tools
in project root) rungulp styles && gulp babel && gulp svg
to compile all static assets
Child theme packages structure
Each theme is built from two packages:
- Magento theme
- Components library
This leads to 4 packages linked together to create a custom theme based on Alpaca:
- Alpaca components
- Alpaca theme - depends on Alpaca components
- Custom components - depends on Alpaca components
- Custom theme - depends on Alpaca theme and Custom theme components
Inheritance of components is solved on Frontools level, it's based on the same rules as in Magento core - files from child overwrite the parent.
Workflow
In the theme, you should keep almost only templates and JS. Do not create any non-magento specific styles inside your theme. Components are designed to be able to reflect your store UI, without having to run Magento instance. Implementing some part of UI directly inside theme will make components preview useless and you will lose all benefits of writing UI in separation.
Workflow exceptions
We don't want to mess with the checkout and product gallery (Fotorama) templates, nor styling, so these two parts are copy-pasted from the SASS Blank theme.
All versions of alpaca-test-theme with dependencies
magento/framework Version *
snowdog/module-alpaca-components Version ~1.3.0
alexvergara/alpaca-test-components Version ^1.0
snowdog/theme-frontend-alpaca Version ^1.3