---
version: "DESIGN.md Pro"
name: Tailwind CSS Analysis
analyzedBy: getdesign.md
source: "https://getdesign.md/design-md/tailwindcss"
license: "getdesign.md License — https://getdesign.md/license"
# Third-party analysis, not affiliated with Tailwind CSS. Keep the analyzedBy, source and license lines when copying or sharing this file.
description: "An analysis of Tailwind CSS's design language — a white drafting sheet ruled with almost invisible lines, huge tightly tracked Inter headlines, ghosted utility classes in Plex Mono between the lines, small black pills, sky, pink and fuchsia labels, isometric line drawings and dark code windows."

colors:
  primary: "#000000"
  on-primary: "#ffffff"
  sky: "#00a6f4"
  sky-deep: "#00598a"
  sky-tint: "#e6f8ff"
  sky-line: "#74d4ff"
  pink: "#f6339a"
  fuchsia: "#e12afb"
  canvas: "#ffffff"
  canvas-soft: "#fafafa"
  ink: "#030712"
  ink-body: "#364153"
  ink-muted: "#4a5565"
  ink-soft: "#6a7282"
  ink-faint: "#99a1af"
  ink-ghost: "#cccccc"
  hairline: "#f2f2f3"
  hairline-strong: "#d9dadc"
  surface-chip: "#ededee"
  surface-stage: "#f9f9f9"
  surface-code-raised: "#1c202a"
  tag-sky: "#e1f4fb"
  tag-pink: "#faeaf3"
  tag-grey: "#f0f0f2"
  tag-template: "#dff2fe"

typography:
  display:
    fontFamily: Inter
    fontSize: 96px
    fontWeight: 400
    lineHeight: 1
    letterSpacing: -4.8px
  statement:
    fontFamily: Inter
    fontSize: 56px
    fontWeight: 400
    lineHeight: 1.071
    letterSpacing: -1.4px
  heading:
    fontFamily: Inter
    fontSize: 40px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -2px
  feature-title:
    fontFamily: Inter
    fontSize: 24px
    fontWeight: 500
    lineHeight: 1.667
    letterSpacing: 0
  card-title:
    fontFamily: Inter
    fontSize: 20px
    fontWeight: 500
    lineHeight: 2
    letterSpacing: 0
  lead:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 500
    lineHeight: 1.556
    letterSpacing: 0
  lead-regular:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.778
    letterSpacing: 0
  side-title:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 500
    lineHeight: 1.556
    letterSpacing: -0.45px
  panel-title:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 600
    lineHeight: 1.556
    letterSpacing: 0
  inline-code:
    fontFamily: IBM Plex Mono
    fontSize: 17px
    fontWeight: 500
    lineHeight: 1.647
    letterSpacing: 0
  body:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.75
    letterSpacing: 0
  nav-link:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.714
    letterSpacing: 0
  body-sm:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 2
    letterSpacing: 0
  button:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.714
    letterSpacing: 0
  name:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.714
    letterSpacing: 0
  mono-label:
    fontFamily: IBM Plex Mono
    fontSize: 14px
    fontWeight: 500
    lineHeight: 2
    letterSpacing: 1.4px
  code:
    fontFamily: IBM Plex Mono
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.846
    letterSpacing: 0
  category:
    fontFamily: IBM Plex Mono
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.846
    letterSpacing: 0
  eyebrow:
    fontFamily: IBM Plex Mono
    fontSize: 12px
    fontWeight: 600
    lineHeight: 1.333
    letterSpacing: 1.2px
  chip-mono:
    fontFamily: IBM Plex Mono
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.667
    letterSpacing: 1.2px
  ghost-class:
    fontFamily: IBM Plex Mono
    fontSize: 12px
    fontWeight: 400
    lineHeight: 2
    letterSpacing: 0
  chip:
    fontFamily: Inter
    fontSize: 12px
    fontWeight: 500
    lineHeight: 1.667
    letterSpacing: 0
  kbd:
    fontFamily: Inter
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.333
    letterSpacing: 0
  tag:
    fontFamily: Inter
    fontSize: 11px
    fontWeight: 500
    lineHeight: 1.818
    letterSpacing: 0
  tag-strong:
    fontFamily: Inter
    fontSize: 11px
    fontWeight: 600
    lineHeight: 1.818
    letterSpacing: 0

rounded:
  none: 0px
  xs: 4px
  sm: 6px
  md: 8px
  lg: 12px
  xl: 16px
  xxl: 24px
  pill: 32px
  full: 9999px

spacing:
  xxs: 4px
  xs: 8px
  sm: 12px
  md: 16px
  lg: 20px
  xl: 32px
  xxl: 40px
  section: 96px

components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "{rounded.pill}"
    padding: 8px 16px
    height: 40px
    width: 108px
  button-full:
    backgroundColor: "{colors.ink}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "{rounded.full}"
    padding: 8px 16px
    height: 40px
    width: 416px
  button-search:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink-soft}"
    typography: "{typography.nav-link}"
    rounded: "{rounded.full}"
    padding: 8px 16px
    height: 40px
    width: 320px
  button-search-nav:
    backgroundColor: "{colors.canvas-soft}"
    textColor: "{colors.ink-soft}"
    typography: "{typography.kbd}"
    rounded: "{rounded.full}"
    padding: 4px 8px
    height: 24px
    width: 54px
  button-version:
    backgroundColor: "{colors.hairline}"
    textColor: "{colors.ink}"
    typography: "{typography.chip}"
    rounded: "{rounded.xl}"
    padding: 2px 6px 2px 10px
    height: 24px
    width: 60px
  button-filter:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.chip}"
    rounded: "{rounded.sm}"
    padding: 4px 12px
    height: 28px
  button-filter-active:
    backgroundColor: "{colors.ink}"
    textColor: "{colors.on-primary}"
    typography: "{typography.chip}"
    rounded: "{rounded.sm}"
    padding: 4px 12px
    height: 28px
    width: 39px
  top-nav:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.nav-link}"
    rounded: "{rounded.none}"
    height: 57px
  nav-item:
    textColor: "{colors.ink}"
    typography: "{typography.nav-link}"
  plus-link:
    backgroundColor: "{colors.sky-tint}"
    textColor: "{colors.sky-deep}"
    typography: "{typography.nav-link}"
    rounded: "{rounded.none}"
    padding: 0px 6px
    height: 24px
    width: 40px
  footer:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.none}"
    height: 284px
  footer-legal:
    textColor: "{colors.ink-body}"
    typography: "{typography.nav-link}"
  theme-switch:
    backgroundColor: "{colors.hairline}"
    textColor: "{colors.ink-muted}"
    rounded: "{rounded.full}"
  drafting-grid:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.hairline}"
    rounded: "{rounded.none}"
  gutter-hatch:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.hairline}"
    rounded: "{rounded.none}"
  hero:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.display}"
    rounded: "{rounded.none}"
  ghost-class:
    textColor: "{colors.ink-ghost}"
    typography: "{typography.ghost-class}"
  inline-code:
    textColor: "{colors.sky}"
    typography: "{typography.inline-code}"
  text-link:
    textColor: "{colors.ink}"
    typography: "{typography.panel-title}"
  eyebrow-sky:
    textColor: "{colors.sky}"
    typography: "{typography.eyebrow}"
  eyebrow-pink:
    textColor: "{colors.pink}"
    typography: "{typography.eyebrow}"
  eyebrow-fuchsia:
    textColor: "{colors.fuchsia}"
    typography: "{typography.eyebrow}"
  section-heading:
    textColor: "{colors.ink}"
    typography: "{typography.heading}"
  lead-text:
    textColor: "{colors.ink-muted}"
    typography: "{typography.lead}"
  code-frame:
    backgroundColor: "{colors.hairline}"
    rounded: "{rounded.none}"
    padding: 8px
    height: 412px
    width: 802px
  code-window:
    backgroundColor: "{colors.ink}"
    textColor: "{colors.on-primary}"
    typography: "{typography.code}"
    rounded: "{rounded.lg}"
    height: 396px
    width: 786px
  code-pane:
    backgroundColor: "{colors.surface-code-raised}"
    textColor: "{colors.on-primary}"
    typography: "{typography.code}"
    rounded: "{rounded.md}"
    padding: 12px
  code-tab:
    textColor: "{colors.on-primary}"
    typography: "{typography.kbd}"
    rounded: "{rounded.xs}"
    padding: 4px 8px
    height: 28px
  code-tab-active:
    backgroundColor: "{colors.surface-code-raised}"
    textColor: "{colors.on-primary}"
    typography: "{typography.kbd}"
    rounded: "{rounded.xs}"
    padding: 4px 8px
    height: 28px
  preview-frame:
    backgroundColor: "{colors.hairline}"
    rounded: "{rounded.xxl}"
    padding: 8px
    height: 336px
    width: 262px
  preview-card:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.body}"
    rounded: "{rounded.xl}"
    padding: 28px
    height: 320px
    width: 246px
  sponsor-cell:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    rounded: "{rounded.none}"
    padding: 16px 8px
    height: 108px
    width: 270px
  feature-sheet:
    backgroundColor: "{colors.hairline}"
    rounded: "{rounded.none}"
    padding: 8px
  feature-card:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.feature-title}"
    rounded: "{rounded.xl}"
    padding: 8px
    height: 640px
    width: 1184px
  feature-card-small:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.card-title}"
    rounded: "{rounded.xl}"
    padding: 8px
  feature-stage:
    backgroundColor: "{colors.surface-stage}"
    textColor: "{colors.ink}"
    typography: "{typography.code}"
    rounded: "{rounded.md}"
    padding: 32px
    height: 448px
  iso-icon:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
  image-wall:
    backgroundColor: "{colors.canvas}"
    rounded: "{rounded.xl}"
    height: 863px
    width: 1184px
  statement-text:
    textColor: "{colors.ink-soft}"
    typography: "{typography.statement}"
  section-chip:
    backgroundColor: "{colors.surface-chip}"
    textColor: "{colors.ink}"
    typography: "{typography.chip-mono}"
    rounded: "{rounded.sm}"
    padding: 4px 12px
    height: 28px
  side-text:
    textColor: "{colors.ink-soft}"
    typography: "{typography.side-title}"
  directory-row:
    backgroundColor: "{colors.canvas-soft}"
    textColor: "{colors.ink}"
    typography: "{typography.button}"
    rounded: "{rounded.none}"
    padding: 20px 8px 20px 16px
    height: 65px
    width: 784px
  row-link:
    textColor: "{colors.ink-faint}"
    typography: "{typography.name}"
  tag-partner:
    backgroundColor: "{colors.tag-sky}"
    textColor: "{colors.sky}"
    typography: "{typography.tag}"
    rounded: "{rounded.full}"
    padding: 2px 10px
    height: 18px
  tag-ambassador:
    backgroundColor: "{colors.tag-pink}"
    textColor: "{colors.pink}"
    typography: "{typography.tag}"
    rounded: "{rounded.full}"
    padding: 2px 10px
    height: 18px
  tag-supporter:
    backgroundColor: "{colors.tag-grey}"
    textColor: "{colors.ink-soft}"
    typography: "{typography.tag}"
    rounded: "{rounded.full}"
    padding: 2px 10px
    height: 18px
  benefit-panel:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink-body}"
    typography: "{typography.panel-title}"
    rounded: "{rounded.none}"
    padding: 32px
    height: 500px
    width: 388px
  benefit-quote:
    textColor: "{colors.ink-soft}"
    typography: "{typography.nav-link}"
  showcase-label:
    textColor: "{colors.ink-soft}"
    typography: "{typography.mono-label}"
  showcase-tile:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.name}"
    rounded: "{rounded.md}"
    padding: 8px
  showcase-category:
    textColor: "{colors.ink-soft}"
    typography: "{typography.category}"
  tag-template:
    backgroundColor: "{colors.tag-template}"
    textColor: "{colors.sky}"
    typography: "{typography.tag-strong}"
    rounded: "{rounded.full}"
    padding: 0px 6px
    height: 22px
    width: 64px
  login-card:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.name}"
    rounded: "{rounded.lg}"
    padding: 40px
    height: 388px
    width: 496px
  text-input:
    backgroundColor: "{colors.canvas}"
    textColor: "{colors.ink}"
    typography: "{typography.nav-link}"
    rounded: "{rounded.md}"
    padding: 0px 12px
    height: 40px
    width: 416px
  field-label:
    textColor: "{colors.ink}"
    typography: "{typography.name}"
---

## Overview

The site is a drawing board. Hairlines in `{colors.hairline}` cross the white page at the baseline of every headline, along the margins and between logos, so faint that they register as paper rather than as borders. Everything is placed on them. Outside the 1200px column two 40px gutters are hatched with diagonal strokes, like the waste edge of a print sheet. The visitor sees the construction of the page, which is also the subject of the product.

Type does the talking. Headlines are Inter at 96px regular, pulled together by -4.8px with a line exactly as high as the type; section titles repeat the gesture at 40px. Between the lines of text sit the classes that set them, "text-8xl text-gray-950 tracking-tighter text-balance", in 12px Plex Mono at a fifth of black. They are the quietest and cleverest element on the page: a caption that is also the source.

Color is rationed. The only filled button is a small black pill. `{colors.sky}` marks inline class names and the "SPONSORS" label, `{colors.pink}` and `{colors.fuchsia}` mark the other labels; the rest is ink and grey. Saturation belongs to what is demonstrated, inside stages with a dotted ground: code, photographs, palettes. Those stages and the near-black code windows are the only heavy objects, and each is set in an 8px grey frame that fills the grid cell.

**Key Characteristics:**
- White page ruled by 1px lines at 5% ink, hatched gutters.
- 96px Inter at -5% tracking, 1.0 line height, regular weight.
- Ghosted utility classes between paragraphs.
- 40px black pills; everything else is a ring or a tint.
- Mono eyebrows in sky, pink or fuchsia, one per section.
- White cards separated by 8px of grey instead of outlines.
- Isometric line icons at 2:1.
- Page rhythm: headline → code and preview → sponsors in ruled cells → feature sheet → build demo → wall of sites → ruled footer.

## Colors

### Brand & Accent
- **Black** (`{colors.primary}` — #000000): "Get started", "Become a sponsor", "Get in touch".
- **On Black** (`{colors.on-primary}` — #ffffff): their lettering; text in code windows.
- **Sky** (`{colors.sky}` — #00a6f4): logo waves, inline classes, "SPONSORS", "Partner", "PLUS".
- **Deep Sky** (`{colors.sky-deep}` — #00598a): the word "Plus" in the bar.
- **Sky Tint** (`{colors.sky-tint}` — #e6f8ff): its ground.
- **Sky Line** (`{colors.sky-line}` — #74d4ff): its dashed edge and underlines of links.
- **Pink** (`{colors.pink}` — #f6339a): "WHY TAILWIND CSS?", "Ambassador".
- **Fuchsia** (`{colors.fuchsia}` — #e12afb): "TAILWIND IN THE WILD".

### Surface
- **Canvas** (`{colors.canvas}` — #ffffff): page, cards, panels.
- **Soft Canvas** (`{colors.canvas-soft}` — #fafafa): partners page, search pill.
- **Rule** (`{colors.hairline}` — #f2f2f3): grid lines, frames around code and cards, version pill.
- **Strong Rule** (`{colors.hairline-strong}` — #d9dadc): rings of fields, search and filters.
- **Chip** (`{colors.surface-chip}` — #ededee): mono section chips.
- **Stage** (`{colors.surface-stage}` — #f9f9f9): demonstration areas, with a dotted texture.
- **Raised Code** (`{colors.surface-code-raised}` — #1c202a): pane inside a code window, active tab.
- **Sky Tag** (`{colors.tag-sky}` — #e1f4fb): "Partner".
- **Pink Tag** (`{colors.tag-pink}` — #faeaf3): "Ambassador".
- **Grey Tag** (`{colors.tag-grey}` — #f0f0f2): "Supporter".
- **Template Tag** (`{colors.tag-template}` — #dff2fe): "Template".

### Text
- **Ink** (`{colors.ink}` — #030712): headlines, titles, links; code windows and the active filter.
- **Body** (`{colors.ink-body}` — #364153): panel copy, copyright.
- **Muted** (`{colors.ink-muted}` — #4a5565): leads, section and feature copy.
- **Soft** (`{colors.ink-soft}` — #6a7282): second half of statements, categories, quotes.
- **Faint** (`{colors.ink-faint}` — #99a1af): "Learn more →".
- **Ghost** (`{colors.ink-ghost}` — #cccccc): class names between lines.

## Typography

### Font Family
**Inter** for all reading text, using its variable optical size so that 96px headlines get the tighter display shapes. **IBM Plex Mono** for class names, labels, categories and code.

### Hierarchy

| Token | Size | Weight | Line Height | Letter Spacing | Use |
|---|---|---|---|---|---|
| `{typography.display}` | 96px | 400 | 1 | -4.8px | "Rapidly build modern websites…" |
| `{typography.statement}` | 56px | 400 | 1.071 | -1.4px | "Become part of the Tailwind ecosystem." |
| `{typography.heading}` | 40px | 500 | 1 | -2px | "Built for the modern web." |
| `{typography.feature-title}` | 24px | 500 | 1.667 | 0 | "Responsive design", "Dark mode" |
| `{typography.card-title}` | 20px | 500 | 2 | 0 | "Cascade layers" |
| `{typography.lead}` | 18px | 500 | 1.556 | 0 | "A utility-first CSS framework…" |
| `{typography.lead-regular}` | 18px | 400 | 1.778 | 0 | Showcase introduction |
| `{typography.side-title}` | 18px | 500 | 1.556 | -0.45px | "Tailwind CSS ecosystem. Browse…" |
| `{typography.panel-title}` | 18px | 600 | 1.556 | 0 | "Direct access to the Tailwind CSS team" |
| `{typography.inline-code}` | 17px | 500 | 1.647 | 0 | "flex", "pt-4", "rotate-90" |
| `{typography.body}` | 16px | 400 | 1.75 | 0 | Section copy |
| `{typography.nav-link}` | 14px | 400 | 1.714 | 0 | "Docs", "Blog", panel copy |
| `{typography.body-sm}` | 14px | 400 | 2 | 0 | Feature copy, footer links |
| `{typography.button}` | 14px | 600 | 1.714 | 0 | "Get started", row names |
| `{typography.name}` | 14px | 500 | 1.714 | 0 | "Railway", "Learn more", field labels |
| `{typography.mono-label}` | 14px | 500 | 2 | 1.4px | "SHOWCASE" |
| `{typography.code}` | 13px | 400 | 1.846 | 0 | Code windows |
| `{typography.category}` | 13px | 400 | 1.846 | 0 | "Hosting platform website" |
| `{typography.eyebrow}` | 12px | 600 | 1.333 | 1.2px | "SPONSORS", "HOW IT WORKS" |
| `{typography.chip-mono}` | 12px | 400 | 1.667 | 1.2px | "01 / PARTNER DIRECTORY" |
| `{typography.ghost-class}` | 12px | 400 | 2 | 0 | "text-8xl text-gray-950…" |
| `{typography.chip}` | 12px | 500 | 1.667 | 0 | "v4.3", filters |
| `{typography.kbd}` | 12px | 400 | 1.333 | 0 | "⌘K", code tabs |
| `{typography.tag}` | 11px | 500 | 1.818 | 0 | "Partner", "Supporter" |
| `{typography.tag-strong}` | 11px | 600 | 1.818 | 0 | "Template" |

### Principles

Size contrast is extreme and weight contrast small. The headline is 96px at 400, the next level 40px at 500, and then nothing above 24px. Display sizes are tracked -5%; text sizes have no tracking; mono capitals are opened by 10%.

Small text gets tall lines: 14px on 28 in features and the footer, 12px on 24 for ghost classes. Everything lands on a 4px step, which lets the rules meet the baselines. On the partners page a statement starts in ink and goes on in `{colors.ink-soft}` inside the same sentence, so title and explanation share one size.

### Note on Font Substitutes
Both families are free on Google Fonts. Enable Inter's optical size axis for the headlines; without it, Inter Tight at 96px with -3px comes close.

## Layout

### Spacing System
- **xxs** (`{spacing.xxs}` — 4px): filters, tabs and between chips.
- **xs** (`{spacing.xs}` — 8px): inset of text from the column line, grey frames, gap between cards.
- **sm** (`{spacing.sm}` — 12px): fields, icon to name.
- **md** (`{spacing.md}` — 16px): pill sides, row gaps.
- **lg** (`{spacing.lg}` — 20px): height padding of directory rows.
- **xl** (`{spacing.xl}` — 32px): stages and benefit panels.
- **xxl** (`{spacing.xxl}` — 40px): gutters, login card, card text inset.
- **section** (`{spacing.section}` — 96px): hero top and space around sections, up to 128px.

### Grid & Container
A 1200px column between 40px hatched gutters; text is inset 8px from the column line. Logos and showcase tiles take four columns of 270px with 40px channels, each cell closed by rules on all sides. Features run one, two, two, two, three and two to a row inside a grey sheet with 8px gaps. The partners page splits 336px for text and 784px for the list.

### Whitespace Philosophy
Text blocks are short and stay in the left half (512 to 768px), leaving the right of the sheet blank except for its lines. Sections are separated by 160px or more of ruled emptiness; no band ever changes the page color.

### Responsive Strategy

#### Breakpoints

| Name | Width | Key Changes |
|---|---|---|
| Large | 1024px (64rem) and up | Full nav, feature pairs and triples, code beside preview |
| Medium | 768–1023px (48rem) | Two columns of logos and cards |
| Small | 640–767px (40rem) | Headline steps down, cards single |
| Base | Below 640px | Gutters narrow, one column |

#### Touch Targets
Pills and fields are 40px; filters and tabs 28px; the search key and version pill 24px. Directory rows are 65px and sponsor cells 108px, both clickable over their whole area.

#### Collapsing Strategy
The nav folds into a menu; code and preview stack; the feature sheet becomes one column but keeps its 8px gaps; directory rows drop the category before the tag.

#### Image Behavior
Showcase pictures are 4:3 with 8px corners and a 1px inner ring. The wall of sites is cropped by its frame on both sides. Code windows bleed out of their stage at right and bottom instead of shrinking.

## Elevation & Depth

| Level | Treatment | Use |
|---|---|---|
| Rule | 1px `{colors.hairline}` | Grid, cells, rows |
| Frame | 8px of `{colors.hairline}` | Around code, cards, the wall |
| Ring | Inset 1px at 8–10% ink | Search, fields, filters, pictures |
| White ring | Inset 1px at 5–10% white | Code panes and tabs |
| Object shadow | 0 20px 25px -5px and 0 8px 10px -6px, black 10% | Objects shown inside stages |

### Decorative Depth
The interface is flat. Depth is drawn: isometric icons, a dotted ground in stages, 315-degree hatching in gutters and behind the preview.

## Shapes

### Border Radius Scale

| Token | Value | Use |
|---|---|---|
| `{rounded.none}` | 0px | Grid cells, benefit panels, frames |
| `{rounded.xs}` | 4px | Code tabs |
| `{rounded.sm}` | 6px | Filters, section chips |
| `{rounded.md}` | 8px | Stages, code panes, fields, pictures |
| `{rounded.lg}` | 12px | Code windows, login card |
| `{rounded.xl}` | 16px | Feature cards, preview, version pill, wall |
| `{rounded.xxl}` | 24px | Frame around the preview |
| `{rounded.pill}` | 32px | Black pills |
| `{rounded.full}` | 9999px | Search, tags, theme switch, sign-in |

### Photography Geometry
Photographs occur only inside demonstrations. Icons are isometric plates at 2:1 in 1px ink, about 80px wide, some with dashed edges for the hidden part. Customer logos are monochrome ink, centered in their cells.

## Components

### Buttons

**`button-primary`** — "Get started", "Become a sponsor →".
- `{colors.primary}` pill of 40px, `{rounded.pill}`, `{colors.on-primary}` `{typography.button}`, 16px sides; the arrow version has a thin 8px-spaced arrow. The search pill at its right is ringed, not filled.

**`button-full`** — "Sign in to account" on the login card.
- `{colors.ink}`, full 416px width, same 40px height, `{colors.on-primary}` label in `{typography.button}`, `{rounded.full}`, padding 8px 16px. It differs from the site's black only by its blue undertone.

**`button-search`** — "Quick search" with a magnifier at left and "⌘K" at right.
- 320px ringed pill, placeholder in `{colors.ink-soft}`, beside the black pill, `{colors.canvas}` fill, label in `{typography.nav-link}`, `{rounded.full}`, padding 8px 16px, 40px tall.

**`button-search-nav`** — the small version in the bar.
- 54×24, magnifier and `{typography.kbd}` "⌘K" on `{colors.canvas-soft}`, `{colors.ink-soft}` label, `{rounded.full}`, padding 4px 8px. The ring is 8% ink, the key hint grey.

**`button-version`** — "v4.3" with a chevron.
- `{colors.hairline}` pill, `{typography.chip}`, right after the logo, `{colors.ink}` label, `{rounded.xl}`, padding 2px 6px 2px 10px, 24px tall. The chevron opens the list of older versions.

**`button-filter`** — "AI Code Editors", "Hosting", "Email".
- 28px, `{rounded.sm}`, ring in `{colors.hairline-strong}`, `{typography.chip}`, `{colors.canvas}` fill, `{colors.ink}` label, padding 4px 12px; nineteen wrap over three rows.

**`button-filter-active`** — "All".
- Label in `{typography.chip}`, `{rounded.sm}`, padding 4px 12px, 28px tall. Filled `{colors.ink}` with `{colors.on-primary}` lettering, same box. It is the only filled shape on the list, so the current view is plain.

### Cards & Containers

**`code-frame`** — 8px band of `{colors.hairline}` that fills a grid cell and holds a code window or the wall, square corners, 412px tall, 802px wide. Its edges meet the rules of the cell exactly, so it reads as poured concrete.

**`code-window`** — `{colors.ink}`, `{rounded.lg}`, three grey dots in a 32px strip; line numbers in grey, `{typography.code}`, `{colors.on-primary}` text, 396px tall, 786px wide. Tags are pink and classes light blue, and a caret types at the open line.

**`code-pane`** — lighter `{colors.surface-code-raised}` sheet inside the window with `{rounded.md}` corners and a white 10% ring; several panes split the build demo, `{colors.on-primary}` text in `{typography.code}`, padding 12px. Tags are pink, attributes and strings sky, numbers grey; those tints never leave the pane.

**`preview-frame`** — translucent grey frame with `{rounded.xxl}` around the rendered result, on a hatched ground, `{colors.hairline}` fill, 336px tall, 262px wide. The frame is concentric with the card, 8px larger on every side.

**`preview-card`** — white 246×320 card, `{rounded.xl}`, 28px padding, an album cover and three lines of text, `{colors.canvas}` fill, `{colors.ink}` text in `{typography.body}`. Its content is the output of the code at the left and has no house style.

**`sponsor-cell`** — 270×108 ruled cell with a centered ink logo; thirty-three of them in four columns. Channels of 40px between the columns stay empty but ruled.
- `{colors.canvas}` fill, square corners, padding 16px 8px.

**`feature-sheet`** — the grey ground under all feature cards; its 8px gaps replace borders.
- `{colors.hairline}` fill, square corners. It is inset by 8px inside the column rules.

**`feature-card`** — white, `{rounded.xl}`: icon left, `{typography.feature-title}` and `{typography.body-sm}` at its right, stage below, `{colors.canvas}` fill, `{colors.ink}` text, padding 8px, 640px tall, 1184px wide. Text starts 40px from the edge and stops at two or three lines.

**`feature-card-small`** — one of three to a row, icon above and `{typography.card-title}` below it, `{colors.canvas}` fill, `{colors.ink}` text, `{rounded.xl}`. Three stand in one 8px-gapped row, each with a code or list stage below.

**`feature-stage`** — `{colors.surface-stage}` with a dotted texture and a fine line, `{rounded.md}`, 448px high; its content bleeds over an edge, `{colors.ink}` text in `{typography.code}`, padding 32px.

**`image-wall`** — 1184×863 mosaic of site screenshots, `{rounded.xl}`, cut at both sides, `{colors.canvas}` fill. Screens have their own small corners and 8px gaps. It closes the home page before the footer.

**`benefit-panel`** — white 388×500 rectangle without corners on the soft page: `{typography.panel-title}`, copy in `{colors.ink-body}`, a quote and a logo at the bottom, `{colors.canvas}` fill, padding 32px. Four make a square of two by two, held apart by 8px of page.

**`benefit-quote`** — `{colors.ink-soft}` quote, name in `{typography.button}`, company mark at right, text in `{typography.nav-link}`. It is pinned to the bottom edge with 32px padding. The quote mark is typed, not drawn.

**`showcase-tile`** — 252px picture with `{rounded.md}`, rule, name in `{typography.name}`, category in mono; the cell is closed by rules, `{colors.canvas}` fill, `{colors.ink}` text, padding 8px. Four to a row, with 40px of ruled blank between rows.

**`login-card`** — 496px white sheet with 40px padding, held only by the crossing rules and two hatched strips. The logo reads "tailwind" in ink and "PLUS" in `{colors.sky}`.
- `{colors.canvas}` fill, `{colors.ink}` text in `{typography.name}`, `{rounded.lg}`, 388px tall.

### Inputs & Forms

**`text-input`** — 416×40 white field with a `{colors.hairline-strong}` ring and `{rounded.md}`; no placeholder, `{colors.canvas}` fill, `{colors.ink}` text, padding 0 12px. Corners are softer than the pill below them, text is `{typography.nav-link}`.

**`field-label`** — "Email", "Password" in `{typography.name}`, 8px above the field, with "Forgot password?" in `{colors.ink-muted}` at the right end, `{colors.ink}` text. Both fields have one.

**`code-tab`** — "app.css", "package.json".
- `{colors.on-primary}` text, `{rounded.xs}`, padding 4px 8px, 28px tall. Plain white `{typography.kbd}` text; a preview tab is italic. Tabs sit in a 37px strip under the dots.

**`code-tab-active`** — "index.html".
- 10% white tab with `{rounded.xs}` and a fine ring, `{colors.surface-code-raised}` fill, `{colors.on-primary}` text in `{typography.kbd}`, padding 4px 8px, 28px tall. A hairline of 5% white closes the strip.

### Navigation

**`top-nav`** — 57px white bar with a hairline below: logo, version, search key, links, GitHub mark. The bar has no shadow and stays while the rules scroll below it.
- `{colors.canvas}` fill, `{colors.ink}` text in `{typography.nav-link}`, square corners.

**`nav-item`** — "Docs", "Play", "Blog", "Showcase", "Partners" at the right of the bar.
- `{colors.ink}` text in `{typography.nav-link}`, 24px apart. The current page is not marked, and "Plus" in a dashed sky box and a black mark follow the last of them.

**`plus-link`** — "Plus" in `{colors.sky-deep}` on `{colors.sky-tint}`, dashed `{colors.sky-line}` edges with small corner marks, like a selected object, text in `{typography.nav-link}`, square corners, 40px wide. The box is 24px tall with 6px sides and stands last before the mark.

**`footer`** — three ruled columns, `{typography.button}` heads over `{typography.body-sm}` links, separated by 40px channels, `{colors.canvas}` fill, `{colors.ink}` text, square corners, 284px tall. Links follow every 40px on the baseline grid.

**`footer-legal`** — below the rule: theme switch left, copyright and "Trademark Policy" right. Text is `{typography.nav-link}` in `{colors.ink-body}`, with a middle dot between. It is the last line of every page.

**`theme-switch`** — `{colors.hairline}` pill with three line icons; the chosen one sits on a white circle, `{rounded.full}`. Screen, sun and moon, each in a 28px circle.

### Signature Components

**`drafting-grid`** — 1px `{colors.hairline}` rules above and below each text block, running the full window width, and vertical ones at the column edges, `{colors.canvas}` fill, square corners. A section carries five or six horizontal lines, all starting beyond the column.

**`gutter-hatch`** — 40px strips of diagonal `{colors.hairline}` strokes on both sides, only beside the hero, `{colors.canvas}` fill, square corners. The login page repeats the strips beside its card.

**`hero`** — ghost line, three lines of `{typography.display}`, lead, pill and search, then code, `{colors.canvas}` fill, `{colors.ink}` text, square corners. The headline is kept to 1000px, so it always breaks in three.

**`ghost-class`** — `{typography.ghost-class}` in `{colors.ink-ghost}` sitting in the gap above the text it describes. It is one line, never wraps, and starts on the same inset as the headline.

**`inline-code`** — "flex", "text-center" in `{typography.inline-code}`, `{colors.sky}`, inside the lead. Commas and "and" between the classes stay in the sentence's grey. Classes shown: flex, pt-4, text-center, rotate-90.

**`text-link`** — "NASA".
- `{colors.ink}` semibold with a `{colors.sky-line}` underline, text in `{typography.panel-title}`. Used inside copy only, never as a call. The line is thicker than a usual underline and sits low.

**`eyebrow-sky`** — "SPONSORS", "HOW IT WORKS".
- `{typography.eyebrow}` in `{colors.sky}`. It stands 16px above the heading, between two rules. The line of ghost classes follows below the heading.

**`eyebrow-pink`** — "WHY TAILWIND CSS?" in `{colors.pink}`, text in `{typography.eyebrow}`. Same mono capitals with 1.2px tracking. It belongs to the feature sheet.

**`eyebrow-fuchsia`** — "TAILWIND IN THE WILD" in `{colors.fuchsia}`, text in `{typography.eyebrow}`. Here a ghost line precedes it as well. It belongs to the wall of sites.

**`section-heading`** — `{typography.heading}` between two rules, always ending in a full stop, `{colors.ink}` text. Two-line versions keep the 40px line. It is followed by a ghost class and two lines of grey copy.

**`lead-text`** — medium 18px in `{colors.ink-muted}`, up to 768px wide; sections use `{typography.body}`, text in `{typography.lead}`. Inline classes may appear in it. The measure leaves the right third empty.

**`iso-icon`** — isometric plates in 1px ink: stacked layers, swatches, a pair of devices. They are placed at the left of wide cards and on top of narrow ones.
- `{colors.canvas}` fill.

**`statement-text`** — the opening paragraph of the partners page.
- `{typography.statement}`, its first sentence in `{colors.ink}` and the rest in `{colors.ink-soft}`. It takes the place of headline and lead, starts at the column line and has no eyebrow above it.

**`section-chip`** — "PARTNERS", "02 / PARTNER WITH US".
- `{colors.surface-chip}`, `{rounded.sm}`, `{typography.chip-mono}` capitals, `{colors.ink}` text, padding 4px 12px, 28px tall. Numbers and a slash lead the sections further down.

**`side-text`** — `{typography.side-title}` in two tones, holding the left of a split, `{colors.ink-soft}` text. A button may follow it, as "Get in touch →" does.

**`directory-row`** — 65px ruled row: grey mark, name, tag, category, link at the right end. Fifty-nine rows, each divided by a 5% ink line.
- `{colors.canvas-soft}` fill, `{colors.ink}` text in `{typography.button}`, square corners, padding 20px 8px 20px 16px, 784px wide.

**`row-link`** — "Learn more →", "Visit site →" in `{colors.ink-faint}` medium, text in `{typography.name}`. Its arrow is 14px and the same grey. It stands at the right end of a directory row.

**`tag-partner`** — "Partner" beside a company's name in the directory.
- `{colors.tag-sky}` fill, `{colors.sky}` text in `{typography.tag}`, `{rounded.full}`, padding 2px 10px, 18px tall. It is the highest of the three levels, shown first in the list.

**`tag-ambassador`** — `{colors.tag-pink}` pill with `{colors.pink}` lettering in `{typography.tag}`, `{rounded.full}`, padding 2px 10px, 18px tall. Same box as the others. It marks the middle level.

**`tag-supporter`** — `{colors.tag-grey}` pill with `{colors.ink-soft}` lettering in `{typography.tag}`, `{rounded.full}`, padding 2px 10px, 18px tall. It is the most common of the three. Its grey sets it behind the two tinted ones.

**`showcase-label`** — "SHOWCASE" in `{typography.mono-label}`, above the headline in place of a ghost class, `{colors.ink-soft}` text. Tracking is 10%, size 14px. No color is given to it.

**`showcase-category`** — "Developer tool website" under a site's name in the showcase.
- `{colors.ink-soft}` text in `{typography.category}`, one line below the name, with no link of its own. Name and category stand under the picture, outside its frame.

**`tag-template`** — "Template" beside a name.
- `{colors.tag-template}`, `{colors.sky}` `{typography.tag-strong}`, 22px, `{rounded.full}`, padding 0 6px, 64px wide. It marks seven sites that are sold as templates.

## Do's and Don'ts

### Do
- Set big headlines in regular weight with -5% tracking and line height 1.
- Run rules the full width of the window and let text sit on them.
- Use one color per eyebrow: sky, pink or fuchsia.
- Frame heavy objects with 8px of `{colors.hairline}`.
- Keep one small black pill per view and pair it with a ringed search.
- Caption type with its own classes in `{colors.ink-ghost}`.
- End section headings with a full stop.
- Let code and demos bleed out of their stage.
- Join `feature-card` sheets in `{colors.canvas}` with narrow gaps of `{colors.hairline}`.
- Print customer marks in `{colors.ink}`, four to a row, in cells drawn by the grid.

### Don't
- Don't color buttons; sky, pink and fuchsia are for text and tags.
- Don't make grid lines darker than 5% ink.
- Don't change the page color between sections.
- Don't round grid cells or benefit panels.
- Don't use shadows outside demonstrations.
- Don't go between 24px and 40px in headings.
- Don't center text blocks; they start at the column line.
- Don't use `{colors.ink-ghost}` for anything but captions of classes.
- Don't caption headings of the partners page; `statement-text` stands alone.
