Skip to content

Shopify Theme Handbook

How we build Shopify themes, from a blank folder to a Theme Store submission. Written for developers who already know Shopify and Liquid.

Need a fast, tickable QA pass or a one-page scan of the 22 Theme Store rules? Use the Theme Store Checklist — a lightweight companion site kept separate from this handbook.

SectionCovers
1. Getting StartedWhat this handbook covers, prerequisites, your first local preview
2. Theme Store RequirementsEvery Shopify requirement, in plain English, with code examples
3. Codebase StructureFolders, theme blocks, sections, naming conventions, modern platform features
4. Scaffold Setup GuideStep by step: empty folder → working section and block
5. AI-Assisted DevelopmentHow we build most things from here on: AGENTS.md, Figma MCP, Claude commands, Shopify’s own AI Toolkit
6. GitHub WorkflowBranching, PR review, CI automation — the loop you’ll use for everything from here on
7. CSSUnits (rem/em/62.5%), cascade & specificity, custom properties, architecture & naming, stylesheet/style tags, modern features, performance
8. JavaScriptArchitecture & state/events, Web Components (both patterns), the {% javascript %} tag, theme editor events, modern features, performance
9. Style GuidesLiquid, clean code, third-party libraries
10. Design System & ConfigurationFigma tokens, the three-tier token model
11. Config & Global Settingssettings_schema.json & settings_data.json rules/conventions, what’s required vs. optional
12. PresetsTheme, section, and block presets — real-world examples, benefits, and every rule marked mandatory or optional
13. ColorsColor palettes, color schemes, color tokens, Liquid color filters, color accessibility — everything color, dev and merchant perspective
14. Fontsfont_picker settings, the type scale, the font object and font_face/font_modify, font accessibility & performance
15. SpacingThe spacing scale, range settings, logical properties — everything spacing, dev and merchant perspective
16. Assets ManagementIcons, responsive images, video, 3D/AR media — rendering, performance, and maintainability for every media type
17. Internationalization & Localesi18n/RTL requirements, locale file management, and how settings_schema.json’s t: keys resolve into them
18. PerformancePerformance strategy, the critical rendering path, budgets, built in from the start, not added later
19. AccessibilityAccessibility built into a section from the start, and kept consistent theme-wide
20. Quality & ValidationLinting, manual QA, the pre-submission checklist
21. PublishingPartner Dashboard, store setup, packaging, review, life after approval
22. Tooling & ConfigProject files, Theme-Store-only packaging, optional Tailwind/Alpine setup
23. Learning ArticlesStep-by-step deep dives: Liquid objects, maintainable code
24. ReferenceCheatsheet, glossary, and a curated tools directory

New here? Start with sections 1 to 4, in order. After that, use search (⌘K) to find whatever you need.

Examples throughout use Solis, our current Theme Store project. But this handbook applies to any Shopify theme we build.