getComputedStyle() from the live screenshots visible here.
Color Palette
49 colors extracted via getComputedStyle(). Click any swatch to copy its hex value.
Background & Surface
Text & Content
Accent & Interactive
Border & Divider
Full Extracted Palette (+90)
Typography
All values extracted via getComputedStyle() — no estimation.
| Role | Font Family | Size / Weight | Line Height | Letter Spacing | Preview |
|---|---|---|---|---|---|
| Display Hero | __Nunito_Sans_ee04dc | 56px / w700 | 1.25 | normal | Display Hero |
| Sub-heading | __Nunito_Sans_ee04dc | 24px / w700 | 1.33 | normal | Sub-heading |
| Body | __Nunito_Sans_ee04dc | 16px / w400 | 1.5 | normal | Body |
| Button Large | __Nunito_Sans_ee04dc | 16px / w500 | 1.5 | normal | Button Large |
| Button | __Nunito_Sans_ee04dc | 14px / w700 | 1.43 | normal | Button |
| Link Small | __Nunito_Sans_ee04dc | 12px / w400 | 1.33 | normal | Link Small |
Live Components
Rendered in real HTML using your extracted tokens — no screenshots.
Buttons
Form Inputs
Card
Badges & Labels
Spacing Scale
Border Radius
0px
4px
8px
12px
9999px
10007px
9999px
Component Specs
Extracted CSS values per component and variant state.
### Buttons
- Background: `transparent`
- Text: `#ffffff` `{colors.hairline}`
- Padding: 0px 12px
- Radius: 9999px
- Border: 1px solid rgba(255, 255, 255, 0.3)
- Font: 16px weight 500
- Use: Status pills, tags, chips
- Hover: border: `1px solid rgba(255, 255, 255, 0.32)`, borderColor: `#ffffff`
- Focus: boxShadow: `rgb(84, 104, 255) 0px 0px 0px 2px inset`
- Background: `transparent`
- Text: `#000000`
- Padding: 0px 12px
- Radius: 0px
- Font: 16px weight 400
- Use: Subtle action, toolbar, nav button
- Hover: border: `1px solid rgba(255, 255, 255, 0.32)`, borderColor: `#ffffff`
- Focus: boxShadow: `rgb(84, 104, 255) 0px 0px 0px 2px inset`
- Background: `transparent`
- Text: `#ffffff` `{colors.hairline}`
- Padding: 0px 8px
- Radius: 6px
- Font: 14px weight 700
- Use: Subtle action, toolbar, nav button
- Hover: border: `1px solid rgba(255, 255, 255, 0.32)`, borderColor: `#ffffff`
- Focus: boxShadow: `rgb(84, 104, 255) 0px 0px 0px 2px inset`
- Background: `transparent`
- Text: `#ffffff` `{colors.hairline}`
- Padding: 0px 24px
- Radius: 9999px
- Border: 1px solid rgb(255, 255, 255)
- Font: 16px weight 700
- Use: Status pills, tags, chips
- Hover: border: `1px solid rgba(255, 255, 255, 0.32)`, borderColor: `#ffffff`
- Focus: boxShadow: `rgb(84, 104, 255) 0px 0px 0px 2px inset`
Inputs & Forms
- Background: `#ffffff` `{colors.hairline}`
- Text: `#27272a`
- Padding: 0px 100px 0px 16px
- Radius: 6px
- Border: 1px solid rgb(228, 228, 231)
- Font: 16px weight 400
- Use: Text fields, search inputs
- Focus: outline: `rgb(16, 16, 16) auto 1px`
Interaction State Narrative
- **Button**:
- - **hover:** shadow added, border changes
- - **focus:** shadow added
- **FooterLink**:
- - **hover:** transform applied
Buttons
- **DO NOT introduce new buttons variants** without justification
Inputs & Forms
- **DO NOT introduce new inputs & forms variants** without justification
Visual Reference
Playwright screenshots captured during extraction — source of truth for all tokens.
Breakpoints
Elevation & Depth
Shadow levels rendered live — every value extracted directly from the design system.
rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px
rgba(0, 0, 0, 0.05) 0px 1px 2px 0px
Motion & Transitions
5 motion tokens — easing curves and durations.
| transition-1 | all |
| transition-2 | 0.3s cubic-bezier(0.4, 0, 0.2, 1) |
| transition-3 | color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic… |
| transition-4 | 0.3s |
| transition-5 | 0.15s cubic-bezier(0.4, 0, 0.2, 1) |
Motion Timeline
9 keyframe animations extracted from the live page. Preview 9 below — each block is animating right now with the actual extracted keyframes.
fade-in
enter
exit
slideUpAndFade
slideRightAndFade
slideLeftAndFade
slideDownAndFade
ui-gradient-badge-rotate
ui-slideUpAndFade
Component States
Default → Hover → Focus → Active visual diff per component. Captured via Playwright state simulation.
| Component | States | ||
|---|---|---|---|
| button |
default
button
bg rgba(0, 0, 0, 0)
fg rgb(255, 255, 255) |
hover
button
bg transparent
fg inherit |
focus
button
bg transparent
fg inherit |
| input |
default
input
bg rgb(255, 255, 255)
fg rgb(39, 39, 42) |
focus
input
bg transparent
fg inherit | |
| link |
default
link
bg rgba(0, 0, 0, 0)
fg rgb(0, 0, 0) | ||
| navLink |
default
navLink
bg rgba(0, 0, 0, 0)
fg rgb(0, 0, 0) | ||
| badge |
default
badge
bg rgba(0, 0, 0, 0)
fg rgb(255, 255, 255) |
Z-Index Stacking Context
25 z-index values detected. Top 20 ordered by stacking priority. ● 100+ (modals) · ● 10-99 (overlays) · ● 1-9 (UI chrome).
Export tokens
Copy these design tokens to any framework. Generated from storybook.js.org live extraction.
Clicks copy to clipboard AND download the file. All values from getComputedStyle() on the live page — no estimates.
DESIGN.md
Narrative design system document — paste directly into Claude Code, Cursor, or Bolt.
---
version: alpha
name: storybook.js.org
description: "Light product system built on #ffffff with #ffffff as the primary CTA accent. Type anchored in __Nunito_Sans_ee04dc at 56px / weight 700. Extracted automatically from https://storybook.js.org/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
narrative: |
storybook.js.org is built on a pure-white canvas (rgb(255, 255, 255)).
The system uses rgb(255, 255, 255) as the singular interactive color.
Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside __Nunito_Sans_ee04dc as the primary typeface.
A restrained elevation system (3 distinct shadows) — shadows reserved for the few elements that must lift off the page.
Motion is a first-class concern — 9 keyframe animations plus transition-driven interactions.
colors:
background: "#ffffff"
surface-1: "#ffffff"
surface-2: "rgba(255, 255, 255, 0.6)"
ink-subtle: "#969faf"
primary: "#ffffff"
on-primary: "#111111"
primary-hover: "#ff4785"
hairline: "rgba(255, 255, 255, 0.2)"
primary-focus: "#5468ff"
typography:
display-xl:
fontFamily: "__Nunito_Sans_ee04dc, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 56px
fontWeight: 700
lineHeight: 1.25
letterSpacing: 0
display-md:
fontFamily: "__Nunito_Sans_ee04dc, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 24px
fontWeight: 700
lineHeight: 1.33
letterSpacing: 0
body:
fontFamily: "__Nunito_Sans_ee04dc, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 16px
fontWeight: 400
lineHeight: 1.5
letterSpacing: 0
body-sm:
fontFamily: "__Nunito_Sans_ee04dc, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 12px
fontWeight: 400
lineHeight: 1.33
letterSpacing: 0
button:
fontFamily: "__Nunito_Sans_ee04dc, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 16px
fontWeight: 500
lineHeight: 1.5
letterSpacing: 0
rounded:
none: 0px
xs: 4px
sm: 8px
md: 12px
lg: 9999px
xl: 10007px
pill: 9999px
spacing:
xxs: 2px
xs: 6px
sm: 8px
md: 12px
lg: 20px
xl: 32px
xxl: 56px
components:
button-pill:
backgroundColor: "transparent"
textColor: "{colors.hairline}"
typography: "{typography.body}"
rounded: "{rounded.lg}"
padding: 0px 12px
button-ghost:
backgroundColor: "transparent"
textColor: "#000000"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 0px 12px
button-ghost-2:
backgroundColor: "transparent"
textColor: "{colors.hairline}"
typography: "{typography.body}"
rounded: "{rounded.xs}"
padding: 0px 8px
input-text-input:
backgroundColor: "{colors.hairline}"
textColor: "#27272a"
typography: "{typography.body}"
rounded: "{rounded.xs}"
padding: 0px 100px 0px 16px
extracted_at: "2026-06-11T06:18:23.559Z"
completeness: 69
scoreVersion: "v2"
---
# Design System — storybook.js.org
> Extracted automatically by Prism from https://storybook.js.org
> Date: 2026-06-11
> Viewport: Desktop 1440x900 + Mobile 390x844
> Values are extracted, not hand-written: rendered styles via getComputedStyle() + colors declared in CSS custom properties (token-only values are marked `(token)` and may not be painted).
## 0. Design DNA
**Density**: moderate | **Motion**: expressive | **Weight**: heavy | **Aesthetic**: soft-rounded
| Dimension | Value | Signal |
|---|---|---|
| Canvas | neutral | `#ffffff` |
| Type posture | sans-led (__Nunito_Sans_ee04dc) | "Build, test & document compone" |
| Color assertion | dual-accent | #ffffff |
| Whitespace | moderate | section rhythm 48px |
| Interaction | expressive | 9 keyframes, 6 transitions |
| Radius language | soft-pill | from token scale |
**Prism fingerprint**: `neutral-canvas · sans-display · dual-accent · soft-pill · expressive-motion`
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
>
> - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
> - **Accent**: `rgb(255, 255, 255)` for primary CTAs ONLY. Never decorative.
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
> - **Section rhythm**: 48px between major bands. Card padding: 20px.
> - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
>
> **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
## 1. Visual Theme & Atmosphere
storybook.js.org uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
Typography is anchored in **__Nunito_Sans_ee04dc**. Headlines use weight 700 for confident, assertive presence — the brand wants to be heard.
Body text reads in Pure Black (`#000000`) (contrast ratio 21.0:1, well above WCAG AA). **Pure White** (`#ffffff`) provides interactive distinction without visual aggression. Elevation comes from a small, deliberate set of shadows (3 distinct), each a multi-layer stack — several blurred layers at varying offsets — used sparingly rather than across the whole UI.
Border radius varies from pill-shaped (fully rounded) to moderately rounded elements, creating visual rhythm. Motion design uses smooth easing curves for polished state transitions.
**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: __Nunito_Sans_ee04dc
- Accent: Pure White (`#ffffff`)
- Display: 56px weight 700
- Shadow system: 3 distinct elevation levels
## 2. Color Palette & Roles
### Background & Surface
- **Pure White** (`#ffffff`): Page background (primary)
- **Whitesmoke** (`#e5e7eb`): Surface / elevated background
- **Off-White** (`#f7f9fc`): Surface / elevated background
- **Light Gray** (`#d9e0e6`): Surface / elevated background
- **Whitesmoke** (`#d8dddd`): Surface / elevated background
### Text & Content
- **Pure Black** (`#000000`): Primary body text
- **Deep Navy** (`#0d1026`): Secondary text
- **Charcoal** (`#333333`): Secondary text
- **Charcoal** (`#3d3d40`): Secondary text
- **Charcoal** (`#2e3438`): Secondary text
### Accent & Interactive
- **#ff4785** (`#ff4785`): Interactive / accent
- **Vermillion** (`#ef4444`): Interactive / accent
- **Amber** (`#eab308`): Interactive / accent
- **#22c55e** (`#22c55e`): Interactive / accent
- **Medium Gray** (`#73828c`): Interactive / accent
- **Amber** (`#ffae00`): Interactive / accent
- **Sky Bright** (`#029cfd`): Interactive / accent
### Border & Divider
- **Light Blue** (`#cbd5e1`): Borders / dividers
- **Light Grey** (`#babec2`): Borders / dividers
- **Light Gray** (`#e2e8f0`): Borders / dividers
- **Light Grey** (`#d4d4d8`): Borders / dividers
- **Whitesmoke** (`#e4e4e7`): Borders / dividers
### Full Extracted Palette
**79 colors rendered on the page** + **15** more declared in design tokens (CSS custom properties — not necessarily painted). (22 categorized above + 72 additional below.)
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
- `#37d5d3` — #37d5d3
- `#6f2cac` — #6f2cac
- `#f4c039` — #f4c039
- `#979b9b` — Grey
- `#666d82` — Slate Gray
- `#76828b` — Medium Gray
- `#7abf39` — #7abf39
- `#818386` — Slate Grey
- `#0271b6` — #0271b6
- `#1f99e5` — Sky Bright
- `#16b242` — Success Green
- `#5f5f5f` — Slate Grey
- `#fc8047` — Coral
- `#52525b` — Charcoal
- `#3f3f46` — Charcoal
- `#00d8ff` — #00d8ff
- `#4dba87` — #4dba87
- `#435466` — Slate
- `#dd0031` — Crimson
- `#c3002f` — #c3002f
- `#166da5` — #166da5
- `#8fdb69` — #8fdb69
- `#e44d26` — Vermillion
- `#f16529` — #f16529
- `#ebebeb` — Whitesmoke
- `#a1a1aa` — Grey
- `#232a35` — Charcoal
- `#71717a` — Slate Grey
- `#fddd9c` — #fddd9c
- `#79c9fc` — Baby Blue
- `#1ea7fd` — Sky Bright
- `#a849ff` — #a849ff
- *…+40 more in `raw-css.json` (`desktop.allColors`).*
### Gradients & Decorative Fills
- `linear-gradient(-225deg,#d5dbe4,#f8f8f8)` — (--docsearch-key-gradient)
- `linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), conic-gradient(from 88.4565deg, rgb(71, 145…` — (badge)
### CSS Custom Properties (Design Tokens)
**Shadow Token**
- `--tw-ring-offset-shadow`: `0 0 #0000`
- `--tw-ring-shadow`: `0 0 #0000`
- `--tw-drop-shadow`: ``
- `--docsearch-modal-shadow`: `inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64`
**Spacing Token**
- `--tw-numeric-spacing`: ``
- `--tw-border-spacing-x`: `0`
- `--docsearch-spacing`: `12px`
- `--tw-border-spacing-y`: `0`
**Other tokens**
- `--docsearch-primary-color`: `#5468ff`
- `--tw-ring-color`: `rgba(2,156,253,.5)`
- `--docsearch-logo-color`: `#5468ff`
- `--tw-ring-offset-color`: `#fff`
- `--docsearch-hit-active-color`: `#fff`
- `--docsearch-text-color`: `#1c1e21`
- `--docsearch-muted-color`: `#969faf`
- `--docsearch-hit-color`: `#444950`
## 3. Typography Rules
### Font Families
- **Primary**: `ui-monospace`
### Custom Fonts Loaded
- **__Nunito_Sans_ee04dc** weight 200 1000 (normal)
### Typography Hierarchy
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display Hero | __Nunito_Sans_ee04dc | 56px | 700 | 1.25 | normal | Main headline (h1) |
| Sub-heading | __Nunito_Sans_ee04dc | 24px | 700 | 1.33 | normal | Third-level heading (h3) |
| Body | __Nunito_Sans_ee04dc | 16px | 400 | 1.5 | normal | Standard reading text |
| Button Large | __Nunito_Sans_ee04dc | 16px | 500 | 1.5 | normal | Button label (16px) |
| Button | __Nunito_Sans_ee04dc | 14px | 700 | 1.43 | normal | Button label (14px) |
| Link Small | __Nunito_Sans_ee04dc | 12px | 400 | 1.33 | normal | Link (12px) — Decoration: none |
### Full Font Size Scale
Sizes detected in the design (descending): `56px`, `24px`, `20px`, `16px`, `14px`, `13px`, `12px`, `11px`
> 3 size(s) detected outside the sampled hierarchy (20px, 13px, 11px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
## 4. Component Stylings
### Buttons
**Pill**
- Background: `transparent`
- Text: `#ffffff` `{colors.hairline}`
- Padding: 0px 12px
- Radius: 9999px
- Border: 1px solid rgba(255, 255, 255, 0.3)
- Font: 16px weight 500
- Use: Status pills, tags, chips
- Hover: border: `1px solid rgba(255, 255, 255, 0.32)`, borderColor: `#ffffff`
- Focus: boxShadow: `rgb(84, 104, 255) 0px 0px 0px 2px inset`
**Ghost**
- Background: `transparent`
- Text: `#000000`
- Padding: 0px 12px
- Radius: 0px
- Font: 16px weight 400
- Use: Subtle action, toolbar, nav button
- Hover: border: `1px solid rgba(255, 255, 255, 0.32)`, borderColor: `#ffffff`
- Focus: boxShadow: `rgb(84, 104, 255) 0px 0px 0px 2px inset`
**Ghost**
- Background: `transparent`
- Text: `#ffffff` `{colors.hairline}`
- Padding: 0px 8px
- Radius: 6px
- Font: 14px weight 700
- Use: Subtle action, toolbar, nav button
- Hover: border: `1px solid rgba(255, 255, 255, 0.32)`, borderColor: `#ffffff`
- Focus: boxShadow: `rgb(84, 104, 255) 0px 0px 0px 2px inset`
**Pill**
- Background: `transparent`
- Text: `#ffffff` `{colors.hairline}`
- Padding: 0px 24px
- Radius: 9999px
- Border: 1px solid rgb(255, 255, 255)
- Font: 16px weight 700
- Use: Status pills, tags, chips
- Hover: border: `1px solid rgba(255, 255, 255, 0.32)`, borderColor: `#ffffff`
- Focus: boxShadow: `rgb(84, 104, 255) 0px 0px 0px 2px inset`
### Inputs & Forms
**Text Input**
- Background: `#ffffff` `{colors.hairline}`
- Text: `#27272a`
- Padding: 0px 100px 0px 16px
- Radius: 6px
- Border: 1px solid rgb(228, 228, 231)
- Font: 16px weight 400
- Use: Text fields, search inputs
- Focus: outline: `rgb(16, 16, 16) auto 1px`
## 4b. Component Behaviors (State Matrix)
### Interaction State Narrative
- **Button**:
- **hover:** shadow added, border changes
- **focus:** shadow added
- **FooterLink**:
- **hover:** transform applied
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
```yaml
component-behaviors:
button:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(255, 255, 255)"
border: "1px solid rgba(255, 255, 255, 0.3)"
hover:
bg: "transparent"
fg: "inherit"
border: "1px solid rgba(255, 255, 255, 0.32)"
focus:
bg: "transparent"
fg: "inherit"
shadow: "rgb(84, 104, 255) 0px 0px 0px 2px inset"
input:
default:
bg: "rgb(255, 255, 255)"
fg: "rgb(39, 39, 42)"
border: "1px solid rgb(228, 228, 231)"
focus:
bg: "transparent"
fg: "inherit"
link:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(0, 0, 0)"
navLink:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(0, 0, 0)"
badge:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(255, 255, 255)"
border: "1px solid rgba(0, 0, 0, 0)"
footerLink:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(255, 255, 255)"
border: "1px solid rgb(63, 63, 70)"
hover:
bg: "transparent"
fg: "inherit"
```
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
## 4c. Component Vocabulary (Closed System)
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
### Buttons
- **2 shape(s)** in this system: `Pill`, `Ghost`
- **DO NOT introduce new buttons variants** without justification
### Inputs & Forms
- **1 shape(s)** in this system: `Text Input`
- **DO NOT introduce new inputs & forms variants** without justification
## 5. Layout Principles
### Layout Type
**top-nav + content**
### Grid
Single column, centered content
### Max Width
1200px
### Spacing System
Compact spacing — information density prioritized
| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 6px |
| sm | 8px |
| md | 12px |
| base | 16px |
| lg | 20px |
| xl | 32px |
| 2xl | 48px |
| 3xl | 56px |
### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 4px | Tiny corners (badges, micro elements) |
| Sm | 8px | Buttons, inputs, small elements |
| Md | 12px | Cards, containers |
| Lg | 9999px | Large rounded elements, pill segments |
| Xl | 10007px | Category strips, featured containers |
| Full | 9999px | Pills, avatars, circular elements |
### Shape Language
| Component | Border Radius |
|-----------|---------------|
| Buttons | `9999px` |
| Inputs & Forms | `6px` |
| Page Body | `0px` |
| Navigation | `0px` |
| Primary Input | `6px` |
**Shape Personality**: Sharp + Pill Contrast — Angular precision with pill-shaped accents (status badges, tags). Creates strong visual hierarchy.
**Full Radius Spectrum**: 0px, 2px, 4px, 6px, 8px, 12px, full/pill (from `allBorderRadii` scan)
## 5b. Spacing Rhythm Names
**Measured section padding**: bands use ~56px internal vertical padding (up to 318px) — **standard**. (Distinct from the gap *between* sections above.) Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
| Name | Value | Use case |
|------|-------|----------|
| **hero** | `56px` | Top/bottom of full-bleed hero sections |
| **section** | `32px` | Between major bands (color change, content shift) |
| **subsection** | `20px` | Within a section, between content groups |
| **card** | `12px` | Card padding, list-item spacing |
| **compact** | `8px` | Form fields, tight clusters, badge padding |
| **micro** | `6px` | Icon-text gap, tag inner padding |
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
## 5c. Widget & Structure Library
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
**5/8 structural patterns detected.**
### Hero Pattern
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
- **Viewport coverage:** full-viewport hero (≥70% screen height)
- **Heading:** "Build, test & document components" — 56px left-aligned
- **Subheading:** "Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and documen"
- **Media:** present, positioned top
- **CTAs:** 3 (primary: "Introducing MCP for React")
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. Place media top of text.
### Navigation Pattern
- **Position:** static (scrolls with page)
- **Layout:** unknown — Layout not classified
- **Height:** 32px
- **Logo:** ✓ present
- **Nav links:** 7 primary items
- **CTAs in nav:** 0 (no buttons — links only)
- **Clone instruction:** Build a static unknown navigation. Link-only — no button styling needed.
### Card Grid Pattern
- **Card count:** 3 cards detected
- **Columns (desktop):** 1-up grid
- **Card dimensions:** 1233×1233px (aspect 1:1)
- **Gap:** 0px between cards
- **Content:** ✗ no image
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~1:1 aspect ratio. Text/icon-only cards (no photography).
### Testimonial Pattern
- **Count:** 4 testimonial blocks
- **Layout:** grid
- **Avg quote length:** 160 chars (medium quote)
- **Includes:** ✗ no avatars | ✗ no logos | ✗ no ratings
- **Clone instruction:** Build a grid of 4 testimonials.
### Footer Pattern
- **Columns:** 1
- **Links:** 19 total
- **Height:** 541px
- **Includes:** ✓ newsletter signup | ✓ social icons |
- **Clone instruction:** Build a 1-column footer with ~19 links per column, newsletter signup, social media links.
## 6. Depth & Elevation
| Level | Treatment | Use |
|-------|-----------|-----|
| Flat (Level 0) | No shadow | Page background, content blocks |
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0.1) 0px 4px 6px -1px`,<br>`rgba(0, 0, 0, 0.1) 0px 2px 4px -2px` | Cards, elevated surfaces |
| Layered (Level 2) | <br>`rgba(0, 0, 0, 0.05) 0px 1px 2px 0px` | Cards, elevated surfaces |
**Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
## 7. Motion & Interaction
### Dominant Easing Curves
| Curve | Semantic Name |
|-------|---------------|
| `cubic-bezier(0.4,0,0.2,1)` | Material Standard — Balanced |
### Duration Scale
| Value | Tier | Typical Use |
|-------|------|-------------|
| `150ms` | Fast | Hover states, micro-interactions |
| `200ms` | Normal | Panel open/close, navigation |
| `300ms` | Normal | Panel open/close, navigation |
### Copy-Paste Transition Snippets
**All Props**
```css
transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
```
**Color / Background**
```css
transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cub...;
```
**All Props**
```css
transition: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
```
**All Props**
```css
transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
```
### Keyframe Animation Catalog
| Animation Name | Type | Animated Props | Use Hint |
|----------------|------|----------------|----------|
| `fade-in` | Fade | opacity | Element entrance |
| `enter` | Fade + Move | opacity, transform | Element entrance |
| `exit` | Fade + Move | opacity, transform | Element exit |
| `slideUpAndFade` | Fade + Move | opacity, transform | Panel / drawer enter |
| `slideRightAndFade` | Fade + Move | opacity, transform | UI transition |
| `slideLeftAndFade` | Fade + Move | opacity, transform | UI transition |
| `slideDownAndFade` | Fade + Move | opacity, transform | Panel / drawer enter |
| `ui-gradient-badge-rotate` | Custom | --gradient-badge-angle | Loading indicator |
| `ui-slideUpAndFade` | Fade + Move | opacity, transform | Panel / drawer enter |
### Motion Fingerprint
- **Speed Character**: Balanced Pacing (median duration: `200ms`)
- **Dominant Easing**: custom cubic-bezier curves
- **Animation Library**: 9 unique animations (9 total including variants)
> This design moves with balanced pacing timing using custom cubic-bezier curves, creating a UI that feels natural and fluid.
## 8. Do's and Don'ts
### Do
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
- Use full-pill radius (9999px) only for specific elements (avatars, pills, toggles)
- Use Pure White (`#ffffff`) as the primary accent — it's the brand's signature interactive color
- Use 6px border-radius on buttons — the standard corner rounding for interactive elements
- Style form inputs with a `1px solid rgb(228, 228, 231)` border — use border-based inputs, not floating labels or underline-only
- Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
- Include exactly 3 CTAs in the hero (primary + secondary) — this design pattern is multi-action, not single-purpose
- Lay out testimonials in a grid (4+ items) — quantity signals scale and trust
- Include a newsletter signup in the footer — email capture is part of the conversion funnel
### Don't
- Don't invent new shadow values — use only the extracted shadow levels
- Don't apply pill radius on rectangular buttons or cards — it's reserved for specific interactive elements
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
- Don't remove the input border — the border is the primary affordance indicator for form fields
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
- Don't put a CTA button in the nav — this design uses links only at the top
## 7b. Enforceable Brand Rules
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
```yaml
rules:
- id: brand-canvas-001
type: do
rule: "Always use the page background `rgb(255, 255, 255)` as the base canvas"
why: "Every component is designed to composit against this exact tone"
test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
- id: brand-accent-001
type: do
rule: "Reserve `rgb(255, 255, 255)` for primary CTAs and brand-mark signals only"
why: "Single chromatic assertion device — overuse dilutes meaning"
test: "querySelectorAll('[style*=\"rgb(255, 255, 255)\"]').length <= 3 per fold"
```
## 9. Responsive Behavior
### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | 360px | Single column, compact spacing |
| Mobile Large | 640px | Expanded mobile layout |
| Tablet | 768px | Multi-column grids begin |
| Tablet | 1024px | Multi-column grids begin |
| Desktop | 1120px | Full feature layout |
| Desktop | 1280px | Full feature layout |
| Large Desktop | 1416px | Maximum content width |
### Token Diff — Desktop vs Mobile
| Element | Property | Desktop | Mobile |
|---------|----------|---------|--------|
| heading | font-size | `56px` | `36px` |
| heading | line-height | `70px` | `40px` |
| nav | display | `block` | `none` |
| nav | height | `32px` | `auto` |
| button | width | `176px` | `100%` |
### Collapsing Strategy
- Headlines: 56px → 36px on mobile
- Navigation: block → none on mobile
- Cards: multi-column → stacked vertical on mobile
- Footer: multi-column → stacked single column on mobile
### Touch Targets
- Buttons: 0px 12px padding
- Navigation: adequate spacing between items
- Interactive elements: minimum 44px touch target recommended
### Collapsing Narrative
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
- **Hero CTAs:** 3 on desktop → 2 on mobile (secondary CTAs dropped on small screens).
## 7c. Visual Effects & Dynamic Behavior
*The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
- **Mesh gradients** — 1 multi-stop organic color field(s) as background atmosphere.
- **Clip-path shapes** — 1 non-rectangular cut(s).
- **CSS-variable animations** (3) — animated custom properties.
> **Motion fingerprint**: mesh gradients, non-rectangular shapes (1)
## 9b. Visual Tone & Photography
**Tone:** Illustration-driven
The site relies primarily on illustrations, vector art, and decorative SVG elements rather than photography. Use commissioned illustrations, icon sets, or generated graphics for clones — stock photos will feel off-brand.
**Canonical Brand Image (OG):**
- https://storybook.js.org/opengraph-image.jpg?841db310ba5a3a1e (1200×630px)
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
**Aspect Ratio Distribution:**
- Landscape (1.15–2.3): 18 (35%)
- Portrait (<0.87): 3 (6%)
- Square (0.87–1.15): 30 (59%)
**Media Format Mix:**
- WebP: 8 (optimized photo/illustration hybrid)
- PNG: 4 (logos, transparent UI elements, mockups)
- SVG: 41 (icons, illustrations, decorative geometry)
**Average rendered image size:** 259×225px
**Above-fold image count:** 0 / 51
**Decorative Patterns Detected:**
- 2 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
- 15 radial gradients — circular color blooms used for spotlight/glow effects
- 2 large decorative SVG shapes (≥200×200px, non-icon) — likely blob/illustration accents
- 3 background patterns (non-photo url() backgrounds) — textures/illustrations as backdrops
**Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
**Imagery Guidance for clones:**
- Use vector illustration as the primary visual language — photos will read as off-brand.
- Maintain consistent illustration style (line weight, color palette) across the site.
## 10. Agent Prompt Guide
### Quick Reference
- Background: Pure White (`#ffffff`)
- Primary text: Pure Black (`#000000`)
- Accent: Pure White (`#ffffff`)
- Border: Translucent Pure White (20%) (`rgba(255, 255, 255, 0.2)`)
- Font: __Nunito_Sans_ee04dc
- Body: 16px weight 400
### Example Component Prompts
- "Create a hero section on Pure White background (#ffffff). Headline at 56px __Nunito_Sans_ee04dc weight 700, line-height 1.25, color #000000."
- "Create the primary CTA button: `#ffffff` background, `#ffffff` text, 9999px border-radius, 0px 12px padding, 500 weight, __Nunito_Sans_ee04dc font."
- "Build navigation: static on `#ffffff`. __Nunito_Sans_ee04dc 16px weight 400 for links."
### Iteration Guide
1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
2. **Typography**: All type in __Nunito_Sans_ee04dc, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
3. **Accent**: Pure White (`#ffffff`) is the sole interactive color. On hover → #ff4785 (`#ff4785`). Use CSS transitions, not opacity/brightness filters.
4. **Motion**: All transitions use `cubic-bezier(0.4,0,0.2,1)`. Never use linear for UI transitions — preserve the brand's easing personality.
5. **Shape**: CTAs at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
6. **Spacing**: Use the `--ca-space-*` token scale (6px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
## 11. CSS Design Tokens Raw Export
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
```css
/* Colors */
:root {
--ca-hairline: #ffffff;
--ca-ink-subtle: #969faf;
--ca-on-primary: #111111;
--ca-primary-hover: #ff4785;
--ca-primary-focus: #5468ff;
}
/* Typography */
:root {
--ca-font-primary: "__Nunito_Sans_ee04dc", system-ui, sans-serif;
--ca-text-display: 56px;
--ca-text-body: 16px;
--ca-text-small: 12px;
--ca-text-button: 16px;
}
/* Spacing & Radius */
:root {
--ca-space-xxs: 2px;
--ca-space-xs: 6px;
--ca-space-sm: 8px;
--ca-space-md: 12px;
--ca-space-base: 16px;
--ca-space-lg: 20px;
--ca-space-xl: 32px;
--ca-space-2xl: 48px;
--ca-space-3xl: 56px;
--ca-radius-none: 0px;
--ca-radius-xs: 4px;
--ca-radius-sm: 8px;
--ca-radius-md: 12px;
--ca-radius-lg: 9999px;
--ca-radius-xl: 10007px;
--ca-radius-full: 9999px;
}
```
## 13. Page Structure Skeleton
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
```yaml
page-skeleton:
- section: hero
tag: div
classes: ["relative"]
height: 15030px
width: full-bleed
layout: block
children: 2
bg: "rgb(13, 16, 38)"
tone: dark
- section: hero
tag: div
classes: ["ui-mx-auto", "ui-px-4", "sm:ui-px-8", "ui-max-w-8xl"]
height: 1622px
width: full-bleed
layout: block
children: 7
vertical-padding: ~48px
padding: "96px 32px 0px"
- section: feature-section
tag: section
classes: ["border-b", "border-zinc-700", "pt-[calc(3rem-40px)]", "sm:pt-[calc(5rem-40px)]"]
height: 4911px
width: full-bleed
layout: block
children: 4
padding: "40px 0px 0px"
- section: feature-section
tag: div
classes: ["ui-mx-auto", "ui-px-4", "sm:ui-px-8", "ui-max-w-8xl"]
height: 168px
width: full-bleed
layout: flex-row justify=space-between
children: 2
padding: "0px 32px"
- section: unknown
tag: figure
classes: ["sticky", "top-[34%]", "z-[999]", "-order-1"]
height: 636px
width: 920px
layout: block
children: 1
vertical-padding: ~318px (airy)
- section: feature-section
tag: div
classes: ["ui-mx-auto", "ui-px-4", "sm:ui-px-8", "ui-max-w-8xl"]
height: 722px
width: full-bleed
layout: grid: 2-col gap=96px
children: 2
vertical-padding: ~56px (generous)
padding: "112px 32px 0px"
- section: content-section
tag: div
classes: ["ui-mx-auto", "ui-px-4", "sm:ui-px-8", "ui-max-w-8xl"]
height: 424px
width: full-bleed
layout: block
children: 1
vertical-padding: ~112px (airy)
padding: "0px 32px"
- section: feature-section
tag: div
height: 1397px
width: full-bleed
layout: block
children: 1
vertical-padding: ~56px (generous)
- section: feature-section
tag: div
height: 1397px
width: full-bleed
layout: block
children: 1
vertical-padding: ~56px (generous)
- section: feature-section
tag: div
height: 2196px
width: full-bleed
layout: block
children: 1
vertical-padding: ~56px (generous)
- section: feature-section
tag: div
height: 1005px
width: full-bleed
layout: block
children: 1
vertical-padding: ~96px (airy)
- section: feature-section
tag: div
height: 1888px
width: full-bleed
layout: block
children: 1
vertical-padding: ~56px (generous)
- section: feature-section
tag: section
classes: ["pt-12", "sm:pt-20", "md:pt-28"]
height: 1888px
width: full-bleed
layout: block
children: 5
vertical-padding: ~56px (generous)
padding: "112px 0px 0px"
- section: footer
tag: footer
classes: ["ui-text-white", "ui-border-t", "border-zinc-700"]
height: 541px
width: full-bleed
layout: block
children: 1
bg: "rgb(13, 16, 38)"
tone: dark
vertical-padding: ~48px
```
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
## 14. Copy Library (Real Content from Source)
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
```yaml
copy:
section-headings:
- "Develop durable user interfaces"
- "Test UIs with less effort and no flake"
- "Automate UI workflows"
sub-headings:
- "Build UI components and pages in isolation"
ctas:
- "Docs"
- "89,935"
- "Search docs K"
- "Get Started"
- "npm create storybook@latest"
- "Development"
- "Interaction testing"
- "Learn about UI tests"
navigation:
- "Visual Test"
- "Enterprise"
- "89,935"
- "Docs"
- "AI"
- "Addons"
- "Showcase"
- "Blog"
- "Get Started"
footer-links:
- "Why Storybook"
- "Netlify"
```
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
## 15. Asset Inventory (Image Roles & Ratios)
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
```yaml
assets:
logo:
count: 5
avg-ratio: 3.11
common-aspect: "~16:6 banner"
sample-alts:
- "EU"
- "Github"
- "Airbnb"
editorial:
count: 3
avg-ratio: 0.30
common-aspect: "~9:21 tall"
thumbnail:
count: 33
avg-ratio: 1.00
common-aspect: "~1:1 square"
sample-alts:
- "VSCode"
- "Vite"
- "Chromatic"
```
**Agent rule**: when generating placeholder images, match these counts and aspect ratios. Use neutral placeholder backgrounds for `product` (e.g. `#f5f5f5`), full-color photography hints for `hero` and `editorial`.
## 16. Component HTML Templates
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
### Button (primary action)
```html
<button class="btn btn-primary">
Action
</button>
```
_Source pattern detected: padding `0px 12px` · radius `0px` · weight `400`_
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
## 17. Content Architecture & Resources (Links by Purpose)
*The page's links classified by purpose — the information architecture to reproduce. Categories, featured images, devices and projects are extracted from the rendered DOM, not guessed.*
**By purpose:** **nav** 5 · **cta** 1 · **docs** 14 · **blog** 3 · **project** 7 · **social** 10 · **footer** 12 · **other** 8
**Primary actions (conversion path):**
- Primary call-to-action — "Get Started" (the conversion path) → `https://storybook.js.org/docs`
**Projects / case studies detected** (clustered by URL + featured image):
*Docs* — medium confidence, 11 items:
| Title | Featured image | Link |
|---|---|---|
| /logo/react | — | https://storybook.js.org/docs/get-started/install/?renderer=react |
| /logo/vue | — | https://storybook.js.org/docs/get-started/install/?renderer=vue |
| /logo/angular | — | https://storybook.js.org/docs/get-started/install/?renderer=angular |
| Install | — | https://storybook.js.org/docs/get-started/install/?renderer=web-components |
| HTML5 Logo | — | https://storybook.js.org/docs/get-started/install/?renderer=html |
| Why build UIs in isolation? | — | https://storybook.js.org/docs/get-started/why-storybook |
| How to write a story | — | https://storybook.js.org/docs/get-started/whats-a-story |
| Learn about UI tests | — | https://storybook.js.org/docs/writing-tests |
*Showcase* — high confidence, 6 items:
| Title | Featured image | Link |
|---|---|---|
| Polaris | `shopify.svg` (ar 3.57) | https://storybook.js.org/showcase/shopify-polaris-react |
| Psammead | `bbc.svg` (ar 3.64) | https://storybook.js.org/showcase/bbc-psammead |
| UI React | `audi.svg` (ar 2.93) | https://storybook.js.org/showcase/audi-ui-react |
| Fluent UI Web Compnents | `fluent.svg` (ar 0.57) | https://storybook.js.org/showcase/microsoft-fluent-ui-web-components |
| Gutenberg | `wordpress.svg` (ar 1) | https://storybook.js.org/showcase/wordpress-gutenberg |
| Explorer 1 | `nasa.svg` (ar 3.57) | https://storybook.js.org/showcase/nasa-jpl-explorer-1 |
*Storybookjs* — medium confidence, 2 items:
| Title | Featured image | Link |
|---|---|---|
| 89,935 | — | https://github.com/storybookjs/storybook |
| Version | `version.svg` (ar 1.34) | https://github.com/storybookjs/storybook/releases |
**Signals:** 44/60 links carry a featured image · device mockups detected: phone ×1 · dominant link roles: footer-link (27), content-card (24), navigation (5).
---
## Extraction Completeness: 69/100 (C)
| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 25 | 25 | 22 named colors |
| Typography | 15 | 20 | 6 roles defined |
| Components | 8 | 20 | 2 specs extracted |
| Motion & Interaction | 12 | 15 | Keyframes |
| CSS Custom Properties | 4 | 10 | 84 vars |
| Responsive Breakpoints | 5 | 5 | 7 breakpoints |
| Variable Fonts | 0 | 5 | None detected |
## 12. Known Gaps & Confidence
Explicit list of what this extraction could NOT capture. Agents should not invent values for these — either skip the feature or use the documented baseline + heuristic fallback.
*Auto-detected extraction limitations — understand before building:*
- **Licensed web fonts (__Nunito_Sans_ee04dc)** — detected but not downloaded. Substitute with your licensed copy or a close fallback (see Typography section for metrics).
- **Sparse component extraction** — fewer than 5 component types detected. Highly dynamic sections (modals, datepickers, carousels) require interaction to render and are not captured in a static pass.
| Category | What's missing | Fallback strategy |
|----------|----------------|-------------------|
| **Hero imagery** | No dominant hero image detected above the fold | Use the canonical brand visual from §9b (OG image) for hero composition |
| **Dark mode** | No dark-mode CSS variables or media queries detected | Light mode is canonical; do not generate dark-mode variants unless explicitly requested |
### Per-section confidence
| Section | Confidence | Reason |
|---------|------------|--------|
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
| §2 Colors | High | 84 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | High | 6 typography roles inferred |
| §4 Components | Low | 2 component variants captured |
| §7 Motion | High | Keyframes + transitions |
| §8 Do's/Don'ts | High | 15 rules generated; design-decisions.json has evidence per rule |
| §9 Responsive | High | 7 breakpoints detected |
| §9b Photography | Medium | 51 images, hero not detected |
## 11.1 CSS Implementation Guide (CSS Interception Engine v2.15+)
*Ready-to-use CSS from Prism's CSS Interception Engine — intercepted directly from the site's CSS files (bypasses CORS). Copy-paste into your `<style>` block.*
### Font Loading
1 font file(s) captured (30KB total). When running `prism add`, fonts are saved to `extractions/storybook.js.org/fonts/` and embedded as base64 in the output HTML.
**@font-face declarations to use:**
```css
@font-face {
font-family: '__Nunito_Sans_ee04dc';
/* src: url('/fonts/__Nunito_Sans_ee04dc.woff2') format('woff2'); */
font-weight: 200 1000;
font-style: normal;
font-display: swap;
}
```
### Keyframe Animations (Intercepted from CSS)
**9 @keyframes found** — these are the real animation definitions:
```
@keyframes ui-gradient-badge-rotate { ... }
@keyframes ui-slideUpAndFade { ... }
@keyframes fade-in { ... }
@keyframes enter { ... }
@keyframes exit { ... }
@keyframes slideUpAndFade { ... }
@keyframes slideRightAndFade { ... }
@keyframes slideLeftAndFade { ... }
@keyframes slideDownAndFade { ... }
```
<details><summary>Full keyframes CSS (9 animations)</summary>
```css
@keyframes ui-gradient-badge-rotate{0%{--gradient-badge-angle:0deg}
@keyframes ui-slideUpAndFade{0%{opacity:0;transform:translateY(2px)}
@keyframes fade-in{0%{opacity:0}
@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}
@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}
@keyframes slideUpAndFade{0%{opacity:0;transform:translateY(2px)}
@keyframes slideRightAndFade{0%{opacity:0;transform:translateX(-2px)}
@keyframes slideLeftAndFade{0%{opacity:0;transform:translateX(2px)}
@keyframes slideDownAndFade{0%{opacity:0;transform:translateY(-2px)}
```
</details>
### Brand Gradient Palette
**4 complex gradients captured** from the site's CSS. The first few are the most prominent visual decorations:
```css
/* Gradient 1 */
background: radial-gradient(closest-side at 50% 50%,#fc511f,rgba(252,81,31,0);
/* Gradient 2 */
background: radial-gradient(closest-side at 50% 50%,#ff4785,rgba(255,71,133,0);
/* Gradient 3 */
background: radial-gradient(closest-side at 50% 50%,#4791ff,rgba(252,81,31,0);
/* Gradient 4 */
background: conic-gradient(from -90deg,#d0f,#0073ff,#ff8c00,#ff8c00,#0073ff,#d0f);
```
### Hover State CSS (Intercepted)
**3 hover rule lines** captured from CSS files. Key interactive transitions from real CSS (not inferred):
```css
.hover\:-ui-translate-y-0\.5:hover{--tw-translate-y:-0.125rem}
.hover\:-ui-translate-y-0\.5:hover,.hover\:-ui-translate-y-1:hover{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}
.hover\:-ui-translate-y-1:hover{--tw-translate-y:-0.25rem}
.hover\:ui-border-blue-500:hover{--tw-border-opacity:1;border-color:rgb(2 156 253/var(--tw-border-opacity))}
.hover\:ui-border-blue-600:hover{--tw-border-opacity:1;border-color:rgb(23 120 233/var(--tw-border-opacity))}
.hover\:ui-border-slate-500:hover{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity))}
.hover\:ui-border-white:hover{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}
.hover\:ui-border-zinc-400:hover{--tw-border-opacity:1;border-color:rgb(161 161 170/var(--tw-border-opacity))}
.hover\:ui-bg-\[rgba\(0\2c 0\2c 0\2c 0\.04\)\]:hover{background-color:rgba(0,0,0,.04)}
.hover\:ui-bg-\[rgba\(0\2c 0\2c 0\2c 0\.08\)\]:hover{background-color:rgba(0,0,0,.08)}
.hover\:ui-bg-blue-200:hover{--tw-bg-opacity:1;background-color:rgb(175 218 255/var(--tw-bg-opacity))}
.hover\:ui-bg-blue-600\/10:hover{background-color:rgba(23,120,233,.1)}
.hover\:ui-bg-blue-700:hover{--tw-bg-opacity:1;background-color:rgb(13 100 202/var(--tw-bg-opacity))}
.hover\:ui-bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}
.hover\:ui-bg-slate-200:hover{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}
.hover\:ui-bg-white\/10:hover{background-color:hsla(0,0%,100%,.1)}
.hover\:ui-bg-zinc-900:hover{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}
.hover\:ui-text-blue-500:hover{--tw-text-opacity:1;color:rgb(2 156 253/var(--tw-text-opacity))}
.hover\:ui-text-blue-600:hover{--tw-text-opacity:1;color:rgb(23 120 233/var(--tw-text-opacity))}
.hover\:ui-text-slate-900:hover{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}
```
> **Note**: All values above are extracted from the live site's CSS files. The font files are saved locally by Prism and embedded in the output HTML. Use them as-is for maximum fidelity.
## 11.2 Measured Reality (CDP Engine)
Captured directly from Chrome's engine across **all 1384 rendered nodes** — not a sample. These are the values the page *actually paints*, weighted by how often they appear.
### Real Responsive Breakpoints
**16 breakpoints** read from the live `@media` rules (not guessed) — 14 most relevant:
`360px` · `430px` · `440px` · `600px` · `640px` · `768px` · `920px` · `940px` · `960px` · `1024px` · `1040px` · `1120px` · `1280px` · `1416px` … (+2 more)
### Measured Design Scale
**Type scale by usage** (× = paint count): `16px`×1020 · `14px`×195 · `12px`×111 · `11px`×21 · `56px`×14 · `24px`×10 · `20px`×8 · `13px`×4
**Radius scale** (× = paint count): `9999px`×79 · `4px`×45 · `6px`×38 · `2px`×30 · `50%`×16 · `8px`×8 · `12px`×1
**Weights** (× = paint count): `400`×1183 · `700`×186 · `500`×14
**Layout gaps** (× = paint count): `8px`×69 · `6px`×17 · `4px`×14 · `24px`×12 · `16px`×12 · `20px`×12 · `32px`×9 · `80px`×8
**Elevation (real shadows)**:
```css
rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px
rgba(0, 0, 0, 0.05) 0px 1px 2px 0px
```
### Provenance — measured styles on key elements
Read from the live CSSOM (includes runtime-injected CSS). This is *what actually styles the page*, by element:
```css
body { background-color:rgb(255 255 255/var(--tw-bg-opacity)) }
body { font-family:var(--font-sans) }
h1 { font-size:2.25rem }
h1 { font-weight:700 }
@media (min-width: 768px) h1 { font-size:56px }
h2 { font-size:2.25rem }
h2 { font-weight:700 }
@media (min-width: 768px) h2 { font-size:56px }
button { font-family:inherit; font-size:100%; font-weight:inherit; color:inherit }
button { background:var(--docsearch-searchbox-background); border-radius:40px; color:var(--docsearch-muted-color); font-weight:500 }
button { border-radius:9999px }
button { color:rgb(255 255 255/var(--tw-text-opacity)) }
```
> Selectors normalised to their semantic element — source class names are often build-hashed (`.bgDIHX`) and not reusable. The declarations + CSS vars are the transferable part.
---
*Generated by Prism — automated Playwright extraction + design analysis.*
*Source: https://storybook.js.org | 2026-06-11T06:18:23.600Z*
*Values extracted via getComputedStyle() (rendered) + CSS custom properties (tokens, marked `(token)`). Token-only values may not be painted — verify against the live site before shipping.*
Re-extract: clone-architect update storybook.js.org