---
version: alpha
name: angular.dev
description: "Light product system built on #ffffff with #151417 as the primary CTA accent. Type anchored in Inter Tight at 80px / weight 500. Extracted automatically from https://angular.dev/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
narrative: |
  angular.dev is built on a pure-white canvas (rgb(255,255,255)).
  The system uses rgb(21, 20, 23) as a near-neutral accent (low saturation).
  Crisp CTAs (4px radius) reinforce a precise, technical aesthetic alongside Inter Tight 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 — 7 keyframe animations plus transition-driven interactions.

colors:
  background: "#ffffff"
  surface-1: "#ffffff"
  surface-2: "#ffffff"
  ink: "#151417"
  ink-muted: "rgba(21, 20, 23, 0.65)"
  ink-subtle: "#413e46"
  primary: "#151417"
  on-primary: "#ffffff"
  primary-hover: "#f97583"
  hairline: "#24292e"
  primary-focus: "#101010"

typography:
  display-xl:
    fontFamily: "Inter Tight, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 80px
    fontWeight: 500
    lineHeight: normal
    letterSpacing: 0
  display-md:
    fontFamily: "Inter Tight, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 16px
    fontWeight: 500
    lineHeight: normal
    letterSpacing: 0
  body:
    fontFamily: "Inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 12.8px
    fontWeight: 500
    lineHeight: normal
    letterSpacing: 0
  caption:
    fontFamily: "Inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 14.4px
    fontWeight: 500
    lineHeight: normal
    letterSpacing: 0
  button:
    fontFamily: "Inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 14px
    fontWeight: 600
    lineHeight: normal
    letterSpacing: 0
  mono:
    fontFamily: "DM Mono, 'SF Mono', 'JetBrains Mono', Menlo, monospace"
    fontSize: 16px
    fontWeight: 400
    lineHeight: normal
    letterSpacing: 0

rounded:
  none: 0px
  xs: 4px
  sm: 8px
  md: 16px
  lg: 20px
  xl: 32px
  pill: 9999px

spacing:
  xxs: 2px
  xs: 2px
  sm: 8px
  md: 12px
  lg: 24px
  xl: 32px
  xxl: 50px

components:
  button-dark--solid:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "{rounded.xs}"
    padding: 8px
  button-outline:
    backgroundColor: "transparent"
    textColor: "#746e7c"
    typography: "{typography.body}"
    rounded: "{rounded.xs}"
    padding: 1px 6px
  button-ghost:
    backgroundColor: "transparent"
    textColor: "#746e7c"
    typography: "{typography.body}"
    rounded: "{rounded.none}"
    padding: 20px 6px
  input-text-input:
    backgroundColor: "{colors.on-primary}"
    textColor: "{colors.ink-subtle}"
    typography: "{typography.display-md}"
    rounded: "{rounded.none}"
    padding: 1px 2px
  navigation-main-nav:
    backgroundColor: "#000000"
    typography: "{typography.display-md}"
    rounded: "{rounded.none}"
    padding: 0px 0px 32px
  status-badge-neutral-light:
    backgroundColor: "#f6f5f6"
    textColor: "#f637e3"
    typography: "{typography.body}"
    rounded: "{rounded.sm}"
    padding: 8px
  tab-ghost-tab:
    backgroundColor: "transparent"
    textColor: "{colors.primary}"
    typography: "{typography.display-md}"
    rounded: "{rounded.sm}"
  tab-pill-tab:
    backgroundColor: "{colors.on-primary}"
    textColor: "{colors.primary}"
    typography: "{typography.display-md}"
    rounded: "{rounded.sm}"
    padding: 4px
  code-block-inline-code--pre:
    backgroundColor: "#000000"
    textColor: "#e90364"
    typography: "{typography.display-md}"
    rounded: "{rounded.xs}"
    padding: 0px 4.8px

extracted_at: "2026-06-11T06:01:18.687Z"
completeness: 80
scoreVersion: "v2"

---

# Design System — angular.dev
> Extracted automatically by Prism from https://angular.dev
> 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 &nbsp;|&nbsp; **Motion**: expressive &nbsp;|&nbsp; **Weight**: medium &nbsp;|&nbsp; **Aesthetic**: product-neutral

| Dimension | Value | Signal |
|---|---|---|
| Canvas | neutral | `#ffffff` |
| Type posture | sans-led (Inter) | "ProductivityMeets scalability" |
| Color assertion | dual-accent | #151417 |
| Whitespace | moderate | section rhythm 48px |
| Interaction | expressive | 7 keyframes, 19 transitions |
| Radius language | 4px-rounded | from token scale |

**Prism fingerprint**: `neutral-canvas · sans-display · dual-accent · 4px-rounded · 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(21, 20, 23)` 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: 24px.
> - **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

**Signature:** a gradient wash in the hero. This is the brand's most recognizable visual — reproduce it, don't replace it with a generic card or flat panel.

angular.dev uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight. 

Headlines are set in **Inter Tight**, a sans-serif display face (the dominant type signature, e.g. "ProductivityMeets scalability" at 80px). A second display voice — **Inter** (sans) — appears in lower bands (e.g. "Signals: Fine-Grained Reactivity"), used for editorial accent. Body text is set in **Inter**. 

Body text reads in Primary Contrast (`#151417`) — softened from pure black, a small but deliberate detail that lowers reading friction. **Primary Contrast** (`#151417`) 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. 
Motion design uses smooth easing curves for polished state transitions. 

**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: DM Mono
- Primary text: Primary Contrast (`#151417`)
- Accent: Primary Contrast (`#151417`)
- Display: 14px weight 500
- Shadow system: 3 distinct elevation levels
- Custom fonts loaded: DM Mono, Inter, Inter Tight

## 2. Color Palette & Roles

### Background & Surface
- **Pure White** (`#ffffff`): Page background (primary)
- **Whitesmoke** (`#e1e4e8`): Surface / elevated background

### Text & Content
- **Primary Contrast** (`#151417`): Primary body text
- **Pure Black** (`#000000`): Secondary text
- **Near-Black** (`#24292e`): Secondary text

### Accent & Interactive
- **#f97583** (`#f97583`): Interactive / accent
- **#b392f0** (`#b392f0`): Interactive / accent
- **Baby Blue** (`#9ecbff`): Interactive / accent
- **Baby Blue** (`#79b8ff`): Interactive / accent
- **Tangerine** (`#ffab70`): Interactive / accent
- **Mint** (`#85e89d`): Interactive / accent

### Full Extracted Palette
**11 colors rendered on the page** + **2** more declared in design tokens (CSS custom properties — not necessarily painted). (11 categorized above + 2 additional below.)
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.

- `#6a737d` — Slate Gray
- `#424242` — Charcoal *(token)*

### Gradients & Decorative Fills

- `linear-gradient( 0deg, oklch(47.66% .246 305.88) 0%, color-mix(in srgb, oklch(53.18% .28 296.97), wh…` — (--purple-to-light-purple-vertical-gradient)
- `linear-gradient( 0deg, oklch(51.01% .274 263.83) 0%, oklch(67.05% .1205924489987394 181.340259022038…` — (--blue-to-cyan-vertical-gradient)
- `radial-gradient( circle at 60% bottom, oklch(59.91% .239 8.14) 20%, oklch(53.18% .28 296.97) 100% )` — (--hot-pink-to-electric-violet-radial-gradient)
- `linear-gradient( 0deg, oklch(67.05% .1205924489987394 181.34025902203868) 0%, oklch(79.12% .257 155.…` — (--green-to-cyan-vertical-gradient)
- `linear-gradient( 0deg, oklch(51.01% .274 263.83) 0%, color-mix(in srgb, oklch(51.01% .274 263.83), w…` — (--blue-to-teal-vertical-gradient)
- `linear-gradient( 90deg, oklch(69.02% .277 332.77) 0%, oklch(53.18% .28 296.97) 100% )` — (--pink-to-purple-horizontal-gradient)
- `linear-gradient( 90deg, oklch(59.91% .239 8.14) 11.42%, oklch(61.42% .238 15.34) 34.83%, oklch(69.02…` — (--red-to-pink-horizontal-gradient)
- `linear-gradient( 0deg, oklch(53.18% .28 296.97) 0%, oklch(69.02% .277 332.77) 100% )` — (--pink-to-purple-vertical-gradient)

### CSS Custom Properties (Design Tokens)

**Z-Index Token**
- `--z-index-mini-menu`: `200`
- `--z-index-nav-tutorial`: `75`
- `--z-index-top-level-banner`: `150`
- `--z-index-nav`: `100`

**Spacing Token**
- `--layout-padding`: `3.12rem`

**Other tokens**
- `--mat-button-toggle-legacy-disabled-state-text-color`: `color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)`
- `--primary-nav-width`: `6.875rem`
- `--mat-chip-label-text-color`: `oklch(36.98% .014 302.71deg)`
- `--mat-snack-bar-container-color`: `white`
- `--mat-tab-divider-color`: `transparent`
- `--mat-button-toggle-legacy-state-layer-color`: `color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)`
- `--mat-button-toggle-label-text-size`: `16px`
- `--mat-chip-focus-outline-color`: `oklch(47.66% .246 305.88)`

## 3. Typography Rules

### Font Families
- **Primary**: `Inter`
- **Secondary**: `Inter Tight`
- **Font 3**: `DM Mono`
- **Font 4**: `Material Symbols Outlined`

### Custom Fonts Loaded
- **DM Mono** weight 400 (italic)
- **Inter** weight 400 (normal)
- **Inter** weight 500 (normal)
- **Inter** weight 600 (normal)
- **Inter Tight** weight 500 (normal)
- **Inter Tight** weight 600 (normal)
- **Material Symbols Outlined** weight 400 (normal)

### Typography Hierarchy

| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display Hero | Inter Tight | 80px | 500 | normal | normal | Main headline (h2) |
| Sub-heading | Inter Tight | 16px | 500 | normal | normal | Third-level heading (h3) |
| Card Title | Inter | 16px | 400 | normal | normal | Card headings |
| Input Large | DM Mono | 16px | 400 | normal | normal | Form input (16px) |
| Caption / Badge | Inter | 14.4px | 500 | normal | normal | small text (14.4px) |
| Button | Inter | 14px | 600 | normal | normal | Button label (14px) |
| Button | Inter | 14px | 500 | normal | normal | Button label (14px) |
| Button | Inter | 13.3333px | 500 | normal | normal | Button label (13.3333px) |
| Button | Inter | 13.3333px | 600 | normal | normal | Button label (13.3333px) |
| Button | Inter | 12.8px | 500 | normal | normal | Button label (12.8px) |

### Full Font Size Scale

Sizes detected in the design (descending): `80px`, `50.67px`, `24px`, `19.20px`, `17.60px`, `16px`, `14.40px`, `14px`, `13.33px`, `13px`, `12.80px`, `12px`, `11.20px`

> 7 size(s) detected outside the sampled hierarchy (50.6667px, 24px, 19.2px, 17.6px, 13px, 12px, 11.2px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.

### OpenType & Variable Font Features

The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:

- **ligatures** — common letter pairs replaced with refined glyphs (fi, fl, etc.)

**Clone instruction:** Enable these in your CSS:
```css
body {
  font-feature-settings: "liga";
}
```

## 4. Component Stylings

### Buttons

**Dark / Solid**
- Background: `#151417` `{colors.primary}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 8px
- Radius: 4px
- Border: 1px solid oklch(0.6902 0.277 332.77)
- Font: 14px weight 600
- Use: Solid dark CTA
- Focus: outline: `rgb(16, 16, 16) auto 1px`

**Outline**
- Background: `transparent`
- Text: `#746e7c`
- Padding: 1px 6px
- Radius: 4px
- Border: 1px solid oklch(0.9175 0.004 301.42)
- Font: 12.8px weight 500
- Use: Secondary action with border
- Focus: outline: `rgb(16, 16, 16) auto 1px`

**Ghost**
- Background: `transparent`
- Text: `#746e7c`
- Padding: 20px 6px
- Radius: 0px
- Font: 13.3333px weight 500
- Use: Subtle action, toolbar, nav button
- Focus: outline: `rgb(16, 16, 16) auto 1px`

**Ghost**
- Background: `transparent`
- Text: `#000000`
- Padding: 1px 16px
- Radius: 0px
- Font: 13.3333px weight 600
- Use: Subtle action, toolbar, nav button
- Focus: outline: `rgb(16, 16, 16) auto 1px`

**Light / Invert**
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#0546ff`
- Padding: 10px
- Radius: 4px
- Border: 1px solid oklch(0.9175 0.004 301.42)
- Font: 16px weight 500
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(16, 16, 16) auto 1px`

**Light / Invert**
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#0546ff`
- Padding: 32px
- Radius: 8px
- Border: 1px solid oklch(0.9175 0.004 301.42)
- Font: 16px weight 500
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(16, 16, 16) auto 1px`

### Inputs & Forms

**Text Input**
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#413e46` `{colors.ink-subtle}`
- Padding: 1px 2px
- Radius: 0px
- Border: 0px none oklch(0.3698 0.014 302.71)
- Font: 16px weight 400
- Use: Text fields, search inputs

### Navigation

**Main Nav**
- Background: `#000000`
- Padding: 0px 0px 32px
- Radius: none
- Font: 16px weight 400
- Use: Fixed/sticky flex nav — N/A items

### Status Badges

**Neutral Light**
- Background: `#f6f5f6`
- Text: `#f637e3`
- Padding: 8px
- Radius: 8px
- Font: 11.2px weight 500
- Use: Status indicator, label, pill

### Tabs

**Ghost Tab**
- Background: `transparent`
- Text: `#151417` `{colors.primary}`
- Padding: 0px
- Radius: 8px
- Font: 16px weight 400
- Use: Navigation tabs, filter tabs

**Pill Tab**
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#151417` `{colors.primary}`
- Padding: 4px
- Radius: 8px
- Border: 1px solid oklch(0.8401 0.009 308.34)
- Font: 16px weight 400
- Use: Navigation tabs, filter tabs

### Code Blocks

**Inline Code / Pre**
- Background: `#000000`
- Text: `#e90364`
- Padding: 0px 4.8px
- Radius: 4px
- Font: 17.6px weight 400 — "DM Mono"
- Use: Code samples, CLI commands, syntax highlighting blocks


## 4b. Component Behaviors (State Matrix)

### Interaction State Narrative

- **FooterLink**:
  - **hover:** text #746e7c → #706a78, border changes

*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*

```yaml
component-behaviors:
  button:
    default:
      bg: "oklch(0.1937 0.006 300.98)"
      fg: "rgb(255, 255, 255)"
      border: "1px solid oklch(0.6902 0.277 332.77)"
    focus:
      bg: "transparent"
      fg: "inherit"
  input:
    default:
      bg: "rgb(255, 255, 255)"
      fg: "oklch(0.3698 0.014 302.71)"
  link:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "oklch(0.5484 0.023 304.99)"
  card:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "oklch(0.1937 0.006 300.98)"
  navLink:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "oklch(0.5484 0.023 304.99)"
  tab:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "oklch(0.5318 0.28 296.97)"
  footerLink:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "oklch(0.5484 0.023 304.99)"
    hover:
      bg: "transparent"
      fg: "oklab(0.534804 0.0128018 -0.0183177)"
```

**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
- **4 shape(s)** in this system: `Dark / Solid`, `Outline`, `Ghost`, `Light / Invert`
- **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

### Navigation
- **1 shape(s)** in this system: `Main Nav`
- **DO NOT introduce new navigation variants** without justification

### Status Badges
- **1 shape(s)** in this system: `Neutral Light`
- **DO NOT introduce new status badges variants** without justification

### Tabs
- **2 shape(s)** in this system: `Ghost Tab`, `Pill Tab`
- **DO NOT introduce new tabs variants** without justification

### Code Blocks
- **1 shape(s)** in this system: `Inline Code / Pre`
- **DO NOT introduce new code blocks variants** without justification

## 5. Layout Principles

### Layout Type
**top-nav + content**

### Grid
Single column, centered content

### Max Width
80ch

### Spacing System
Compact spacing — information density prioritized

| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 2px |
| sm | 8px |
| md | 12px |
| base | 16px |
| lg | 24px |
| xl | 32px |
| 2xl | 48px |
| 3xl | 50px |

### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 4px | Tiny corners (badges, micro elements) |
| Sm | 8px | Buttons, inputs, small elements |
| Md | 16px | Cards, containers |
| Lg | 20px | Large rounded elements, pill segments |
| Xl | 32px | Category strips, featured containers |
| Full | 9999px | Pills, avatars, circular elements |

### Shape Language

| Component | Border Radius |
|-----------|---------------|
| Buttons | `4px` |
| Inputs & Forms | `0px` |
| Navigation | `none` |
| Status Badges | `8px` |
| Tabs | `8px` |
| Code Blocks | `4px` |
| Page Body | `0px` |
| Primary Input | `0px` |

**Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.

**Full Radius Spectrum**: 0px, 3px, 4px, 8px, 16px (from `allBorderRadii` scan)


## 5b. Spacing Rhythm Names

**Measured section padding**: bands use ~50px internal vertical padding (up to 50px) — **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** | `50px` | Top/bottom of full-bleed hero sections |
| **section** | `32px` | Between major bands (color change, content shift) |
| **subsection** | `24px` | Within a section, between content groups |
| **card** | `12px` | Card padding, list-item spacing |
| **compact** | `8px` | Form fields, tight clusters, badge padding |
| **micro** | `2px` | 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).

**4/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:** 44px tall (not full-viewport)
- **Heading:** "Angular v22 is here!" — 14px center-aligned
- **CTAs:** none detected in hero (unusual — agent should verify)
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. Pair the centered text with the hero’s decorative visual (gradient / SVG / hero image — see §9b), not bare text.

### Navigation Pattern

- **Position:** static (scrolls with page)
- **Layout:** logo-center-links-split — Logo centered, links split on either side
- **Height:** 900px
- **Logo:** ✓ present
- **Nav links:** 4 primary items
- **CTAs in nav:** 0 (no buttons — links only)
- **Search:** ✓ search input visible in nav
- **Theme toggle:** ✓ dark/light mode switcher present
- **Clone instruction:** Build a static logo center links split navigation. Link-only — no button styling needed.

### Card Grid Pattern

- **Card count:** 4 cards detected
- **Columns (desktop):** 1-up grid
- **Card dimensions:** 1328×746px (aspect 1.78:1)
- **Gap:** 0px between cards
- **Content:** ✗ no image + CTA
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~1.78:1 aspect ratio. Text/icon-only cards (no photography).

### Footer Pattern

- **Columns:** 1
- **Links:** 24 total
- **Height:** 545px
- **Includes:** ✗ no newsletter | ✓ social icons |  ✓ copyright
- **Clone instruction:** Build a 1-column footer with ~24 links per column, social media links, and a copyright line.

## 6. Depth & Elevation

| Level | Treatment | Use |
|-------|-----------|-----|
| Flat (Level 0) | No shadow | Page background, content blocks |
| Layered (Level 1) | <br>`rgb(27, 149, 224) 0px 0px 10px 0px`,<br>`rgb(27, 149, 224) 0px 0px 5px 0px` | Cards, elevated surfaces |
| Inset (Level 2) | <br>`rgba(0, 0, 0, 0.2) 0px 1px 0px 0px`,<br>`oklch(0.9881 0 0) 0px 0px 0px 2px inset` | Buttons, pressed-state elements |
| Layered (Level 3) | <br>`rgba(0, 0, 0, 0.1) 0px 0px 10px 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 |
|-------|---------------|
| `ease` | CSS ease — Default |
| `ease-out` | Ease Out — Decelerating |
| `ease-in-out` | Ease In-Out — Symmetric |

### Duration Scale

| Value | Tier | Typical Use |
|-------|------|-------------|
| `50ms` | Instant | State toggles, instant feedback |
| `200ms` | Normal | Panel open/close, navigation |
| `300ms` | Normal | Panel open/close, navigation |
| `500ms` | Slow | Hero animations, page transitions |
| `600ms` | Slow | Hero animations, page transitions |

### Copy-Paste Transition Snippets

**Color / Background**
```css
transition: color 0.3s, background-color 0.3s;
```

**Transform**
```css
transition: transform 0.3s ease-out;
```

**Opacity**
```css
transition: opacity 0.05s linear;
```

**Transform**
```css
transition: transform 0.3s ease-out 0.6s;
```

### Keyframe Animation Catalog

| Animation Name | Type | Animated Props | Use Hint |
|----------------|------|----------------|----------|
| `spin-gradient` | Custom | --angle | Loading indicator |
| `_ngcontent-ng-c3968259679_menuFadeIn` | Fade + Move | opacity, transform | Element entrance |
| `_ngcontent-ng-c4082591351_rotateGradient` | Custom | --gradient-angle | Loading indicator |
| `_ngcontent-ng-c4082591351_pulse` | Custom | --pulse-inner, --pulse-outer | Attention / status |
| `_ngcontent-ng-c1693377263_fadeIn` | Fade | opacity, visibility | Element entrance |
| `_ngcontent-ng-c3149880212_shimmer` | Custom | background-position-y, background-position-x | Loading placeholder |
| `_ngcontent-ng-c4008248509_spinner-ani...` | Rotate / Spin | transform | Loading indicator |

### Motion Fingerprint

- **Speed Character**: Deliberate & Calm (median duration: `300ms`)
- **Dominant Easing**: custom cubic-bezier curves
- **Animation Library**: 7 unique animations (7 total including variants)

> This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.

## 8. Do's and Don'ts

### Do
- Use Primary Contrast (`#151417`) for text — not pure black, it's warmer and more readable
- Use Inter as the primary typeface — it defines the brand personality
- Keep font weights between 400-600 — the system uses a narrow weight range for subtle hierarchy
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
- Use Primary Contrast (`#151417`) as the primary accent — it's the brand's signature interactive color
- Use small 4px radius for buttons — this design system uses subtle rounding, not pill shapes
- Respect the 2px–32px spacing range — the design uses a wide scale for visual breathing room
- Include a search input directly in the nav — discoverability is a primary UX value here
- Include a theme toggle in the nav — dark mode is a first-class feature

### Don't
- Don't use pure black (`#000000`) for text — the near-black adds warmth
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
- Don't use weight 700 (bold) or above — 600 is the maximum weight in this system
- Don't invent new shadow values — use only the extracted shadow levels
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
- Don't over-round buttons with pill or large radius — the system uses restrained, sharp-ish corners
- 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(21, 20, 23)` for primary CTAs and brand-mark signals only"
    why: "Single chromatic assertion device — overuse dilutes meaning"
    test: "querySelectorAll('[style*=\"rgb(21, 20, 23)\"]').length <= 3 per fold"
```

## 9. Responsive Behavior

### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile Large | 700px | Expanded mobile layout |
| Tablet | 775px | Multi-column grids begin |
| Tablet | 900px | Multi-column grids begin |
| Large Desktop | 1431px | Maximum content width |
| Ultra-wide | 1801px | Maximum content width |

### Token Diff — Desktop vs Mobile

| Element | Property | Desktop | Mobile |
|---------|----------|---------|--------|
| nav | height | `900px` | `844px` |
| button | width | `161px` | `164px` |
| card | width | `1296px` | `358px` |

### Collapsing Strategy
- Navigation: horizontal links → hamburger menu on mobile
- Cards: multi-column → stacked vertical on mobile
- Footer: multi-column → stacked single column on mobile

### Touch Targets
- Buttons: 8px 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):

*No major structural differences detected between desktop and mobile widgets. The same blueprints scale rather than collapse — verify by inspecting actual mobile render.*


## 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** — 2 multi-stop organic color field(s) as background atmosphere.
- **Clip-path shapes** — 2 non-rectangular cut(s).
- **Scroll-driven reveals** — content animates in on scroll (CSS scroll-timeline). Build fade/translate reveal-on-scroll for below-fold bands.
- **CSS-variable animations** (4) — animated custom properties.

> **Motion fingerprint**: mesh gradients, non-rectangular shapes (2), CSS scroll-driven animations

## 9b. Visual Tone & Photography

**Tone:** No imagery

No detectable photographic content. The site composes entirely with typography, color blocks, and minimal vector graphics. Clone strategy: lean on type hierarchy + layout rhythm rather than visual media.

**Canonical Brand Image (OG):**
- https://angular.dev/assets/images/ng-image.jpg
  *This is the image shown when the site is shared on social media — represents the brand visual essence.*

**Media Format Mix:**
- *No detectable images.*

**Decorative Patterns Detected:**
- 2 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
- 3 radial gradients — circular color blooms used for spotlight/glow effects
- 1 background pattern (non-photo url() backgrounds) — textures/illustrations as backdrops
- **Glassmorphism** detected (`backdrop-filter: blur`) — layered transparent surfaces with blur, modern OS-like aesthetic

**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:**
- Don't add stock imagery just to "fill space" — this site's clarity comes from typographic restraint.
- Use generous whitespace, strong type hierarchy, and color blocks for visual rhythm.

## 10. Agent Prompt Guide

### Quick Reference
- Background: Pure White (`#ffffff`)
- Primary text: Primary Contrast (`#151417`)
- Accent: Primary Contrast (`#151417`)
- Border: Near-Black (`#24292e`)
- Font: Inter
- Body: 16px weight 400

### Example Component Prompts
- "Create a hero section on Pure White background (#ffffff). Headline at 14px Inter weight 500, line-height normal, color #151417."
- "Create the primary CTA button: `#151417` background, `#ffffff` text, 4px border-radius, 8px padding, 600 weight, Inter font."
- "Design a card on `transparent` background. Border: none. Radius: 0px. Shadow: none. Padding: 0px."
- "Build navigation: relative on `#ffffff`. Inter 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 Inter, weight range 400–600. Never exceed 600 — heavier weights break the brand's tonal restraint.
3. **Accent**: Primary Contrast (`#151417`) is the sole interactive color. On hover → #f97583 (`#f97583`). Use CSS transitions, not opacity/brightness filters.
4. **Shape**: CTAs at `4px`, cards at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
5. **Spacing**: Use the `--ca-space-*` token scale (2px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
6. **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-on-primary: #ffffff;
  --ca-primary: #151417;
  --ca-ink-subtle: #413e46;
  --ca-primary-hover: #f97583;
  --ca-hairline: #24292e;
  --ca-primary-focus: #101010;
}

/* Typography */
:root {
  --ca-font-primary: "Inter Tight", system-ui, sans-serif;
  --ca-text-display: 80px;
  --ca-text-body: 12.8px;
  --ca-text-caption: 14.4px;
  --ca-text-button: 14px;
  --ca-text-mono: 16px;
}

/* Spacing & Radius */
:root {
  --ca-space-xxs: 2px;
  --ca-space-xs: 2px;
  --ca-space-sm: 8px;
  --ca-space-md: 12px;
  --ca-space-base: 16px;
  --ca-space-lg: 24px;
  --ca-space-xl: 32px;
  --ca-space-2xl: 48px;
  --ca-space-3xl: 50px;
  --ca-radius-none: 0px;
  --ca-radius-xs: 4px;
  --ca-radius-sm: 8px;
  --ca-radius-md: 16px;
  --ca-radius-lg: 20px;
  --ca-radius-xl: 32px;
  --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: adev-root
    height: 5540px
    width: full-bleed
    layout: flex-row justify=normal
    children: 5
  - section: hero
    tag: section
    classes: ["logo-section"]
    height: 700px
    width: full-bleed
    layout: flex-column justify=normal
    children: 2
    padding: "0px 0px 0px 112px"
  - section: feature-section
    tag: main
    classes: ["adev-home"]
    height: 4995px
    width: full-bleed
    layout: block
    children: 6
  - section: feature-section
    tag: section
    classes: ["features-section"]
    height: 1023px
    width: full-bleed
    layout: block
    children: 2
    vertical-padding: ~40px
    padding: "0px 0px 0px 112px"
  - section: feature-section
    tag: section
    classes: ["selling-points"]
    height: 398px
    width: full-bleed
    layout: block
    children: 2
    padding: "0px 0px 0px 112px"
  - section: feature-section
    tag: section
    classes: ["performance-section"]
    height: 800px
    width: full-bleed
    layout: flex-row justify=center
    children: 1
    padding: "0px 0px 0px 112px"
  - section: feature-section
    tag: div
    classes: ["wrapper"]
    height: 800px
    width: 800px
    layout: flex-row justify=center
    children: 2
  - section: feature-section
    tag: section
    classes: ["explore-section"]
    height: 1436px
    width: full-bleed
    layout: block
    children: 2
    padding: "0px 0px 0px 112px"
  - section: section
    tag: section
    classes: ["learn-more-bottom-section"]
    height: 500px
    width: full-bleed
    layout: flex-row justify=normal
    children: 2
    padding: "0px 0px 0px 112px"
  - section: footer
    tag: footer
    height: 545px
    width: 1330px
    layout: block
    children: 1
    vertical-padding: ~50px
  - section: footer
    tag: div
    classes: ["adev-footer-container"]
    height: 545px
    width: 990px
    layout: block
    children: 2
    bg: "rgb(255, 255, 255)"
    vertical-padding: ~50px
    padding: "49.92px 16px 49.92px 49.92px"
```

**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:
    - "Productivity Meets scalability"
    - "Features that actually help you solve problems"
    - "Enabling you to build smarter and faster"
    - "Social Media"
  sub-headings:
    - "The framework for building scalable web apps with confidence"
    - "AI-forward resources and integrations to supercharge your development with AI"
    - "Opinionated & versatile, organized yet modular thanks to Angular components and dependency injection"
    - "Trusted by millions to build fast, reliable applications that scale with the size of your team"
  ctas:
    - "Skip to main content"
    - "v22"
    - "CtrlK"
    - "more_horiz"
    - "Learn more"
    - "Ok, Got it"
    - "Get Started"
  navigation:
    - "Docs"
    - "Tutorials"
    - "Playground"
    - "Reference"
  footer-links:
    - "Blog"
    - "MIT-style License"
```

**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.


## 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">
  Skip to main content
</button>
```
_Source pattern detected: padding `8px` · radius `4px` · weight `600`_

### Generic Card
```html
<div class="card">
  <!-- content -->
</div>
```
_Source pattern detected: padding `0px` · radius `0px` · shadow `none`_

**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** 3 · **cta** 2 · **product** 1 · **docs** 3 · **social** 7 · **footer** 15 · **other** 9

**Primary actions (conversion path):**
- Primary call-to-action — "Get Started" (the conversion path) → `https://angular.dev/#learn-more`
- Primary call-to-action — "New to Angular? Try our completely in browser tu" (the conversion path) → `https://angular.dev/tutorials/learn-angular`

**Signals:** 5/40 links carry a featured image · device mockups detected: tablet ×2, laptop ×1 · dominant link roles: footer-link (24), inline-link (10), navigation (3).


---
## Extraction Completeness: 80/100 (B)

| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 15 | 25 | 11 named colors |
| Typography | 20 | 20 | 10 roles defined |
| Components | 20 | 20 | 6 specs extracted |
| Motion & Interaction | 12 | 15 | Keyframes |
| CSS Custom Properties | 8 | 10 | 159 vars |
| Responsive Breakpoints | 5 | 5 | 5 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.

| Category | What's missing | Fallback strategy |
|----------|----------------|-------------------|
| **Photography** | No photographic content detected on this page | Don't add stock imagery; clarity comes from type + color blocks |
| **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 | 159 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | High | 10 typography roles inferred |
| §4 Components | High | 6 component variants captured |
| §7 Motion | High | Keyframes + transitions |
| §8 Do's/Don'ts | High | 17 rules generated; design-decisions.json has evidence per rule |
| §9 Responsive | High | 5 breakpoints detected |
| §9b Photography | Low | 0 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.*

### Keyframe Animations (Intercepted from CSS)

**1 @keyframes found** — these are the real animation definitions:

```
@keyframes spin-gradient { ... }
```

<details><summary>Full keyframes CSS (1 animations)</summary>

```css
@keyframes spin-gradient{0%{--angle: 90deg}
```
</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: linear-gradient( 90deg, color-mix(in srgb, var(--vivid-pink);

/* Gradient 2 */
background: linear-gradient( 132.83deg, hsl(from color-mix(in srgb, var(--bright-blue);

/* Gradient 3 */
background: radial-gradient( circle at center bottom, var(--light-pink);

/* Gradient 4 */
background: radial-gradient( circle at 60% bottom, var(--hot-pink-header);

```

### Hover State CSS (Intercepted)

**1 hover rule lines** captured from CSS files. Key interactive transitions from real CSS (not inferred):

```css
.cm-scroller::-webkit-scrollbar-thumb:hover{background-color:var(--quaternary-contrast)}

p>a:hover,p>em>a:hover,td>a:hover,div>a:not(.docs-card):hover,code>a:hover,li:not(.docs-faceted-list *) a:hover{color:var(--vivid-pink)}

.docs-scroll-track-transparent-large::-webkit-scrollbar-thumb:hover{background-color:var(--quaternary-contrast)}

.docs-scroll-track-transparent::-webkit-scrollbar-thumb:hover{background-color:var(--quaternary-contrast)}

.docs-mini-scroll-track::-webkit-scrollbar-thumb:hover,.shiki>code::-webkit-scrollbar-thumb:hover{background-color:var(--quinary-contrast)}
```

> **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 662 rendered nodes** — not a sample. These are the values the page *actually paints*, weighted by how often they appear.

### Real Responsive Breakpoints
**7 breakpoints** read from the live `@media` rules (not guessed):
`700px` · `701px` · `775px` · `900px` · `901px` · `1431px` · `1801px`

### Measured Design Scale
**Type scale by usage** (× = paint count): `14px`×275 · `16px`×186 · `13px`×66 · `13.3333px`×50 · `24px`×16 · `50.6667px`×14 · `14.4px`×14 · `17.6px`×11

**Radius scale** (× = paint count): `8px`×46 · `3.2px`×36 · `4px`×31 · `16px`×10 · `7px`×8 · `15px`×8 · `3px`×4

**Weights** (× = paint count): `400`×404 · `500`×145 · `600`×60 · `300`×52

**Layout gaps** (× = paint count): `8px`×10 · `12px`×7 · `24px`×7 · `15.2px`×4 · `4px`×3 · `16px`×2 · `32px`×2 · `48px`×1

**Elevation (real shadows)**:
```css
rgba(0, 0, 0, 0.2) 0px 1px 0px 0px, oklch(0.9881 0 0) 0px 0px 0px 2px inset
rgb(27, 149, 224) 0px 0px 10px 0px, rgb(27, 149, 224) 0px 0px 5px 0px
rgba(0, 0, 0, 0.1) 0px 0px 10px 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
nav { background-color:color-mix(in srgb,var(--page-background) 70%,transparent); transition:background-color .3s ease,border-color .3s ease }
h1 { font-family:var(--inter-tight-font); font-weight:500 }
h1 { font-size:.875rem; color:transparent; box-shadow:none }
h2 { font-family:var(--inter-tight-font); font-weight:500 }
h2 { font-size:clamp(1rem,9vw,38pt) }
h2 { font-size:1.2rem }
h2 { font-size:clamp(3rem,6vw,5rem) }
button { font-family:var(--inter-font); background:transparent; font-weight:600; background-color:transparent }
button { background:var(--primary-contrast); color:var(--page-background); border-radius:.25rem; font-size:.875rem; transition:transform .3s ease-out }
a { font-weight:500; transition:color .3s ease }
a { color:var(--bright-blue) }
a { gap:.75rem; color:inherit; transition:fill .3s ease }
```

> 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://angular.dev | 2026-06-11T06:01:18.709Z*
*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.*
