---
title: "Custom Themes with an Agent"
description: "Have your AI agent design a theme of your own, check it in Contito, and put it live when you like it."
url: "https://www.contito.com/docs/ai-agents/custom-themes-with-an-agent"
published: "2026-11-16T06:04:37.917Z"
modified: "2026-11-16T06:04:37.917Z"
---

# Custom Themes with an Agent

Besides the built-in themes, every site can have one custom theme of its own.

Your agent designs it to match your company's site, your brand or a mockup.

You write no code: you tell the agent what you want, look at the result in Contito, and tell it what to change.

The agent works on a **draft**, so your live site stays as it is.

It changes only when you save the theme and your site uses it.

The agent needs theme access: a key with

`theme:read`

and

`theme:write`

, or

**Build, publish and switch themes**

turned on when you connected it. See

[Connect Your Agent](https://www.contito.com/ai-agents/connect-your-agent)

.

## Step 1: Start the theme in Contito

Open your site, go to **Website \> Design** and click **Change Theme**.

The custom theme card sits in the theme list. Type `custom` in the search box to find it fast.

![The theme list filtered to the custom theme card, with Create custom theme marked](https://www.contito.com/__asset/n78886)

| \# | What it does |
| --- | --- |
| 1 | **Create custom theme**: opens the three-step setup. |

### Layout

![The Layout step of Create a custom theme, with the layouts, What is it about? and Theme name marked](https://www.contito.com/__asset/9g4u5b)

| \# | What it does |
| --- | --- |
| 1 | What you're building: **Blog**, **Documentation**, **Help center**, **Knowledge base** or **Blank**. The agent starts from this layout and redesigns it. |
| 2 | **What is it about?**: optional. Tells the agent who the site is for. |
| 3 | **Theme name**: optional. Left blank, the theme takes the site's name. |

Click **Next**.

### Look

![The Look step, with the four ways to decide the look, the site to match and Create theme marked](https://www.contito.com/__asset/10hd50i)

| \# | What it does |
| --- | --- |
| 1 | How the design is decided. See the table below. |
| 2 | The details for that choice, here the address of the site to match. |
| 3 | **Create theme**: creates the draft and moves to the prompt. |

| Choice | What you give |
| --- | --- |
| **Match a site** | The address of a site whose look you want. The agent visits it before it starts. This is the strongest brief. |
| **Use our brand** | Your brand colors and fonts. |
| **From a design** | Nothing here. You paste a screenshot or mockup into the conversation with your agent. |
| **Agent's call** | A feel for the colors and typography, such as **Warm and editorial** or **Classic serif**. The agent decides the rest. |

### Prompt

Contito creates the draft and writes a prompt from your answers.

![The Prompt step, Hand it to your agent, with the prompt and Done marked](https://www.contito.com/__asset/1ylufz5)

| \# | What it does |
| --- | --- |
| 1 | The prompt for your agent. Click **Copy**, then paste it into your agent. With **From a design**, attach your screenshot too. |
| 2 | **Done**: closes the setup. |

Your site keeps its current theme the whole time.

You can also start from the agent's side.

Ask it: "Make a custom theme for my Contito site 'Acme Docs' that matches acme.com."

The agent creates the draft itself. Starting in Contito gives it a better brief.

## Step 2: Work with the agent

The agent builds the theme and sends you a **preview link**.

It opens your site's theme editor in Contito, showing the agent's latest work.

Keep that tab open: it updates as the agent works.

To open the editor yourself, click **Edit** on the custom theme card.

![The theme editor with the draft open, its controls numbered](https://www.contito.com/__asset/4voca5)

| \# | What it does |
| --- | --- |
| 1 | The version menu: **Working draft** or a saved version. |
| 2 | **Sample Data**: fills the preview with example contents. Turn it off to see your own. |
| 3 | **Inspect**: click any part of the preview to see what it is, ready to describe to your agent. |
| 4 | Screen width: check how the theme looks on a phone. |
| 5 | **Prompts**: ready-made prompts for the next step. |
| 6 | **Save changes to live theme**: saves the draft as a new version. |

The agent can't see the theme the way you do.

It sends you the link and waits for your opinion.

Tell it what's wrong in plain words, with a screenshot if that's easier:

> The header is too tall.

> Use our blue for links, not purple.

> The sidebar disappears on my phone.

Then look again. A few rounds are normal.

### Ready-made prompts

Open **Prompts**, pick one, copy it, fill in the blanks and paste it into your agent.

| Prompt | Use it to |
| --- | --- |
| **Match my existing site** | Send the opening brief again, if you closed the setup without copying it |
| **Fix what looks wrong** | List problems and have them fixed, without touching anything else |
| **Restyle it** | Keep the same layout with a different look |
| **Add a page or section** | Add a changelog, author bios or a footer call to action |
| **Let me change it myself** | Turn the parts you keep adjusting into settings in **Design**, so you change them without the agent |
| **Add a dark mode** | Add a dark version of the palette |
| **Polish pass** | Fix contrast, spacing and phone widths, with nothing new |

If you ask for something the theme can't do, the agent tells you.

## Step 3: Save it and put it live

When you like what you see, click **Save changes to live theme** and confirm with **Save**.

That stores the theme as a new version: v1, v2 and so on.

| Your site is on | What saving does |
| --- | --- |
| Its custom theme | The new version goes live straight away. |
| A built-in theme | Nothing changes on the site. Pick the custom theme in **Change Theme**, click **OK** and save your design to switch over. |

### Versions

Every saved version is kept.

To go back to one:

1. Open the version menu at the top left of the editor and pick the version.
2. Click **Use this version**, then **Continue**.
3. Click **OK** in the theme list and save your design.

**Live** in the version menu marks the version your site serves.

The agent can save and switch versions too.

It leaves that to you unless you ask, for example: "Save it and put it live when I say it's good."

### More actions

The **...** menu at the top right of the editor:

| Action | What it does |
| --- | --- |
| **Import from zip** | Loads a theme into the draft, from a backup or a theme a developer edited. Nothing goes live until you save. |
| **Export as zip** | Downloads the theme's source. |
| **Delete theme** | Removes the theme and every saved version. If your site uses it, Contito names the theme your site moves to before you confirm. |

## Things worth knowing

- One custom theme per site. To try a different direction, save the current one first, then ask the agent to restyle it.
- The theme belongs to its site. To reuse it on another site, export it from one and import it into the other's custom theme.
- Settings the agent adds, such as an accent color or a header layout, appear in **Website \> Design** like a built-in theme's. They start at the theme's current look.

## Troubleshooting

The link opens your Contito dashboard.

It works only in a browser where you're signed in to Contito, and only for people in your organization.

Your site is still on a built-in theme.

Pick the custom theme in **Change Theme**, click **OK** and save your design.

The draft has an error the agent hasn't fixed yet.

Nothing was stored and your site is unchanged.

Tell the agent the save failed. It can see the error.

**Sample Data** is on, so the preview uses a sample site's name and logo.

Turn it off to see your own.
