{# app/templates/admin/vendor-theme.html #} {% extends "admin/base.html" %} {% from 'shared/macros/alerts.html' import loading_state, error_state %} {% from 'shared/macros/headers.html' import page_header_flex %} {% block title %}Theme Editor - {{ vendor_code }}{% endblock %} {# ✅ CRITICAL: Binds to adminVendorTheme() function in vendor-theme.js #} {% block alpine_data %}adminVendorTheme(){% endblock %} {% block content %} {% call page_header_flex(title='Theme Editor', subtitle_var="'Customize appearance for ' + (vendor?.name || '...')") %} Back to Vendor {% endcall %} {{ loading_state('Loading theme...') }} {{ error_state('Error', show_condition='error && !loading') }}
Start with a pre-designed theme, then customize it to match your brand.
ACTIVE THEME
COLORS
Primary
Secondary
Accent
TYPOGRAPHY
Heading Font
This is body text font example. It will be used for paragraphs and descriptions.
BUTTONS
LAYOUT
Product Layout:
Header:
Product Card: