# ShopDepot for developers > Documentation for building ShopDepot storefront themes: architecture, the Twig sandbox, objects, filters, settings and platform APIs. Every page below is plain Markdown. ## Themes: Overview - [Themes](https://shopdepot.dev/docs/themes.md): What a ShopDepot theme is, what it controls and what the platform keeps for itself. - [Create a theme](https://shopdepot.dev/docs/themes/getting-started.md): Get a development store, install the CLI, start from the reference theme and see your changes live. - [Using AI assistants](https://shopdepot.dev/docs/themes/ai-assistants.md): Connect the ShopDepot MCP server, give an AI coding assistant the docs and the rules it must not break. ## Themes: Developer tools - [ShopDepot CLI](https://shopdepot.dev/docs/themes/cli.md): Install the shopdepot command, connect it to a store and build themes from your terminal with a live preview. - [Theme API](https://shopdepot.dev/docs/themes/theme-api.md): The HTTP API behind the CLI: read and write theme files, preview, publish and check a theme with a developer token. ## Themes: Key concepts - [Theme architecture](https://shopdepot.dev/docs/themes/architecture.md): How layouts, JSON templates, sections, blocks and snippets fit together into a page. - [File structure](https://shopdepot.dev/docs/themes/file-structure.md): The directories of a theme and the rules every file is checked against when it is saved. - [theme.json](https://shopdepot.dev/docs/themes/theme-json.md): The theme manifest - identity, catalogue listing, pricing, menus and widgets the theme needs. - [Templates](https://shopdepot.dev/docs/themes/templates.md): JSON templates, alternate templates, section groups and the page types a theme renders. - [Sections and blocks](https://shopdepot.dev/docs/themes/sections-and-blocks.md): Write sections and theme blocks, declare their schemas, nest blocks, ship presets and use the core library. - [Settings](https://shopdepot.dev/docs/themes/settings.md): Theme settings, section and block settings, defaults, and what happens to the merchant's values on updates. - [Translations](https://shopdepot.dev/docs/themes/translations.md): Storefront texts and editor labels in locales/, the t filter and t: keys in JSON. ## Themes: Theme development - [The Twig sandbox](https://shopdepot.dev/docs/themes/twig-sandbox.md): What a theme template can do, what it cannot, and how to write Twig that works in it. - [Assets and fonts](https://shopdepot.dev/docs/themes/assets.md): CSS, JavaScript, images and fonts in assets/, how they are served and how to load them. - [Menus and widgets](https://shopdepot.dev/docs/themes/menus-and-widgets.md): Menu placements, link types, mega-menu panels, lazy menu levels and reusable widgets. - [Platform pages and components](https://shopdepot.dev/docs/themes/platform-pages.md): Brand tokens, the logo, the contact form, the cart summary, and the checkout and account pages your theme styles but does not build. - [JavaScript APIs](https://shopdepot.dev/docs/themes/javascript-apis.md): The storefront JSON endpoints a theme calls from the browser - cart, wishlist, back-in-stock alerts, search suggestions, menu levels, newsletter - and platform events. ## Themes: Best practices - [Performance and caching](https://shopdepot.dev/docs/themes/performance.md): Pages are cached and shared by every visitor - what that means for markup, images, scripts and data. - [SEO](https://shopdepot.dev/docs/themes/seo.md): What the platform writes into the head for every page, and what a theme should and should not add. - [Accessibility](https://shopdepot.dev/docs/themes/accessibility.md): The accessibility baseline the theme store expects - structure, keyboard, contrast, motion and forms. ## Themes: Sell themes - [Publishing and the theme store](https://shopdepot.dev/docs/themes/publishing.md): How a theme gets into the theme store - listing, pricing, demo store, versions, updates, trials and licences. - [Review checklist](https://shopdepot.dev/docs/themes/checklist.md): What the theme store checks before a theme is listed. Go through it before you send a package. ## Reference: Twig - [Reference](https://shopdepot.dev/docs/reference.md): Everything a theme can read and call, generated from the platform code. - [Objects](https://shopdepot.dev/docs/reference/objects.md): Every object a theme can read - the store, offers, carts, categories, menus, content and the section being rendered. - [Filters](https://shopdepot.dev/docs/reference/filters.md): Every filter a theme can use: ShopDepot filters for prices, images, assets and translations, plus the allowed Twig filters. - [Functions](https://shopdepot.dev/docs/reference/functions.md): Every function a theme can call: rendering blocks, snippets and widgets, platform components, data queries and store addresses. - [Tags](https://shopdepot.dev/docs/reference/tags.md): Twig tags allowed in theme files, and the theme tags for schemas, styles, scripts and documentation. ## Reference: Theme files - [Page types](https://shopdepot.dev/docs/reference/page-types.md): Every page a theme renders, its JSON template, its address and the variables it receives. - [Setting types](https://shopdepot.dev/docs/reference/setting-types.md): Every input type for theme, section and block settings, and what a template receives for it. - [Core sections and blocks](https://shopdepot.dev/docs/reference/core-sections.md): Sections and blocks the platform ships to every theme, with their settings. ## Changelog: Updates - [Changelog](https://shopdepot.dev/docs/changelog.md): Changes to the theme contract and to this documentation, newest first. Everything in one file: https://shopdepot.dev/llms-full.txt MCP server (search the docs, look up the reference, validate theme files): https://shopdepot.dev/mcp