# Themes

What a ShopDepot theme is, what it controls and what the platform keeps for itself.

A theme is the look of a ShopDepot store: the HTML, CSS and JavaScript of every storefront page. It is a folder of Twig templates, JSON and assets that the platform renders for each request, with the store's data passed in as read-only [objects](../reference/objects/index.md).

If you have built a Shopify Online Store 2.0 theme, most of this will feel familiar on purpose: layouts, JSON templates, sections, theme blocks, snippets, `{% schema %}`, `settings_schema.json` and locales work the same way. The templating language is **Twig** instead of Liquid, and it runs in a sandbox.

## What a theme controls

- **Page layouts** - the home page, offer pages, categories, content pages, the blog, search, the cart, feature pages (authors, brands) and the 404 page. See [Page types](../reference/page-types.md).
- **Sections and blocks** the merchant arranges in the theme editor, with the settings you declare.
- **Theme settings** - colours, fonts, logo, layout options - shared by every page.
- **Styles of platform components** - the contact form and the cart summary - through stable class names.
- **Brand tokens** the platform reuses on its own pages in the store.

## What the platform keeps

Some parts of a store are the same in every theme, because they have to work the same way everywhere and stay compliant:

| Area | Why the platform owns it |
| --- | --- |
| Checkout and the thank you page | Payments, consents and order rules. Merchants brand it in their settings. |
| Customer accounts, returns and complaints | Personal data and legal deadlines. |
| `<head>` metadata - description, canonical, Open Graph, robots | One SEO model per store, set by the merchant. |
| The contact form, newsletter sign-up and the cart summary | Consents, validation, rate limits and spam protection. |
| Scripts and tracking pixels | Added by the merchant, loaded only with consent. |

Your theme inherits all of this. It never has to implement a checkout or a login form, and it cannot break them. The pages the platform renders inside the store still look like your theme: they take colours, radius and fonts from your [brand tokens](platform-pages.md#brand-tokens).

## How a theme gets to a store

1. You build the theme locally, starting from the reference theme `base`.
2. You push it to a development store with the [CLI](cli.md) (or upload a ZIP), and the ShopDepot team publishes it to the theme registry.
3. The merchant installs it from the [theme store](publishing.md) or their library, customizes it in the theme editor and publishes it.

Every installation is a copy: the merchant's settings and edits live with their store, and a new version of your theme arrives as an update they accept.

## Where to go next

- [Create your first theme](getting-started.md)
- [Learn the architecture](architecture.md)
- [Browse the reference](../reference/index.md)
