AI Agents

Custom Themes with an Agent

Have your AI agent design a theme of your own, check it in Contito, and put it live when you like it.

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 .

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

#What it does
1Create 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

#What it does
1What you're building: Blog, Documentation, Help center, Knowledge base or Blank. The agent starts from this layout and redesigns it.
2What is it about?: optional. Tells the agent who the site is for.
3Theme 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

#What it does
1How the design is decided. See the table below.
2The details for that choice, here the address of the site to match.
3Create theme: creates the draft and moves to the prompt.
ChoiceWhat you give
Match a siteThe address of a site whose look you want. The agent visits it before it starts. This is the strongest brief.
Use our brandYour brand colors and fonts.
From a designNothing here. You paste a screenshot or mockup into the conversation with your agent.
Agent's callA 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

#What it does
1The prompt for your agent. Click Copy, then paste it into your agent. With From a design, attach your screenshot too.
2Done: 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

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

PromptUse it to
Match my existing siteSend the opening brief again, if you closed the setup without copying it
Fix what looks wrongList problems and have them fixed, without touching anything else
Restyle itKeep the same layout with a different look
Add a page or sectionAdd a changelog, author bios or a footer call to action
Let me change it myselfTurn the parts you keep adjusting into settings in Design, so you change them without the agent
Add a dark modeAdd a dark version of the palette
Polish passFix 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 onWhat saving does
Its custom themeThe new version goes live straight away.
A built-in themeNothing 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:

ActionWhat it does
Import from zipLoads a theme into the draft, from a backup or a theme a developer edited. Nothing goes live until you save.
Export as zipDownloads the theme's source.
Delete themeRemoves 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 preview link asks me to sign in

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.

I saved, but my site looks the same

Your site is still on a built-in theme.

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

Save failed

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.

The preview shows the wrong logo or site name

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

Turn it off to see your own.