Handoff theme documentation

Design contract

Theme: Handoff. Direction: "Spec sheet". Read this before any visual change. If a request conflicts with this file, follow the request and update this file in the same change.

1. Intent

The store looks like the data sheet of a good instrument. It earns trust by showing ordered facts, not slogans. Built for specialist brands with a small catalog (1 to 50 products) that sell technical products and accessories to shoppers who compare and ask questions.

Priorities, in this order, for every decision: small screens first, then content that AI assistants can read and quote, then search engines, then large screens. A large screen is a wider phone, never the other way round. Content is the same on every screen. Only the layout changes.

What the design refuses: decorative gradients, glows, glass effects, drop shadows, rounded cards, entrance animations, badges that claim urgency or scarcity, star ratings that are not real.

2. Tokens

Colors come from theme settings and are exposed as custom properties in snippets/css-variables.liquid. Static tokens are in assets/base.css. Never write a raw color, font name, or pixel size in a block when a token exists.

Color

Token Default Role
--color-background #F3F1EA Page ("paper")
--color-text #14161A Text, rules, borders ("ink")
--color-muted-text #565B63 Labels, captions, breadcrumbs
--color-media-background #E7E4DA Behind product images
--color-surface #FFFFFF Cards, fields, option buttons
--color-surface-text #14161A Text on surface
--color-accent #B83A09 Primary button, sale price, section numbers
--color-accent-text #FFFFFF Text on accent
--color-inverse-background #14161A Top bar, quick answer band, footer
--color-inverse-text #F3F1EA Text on inverse
--color-inverse-accent #F27A45 Small markers on inverse
--color-positive #1E6A3B "Fits", in stock
--color-negative #A12A22 "Does not fit", errors, sold out
--color-hairline text at 16% Thin separators

Contrast of the defaults (WCAG 2.2): text on background 16.0:1, accent text on accent 5.8:1, accent on background 5.1:1, muted text on background 6.1:1, positive 5.8:1, negative 6.5:1. Any new pair must reach 4.5:1 for text and 3:1 for large text, icons, and borders.

One accent only. Positive and negative colors are reserved for compatibility and status. They are never decoration.

Two guarantees come from the code, not from the person who picks the colors. Every text token is checked against its background and replaced by black or white under 4.5:1 (snippets/readable-color.liquid). With the setting "Use brand colors", the accent pair comes from the primary brand color of the Shopify admin and the inverse pair from the secondary one; the paper background and the ink text stay.

Type

Token Default font Use
--font-heading IBM Plex Sans 600 Headings, product titles
--font-body IBM Plex Sans 400 Body text
--font-data IBM Plex Mono 400 Prices, measurements, labels, counters

Scale: --text-xs 12px, --text-sm 14px, --text-md 16px minimum, then --text-lg, --text-xl, --text-2xl, --text-3xl, fluid with clamp(). Body text and form fields never go under 16px. Headings use a tight line height (1.12) and a slight negative tracking. Labels use the data font, uppercase, 12px, tracking 0.06em (class .label).

Numbers that a shopper compares (price, size, weight, model codes) use the data font.

Space, shape, motion

3. Layout

4. Signature components

  1. Quick answer (block quick-answer). One question, one short answer, staged. Full-width band on the inverse background. The question is an h2 in the data font, uppercase, small, preceded by a square "Q" marker in the inverse accent. The answer is one or two sentences in a large size (22px on small screens, 30px on desktop), in the body weight: a third weight would cost one more font file on the first screen. It is the first thing after the buy area. It states what the product is, who it is for, and what is included.
  2. Comparison table (collection). On desktop the collection is a table: product, key specs, colors, price. On small screens it is a stack of cards, each with three key specs, plus a "Compare" control that opens the same table in a bottom drawer (<dialog>, first column pinned). Without JavaScript the control is a link to the table view.
  3. At a glance (block at-a-glance). Ruled rows, label in the data font on the left, value on the right.
  4. Compatibility table (block compatibility-table). Three states: fits (positive, check), does not fit (negative, cross), ask us (muted, question mark). Each state has an icon and a word, never color alone.
  5. Figure counter. The gallery counter reads "FIG. 1 / 4" in the data font.

5. Product page rules

6. Voice

Short sentences. Facts with units. Sentence case everywhere. No exclamation marks, no superlatives, no invented claims. Buttons start with a verb.

7. Planned variation

A second preset may later carry the warmth of the rejected "Atelier" direction: cream background, deep green accent, serif headings, soft panels, and question-style headings. It would reuse every block and change only tokens and a few component styles. It is not built yet.