HERON

From a mockup to a working theme

A theme with Claude Design

Claude Design turns a mockup, a screenshot or a few words about the look into a design you can see and change. With HERON it makes the theme: the templates and styles that draw every page of your site from its text files.

The texts stay in your pages, the look stays in the theme. That is why a theme made in Claude Design works with any content, including pages that do not exist yet, and why the agents that write your pages never touch it.

What to give Claude Design

Copy the brief

Attach the mockup, then paste:

Design a HERON theme for this site from the attached mockup. Use the heron-designer skill.
Page types: home, page, contacts. Blocks: steps, questions, cards, table, prices.
Work only in theme/. No page texts in templates; interface texts go to i18n; every block must look right when part of its content is missing; light and dark versions; readable on a phone.

From design to a working site

  1. 1

    Look and adjust in Claude Design

    Ask for changes until the home page and the inner page look right.
  2. 2

    Put the theme into the site

    The designer role writes the files into theme/ of your site folder, and only there.
  3. 3

    Run the strict build

    heron build . --env prod --strict names every page type without a template and every block without a module.
  4. 4

    Check on real content

    Open localhost:8000 with heron serve . and go through every page type. A theme that works with demo text and breaks on yours is caught here.

What a theme contains

FileWhat it does
theme/theme.yamlPage types and the blocks each type shows
theme/templates/One template per page type
theme/modules/One module per block form: steps, cards, questions, table
theme/i18n/Interface texts in every language: buttons, labels
theme/assets/Styles, fonts, scripts

Questions

Can I use a ready theme instead?

Yes. Start from a theme with demo content, replace the texts and photos, and ask Claude Design only for changes to the look.

Will the theme slow the site down?

The theme decides the weight of the page. The starter theme gets 100 in Lighthouse on a phone with a 3 KB home page. Ask Claude Design to keep images in media/, so HERON makes WebP and AVIF of every size, and to avoid heavy scripts.

Can Claude Design write the texts too?

The texts belong in the pages, not in the theme. Give them to the content role: Content with Claude Code.