A shared language
for the work.

Neutral surfaces. Readable type. Purposeful motion. These are the same components used across Agent Docu, with examples and rules for extending them.

01 / Color and surface

Color follows its role. Switch themes to see the live tokens.

Canvas

--background

Light #f7f7f4 · Dark #151510

Text

--foreground

Light #26251e · Dark #edede6

Surface

--surface

Light #efefeb · Dark #20201a

Muted text

--muted-foreground

Light #63635b · Dark #aaa99f

Border

--border

Light #d6d6ce · Dark #3b3b32

Focus

--ring

Light #635747 · Dark #c8baa3

02 / Typography

Change the UI. Get a fresh video.

Humans review. Agents do the filming.

Keep your walkthroughs current.

Faculty Glyphic at weight 400 carries every heading and article title. Hubot Sans carries body text, navigation, labels, and controls. Monospace is reserved for code.

RoleSize / line heightMeasure
Hero36–50px / 1.18680px
Section heading26–37px / 1.22Balance lines
Article body16px / 1.8720px maximum
Utility12–14px / 1.5Short labels

03 / Actions and states

Primary actions use an inverse pill. Hover reduces opacity; focus uses a 2px offset outline. Disabled controls retain their label. Theme follows the system until a visitor saves a choice; System restores that behavior.

import { GetSkillCta } from "@/app/get-skill-cta";
import { getStripePaymentLink } from "@/lib/skill-purchase";

<GetSkillCta paymentLink={getStripePaymentLink()} />

04 / Reading and discovery

Make your first walkthrough

A title, a useful preview, and a clear path to the full guide.

Getting started
import { GuideCard, ArticleToc } from "@/components/marketing-ui";

<GuideCard title="Guide title" description="A useful preview."
  href="/guides" meta="Getting started" />
Code scrolls inside its own frame. Long lines never widen the page.

05 / Workflow illustration

A finite, pausable animation explains the workflow. Reduced-motion visitors see the completed state. The real recording remains linked.

Agent Docu / Updating a walkthroughIllustrated workflow
05

Review the draft and check the log

The video and steps are saved for review. The log lists changes, errors, and anything left to check.

Illustration, not a product recording. Background tasks require your approval.Watch a real recording ↗

06 / Layout and accessibility

A visible label stays present while you type.

07 / Reuse rules for agents

  1. Read marketing/DESIGN.md before changing the marketing UI. It is the canonical guide for this surface.
  2. Import shared components from components/marketing-ui.tsx, site-chrome.tsx, and theme-controls.tsx. Add variants there instead of copying markup.
  3. Use semantic tokens from app/design.css. Test both themes and 390, 820, and 1280px widths.
  4. Keep article source, URLs, metadata, JSON-LD, payment settings, and delivery logic intact during visual work.
  5. Never invent customers, integrations, results, or product evidence. Planned capabilities stay labelled.

Research foundation: Cursor’s website and blog. Code framing draws on SST; form clarity draws on Grammarly. The type pairing is Agent Docu’s own approved direction.