tailthemes
docs · kiln

Kiln owner's guide

Everything from the download to your own palette, read from the files this theme ships.

2.2.1
version
6
pages
23
components
50 × 2 modes
tokens
4
workflows
from zip to running
unzip kiln-2.2.1.zip
cd kiln-2.2.1
bun install
bun dev

The download is a complete Next.js project, not a folder of snippets. It carries 6 routes, the token file, 23 components and the agent kit.

See the price

Install

Three ways in: the zip, the shadcn registry, or your agent over MCP.

the zip

The artifact is versioned and immutable, so the file you get is kiln-2.2.1.zip. Unzip it, run the four commands above, and the site is on localhost:3000.

The link arrives with your license, and stays valid for every future version.

the registry

Every theme is a registry item the real shadcn CLI installs. Files land under src/tailthemes/kiln/, mirroring the tree below.

bunx shadcn add https://tailthemes.com/r/kiln.json

Kiln is paid, so the registry answers 402 with the price, the purchase URL and both token tables. Only the source files are withheld.

A registry item is JSON, so image assets cannot travel with it. Themes that import images need the zip as well.

over mcp

Point any MCP client at https://tailthemes.com/api/mcp and your agent can read the manifest, both token tables and AGENTS.md before it touches a file.

the four tools

What unzips

One directory, laid out the way you would lay it out yourself.

kiln-2.2.1/
app/generated routes, one per page
globals.csstailwind, the tokens, the semantic bridge
layout.tsxapplies the theme's own faces
page.tsx/ · 8 sections
product/page.tsx/product · 6 sections
making/page.tsx/making · 7 sections
delivery/page.tsx/delivery · 7 sections
cart/page.tsx/cart · 5 sections
components/page.tsx/components · 15 sections
src/the theme, copied verbatim
app/6 pages, one file each · 6 files
assets/the imagery, and the prompts that made it · 15 files
components/15 sections, one file each, no cross-imports · 23 files
fonts/self-hosted woff2 with their licences · 6 files
fonts.tswires the faces to the font tokens
theme.cssevery design decision: 50 tokens, both modes
.claude/workflows your agent can run
skills/rebrand · add-section · add-page · check-quality · 4 files
AGENTS.mdthe agent contract: invariants, file map, what never to touch
README.mdthe human quick start
theme.jsonthe manifest: pages, components, both token tables
package.jsongenerated, carrying this repo's exact versions
tsconfig.jsongenerated
next.config.tsgenerated
postcss.config.mjsgenerated
env.d.tsgenerated, so a fresh extract typechecks before first run
.gitignoregenerated
every file
app/generated routes, one per page
globals.csstailwind, the tokens, the semantic bridge
layout.tsxapplies the theme's own faces
page.tsx/ · 8 sections
product/page.tsx/product · 6 sections
making/page.tsx/making · 7 sections
delivery/page.tsx/delivery · 7 sections
cart/page.tsx/cart · 5 sections
components/page.tsx/components · 15 sections
src/the theme, copied verbatim
app/6 pages, one file each
cart.tsx
components.tsx
delivery.tsx
home.tsx
making.tsx
product.tsx
assets/the imagery, and the prompts that made it
ash-bowl.jpg
everyday-mugs-thumb.jpg
everyday-mugs.jpg
fluted-jug-thumb.jpg
fluted-jug.jpg
hero-plaster.jpg
README.md
ridge-tumbler-thumb.jpg
ridge-tumbler.jpg
speckled-plate.jpg
stem-vase.jpg
studio-bench.jpg
throwing-wheel.jpg
tumbler-glaze-detail.jpg
tumbler-in-use.jpg
components/15 sections, one file each, no cross-imports
ui/the shared primitives
badge.tsx
button.tsx
cart-drawer.tsx
cart-store.ts
container.tsx
icons.tsx
mode-toggle.tsx
product-card.tsx
cart-contents.tsx
collection-split.tsx
delivery-rates.tsx
firing-calendar.tsx
hero.tsx
newsletter.tsx
page-header.tsx
product-detail.tsx
product-grid.tsx
promises.tsx
returns-faq.tsx
reviews.tsx
site-footer.tsx
site-header.tsx
small-print.tsx
fonts/self-hosted woff2 with their licences
Karla-Variable.woff2
Newsreader-Variable.woff2
OFL-Karla.txt
OFL-Newsreader.txt
OFL-SplineSansMono.txt
SplineSansMono-Variable.woff2
fonts.tswires the faces to the font tokens
theme.cssevery design decision: 50 tokens, both modes
.claude/workflows your agent can run
skills/rebrand · add-section · add-page · check-quality
add-page/
SKILL.md
add-section/
SKILL.md
check-quality/
SKILL.md
rebrand/
SKILL.md
AGENTS.mdthe agent contract: invariants, file map, what never to touch
README.mdthe human quick start
theme.jsonthe manifest: pages, components, both token tables
package.jsongenerated, carrying this repo's exact versions
tsconfig.jsongenerated
next.config.tsgenerated
postcss.config.mjsgenerated
env.d.tsgenerated, so a fresh extract typechecks before first run
.gitignoregenerated

Three of these do the work: src/theme.css holds every design decision, AGENTS.md is the contract your agent reads first, and .claude/skills/ holds the 4 workflows it can run.

Screenshots are not in the download. They are generated by the publish pipeline and live on the listing, not in your project.

Using it

Every page is a plain component, and the tokens are scoped to one class.

the pages
  • /Shop8 sections
  • /productRidge tumbler6 sections
  • /makingThe making7 sections
  • /deliveryDelivery7 sections
  • /cartCart5 sections
  • /componentsThe parts15 sections
dropping it into an existing app

Tokens are declared on .tt-kiln as well as :root, so an install cannot repaint components you already have. Wrap the page in <div className="tt-kiln"> and everything inside picks them up.

Dark mode is a dark class on <html>. There is no second stylesheet and no dark: utility in the components.

Making it yours

Tokens are the API: change the values, never the names.

the rebrand loop
  1. Edit the values. All 50 tokens live in src/theme.css, in a light block and a dark one. Nothing in src/components/ carries a colour.
  2. Watch it land. Open /components. The styleguide reads every swatch, type step and radius live, so you see what the change did to the whole system at once.
  3. Re-check contrast. Run the check-quality workflow. The palette ships verified to WCAG AA in both modes and a rebrand should keep it there.
the workflows that ship inside
  • .claude/skills/add-page

    Pages in Kiln are pure composition: import sections, stack them, pass content-selecting props. No data fetching, no next/link, no next/image, no client state — every page must render standalone in a buyer's app and inside the marketplace preview route.

  • .claude/skills/add-section

    A section is one file in src/components/, self-contained. It imports from ./ui/*, from ../assets/* and from lucide-react, and from nothing else.

  • .claude/skills/check-quality

    Run all twelve checks. Any failure blocks publishing.

  • .claude/skills/rebrand

    Kiln is built so that a rebrand is a single-file edit. Every colour, the radius and the font families live in themes/kiln/src/theme.css.

Those summaries are the files' own opening lines. They are written against this repo, so where one names themes/kiln/ your copy has the project root instead.

For your agent

The theme brought its own rules, so nothing has to be reverse-engineered.

AGENTS.md is 649 lines of invariants, the file map, the type and spacing scale, and what never to touch. It opens like this.

AGENTS.md, first 38 lines
# Kiln — rules for agents

Kiln is an e-commerce theme for makers (Tailwind v4 / Next.js 15 / React 19).
The demo content belongs to a fictional studio, **Marl** — two people throwing
stoneware in Whitstable, Kent, firing four times a year and selling what comes
out of the kiln.

The theme's premise, and the reason every rule below exists: **the photography
is the layout**. Kiln's job is to frame a maker's own pictures and then get out
of the way. Anything that adds decoration next to a product photograph is
working against the product.

Read this before changing anything. The four workflows in `.claude/skills/`
(`rebrand`, `add-section`, `add-page`, `check-quality`) are the sanctioned way
to extend Kiln; they are written against the real file names and token names
below.

---

## The five declarations

Everything else in this file follows from these. They were owed as a group and
they were decided as a group in 2.0.0, because a serif display wants an
editorial cadence and an editorial cadence wants a display-size headline.

| | Declaration | Why |
|---|---|---|
| **Signature** | **The shelf** — a full-bleed hairline plate of white bays, one square photograph per bay, running past the container to both page edges | Structural, not decorative. It is the thing a viewer describes from memory ("six square pots on cream, edge to edge"), it is the same construction as the `promises` plate and the `firing-calendar` plate, and the plate appears on **every one of the five** routes. 1.x declared a "full-bleed studio band" that lived on one route and was never declared before the theme was built. |
| **Hero archetype** | **A8** — asymmetric offset, artifact bleeding off-frame | The copy is indented from the page spine on the plaster wall; the studio photograph takes the right two fifths and is cropped by the page edge. 1.x declared A4 (type over a photograph), which invariant 6 makes structurally impossible in this theme, and shipped the retired A2. |
| **Content register** | **Editorial** — 2–4 display words, the deck carries the idea; sentences may run long | A maker's storefront is a studio, not a utility. The 1.x H1 ("Pots made one at a time") was the catalog's fourth declarative-quiet headline in a row; `content-pass` quotes it as the example. |
| **Type ratio** | **1.333**, anchored at 1.5rem → 1.5 · 2 · 2.665 · 3.553rem | The consumer/commerce step from the CONTRACT table. Kiln is the catalog's only e-commerce theme, so the slot has no neighbour to collide with. |
| **Undertone** | **66°**, window 54°–78° | Every neutral in both modes sits inside it. `--card: #ffffff` is the one sanctioned achromatic (see invariant 3). |

**Second hue** — `--accent` is a slate-sage at H 118, **ΔH 81.6° from the clay**,
taken from the ash and sand glazes in the shipped photographs. Kiln was
monochromatic-warm through 1.x, which is why the restock band and the muted band
were the same rectangle. The sage is a *surface* (the restock band, the selected
glaze chip); the clay that sits on it is `--accent-foreground`.

The kit is plain markdown, so the work continues on your machine and your own account. Nothing calls back here.