Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 56 additions & 7 deletions DESIGN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Spread
description: Smokehouse order tickets on pink butcher paper, for casual hosts.
description: Scrapbook stickers, washi tape and occasion themes on pink butcher paper, for casual hosts.
colors:
butcher-paper: "#efd3c1" # page (token: cream)
ticket: "#fffaf4" # working surfaces (token: paper)
Expand All @@ -11,6 +11,10 @@ colors:
pickle: "#3e6a33"
charcoal: "#2b1d17" # token: ink
charcoal-muted: "#6a4636" # token: ink-muted
coal: "#1a110c" # the cookout scene only
ember: "#ff6b1a" # the cookout scene only
flame: "#ffb43a" # the cookout scene only
flame-tip: "#ffe08a" # the cookout scene only
divider: "#ead6c7"
divider-strong: "#cfa58c"
typography:
Expand All @@ -28,42 +32,87 @@ rounded:
control: "6px"
surface: "8px"
ticket: "6px top corners, zigzag foot"
sticker: "thick white die-cut edge"
---

## Overview

Spread looks like the counter of a backyard smokehouse: pink butcher paper underneath, and the plan printed on order tickets. The **ticket** is the one bold object. It appears as the event header (title, then the headcount printed large like a deli order number, then a perforated stub holding the invitation link), the guest RSVP slip, the sign-in and new-event slips, the dashboard event tickets, the landing-page example, and the running-total receipt. Everything around the ticket stays quiet: flat paper surfaces, no borders, no decorative shadows.
Spread is a scrapbook on the kitchen counter: pink butcher paper underneath, the plan printed on order tickets, and the page dressed for the occasion. Two layers do the work.

1. **The shared scrapbook.** Hand-drawn stickers at slight angles, torn washi tape, a paper bunting garland and gingham picnic checks. They frame the paper and fill the quiet space. They are chrome, never content.
2. **The occasion.** Each event's cover emoji picks a theme: its scene plays in the event masthead and guest page, its sticker sits on the dashboard ticket, and its colour tints the active tab. Fire is one theme among eleven, not the house style.

The **ticket** is still the one bold object: the event header, the guest RSVP slip, the sign-in and new-event slips, the dashboard event tickets, the landing example, and the running-total receipt. Text always sits on paper labels, never directly on gingham.

## Colors

Butcher paper (`--cream`) is the page and carries a faint fibre texture (`--grain`). Ticket paper (`--paper`) holds working content. Ketchup marks primary actions, the active tab bar, and large numbers. Mustard marks "maybe" and food-note accents. Pickle marks "going". "Can't" and secondary tags are outlined in muted charcoal. Text on ketchup uses ticket paper, never the page colour.
Butcher paper (`--cream`) is the page and carries a faint fibre texture (`--grain`). Ticket paper (`--paper`) holds working content. Ketchup marks primary actions and large numbers; mustard marks "maybe" and food accents; pickle marks "going". Gingham is ketchup, soft mustard or sage checks on cream, at about a tenth tint so type on the paper beside it stays quiet. Stickers use two or three flat palette colours each, with a thick paper-white die-cut edge and a soft printed shadow.

Coal, ember and flame are reserved for the cookout scene. They never appear as page chrome, and never in any other occasion. Text on coal, if a cookout scene ever needs it, is always `--paper`.

## Typography

Alfa Slab One sets every heading and the wordmark. It has one heavy weight, so `font-synthesis: none` is applied and headings use weight 400. Archivo sets body copy, labels and controls. Large counts (plan for, totals) use Archivo at `font-stretch: 62%`, weight 800, tabular numerals, in ketchup. Labels are sentence case: no all-caps eyebrows.

## Layout

Shells are at most 64rem wide. Event screens open with the ticket, then sticky text tabs over a 2px charcoal rule, with a 5px ketchup bar under the current tab. At 1024px and up, task content uses a list beside a 320px summary column. Guest, sign-in and new-event screens are single slips about 28rem wide.
Shells are at most 64rem wide. Event screens open with the ticket, now headed by a thin occasion strip, then sticky text tabs over a 2px charcoal rule. The active tab bar is a solid ketchup bar, or the event's theme accent. At 1024px and up, task content uses a list beside a 320px summary column that sticks below the tabs.

Sign-in, sign-up, new-event and guest RSVP screens are two panes: a tall sticky scrapbook panel on the left and the slip on the right. Base pages use a gingham blanket with bunting, stickers and the headline on a paper label. Guest pages use the event's occasion scene behind the title label. Below 1024px the panel becomes a short strip above the slip.

The dashboard grid is one column, then two from 640px; it never crowds three cards into the 64rem shell. Today stacks Timeline and Make beside Still to buy. Edit details keeps the form on the left and the cancellation and delete controls on the right, sticky.

Empty states are paper cards with a slab title, one line of body copy and a small sticker composition in a cream mat, with a washi tape at the top and a gingham hem. They keep the copy and fill the column they sit in.

## Scrapbook and occasions

The base layer is always there: bunting at the top of a hero or panel, washi tape holding a ticket, gingham as a blanket, and a handful of stickers. The occasion layer is derived from the cover emoji with `occasionFor`, so the data model only needs the preset cover.

| Cover | Theme | Scene | Sticker |
| --- | --- | --- | --- |
| 🎉 | party | confetti drifting slowly | balloon |
| 🍔 | cookout | small flame bed and embers | burger |
| 🎂 | birthday | three candles and sprinkles | cake |
| 🍕 | pizzeria | red gingham and curling steam | pizza |
| 🌮 | fiesta | papel picado swaying | taco |
| 🥂 | toast | bubbles and twinkling lights | glasses |
| 🎃 | harvest | autumn leaves tumbling | pumpkin |
| 🎄 | holiday | snowfall and twinkle lights | tree |
| 🧺 | picnic | gingham, marching ants, a butterfly | basket |
| ☕ | brunch | steam from a mug | mug |
| 🎲 | game night | two dice tumbling and settling | dice |

An unknown or missing cover is a picnic.

- Fire belongs only to the cookout theme. It is a contained scene strip or panel, never the page background.
- Scenes are contained, `overflow: hidden`, and use 8–16 particles in a strip, sized to the panel at larger sizes. They are `aria-hidden`, CSS-only and deterministic.
- Bunting and scenes may loop gently; everything else answers an action. A success moment gets one `OccasionBurst` and stops.
- Keep the sticker count to about six in any one viewport. Stickers are the identity: clear silhouettes, two or three flat colours, a paper-white die-cut border and a slight tilt, not clip-art blobs. If a drawing does not read at 64px, simplify it.

## Motion

There is one orchestrated moment: on the landing page the example ticket prints down out of a dark slot. Reduced-motion users get it already printed. Elsewhere, motion only answers actions.
Ambient motion lives only inside occasion scenes and bunting: confetti drift, snowfall, bubbles, steam, leaves, a marching line of ants, candles flickering, dice settling. Stickers may peel on once, and the wordmark's mustard period may wobble once on hover. Primary buttons press and tilt; they do not glow or sweep.

The one orchestrated page moment is still the landing example printing down out of its paper slot, under two strips of washi tape. Success notices burst once in the occasion's voice, or confetti when there is no theme.

`prefers-reduced-motion: reduce` stills every loop and hides the occupied particles and bursts; scenes must look finished as static pictures. Print strips all stickers, tape, bunting, scenes and bursts.

## Shapes

Controls are 6px; surfaces are 8px; tags are fully round. Tickets have a CSS zigzag foot (a conic-gradient strip) and perforations (2px dashed rule with half-circle notches cut in the page colour).
Controls are 6px; surfaces are 8px; tags are fully round. Tickets have a CSS zigzag foot and perforations. Washi tape has torn ends and sits at a slight angle. Stickers have a die-cut white edge; bunting flags are triangles or cut-paper picado rectangles.

## Components

Buttons and fields are at least 44px tall. Primary buttons are ketchup with a 3px inset base shadow, like a pressed key; outline buttons use a 1.5px charcoal border. Focus is a 2px charcoal outline with 3px offset.
Buttons and fields are at least 44px tall. Primary buttons are ketchup with a 3px inset base shadow, like a pressed key, and a small hover tilt; outline buttons use a 1.5px charcoal border. Focus is a 2px charcoal outline with 3px offset.

## Do's and Don'ts

- Do distinguish a planning estimate from confirmed attendance.
- Do keep food notes visible during menu and shopping tasks, with an explanation that they do not automatically alter the recipe.
- Do preserve recorded expenses and paid flags when quantities change; flag the review needed. For paid guests, ask the host to reconcile payments and hide full-share links while Paid remains checked.
- Do label illustrative data as an example.
- Do put headlines on paper labels; gingham is a blanket, never a text background.
- Don't add site-wide fire, a coal band, or grill texture outside the cookout theme.
- Don't add another sidebar around a tab that already has its own summary column.
- Don't imply that reminders send automatically or that a Venmo link confirms payment.

Expand Down
63 changes: 63 additions & 0 deletions docs/superpowers/specs/2026-11-15-fire-identity.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Light the grill: fire identity and fuller pages

Date: 2026-11-15. Status: approved direction ("Light the grill").

Spread keeps its butcher paper and order tickets (see DESIGN.md). This pass adds fire as the second voice of the brand, and fills the empty space that screenshots showed on almost every page.

## Brand idea

The tickets stay on the counter. The grill is lit behind it. Charcoal bands with live flames and rising embers frame the pages; the paper stays calm and readable. Fire appears in chrome, empty states and moments of success, never inside forms or data rows.

## New tokens (globals.css `:root` + `@theme inline`)

- `--coal: #1a110c` (darkest grill), `--coal-2: #2b1d17` (= ink), `--coal-3: #3a2820`
- `--ember: #ff6b1a`, `--flame: #ffb43a`, `--flame-tip: #ffe08a`
- `--glow: 0 0 24px rgb(255 107 26 / 0.45)`
- Grate pattern: `--grate` repeating-linear-gradient of 3px coal-3 bars every 18px.

Text on coal uses `--paper`. Contrast must stay at or above WCAG AA.

## Fire primitives (new files in `src/components/fire/`)

All decorative, `aria-hidden="true"`, server-renderable (no client JS needed), CSS-only animation, deterministic (no Math.random at render, so no hydration mismatch).

1. **`Embers`**: absolutely positioned layer of N small glowing dots (default 14). Each gets inline CSS vars `--x`, `--size`, `--dur`, `--delay`, `--drift` from a fixed seeded table. Keyframe `ember-rise`: translateY(0 → -140px), translateX(drift), opacity 0 → 1 → 0, scale shrinking. Colours alternate flame and ember with a box-shadow glow.
2. **`Flames`**: a row of layered SVG flame tongues (3 layers: ember, flame, flame-tip) that tiles horizontally along the bottom or top edge of a container. Keyframe `flicker`: scaleY 0.85 ↔ 1.08, small skewX, with `transform-origin: bottom`, and staggered durations (1.1–1.9s) per tongue so it never looks looped.
3. **`GrillBand`**: a coal surface with the grate pattern, a warm radial glow from the bottom, `Flames` along one edge (prop `edge="top" | "bottom"`), and `Embers` rising. Takes children (headline content). Rounded 8px when inset, square when full-bleed.
4. **`FlameIcon`**: a small inline SVG flame (16–24px) with a subtle flicker. Used in the wordmark, success notices and the empty states.
5. **`GrillMarks`**: two or three diagonal seared stripes (a CSS gradient) used as a quiet texture on cover chips and empty-state art.

**Reduced motion** (`prefers-reduced-motion: reduce`): embers hidden, flames still at full height, no glow pulses. Everything must look finished without motion.

**Performance:** animate only `transform` and `opacity`. Use no JS animation loops and no canvas.

## Where fire goes

- **Wordmark**: the mustard period becomes a small glowing ember that slowly breathes (opacity and glow, 3s). Add a `FlameIcon` next to the toast logo only on the landing header.
- **Primary button**: on hover, an ember gradient sweeps across (background-position transition) and a soft glow appears. The pressed-key inset shadow stays. On focus, the existing outline.
- **Active tab bar**: the 5px ketchup bar becomes a ketchup → ember → flame gradient with a slow shimmer (background-position) and a faint glow.
- **"Plan for" big numbers** (event masthead, dashboard tickets, landing example): a gentle heat glow (text-shadow pulse, 4s) in ketchup/ember.
- **Landing**:
- The dark slot bar above the example ticket becomes a hot coal bar with flames licking up behind it. The ticket still prints down out of it.
- Add a full-bleed `GrillBand` footer section above the existing footer, with a big slab line ("Fire up the grill. We'll count the buns."), the primary CTA and embers. This fills the dead band and gives the page an ending.
- Fill the empty space under the hero CTA with a row of three stamp-style stats or steps ("1 link", "0 accounts", "every bun counted"), using the slab font and grill-mark texture.
- **Dashboard `/host`**: the header ("Your events", greeting, Create event) sits inside an inset `GrillBand` with flames along its bottom edge. The events grid becomes 1/2/3 columns (sm/lg/xl). After the event tickets, add a dashed "Fire up another" ticket that links to `/host/new`, so rows look full. Redesign the empty state as a large illustrated one (see Empty states).
- **Event masthead** (`host/events/[id]/layout.tsx`): add a thin coal strip with small flames along the top of the ticket (it's on the grill), and give the cover chip grill marks. Keep the layout otherwise.
- **Success moments**: the "You're in!" guest banner and change notices get a `FlameIcon` plus a one-time burst of embers on mount (CSS only, runs once).

## Filling empty space

- **Auth (`/login`, `/signup`), `/host/new`, guest RSVP `/e/[code]` and `/e/[code]/g/[token]`**: at `lg` and up, use a two-pane layout. On the left is a tall `GrillBand` (sticky, full viewport height minus padding) with a big slab headline that fits the page, flames along the bottom and embers. On the right is the existing slip. For the guest page, the headline is the event title, date and host's cover. Below `lg`, the band collapses to a short strip (about 140px) above the slip.
- **404 (`not-found.tsx`)**: a full-page grill scene. A grate illustration with flames, a slab headline "This one fell through the grate.", a short line and the CTA home. Embers rise across the viewport.
- **Event tabs with a 320px summary column** (Guests, Menu, Shopping, Split): make the right column `lg:sticky lg:top-[tabs height + 1rem] lg:self-start` so it travels with the long list instead of leaving a void. Where the left column is an empty state, the empty state fills the column height (see below).
- **Today**: replace the 3-column grid with a CSS multi-column (masonry) layout or put Timeline and Make in one stacked column beside Still to buy, so columns balance. No blank 1000px.
- **Edit event**: two columns at `lg`. The form is on the left, and Cancel event and Danger zone are on the right, sticky.
- **Empty states**: add a new shared `src/components/EmptyState.tsx` (props: `title`, `children` body, optional `action`, `art: "grill" | "ticket" | "cart" | "split" | "calendar"`). It is a paper card with a min-height of about 280px, centred content and a slab title. The art is a simple inline SVG (a line-art grill with a flickering `FlameIcon`, a ticket stub, a shopping bag, and so on) in charcoal with ember accents. Faint grill marks sit in the background. Replace the hard-coded empty states in: `GuestsPanel.tsx`, `menu/MenuPanel.tsx`, `shopping/ShoppingPanel.tsx`, `shopping/ExtrasCard.tsx` (keep it compact here, `size="sm"`), `split/SplitPanel.tsx`, `prep/KitchenSheet.tsx` (no flames in print), `today/TodayChecklist.tsx`, and `host/page.tsx` "No events yet". Keep the existing copy and any test-asserted text exactly.

## Out of scope

No data or behaviour changes. Do not add npm dependencies. The dev-only Guest lab is untouched. Print styles must strip all fire (white paper rule in DESIGN.md).

## Docs

Update DESIGN.md: add the fire tokens, the "Fire" section (where fire may and may not appear) and the rewritten Motion section (ember/flame loops are allowed in chrome bands and empty-state art; reduced motion gets static flames).
Loading
Loading