# 222 — Design Reference
> candlelit forest, serif slot machine

**Source:** https://222.place  
**Theme:** dark  
**Category:** Community  
**Mood:** dark, elegant, editorial, typographic, calm, minimal  
**Captured:** 2026-11-22

## Overview

A single-screen, nearly monochrome dark-green stage where one typographic sentence does all the work. The page reads like a mad-lib set in a dim wine bar: muted sage connector words ("let us plan", "with your") sit beside recessed pill-shaped slots that roll through options in bright ivory serif. Everything is centred, nothing scrolls, and the only true contrast in the whole composition is the cream SIGN UP pill.

Technically it is one typeface — Crimson Pro — pushed across a tiny range: hairline 100-weight for the quiet connective text, regular 400 for the active slot words, italic for the CTA. The colour system is four almost-indistinguishable steps of deep forest green (#17241B → #1F2F23) separated only by hairline borders and inset shadows, so chips feel pressed into the surface rather than raised. Radii are either the 12px system value or full pills; the only imagery is cream-framed polaroids rotated into the top edge and blurred avatar clusters tucked inside the chips.

## Tokens — Colors

| Name | Value | Token | Role |
|---|---|---|---|
| Forest Midnight | `#152119` | `--color-background-outer` | Outermost page ground behind the app frame; the darkest green step |
| Deep Pine | `#17241b` | `--color-background` | Main page ground and the ink colour on cream CTAs (foreground-inverse) |
| Moss Field | `#18261c` | `--color-surface-secondary-surface-input` | Input and chip fills — one barely-perceptible step above the ground |
| Thicket Card | `#1b291f` | `--color-surface-tertiary-surface-card-popover` | Cards, popovers and nav pill fills |
| Fern Edge | `#1f2f23` | `--color-surface-accent-border-base` | Hairline borders, accent surfaces, icon-button and avatar circle fills |
| Lichen | `#344b3e` | `--color-surface-muted` | Muted blocks, skeletons and disabled surfaces |
| Sage Fog | `#a5aa93` | `--color-foreground-soft-muted-foreground` | Connector words, footer links, secondary labels; at 50% alpha it becomes the focus ring |
| Candlelight Ivory | `#f9f8df` | `--color-foreground-primary-surface-inverse` | All primary text, logo, and the fill of the single primary CTA pill |
| Coral Alarm | `#fe8779` | `--color-destructive-border` | Destructive borders and error states |
| Brass Warning | `#c7ab11` | `--color-warning-foreground` | Warning text and icons |
| Signal Green | `#3f9950` | `--color-success-border` | Success borders and confirmations |

### Semantic roles

| Role | Value |
|---|---|
| background | `#17241B` |
| surface | `#18261C` |
| surface raised | `#1B291F` |
| border | `#1F2F23` |
| text | `#F9F8DF` |
| text muted | `#A5AA93` |
| primary | `#F9F8DF` |
| primary text | `#17241B` |
| accent | `#1F2F23` |
| success | `#3F9950` |
| warning | `#C7AB11` |
| danger | `#FE8779` |

## Tokens — Typography

- **Display:** Crimson Pro (100, 400) — fallbacks: EB Garamond, Georgia, Times New Roman, serif. The only typeface on the site. Hairline 100 with -1px tracking for connector words; 400 for the active slot words and all UI labels; italic 400 for the CTA.
- **Body:** Crimson Pro (400) — fallbacks: EB Garamond, Georgia, serif. Body copy runs large (≈21px) at 1.5 line-height — treat prose as editorial, not UI.

| Role | Size | Line height | Weight | Letter spacing | Family |
|---|---|---|---|---|---|
| Display / H1 (connector) | 40px | 1.2 | 100 | -1px | display |
| Slot word (chip fill) | 40px | 1.2 | 400 | normal | display |
| CTA label (italic) | 24px | 1.56 | 400 | normal | display |
| Body / Lead | 21.33px | 32px | 400 | normal | body |
| Nav / Label | 16px | 1.5 | 400 | normal | body |
| Caption / Footer | 12px | 1.5 | 400 | normal | body |

## Tokens — Spacing & Layout

- **Base unit:** 4px
- **Density:** spacious
- **Container max width:** 100vw with 48px gutters (centred, no fixed max)
- **Section gap:** 48px
- **Card padding:** 16px 32px
- **Scale:** 3px, 8px, 12px, 16px, 18px, 20px, 24px, 32px, 36px, 48px

## Tokens — Radius

| Element | Value |
|---|---|
| system default (--radius) | 0.75rem |
| card / popover | 12px |
| icon button | 12px |
| chip, nav button, CTA | 9999px |
| avatar / heart circle | 50% |

## Tokens — Shadows

| Name | Value | Usage |
|---|---|---|
| input-inset | `inset 0 4px 17px rgba(0,0,0,0.18)` | Text inputs and the slot chips — makes them read as pressed into the ground |
| chip-inset-soft | `inset 0 0 16px 1px rgba(0,0,0,0.10)` | Nav pills and quiet containers |
| chip-inset-medium | `inset 0 0 16px 1px rgba(0,0,0,0.15)` | Default chip / selector pill depth |
| chip-inset-deep | `inset 0 0 16px 1px rgba(0,0,0,0.29)` | Active or hovered chip, deepest recess |

## Components

### Primary CTA pill (button)

| Property | Value |
|---|---|
| background | `#F9F8DF` |
| color | `#17241B` |
| border | `none` |
| radius | `9999px` |
| padding | `18px 36px` |
| font size | `24px` |
| font weight | `400` |
| shadow | `none` |
| hover | `subtle scale(1.02) and a faint ivory glow; no colour change` |

Italic lowercase-cap label with a trailing → arrow (24px type, 8px gap). The only light object on the page — use exactly one per screen.

### Nav pill (ghost) (button)

| Property | Value |
|---|---|
| background | `#1B291F` |
| color | `#F9F8DF` |
| border | `1px solid #1F2F23` |
| radius | `9999px` |
| padding | `8px 16px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `inset 0 0 16px 1px rgba(0,0,0,0.10)` |
| hover | `background lifts to #1F2F23, border to #344B3E` |

Used for contact / about in the header and stacked in the mobile footer. Lowercase serif labels, no uppercase.

### Icon button (button)

| Property | Value |
|---|---|
| background | `#1B291F` |
| color | `#F9F8DF` |
| border | `1px solid #1F2F23` |
| radius | `12px` |
| padding | `8px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `inset 0 0 16px 1px rgba(0,0,0,0.10)` |
| hover | `background #1F2F23` |

36×36 square with the system 12px radius, sits flush beside the pill nav; 1.5px stroke outline icons only.

### Slot chip (selector) (input)

| Property | Value |
|---|---|
| background | `#18261C` |
| color | `#F9F8DF` |
| border | `1px solid #1F2F23` |
| radius | `9999px` |
| padding | `16px 32px` |
| font size | `40px` |
| font weight | `400` |
| shadow | `inset 0 4px 17px rgba(0,0,0,0.18)` |
| hover | `shadow deepens to inset 0 0 16px 1px rgba(0,0,0,0.29)` |

The signature component: a recessed pill whose 40px serif content scrolls vertically like a slot reel, clipped by overflow:hidden. Optional 44px circular leading slot (#1F2F23, 1px #1F2F23 border) holding a heart icon or a blurred avatar stack.

### Polaroid card (card)

| Property | Value |
|---|---|
| background | `#F9F8DF` |
| color | `#17241B` |
| border | `none` |
| radius | `4px` |
| padding | `12px 12px 48px` |
| font size | `12px` |
| font weight | `400` |
| shadow | `0 8px 32px rgba(0,0,0,0.35)` |
| hover | `rotation eases toward 0deg` |

Cream-framed photo with a deep bottom lip, rotated ±4–8° and overlapped so the row crops off the top edge of the viewport.

### Header bar (nav)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `#F9F8DF` |
| border | `none` |
| radius | `0` |
| padding | `48px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `pills brighten individually` |

Logo mark (ivory dot cluster) hard left, a 8px-gapped row of nav pills plus one icon button hard right. No background, no border, no sticky blur.

### Footer legal links (link)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `rgba(165,170,147,0.5)` |
| border | `none` |
| radius | `0` |
| padding | `3px` |
| font size | `12px` |
| font weight | `400` |
| shadow | `none` |
| hover | `color #A5AA93` |

Two lowercase links centred and split by a thin vertical rule in the same sage at 50% alpha.

## Layout

One viewport, one idea. A fixed 48px-padded header (logo left, pill nav right) floats over a vertically and horizontally centred composition: a single serif sentence built from alternating static connector words and interactive slot chips, laid out as a wrapping inline flex row with 20–24px gaps. The primary CTA sits ~120px below, centred, with the 12px footer links directly beneath it. No sections, no scroll, no sidebars — the page is a stage, with photographic elements allowed to bleed off the top edge.

## Imagery

Cream-framed polaroids of nightlife and friends, rotated and overlapped so only the lower half enters the frame; inside chips, tight clusters of circular avatars rendered heavily gaussian-blurred to imply anonymity. Photography is warm, flash-lit and grainy; the green ground itself carries a fine noise texture. Icons are thin-stroke outlines only (heart, instagram, arrow).

## Motion

The slot chips cycle their contents on a vertical reel — content translates up with an ease-out-back settle and overflow clipping, so partially-visible neighbours are a feature, not a bug (visible mid-animation in the hero). Everything else is restrained: 150–200ms background/border transitions on pills, a 1.02 scale on the CTA, and a slow drift on the polaroid row. Never animate colour hue; only luminance.

## Responsive

On phones the header sheds its nav entirely — only the logo mark remains top-left — and contact / about / instagram reappear at the bottom as full-width-ish stacked pills (~250px, 12px gaps) below the CTA. The mad-lib sentence breaks from one row into two stacked rows, each 'connector + chip' pair left-aligned as a unit so the chips form a ragged column; slot type drops from 40px to ~28–30px and the chip padding tightens to 12px 20px. The polaroid row crops aggressively, showing only its bottom third at the top of the screen. The SIGN UP pill grows to ~44% of viewport width with the same 9999px radius, and page gutters fall from 48px to 20–24px.

## Do

- Keep every surface within the four green steps (#17241B → #1F2F23) and separate them with 1px #1F2F23 hairlines plus inset shadows, never with outer drop shadows.
- Use exactly one ivory #F9F8DF filled element per screen — the primary CTA — and let everything else be text or recessed chips.
- Set connector / passive words in Crimson Pro 100 at #A5AA93 and active words in 400 at #F9F8DF; the weight and colour jump is the entire hierarchy.
- Make interactive text containers full pills (9999px) and reserve the 12px --radius for cards, popovers and icon buttons.
- Clip rolling content inside chips with overflow:hidden so mid-animation neighbours are partially visible — the slot-machine read is the brand.
- Let photography bleed off the viewport edge in cream polaroid frames rather than sitting inside a tidy grid.

## Don't

- Don't introduce a second typeface or any sans-serif UI font — Crimson Pro carries nav, body and display alike.
- Don't use pure white (#FFFFFF) or pure black; the ivory is warm and the darks are green.
- Don't raise cards with outer box-shadows or gradients — depth here is always an inset press.
- Don't uppercase nav or body labels; only the italic CTA uses display caps styling.
- Don't add filled accent buttons in the user-colour hues; those swatches are for avatar identity only.
- Don't let the hero scroll or add a second CTA — the page must resolve in one viewport.
- Don't tighten the type: 40px display needs its 1.2 line-height and the body its 1.5, even on mobile.

## Agent prompt

> Build a single-viewport dark page on a deep forest ground #17241B (outer frame #152119) with fine noise texture, using Crimson Pro (fallbacks EB Garamond, Georgia, serif) as the only typeface at weights 100 and 400. Centre a serif 'mad-lib' sentence: connector words at 40px/1.2, weight 100, letter-spacing -1px, colour #A5AA93, alternating with recessed pill chips — background #18261C, 1px solid #1F2F23, border-radius 9999px, padding 16px 32px, box-shadow inset 0 4px 17px rgba(0,0,0,0.18), holding 40px weight-400 #F9F8DF words that roll vertically slot-machine style inside overflow:hidden, optionally prefixed by a 44px circular #1F2F23 slot with a thin heart icon or a blurred avatar stack. Below it, one ivory primary CTA: background #F9F8DF, colour #17241B, radius 9999px, padding 18px 36px, italic 24px label with a trailing arrow and 8px gap. Header is transparent with 48px padding: ivory dot-cluster logo left; right, a row of 8px-gapped ghost pills (background #1B291F, 1px #1F2F23, radius 9999px, padding 8px 16px, 16px lowercase serif) plus a 36px icon button at the system radius 0.75rem. Footer: two 12px links in rgba(165,170,147,0.5) split by a thin rule. Cards and popovers use #1B291F at 12px radius; muted surfaces #344B3E; semantic colours destructive #FE8779, warning #C7AB11, success #3F9950; focus ring rgba(165,170,147,0.5). Spacing is a 4px base stepping 8/12/16/20/24/32/36/48, density spacious. Optional cream-framed polaroids (#F9F8DF, 4px radius, deep bottom lip) rotated ±6° and cropped off the top edge. On mobile, drop the header nav to stacked pills in the footer, stack the sentence into two rows, reduce slot type to 28px and gutters to 20px.

## CSS custom properties

```css
/* 222 — CSS custom properties. Generated from style.json */
:root {
  /* Palette */
  --color-background-outer: #152119; /* Outermost page ground behind the app frame; the darkest green step */
  --color-background: #17241b; /* Main page ground and the ink colour on cream CTAs (foreground-inverse) */
  --color-surface-secondary-surface-input: #18261c; /* Input and chip fills — one barely-perceptible step above the ground */
  --color-surface-tertiary-surface-card-popover: #1b291f; /* Cards, popovers and nav pill fills */
  --color-surface-accent-border-base: #1f2f23; /* Hairline borders, accent surfaces, icon-button and avatar circle fills */
  --color-surface-muted: #344b3e; /* Muted blocks, skeletons and disabled surfaces */
  --color-foreground-soft-muted-foreground: #a5aa93; /* Connector words, footer links, secondary labels; at 50% alpha it becomes the focus ring */
  --color-foreground-primary-surface-inverse: #f9f8df; /* All primary text, logo, and the fill of the single primary CTA pill */
  --color-destructive-border: #fe8779; /* Destructive borders and error states */
  --color-warning-foreground: #c7ab11; /* Warning text and icons */
  --color-success-border: #3f9950; /* Success borders and confirmations */

  /* Semantic roles */
  --background: #17241B;
  --surface: #18261C;
  --surface-raised: #1B291F;
  --border: #1F2F23;
  --text: #F9F8DF;
  --text-muted: #A5AA93;
  --primary: #F9F8DF;
  --primary-text: #17241B;
  --accent: #1F2F23;
  --success: #3F9950;
  --warning: #C7AB11;
  --danger: #FE8779;

  /* Typography */
  --font-display: 'Crimson Pro', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Crimson Pro', 'EB Garamond', Georgia, serif;
  --text-display-h1-connector: 40px;
  --text-display-h1-connector--line-height: 1.2;
  --text-display-h1-connector--letter-spacing: -1px;
  --text-display-h1-connector--font-weight: 100;
  --text-slot-word-chip-fill: 40px;
  --text-slot-word-chip-fill--line-height: 1.2;
  --text-slot-word-chip-fill--letter-spacing: normal;
  --text-slot-word-chip-fill--font-weight: 400;
  --text-cta-label-italic: 24px;
  --text-cta-label-italic--line-height: 1.56;
  --text-cta-label-italic--letter-spacing: normal;
  --text-cta-label-italic--font-weight: 400;
  --text-body-lead: 21.33px;
  --text-body-lead--line-height: 32px;
  --text-body-lead--letter-spacing: normal;
  --text-body-lead--font-weight: 400;
  --text-nav-label: 16px;
  --text-nav-label--line-height: 1.5;
  --text-nav-label--letter-spacing: normal;
  --text-nav-label--font-weight: 400;
  --text-caption-footer: 12px;
  --text-caption-footer--line-height: 1.5;
  --text-caption-footer--letter-spacing: normal;
  --text-caption-footer--font-weight: 400;

  /* Spacing */
  --space-1: 3px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 18px;
  --space-6: 20px;
  --space-7: 24px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 48px;
  --container: 100vw with 48px gutters (centred, no fixed max);
  --section-gap: 48px;

  /* Radius */
  --radius-system-default-radius: 0.75rem;
  --radius-card-popover: 12px;
  --radius-icon-button: 12px;
  --radius-chip-nav-button-cta: 9999px;
  --radius-avatar-heart-circle: 50%;

  /* Shadows */
  --shadow-input-inset: inset 0 4px 17px rgba(0,0,0,0.18);
  --shadow-chip-inset-soft: inset 0 0 16px 1px rgba(0,0,0,0.10);
  --shadow-chip-inset-medium: inset 0 0 16px 1px rgba(0,0,0,0.15);
  --shadow-chip-inset-deep: inset 0 0 16px 1px rgba(0,0,0,0.29);
}
```

## Tailwind v4 theme

```css
/* 222 — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
  --color-background-outer: #152119;
  --color-background: #17241b;
  --color-surface-secondary-surface-input: #18261c;
  --color-surface-tertiary-surface-card-popover: #1b291f;
  --color-surface-accent-border-base: #1f2f23;
  --color-surface-muted: #344b3e;
  --color-foreground-soft-muted-foreground: #a5aa93;
  --color-foreground-primary-surface-inverse: #f9f8df;
  --color-destructive-border: #fe8779;
  --color-warning-foreground: #c7ab11;
  --color-success-border: #3f9950;
  --color-background: #17241B;
  --color-surface: #18261C;
  --color-surface-raised: #1B291F;
  --color-border: #1F2F23;
  --color-text: #F9F8DF;
  --color-text-muted: #A5AA93;
  --color-primary: #F9F8DF;
  --color-primary-text: #17241B;
  --color-accent: #1F2F23;
  --color-success: #3F9950;
  --color-warning: #C7AB11;
  --color-danger: #FE8779;
  --font-display: 'Crimson Pro', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Crimson Pro', 'EB Garamond', Georgia, serif;
  --text-display-h1-connector: 40px;
  --text-display-h1-connector--line-height: 1.2;
  --text-display-h1-connector--letter-spacing: -1px;
  --text-display-h1-connector--font-weight: 100;
  --text-slot-word-chip-fill: 40px;
  --text-slot-word-chip-fill--line-height: 1.2;
  --text-slot-word-chip-fill--letter-spacing: normal;
  --text-slot-word-chip-fill--font-weight: 400;
  --text-cta-label-italic: 24px;
  --text-cta-label-italic--line-height: 1.56;
  --text-cta-label-italic--letter-spacing: normal;
  --text-cta-label-italic--font-weight: 400;
  --text-body-lead: 21.33px;
  --text-body-lead--line-height: 32px;
  --text-body-lead--letter-spacing: normal;
  --text-body-lead--font-weight: 400;
  --text-nav-label: 16px;
  --text-nav-label--line-height: 1.5;
  --text-nav-label--letter-spacing: normal;
  --text-nav-label--font-weight: 400;
  --text-caption-footer: 12px;
  --text-caption-footer--line-height: 1.5;
  --text-caption-footer--letter-spacing: normal;
  --text-caption-footer--font-weight: 400;
  --radius-system-default-radius: 0.75rem;
  --radius-card-popover: 12px;
  --radius-icon-button: 12px;
  --radius-chip-nav-button-cta: 9999px;
  --radius-avatar-heart-circle: 50%;
  --shadow-input-inset: inset 0 4px 17px rgba(0,0,0,0.18);
  --shadow-chip-inset-soft: inset 0 0 16px 1px rgba(0,0,0,0.10);
  --shadow-chip-inset-medium: inset 0 0 16px 1px rgba(0,0,0,0.15);
  --shadow-chip-inset-deep: inset 0 0 16px 1px rgba(0,0,0,0.29);
  --container-site: 100vw with 48px gutters (centred, no fixed max);
}
```

## Theme tokens — light + dark

The shadcn-named layer DevDojo Sites speaks (`bg-background`, `text-foreground`, `bg-primary`, `rounded-medium`…). Paste into site.css after `@import "tailwindcss"` to restyle any site in this look.

```css
/* 222 — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Dark mode: captured; the light half is estimated — the site is dark by default. Add class="dark" to <html> for the site's native look. */
@custom-variant dark (&:where(.dark, .dark *));

:root {
    color-scheme: light;

    --background: #f9f8df;
    --foreground: #17241b;
    --card: #fffef0;
    --card-foreground: #17241b;
    --popover: #fffef0;
    --popover-foreground: #17241b;
    --primary: #17241b;
    --primary-foreground: #f9f8df;
    --secondary: #edeccd;
    --secondary-foreground: #17241b;
    --muted: #edeccd;
    --muted-foreground: #5c6650;
    --accent: #e2e3c4;
    --accent-foreground: #17241b;
    --destructive: #c25a48;
    --destructive-foreground: #f9f8df;
    --border: #dedcb8;
    --input: #dedcb8;
    --ring: rgba(92,102,80,0.5);

    --radius-small: 0.5rem;
    --radius-medium: 0.75rem;
    --radius-large: 1rem;
    --radius: var(--radius-medium);

    --font-display: 'Crimson Pro', 'EB Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Crimson Pro', 'EB Garamond', Georgia, serif;
}

.dark {
    color-scheme: dark;

    --background: #17241b;
    --foreground: #f9f8df;
    --card: #1b291f;
    --card-foreground: #f9f8df;
    --popover: #1b291f;
    --popover-foreground: #f9f8df;
    --primary: #f9f8df;
    --primary-foreground: #17241b;
    --secondary: #18261c;
    --secondary-foreground: #f9f8df;
    --muted: #344b3e;
    --muted-foreground: #a5aa93;
    --accent: #1f2f23;
    --accent-foreground: #f9f8df;
    --destructive: #fe8779;
    --destructive-foreground: #f9f8df; /* estimated */
    --border: #1f2f23;
    --input: #1f2f23;
    --ring: rgba(165,170,147,0.5);
}

@theme inline {
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-card: var(--card);
    --color-card-foreground: var(--card-foreground);
    --color-popover: var(--popover);
    --color-popover-foreground: var(--popover-foreground);
    --color-primary: var(--primary);
    --color-primary-foreground: var(--primary-foreground);
    --color-secondary: var(--secondary);
    --color-secondary-foreground: var(--secondary-foreground);
    --color-muted: var(--muted);
    --color-muted-foreground: var(--muted-foreground);
    --color-accent: var(--accent);
    --color-accent-foreground: var(--accent-foreground);
    --color-destructive: var(--destructive);
    --color-destructive-foreground: var(--destructive-foreground);
    --color-border: var(--border);
    --color-input: var(--input);
    --color-ring: var(--ring);
    --radius-small: var(--radius-small);
    --radius-medium: var(--radius-medium);
    --radius-large: var(--radius-large);
    --font-display: var(--font-display);
    --font-body: var(--font-body);
}
```
