Youssef 3fab5ba75b Move theme picker out of navbar to a fixed bottom-left chip
The 12-theme popover was congested when opened inline in the
navbar. Now it lives as a floating chip in the bottom-left corner:
always reachable on desktop and mobile, popover opens upward, and
the navbar is a clean two-column wordmark + meta layout.

- index.html: themer markup moved to end of <body>, navbar simplified
- components.css: .themer is position: fixed with bottom/left anchors,
  popover opens upward (bottom: 100% + 0.5rem), responsive grid
  collapses to 2 columns under 60rem
- sections.css: removed .nav__themer rules; .nav restored to flex
  space-between
- README.md: rewritten concise + complete, mirrors the v0.2.0 surface
  (10 reference files, 12 themes, 4 verbs, 20-question slop test)
2026-04-27 22:38:45 +01:00
2026-04-27 21:46:57 +01:00
2026-04-27 21:46:57 +01:00
2026-04-27 21:46:57 +01:00
2026-04-27 21:46:57 +01:00
2026-04-27 21:46:57 +01:00

Hallmark

A design skill for AI coding assistants. Makes the UIs they generate look made, not generated.

Powered by Together AI.


What it is

A single, opinionated skill — short on purpose — that teaches Claude Code, Cursor, or Codex a firm, consensus-backed set of rules for typography, colour, layout, motion, interaction, microinteractions, copy, responsive behaviour, and structural variety. It refuses to design without a confirmed audience, use case, and tone, and refuses to emit the on-distribution defaults every LLM was trained into.

The differentiator: Hallmark insists on structural variety, not just visual variety. Two pages by Hallmark for two different briefs should not share the same hero → 3-feature → CTA → footer rhythm.


Four verbs

Verb What it does
(default) Build new UI — passes the design-context gate, picks a structural fingerprint, applies the ruleset, runs the slop test before handing back.
hallmark audit <target> Score existing code against the named anti-patterns + structural sameness. Returns a punch list. No edits.
hallmark refine <target> Polish in place. Smallest possible diff. Preserves structure.
hallmark redesign <target> [--mood <name>] Throw out the structure, keep copy + IA + brand, rebuild with a deliberately different structural fingerprint.

What's inside

Skillskill/SKILL.md plus ten reference files:

  • typography.md — banned defaults, pairing rules, weight extremes, scale ratios
  • color.md — OKLCH palette construction, accent discipline (≤3% area), dark-mode recipe
  • layout-and-space.md — 4pt scale, asymmetry, grid-breaks, depth via weight not shadow
  • structure.md — six axes of structural variety (heading placement, body composition, divider, button voice, image, reveal); the per-theme structural fingerprint table
  • motion.md — duration buckets, three named easings, no bounce on UI, reduced-motion default
  • microinteractions.md — 14 interaction recipes (button press, focus, modal, toast, optimistic update, command palette, drag, copy-to-clipboard, search-as-you-type) and the 20 named microinteraction tells
  • interaction-and-states.md — eight states per element, focus-visible spec, 44px hit targets, undo over confirm
  • responsive.md — mobile-first, content-driven breakpoints, dvh not vh, safe-area-insets
  • copy.md — specific verbs, three-part errors, standalone link text, proper typographic punctuation
  • anti-patterns.md — 30+ named tells with severity, why they fail, and the fix

Slop test (20 questions) — every output must answer no to all twenty before shipping. Visual (8), structural (2), microinteraction (10).

Sitesite/ is a self-demonstrating landing page. Hand-written HTML + CSS + ES module, no framework, no build step. Uses Together AI's "The Future" typeface plus Google Fonts.

Twelve themes, four categories, each with its own structural fingerprint:

  • Editorial — Specimen, Newsprint, Atelier
  • Soft — Garden, Salon, Linen
  • Technical — Midnight, Terminal, Almanac
  • Bold — Brutal, Manifesto, Sport

Each theme overrides not only colour and typography but section-heading placement, column counts, divider style, button voice, and reveal pattern. The same landing page reorganises itself per theme, demonstrating the structural-variety principle.

Two test specimenssite/_example-bakery/ (an editorial bakery announcement, output of a real hallmark run) and site/_example-cmdk/ (a keyboard-first command palette demonstrating the microinteraction canon).

RoadmapROADMAP.md lists Tier 1, 2, and 3 work, plus an explicit "things to not do" list and measurement criteria.


Install

Any harness, via npx

npx skills add hallmark

Claude Code (manual)

Copy skill/SKILL.md and skill/references/ into ~/.claude/skills/hallmark/.

Cursor

Create .cursor/rules/hallmark.mdc with the body of SKILL.md (no frontmatter).

View the landing page locally

cd site && python3 -m http.server 4173
# → http://localhost:4173

Philosophy

Five skills — impeccable, kami, taste-skill, Anthropic's frontend-design skill, and the Claude frontend aesthetics cookbook — have converged on roughly the same anti-slop ruleset. Hallmark takes that consensus, restates it in one voice, fills the gap on motion and microinteractions, and adds structural variety as a first-class principle.

Distinct choices:

  • One skill, four verbs. Not eighteen commands. Use the default; reach for audit, refine, or redesign when you need them.
  • Design-context gate. No audience + use case + tone → no design. The skill asks.
  • Tone as a first-class decision. "Clean and modern" is rejected. Pick an extreme: editorial, brutalist, soft, utilitarian, luxury, playful, technical, austere.
  • Structural fingerprint. Every page picks one option from each of six axes. Two consecutive outputs in a session should never share the same fingerprint.
  • Microinteractions are not decoration. Silent success over celebratory toasts. Optimistic update + Undo over confirm dialogs. Hover delay 800 ms, focus delay 0 ms.
  • The slop test. Twenty yes/no checks before handing back. One yes fails the output.

Credits

Built on the open work of Paul Bakaus (impeccable), tw93 (kami), Leonxlnx (taste-skill), Anthropic's skills team (frontend-design and canvas-design), DESIGN.md (Google Stitch), MC Dean's 63 design skills, PencilPlaybook, and the Slopless tactile-rebellion canon. Where rules overlapped, Hallmark adopted; where they diverged, Hallmark picked.


Licence

MIT. Use it, fork it, ship it.

S
Description
No description provided
Readme MIT
97 MiB
Languages
CSS 58.4%
HTML 35.1%
JavaScript 6.5%