Salla Twilight Luxury Pro Theme
This repository provides the production storefront and theme engineering system for the Salla Twilight engine. It is built on the Twig template architecture and is verified through diagnostic delivery harnesses.
Delivery Documentation and Client Handover Suite
The repository includes a four-part operational delivery suite located under the docs/delivery/ directory:
- Salla Delivery Standard (
docs/delivery/SALLA_DELIVERY_STANDARD.md): This document codifies the architectural boundaries between Project Type A and Project Type B. Project Type A handles the customization of a paid theme through the merchant dashboard. Project Type B handles bespoke theme engineering through local source files and the Salla Partners Portal. It also details the difference between Salla Twilight React 2026 and legacy Twig Webpack, the catalog ingestion rules for Salla API v2, and the requirements for pixel event deduplication. - Client Acceptance Checklist (
docs/delivery/ACCEPTANCE_CHECKLIST.md): This document contains the twelve verifiable quality gates that are required for formal client sign-off. These gates cover design fidelity, responsive breakpoints, live cart checkout journeys, pixel deduplication, technical SEO, and merchant dashboard training. - Commercial Proposal Template (
docs/delivery/PROPOSAL_TEMPLATE.md): This file provides a client-ready quotation framework with explicit inclusions, exclusions, prerequisite gates, revision windows, and a phased seven-day delivery schedule. - Portfolio Proof Protocol (
docs/delivery/PORTFOLIO_PROOF_GUIDE.md): This guide establishes the standards for presenting verifiable case studies without fictional claims, using the live demo storefagricastroand its verified theme configuration.
Technical Architecture Overview
The following table lists the primary components of the theme and where they live in the project:
| Component | Physical Path | Description |
|---|---|---|
| Theme Configuration | twilight.json |
Component registry, merchant customizer settings, and locale bindings |
| Root Layout | src/views/layouts/master.twig |
Accessible bilingual layout with Twilight hooks (head:start, head:end, body:end) |
| Page Templates | src/views/pages/ |
Storefront templates including index, product single, cart, and thank-you pages |
| Home Components | src/views/components/home/ |
Dynamic sections rendered through {% component home %} |
| Asset Pipeline | webpack.config.js |
Webpack 5 pipeline compiling SCSS and ES modules into the public folder |
| Verification Matrix | scripts/harness/ |
Diagnostic scripts enforcing code cleanliness, engine detection, and tracking audits |
Diagnostic Harness and CLI Commands
The verification suite evaluates theme integrity across nine deterministic tiers before code is deployed to live merchant stores:
| Verification Target | Command | Purpose |
|---|---|---|
| Full 9-Tier Matrix | pnpm run harness |
Evaluates all tiers from secrets to store verification |
| Skip Asset Rebuild | pnpm run harness:status |
Rapid matrix evaluation without re-running webpack |
| Repository Secrets Scan | pnpm run harness:secrets |
Scans workspace for unmasked OAuth tokens or credentials |
| Architecture Qualification | pnpm run harness:qualify |
Detects React Vite vs Twig Webpack and Type A vs Type B |
| Static Theme Validation | pnpm run harness:validate |
Validates twilight.json and Twig lifecycle hooks |
| Environment and CLI Check | pnpm run harness:env |
Verifies Salla CLI authentication and theme registration |
| Git Branch Synchronization | pnpm run harness:git |
Confirms local branch aligns with the remote repository |
| Pixel and Tracking Audit | pnpm run harness:tracking |
Verifies event deduplication and listener cleanup |
| Automated Test Suite | pnpm run test:harness |
Runs unit tests across all harness components |
Catalog and Ingestion Tooling
You can validate catalog payloads prior to importing 100-product batches into Salla API v2 by running the validator:
# Validates pricing keys, image availability, inventory counts, and pilot batch limits
python scripts/harness/validate_catalog.py path/to/products.jsonRefer to SALLA_OPERATIONAL_TRUTH.md for architectural boundaries, cloud dependency flow, and operational invariants.