tailthemes
all-access
docs · carafe

Carafe owner's guide

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

1.0.0
version
13
pages
50
components
84 × 2 modes
tokens
4
workflows
from zip to running
unzip carafe-1.0.0.zip
cd carafe-1.0.0
bun install
bun dev

The download is a complete Next.js project, not a folder of snippets. It carries 13 routes, the token file, 50 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 carafe-1.0.0.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/carafe/, mirroring the tree below.

Carafe is paid, so the request has to carry your license key. Put it in TAILTHEMES_LICENSE_KEY in your .env.local, then add this to components.json. The CLI expands the variable and sends the key as a header, so it never enters a URL.

{
  "registries": {
    "@tailthemes": {
      "url": "https://tailthemes.com/r/{name}.json",
      "headers": {
        "Authorization": "Bearer ${TAILTHEMES_LICENSE_KEY}"
      }
    }
  }
}
bunx shadcn add @tailthemes/carafe

An all-access key works on every slug. A single-theme key works on the theme it was bought for.

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.

carafe-1.0.0/
app/generated routes, one per page
globals.csstailwind, the tokens, the semantic bridge
layout.tsxapplies the theme's own faces
page.tsx/ · 6 sections
menu/page.tsx/menu · 5 sections
visit/page.tsx/visit · 5 sections
book/page.tsx/book · 4 sections
notices/page.tsx/notices · 3 sections
fr/page.tsx/fr · 6 sections
fr/menu/page.tsx/fr/menu · 5 sections
fr/visit/page.tsx/fr/visit · 5 sections
fr/book/page.tsx/fr/book · 4 sections
fr/notices/page.tsx/fr/notices · 3 sections
handover/page.tsx/handover · 6 sections
components/page.tsx/components · 3 sections
404/page.tsx/404 · 3 sections
src/the theme, copied verbatim
app/13 pages, one file each · 13 files
assets/the imagery, and the prompts that made it · 28 files
components/23 sections, one file each, no cross-imports · 94 files
fixtures/5 files
fonts/self-hosted woff2 with their licenses · 9 files
fonts.tswires the faces to the font tokens
theme.cssevery design decision: 84 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/ · 6 sections
menu/page.tsx/menu · 5 sections
visit/page.tsx/visit · 5 sections
book/page.tsx/book · 4 sections
notices/page.tsx/notices · 3 sections
fr/page.tsx/fr · 6 sections
fr/menu/page.tsx/fr/menu · 5 sections
fr/visit/page.tsx/fr/visit · 5 sections
fr/book/page.tsx/fr/book · 4 sections
fr/notices/page.tsx/fr/notices · 3 sections
handover/page.tsx/handover · 6 sections
components/page.tsx/components · 3 sections
404/page.tsx/404 · 3 sections
src/the theme, copied verbatim
app/13 pages, one file each
fr/
book.tsx
menu.tsx
notices.tsx
visit.tsx
404.tsx
book.tsx
components.tsx
fr.tsx
handover.tsx
home.tsx
menu.tsx
notices.tsx
visit.tsx
assets/the imagery, and the prompts that made it
counter/
0730-petit-dejeuner.jpg
0930-brunch.jpg
1240-midi.jpg
1530-gouter.jpg
1945-souper.jpg
dishes/
crepe-sarrasin.jpg
croque-mireille.jpg
granola-bowl.jpg
kouign-amann.jpg
oeufs-brouilles-tartine.jpg
poulet-roti-demi.jpg
salade-de-lentilles.jpg
soupe-de-courge.jpg
tarte-tatin.jpg
tartine-aux-champignons.jpg
truite-amandine.jpg
truite-fumee-rosti.jpg
drawings/
counter-rings.png
maple-drift.png
measure-ground.ts
place/
counter-closed.jpg
facade-terrace.jpg
grinder.jpg
room-from-counter.jpg
souper-table.jpg
index.ts
measure-overlay.ts
README.md
components/23 sections, one file each, no cross-imports
ui/the shared primitives
_tt/
accordion-disclosure.axes.ts
accordion-disclosure.fixtures.ts
accordion-disclosure.tsx
anchor.ts
capture.ts
card-panel.axes.ts
card-panel.fixtures.ts
card-panel.tsx
dropdown-menu.axes.ts
dropdown-menu.fixtures.ts
dropdown-menu.tsx
field-ids.ts
field.axes.ts
field.capture.ts
field.fixtures.ts
field.tsx
focusables.ts
form-error-summary.axes.ts
form-error-summary.fixtures.ts
form-error-summary.tsx
form.axes.ts
form.fixtures.ts
form.part.tsx
form.ts
host.ts
ids.ts
layer.ts
layout-effect.ts
presence.ts
recipe.ts
reduced-motion.ts
roving.ts
sheet-drawer.axes.ts
sheet-drawer.fixtures.ts
sheet-drawer.tsx
tabs.axes.ts
tabs.fixtures.ts
tabs.tsx
accordion-disclosure.tsx
button.tsx
card-panel.tsx
chip.tsx
clipped-card.tsx
copy-line.tsx
daypart-words.ts
diet-filter.tsx
diet.ts
dietary-mark.tsx
directions.ts
dropdown-menu.tsx
field.tsx
form-error-summary.tsx
form.tsx
ground.tsx
hours-row.tsx
input.tsx
item-row.tsx
locale-switch.tsx
logo.tsx
menu-rows.ts
mobile-nav.tsx
mode-toggle.tsx
nav.tsx
sheet-drawer.tsx
slip.tsx
status-dot.tsx
structured-data.tsx
tabs.tsx
text-link.tsx
type.ts
ui.config.ts
booking-policy.tsx
booking-seam.tsx
enquiry-form.tsx
find-us.tsx
handover-annotation.tsx
handover-limits.tsx
handover-map.tsx
handover-slips.tsx
handover-tasks.tsx
hero-served.tsx
hours-card.tsx
house-rules.tsx
menu-dayparts.tsx
menu-drinks.tsx
menu-index.tsx
not-found.tsx
notices.tsx
on-the-grinder.tsx
served-card.tsx
site-footer.tsx
site-header.tsx
token-sheet.tsx
visit-strip.tsx
fixtures/
check.ts
derive.ts
locale.ts
mireille.ts
strings.ts
fonts/self-hosted woff2 with their licenses
Brygada1918-Italic-Variable.woff2
Brygada1918-Variable.woff2
OFL-Brygada1918.txt
OFL-RadioCanada.txt
OFL-SometypeMono.txt
RadioCanada-Italic-Variable.woff2
RadioCanada-Variable.woff2
SometypeMono-Italic-Variable.woff2
SometypeMono-Variable.woff2
fonts.tswires the faces to the font tokens
theme.cssevery design decision: 84 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
  • /Mireille — all-day café and bistro6 sections
  • /menuThe card, by time of day5 sections
  • /visitHours, access and how to get in5 sections
  • /bookBooking a table, and what is walk-in4 sections
  • /noticesPersonal information, and what we do with it3 sections
  • /frMireille — café-bistro, du matin au soir6 sections
  • /fr/menuLa carte, par moment de la journée5 sections
  • /fr/visitHeures, accès et comment entrer5 sections
  • /fr/bookRéserver une table, et ce qui est sans réservation4 sections
  • /fr/noticesRenseignements personnels, et ce que nous en faisons3 sections
  • /handoverEditing guide6 sections
  • /componentsThe parts, unassembled3 sections
  • /404That page is not on the card3 sections
dropping it into an existing app

Tokens are declared on .tt-carafe as well as :root, so an install cannot repaint components you already have. Wrap the page in <div className="tt-carafe"> 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.

The HTML edition

The same site again, with no framework under it.

Everything under html/ is a second, independently authored edition of the theme. html/dist/ is 13 compiled routes with local fonts and vanilla JavaScript — copy it to any static host and it is live, with no build step and no Node on the server. html/src/ is the Nunjucks source those routes compile from.

the two commands

bun run build:html recompiles html/dist/ after you change the source or the tokens. bun run preview:html serves the compiled edition locally. Both ship in the download's package.json, backed by the two files in scripts/.

One token file drives both editions, so a rebrand made in src/theme.css reaches the HTML edition the next time you run the build — dist/ carries compiled CSS and never updates by itself.

The two editions are kept in step by the publish gate: every route in the manifest must have a compiled counterpart before a version ships, so the 13 pages you saw above exist in both.

Making it yours

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

the rebrand loop
  1. Edit the values. All 84 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

    Carafe ships seven routes: /, /menu, /visit, /book, /handover, /components, /404. The last three are demo routes — /handover and /components are noindex, footer-linked only (SITE.demoNav) and deleted before a buyer launches.

  • .claude/skills/add-section

    A section is one file in src/components/. It imports primitives from src/components/ui/, derivations from src/fixtures/derive.ts and words from src/fixtures/strings.ts.

  • .claude/skills/check-quality

    Run these in order. Each catches a different class of defect, and skipping to the last one hides where a failure actually started.

  • .claude/skills/rebrand

    A rebrand touches three files and no component:

Those summaries are the files' own opening lines. They are written against this repo, so where one names themes/carafe/ 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 518 lines of invariants, the file map, the type and spacing scale, and what never to touch. It opens like this.

AGENTS.md, first 21 lines
# Carafe — the rules

An all-day café and bistro theme. The direction is
`ops/design/outline-carafe-2026-09-16.md`; the build record is
`ops/design/pass-carafe-2026-09-16.md`; the merge surface the build agents share
is `ops/design/carafe-contract-2026-09-16.yaml`. Read the outline before
changing anything here — every value in this theme was argued there, and a
change that contradicts it is a redesign, not a fix.

> **Build state (2026-09-16).** Tokens, fonts, fixtures, the shared shell, the
> primitives, `src/assets/index.ts` and every route exist. The listing copy, the
> four skills and the README landed 2026-09-16. The HTML edition was brought
> back to parity with the React edition the same day — JSON-LD, `/notices`, the
> dietary filter and the six content cuts of the content audit. Later that day
> the owner made English the default, put the language switch in the header, and
> ruled the HTML edition single-locale English. The French route set was
> completed the same evening: the React edition builds **thirteen** routes —
> five public pages in two languages, plus `/handover`, `/components` and
> `/404` — and the HTML edition builds the same eight it did.
> Sections marked **owed** below belong to the agents building those; do not
> delete a heading because it is empty.

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