# Publishing themes

Source: https://developers.swell.is/storefronts/selling-themes

You can publish a theme in the Theme Store on swell.is, where any Swell merchant can find and install it. A theme can be free or have a one-time price, and all of Swell's own themes are free. A paid theme is free to try, and a store pays its price when it first publishes the theme live. A theme is built for one storefront app and follows that app's theme rules.

Swell's free themes are licensed under the Swell App License. Paid themes are licensed to each store that buys them.

> **Note:** The Theme Store lists [Wave](https://developers.swell.is/storefronts/wave-app) themes today. The Wave page covers what's specific to building and selling one: `swell theme check`, its theme rules, the demo frame, licensing and development store limits.

## Before you start

- A Swell partner account. Sign up at partners.swell.store, then connect the theme app in the partner dashboard. See [App distribution](https://developers.swell.is/apps/distribution).
- For a paid theme, payouts set up through Stripe in the partner dashboard's Earnings section.
- A finished theme that passes its storefront app's checks, such as `swell theme check`.
- A demo store for the theme (see Demo store).

## What you can build on

A theme you publish must be substantially your own sections, blocks and layouts, not another theme with new colors and fonts.

| Starting point | Allowed |
| --- | --- |
| Swell's free themes | Yes. |
| Your own earlier themes and apps | Yes. |
| Another developer's theme or app, free or paid | No. |
| Any paid theme, including Swell's | No. |

A custom theme for one client can start from a paid theme the client's store has bought.

### Similarity check

Theme Store review compares a theme's own code, settings, assets and rendered pages with the other themes for the same storefront app. Files from Swell's free themes and your own apps are left out of the comparison, so building on them never counts against you. A theme that's too close to another theme is held for a reviewer.

The reviewer sees how the themes compare and decides. Nothing is rejected automatically.

## Listing

The Theme Store listing reads the theme app's `swell.json`, `DESCRIPTION.md` and images in `assets/`. Theme Store review expects:

- `description`: a one-line tagline, at most 70 characters.
- `assets/icon.*`: the theme's icon, and `assets/image.*`: its cover image.
- `preview_src` and `preview_mobile_src`: the desktop and phone screenshots, in `assets/`, written as the file's path from the app root. Take them from the theme's demo store.
- `support_email`: where merchants get help with the theme.
- `documentation_url`: the theme's guide for merchants.
- `theme.listing`: the Theme Store's filters, a `best_for` line and the demo store's `demo_url`.

**swell.json**

```json
{
  "id": "my_theme",
  "name": "My Theme",
  "type": "theme",
  "version": "1.2.0",
  "description": "A bright storefront for small batch food brands",
  "support_email": "themes@example.com",
  "preview_src": "assets/preview.png",
  "preview_mobile_src": "assets/preview-mobile.png",
  "theme": {
    "storefront": {
      "app": "wave"
    },
    "listing": {
      "industries": ["food_drink"],
      "styles": ["warm", "bold"],
      "features": ["subscriptions", "filters", "quick_add", "journal"],
      "catalog_sizes": ["few", "some"],
      "best_for": "Food and drink brands with a small, changing range",
      "demo_url": "https://<store>--<storefront>--preview.swell.store/__demo"
    }
  }
}
```

The Theme Store has labels for these `theme.listing` ids in `industries`, `styles`, `features` and `catalog_sizes`. Swell doesn't check the values, but an id that isn't listed here has no label or filter. A free theme that fits any kind of store leaves `industries` empty.

- **industries**: `fashion`, `beauty`, `jewelry`, `home`, `food_drink`, `electronics`, `outdoor`, `single_product`, `b2b`, `wellness`, `kids`, `digital`, `art`, `flowers_gifts`.
- **styles**: `minimal`, `editorial`, `bold`, `warm`, `utilitarian`, `playful`, `refined`.
- **features**: `subscriptions`, `mega_menu`, `filters`, `quick_add`, `compare`, `volume_pricing`, `lookbook`, `video`, `journal`, `sticky_buy`, `comparison`, `menu`, `pickup`, `locations`, `drops`, `size_guide`, `quick_order`, `trade_gate`, `group_pricing`, `shop_the_look`, `swatches`, `samples`, `delivery_date`, `gift_message`, `age_gate`, `clubs`, `bundles`, `bookings`, `memberships`, `gift_cards`, `licences`, `limited_editions`, `ingredients`, `routines`.
- **catalog_sizes**: `one` (a single product), `few` (2 to 10), `some` (11 to 500), `lots` (more than 500).

### Full description

`swell app push` uploads `DESCRIPTION.md` from the app root as the listing's full description. Aim for 3,500 characters or fewer, written for merchants in plain claims the theme can back up:

- an opening paragraph on the stores the theme is for and how it looks;
- a paragraph per signature feature, starting with a short bold phrase, saying what it does and which store data drives it;
- how merchants change the theme's look and edit its pages;
- a closing **Good to know** paragraph with what the theme needs (product attributes, content pages, other apps) and what it doesn't do yet.

**DESCRIPTION.md**

```txt
My Theme is a storefront for food and drink brands that sell a small, changing range. It is bright and generous, with large product photos and room for your story.

**Subscriptions up front.** Products with subscription plans show a subscribe option and its savings in the buy box.

**Make it yours without code.** Set fonts, spacing, buttons and cards in the theme editor, or ask the AI agent to recolor the store.

**Good to know.** Star ratings need a reviews app. There is no product video yet.
```

### Demo store

Each theme has a demo store: a store of yours running the theme with a catalog made for it. Its preview images are taken from it, and the Theme Store's View demo button opens it in a new tab. Set `theme.listing.demo_url` to the demo storefront's preview host, since development stores are test-only and a test storefront's live host opens only for the store's admins. If the storefront app has a demo frame, point the URL at it, as in this Wave example:

**swell.json**

```json
{
  "theme": {
    "listing": {
      "demo_url": "https://<store>--<storefront>--preview.swell.store/__demo"
    }
  }
}
```

A demo store counts toward your development store limit. The demo store's content follows these rules:

- a fictional brand with its own name, voice and story that doesn't resemble a real company, and no real people;
- plausible prices and complete descriptions, with the headings, attributes, options, variants, subscription plans, bundles and up-sells the theme's sections use;
- stock states that show every card state, including at least one sold-out product and one on sale;
- enough products for every section to look full, usually 18 to 36 in 4 to 8 categories;
- the content pages, blog posts, main menu and footer menu the templates expect, and store details and policies written for the brand;
- no placeholder text, and images without text, logos or watermarks.

### Install links

Once the theme is published, you can link merchants straight to installing it, for example from your own site:

```txt
https://swell.store/signup?redirect=/?install_theme=<public id>
```

The link signs a new merchant up, or has a signed-in merchant choose a store, then installs the theme as a new storefront, on trial for a paid theme. The public id is the theme app's id. For an app, use `install_app=<public id>`.

## Price

Set a theme's price in the partner dashboard: open the theme and choose **Edit price**. A paid theme has a one-time price per store, in US dollars, and a theme without a price is free. A price change applies at once, with no release, and the theme's page in the partner dashboard shows its price history.

Prices and sales are in the new partner dashboard.

A theme's price doesn't include the apps it requires. Each required app keeps its own price, and merchants see both in the install dialog: a paid required app is bought when the theme is installed, and the theme when it's first published live. The Theme Store shows the required apps on the theme's page. See [Required apps](https://developers.swell.is/storefronts/required-apps).

## Submit for review

Release a version with `swell app release`, then submit the release in the partner dashboard. See [App distribution](https://developers.swell.is/apps/distribution) and [App Store submission](https://developers.swell.is/apps/app-store-submission).

Swell reviews the theme against its storefront app's theme rules and runs the similarity check. A rejection names the requirements that failed. Fix them, then release and submit a new version.

Every new version goes through review before it reaches stores. Merchants get published versions as theme updates and choose when to apply them.

## How merchants buy a theme

Merchants install, preview and customize a paid theme free. A store that hasn't bought the theme is on trial, with no time limit:

- The merchant can preview the storefront, change its settings, templates, pages and images, and add the theme's own sections and blocks.
- The theme's code stays in Swell: the store can't read or edit its source, or download or pull its files.
- The storefront can't be published live.

A store is charged the first time it publishes a storefront with the theme live, at the price shown at that moment. That price is locked for the store. The charge is added once to the store's next Swell invoice and covers every storefront in the store. A merchant can also buy before publishing. Publishing in a test environment never needs a purchase. Updates are free, and sales are final. A purchase licenses the theme to that store only: the store can change the theme to suit it, but can't copy it, or a theme built from it, to another store, or transfer, sell or share it.

A copy of a paid theme in another store can be previewed and edited there, but publishing it means buying the original theme.

## Payouts

Swell pays what stores pay for your paid themes monthly through Stripe, once your payable earnings reach $50. See [Earnings and payouts](https://www.swell.is/help/partners/earnings-and-payouts).

## Sales

To run a sale, choose **Run a sale** in the partner dashboard, then pick one or more themes, a percent off and the dates. The Theme Store shows the sale price beside the full price with the end date. The sale ends on its own, or when you choose **End sale**.

- A store that buys during the sale pays the sale price.
