---
protocol: uifino/design-md@2.0
name: "Tailwind CSS Design System"
slug: "tailwindcss.com"
url: "https://tailwindcss.com"
platform: "website"
category: "DevTools"
fit_for: ["Framework Landing", "Technical Docs", "Live Code Sandboxes", "Engineering Blogs"]
avoid_for: ["Luxury Jewelry", "Vintage Lookbooks", "Kids Storybooks"]
typography:
  display: "Inter"
  open_alternative: "Inter + IBM Plex Mono"
  body: "Inter"
  mono: "IBM Plex Mono"
  headline_tracking: "-0.05em"
tokens:
  default_radius: "12px"
  radius_ladder: ["0px", "8px", "16px", "9999px"]
  spacing_px: [4, 8, 12, 16, 24, 32, 48, 80]
colors:
  light:
    canvas: "#FFFFFF"
    surface: "#F8FAFC"
    elevated: "#F1F5F9"
    border: "#E2E8F0"
    ink: "#030712"
    muted: "#4B5563"
    accent: "#0EA5E9"
    accent_foreground: "#030712"
  dark:
    canvas: "#030712"
    surface: "#0B1120"
    elevated: "#1E293B"
    border: "#1E293B"
    ink: "#F8FAFC"
    muted: "#94A3B8"
    accent: "#38BDF8"
    accent_foreground: "#030712"
---

# Tailwind CSS — DESIGN.md Protocol

## 1. Visual Direction & Fit
Crisp white canvas framed by 45-degree hatched engineering rails and full-bleed 1px grid lines, pairing 96px light-weight headlines and monospace utility callouts with side-by-side dark code editors.

- **Best Suited For**: Framework Landing · Technical Docs · Live Code Sandboxes · Engineering Blogs
- **Avoid Using For**: Luxury Jewelry · Vintage Lookbooks · Kids Storybooks

## 2. Surface & Color Hierarchy
- **Dark Mode**: Canvas `#030712` · Surface `#0B1120` · Border `1px solid #1E293B` · Ink `#F8FAFC` · Accent `#38BDF8`
- **Light Mode**: Canvas `#FFFFFF` · Surface `#F8FAFC` · Border `1px solid #E2E8F0` · Ink `#030712` · Accent `#0EA5E9`

## 3. Typography, Geometry & Spacing
- **Display / Body**: `Inter` (Open-source alternative: `Inter + IBM Plex Mono`), tracking `-0.05em`.
- **Monospace**: `IBM Plex Mono` with `font-variant-numeric: tabular-nums`.
- **Radius & Rhythm**: Default radius `12px` (ladder: 0px, 8px, 16px, 9999px), spacing `4px · 8px · 12px · 16px · 24px · 32px · 48px · 80px`.

## 4. Measured Live DOM Audit

### Measured Color Area Share
| Role | CSS Variable | Hex | Share |
| :--- | :--- | :--- | :--- |
| Primary White Canvas | `--tw-canvas` | `#FFFFFF` | 82% |
| Subtle Slate Surface | `--tw-surface` | `#F8FAFC` | 8% |
| Dark Code Workbench | `--tw-code-bg` | `#0F172A` | 6% |
| 1px Grid & Hatch Rule | `--tw-grid-line` | `#E2E8F0` | 2% |
| Gray-950 Ink & Pill | `--tw-ink` | `#030712` | 1% |
| Gray-600 Body Copy | `--tw-muted` | `#4B5563` | 0.5% |
| Sky-500 Token Accent | `--tw-accent` | `#0EA5E9` | 0.5% |

### Measured Typography & Free Open-Source Alternatives
| Level | Detected Font | Free Alternative | Size / Weight / Line-Height / Tracking |
| :--- | :--- | :--- | :--- |
| H1 Hero | Inter | `Inter` | 96px · 400 · 96px (1.00) · -4.8px (-0.05em) |
| H2 Section | Inter | `Inter` | 40px · 500 · 40px (1.00) · -2px (-0.05em) |
| Body Lead | Inter | `Inter` | 18px · 500 · 28px (1.56) · 0em |
| Code & Utility Spec | IBM Plex Mono | `IBM Plex Mono` | 13px · 400 · 24px (1.85) · 0em |

### Component Geometry & Surface Physics (Container Max Width: `1360px`)
- **Solid Gray-950 Pill CTA**: radius `9999px` · border `1px solid #030712` · shadow `none` · height: 40px · padding: 0 18px
- **1px Blueprint Grid & Hatched Gutter**: radius `0px` · border `1px solid rgba(3, 7, 18, 0.06)` · shadow `none` · repeating-linear-gradient(-45deg)
- **Dark Slate Code Editor Frame**: radius `12px` · border `1px solid rgba(255, 255, 255, 0.10)` · shadow `0 20px 40px -15px rgba(3, 7, 18, 0.25)` · background: #0F172A

### Interactive Hover Transitions
- **Solid Gray-950 Pill CTA**: Rest (`#030712` / border `#030712` / text `#FFFFFF`) → Hover (`#1F2937` / border `#1F2937` / text `#FFFFFF`) · `background-color 150ms cubic-bezier(0.4, 0, 0.2, 1)`
- **Quick Search Input Pill**: Rest (`#FFFFFF` / border `#E2E8F0` / text `#6B7280`) → Hover (`#F8FAFC` / border `#CBD5E1` / text `#030712`) · `border-color 150ms ease, color 150ms ease`
- **Crosshair Plus Badge**: Rest (`#F0F9FF` / border `#7DD3FC` / text `#0369A1`) → Hover (`#E0F2FE` / border `#38BDF8` / text `#0284C7`) · `background-color 150ms ease, border-color 150ms ease`

## 5. Multi-Page Section Anatomy

### Page: Home (`/`)
- **01 Hairline Utility Navbar** (Hairline Topbar [0%–0.6%]): 57px height with full-bleed 1px 5%-dark bottom rule, sky-400 wave logo + v4.3 pill left, Ctrl+K search and crosshair-framed Plus badge right.
- **02 Ruler Hero & Live Stage** (Code + Live Card [0.55%–11.8%]): 12px monospace utility ruler above a 96px 400-weight headline, solid black pill CTA, and side-by-side #0F172A HTML editor + rendered card.
- **03 4-Col Sponsor Grid** (4-Col Logo Grid [11.8%–29.9%]): Sky-blue eyebrow + 40px heading above a 4-column monochrome partner grid divided by crisp 1px hairlines.
- **04 Modern CSS & P3 Bento** (Mixed Bento Grid [29.92%–72.1%]): Isometric line icons introducing interactive-style responsive rulers, dark-mode split, CSS variables, P3 gamut swatches, and easing curves.
- **05 Compiler, Wall & Footer** (IDE + 3-Col [72.14%–100.0%]): Dual-pane dark IDE showcasing 12ms CSS output, followed by a 4-column real-site collage and 3-column hairline footer.

### Page: Docs (`/docs`)
- **01 Hairline Utility Navbar** (Hairline Topbar [0%–2.2%]): 57px hairline topbar (paired with breadcrumb strip on mobile) aligned directly with the sidebar border.
- **02 Sidebar & Build Tabs** (Sidebar + 5-Tab [2.24%–18.5%]): Narrow 45-degree hatched divider rail between left nav tree and main prose, introducing 5 build-tool tabs.
- **03 Bracketed Steps & Footer** (Step Rail + Code [18.5%–100.0%]): Steps 01–06 marked with corner-bracketed monospace badges, pairing left instructions with right dark terminal blocks above a 3-col footer.

### Page: Showcase (`/showcase`)
- **01 Hairline Utility Navbar** (Hairline Topbar [0%–0.9%]): 57px full-bleed hairline utility header.
- **02 Showcase Display Intro** (Left Display Hero [0.91%–6.2%]): Pink uppercase eyebrow above a tight-tracked display headline and concise lead paragraph.
- **03 4-Col Showcase & Footer** (4-Col Gallery [6.2%–100.0%]): Hairline-framed 4-column gallery of 16:10 production site screenshots followed by the 3-column footer.

### Page: Blog (`/blog`)
- **01 Hairline Utility Navbar** (Hairline Topbar [0%–0.4%]): 57px standard hairline navigation bar.
- **02 Subscribe & Wireframe** (Form + Wireframe [0.4%–3.4%]): Left Latest Updates title + pill subscribe input paired with an isometric 1px wireframe keyboard illustration right.
- **03 Date Rail & Post Stream** (Date Rail + Feed [3.4%–100.0%]): Vertical 1px rule separating left uppercase monospace dates from right release summaries and sky-blue Read more links.

## 6. Signature Rules & Anti-AI Slop Guardrails
- **DO**: Frame the 1360px central column with 1px `rgba(3,7,18,0.06)` structural grid rules and 45-degree diagonal hatched margin gutters running top-to-bottom.
- **DO**: Set oversized H1 headlines at 96px in regular 400 weight (`line-height: 1.00`, `-0.05em` tight tracking) preceded by 12px `IBM Plex Mono` utility-class spec annotations.
- **DO**: Use solid `#030712` full-pill (`9999px`) buttons for primary actions on light backgrounds, reserving `#0EA5E9` / `#38BDF8` sky cyan for inline code tokens, eyebrows, and focus rings.
- **DO**: Pair every CSS capability card with a `#0F172A` dark code editor pane on one side and a live rendered UI specimen on the other.
- **DON'T**: NEVER apply heavy drop-shadows to outer section cards; define layout cells strictly with 1px full-bleed hairline grid borders and subtle inner padding.
- **DON'T**: NEVER bold 96px hero headlines to 800/900 weight; Tailwind v4's signature editorial tension comes from 400 regular weight at massive scale with -0.05em tracking.
- **DON'T**: NEVER place white text `#FFFFFF` on bright sky `#38BDF8` pills (fails WCAG contrast); pair bright sky surfaces with `#030712` ink or use `#030712` solid pills.
- **DON'T**: NEVER fill feature sections with generic marketing icons alone; always show real HTML/CSS code alongside interactive-looking UI outputs.
