A high-conversion Shopify theme built on Dawn, featuring Light vs Dark product categories and modern UX enhancements.
npm install -g @shopify/cli @shopify/themeshopify login --store=your-store-name# Set up API credentials (one-time)
$env:SHOPIFY_STORE="yourstore.myshopify.com"
$env:SHOPIFY_ACCESS_TOKEN="shpat_xxxxx" # Get from Admin → Apps → Create custom app
# Run setup script
node setup_collections.jsThis will automatically create:
- Light Humor collection (handle:
light-humor) - Dark Humor collection (handle:
dark-humor) - 4 sample products with proper tags and inventory settings
See SETUP_COLLECTIONS.md for manual setup instructions.
shopify theme devshopify theme check- Duo Hero Section (
sections/duo-hero.liquid) – Split Light vs Dark cards with asymmetric styling - Design System (
assets/astra.css) – Fluid type scale, button variants, and accessibility utilities - Sticky Header with logo shrink-on-scroll effect
- Product Badges (
snippets/product-badges.liquid) – Bestseller, New, and Sold Out tags - Quick Add (
snippets/quick-add.liquid) – One-click ATC for single-variant products - Predictive Search (
snippets/predictive-search.liquid) – Live product suggestions as you type - Tag Filter Pills – Collection page tag filtering with active states
- Free Shipping Progress Bar (
snippets/cart-progress.liquid) – Visual threshold tracker - Cart Settings – Configurable free shipping threshold in Theme Settings
- Mega Menu (
snippets/mega-menu.liquid) – Configurable multi-column navigation - Improved Mobile Navigation – Touch-optimized drawer
- Font preloading for critical typography
- Comprehensive
focus-visiblestates for keyboard navigation prefers-reduced-motionsupport across animations- Optimized
.shopifyignoreto keep theme package under 50MB
- ⚡ Dev: Force products appear in stock – Override availability checks for preview
- ⚡ Dev: Show all sections – Surface all sections in theme editor
- Mega Menu Handle – Menu to use for mega menu content (default:
mega-menu) - Mega Menu Trigger Text – Top-level link that triggers mega menu (default:
Shop)
- Free Shipping Threshold – Dollar amount required for free shipping (default: $50)
- Go to Theme Customization → Homepage
- Add the Duo Hero section
- Configure:
- Light Card: Heading, text, CTA, optional image
- Dark Card: Heading, text, CTA, optional image
- Set collection links for each CTA
- Large assets (videos, high-res images) should be uploaded to Content → Files in Shopify Admin
- Reference them in Liquid using
{{ 'filename.ext' | file_url }} - See
.shopifyignorefor excluded file patterns
assets/
astra.css # Design system tokens
sections/
duo-hero.liquid # Light vs Dark hero
main-collection-product-grid.liquid # Enhanced with tag pills
header.liquid # Predictive search integration
snippets/
product-badges.liquid # Product tags
quick-add.liquid # Fast ATC
cart-progress.liquid # Free shipping bar
predictive-search.liquid # Search dropdown
mega-menu.liquid # Multi-column nav
feat(home): add duo-hero section (Light vs Dark)chore(css): add type scale + button variantsfeat(pdp+plp): product badges (new/bestseller/oos)feat(plp): quick-add for single-variant productsfeat(cart): free-shipping progress bar + settingfeat(search): lightweight predictive search dropdownfeat(nav): mega-menu with configurable handlefeat(collection): tag pills, per-page size, badges + quick-adda11y+perf: preloads, reduced-motion guard, focus statesperf: migrate heavy assets to Shopify CDN + tighten .shopifyignore
- Duo hero loads with balanced weight; CTAs link properly
- Predictive search shows 6 items with thumbnails; closes on outside click/escape
- Cart drawer shows progress bar and updates as qty changes
- Collection pills filter visually; badges show on cards
- Quick-add works for single-variant products
- Lighthouse mobile ≥ 90; no console errors
- Focus states visible for all interactive elements
- Reduced motion respected in animations