prism-design 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +292 -0
- package/LICENSE +21 -0
- package/README.md +203 -0
- package/bin/clone-architect.mjs +476 -0
- package/bin/prism.mjs +467 -0
- package/catalog/index.json +1155 -0
- package/extractions/airbnb.com/DESIGN.md +1068 -0
- package/extractions/airbnb.com/tokens.json +507 -0
- package/extractions/attio.com/DESIGN.md +1295 -0
- package/extractions/attio.com/tokens.json +438 -0
- package/extractions/auroxdashboard.com/DESIGN.md +724 -0
- package/extractions/auroxdashboard.com/tokens.json +195 -0
- package/extractions/careerexplorer.com/DESIGN.md +1178 -0
- package/extractions/careerexplorer.com/tokens.json +141 -0
- package/extractions/chance.co/DESIGN.md +1209 -0
- package/extractions/chance.co/tokens.json +160 -0
- package/extractions/choisis-ton-avenir.com/DESIGN.md +1265 -0
- package/extractions/choisis-ton-avenir.com/tokens.json +227 -0
- package/extractions/example.com/DESIGN.md +436 -0
- package/extractions/example.com/tokens.json +91 -0
- package/extractions/getdesign.md/DESIGN.md +1009 -0
- package/extractions/getdesign.md/tokens.json +219 -0
- package/extractions/github.com/DESIGN.md +1130 -0
- package/extractions/github.com/tokens.json +2092 -0
- package/extractions/hello-charly.com/DESIGN.md +1146 -0
- package/extractions/hello-charly.com/tokens.json +322 -0
- package/extractions/hyperliquid.xyz/DESIGN.md +779 -0
- package/extractions/hyperliquid.xyz/tokens.json +598 -0
- package/extractions/instagram.com/DESIGN.md +996 -0
- package/extractions/instagram.com/tokens.json +1240 -0
- package/extractions/jobirl.com/DESIGN.md +1160 -0
- package/extractions/jobirl.com/tokens.json +139 -0
- package/extractions/life360.com/DESIGN.md +1133 -0
- package/extractions/life360.com/tokens.json +491 -0
- package/extractions/lifesum.com/DESIGN.md +965 -0
- package/extractions/lifesum.com/tokens.json +170 -0
- package/extractions/linear.app/DESIGN.md +1301 -0
- package/extractions/linear.app/tokens.json +732 -0
- package/extractions/mavoie.org/DESIGN.md +1148 -0
- package/extractions/mavoie.org/tokens.json +128 -0
- package/extractions/miro.com/DESIGN.md +1237 -0
- package/extractions/miro.com/tokens.json +401 -0
- package/extractions/notion.so/DESIGN.md +1319 -0
- package/extractions/notion.so/tokens.json +906 -0
- package/extractions/onetonline.org/DESIGN.md +909 -0
- package/extractions/onetonline.org/tokens.json +280 -0
- package/extractions/posthog.com/DESIGN.md +1024 -0
- package/extractions/posthog.com/tokens.json +197 -0
- package/extractions/revolut.com/DESIGN.md +1080 -0
- package/extractions/revolut.com/tokens.json +401 -0
- package/extractions/stripe.com/DESIGN.md +1272 -0
- package/extractions/stripe.com/tokens.json +794 -0
- package/extractions/switchcollective.com/DESIGN.md +1040 -0
- package/extractions/switchcollective.com/tokens.json +98 -0
- package/extractions/truity.com/DESIGN.md +970 -0
- package/extractions/truity.com/tokens.json +166 -0
- package/extractions/uniquekicks.be/DESIGN.md +1171 -0
- package/extractions/uniquekicks.be/tokens.json +237 -0
- package/package.json +122 -0
- package/scripts/analyze.ts +281 -0
- package/scripts/bank-register.ts +379 -0
- package/scripts/bank.ts +374 -0
- package/scripts/browser-stealth.ts +189 -0
- package/scripts/clone.ts +198 -0
- package/scripts/compare-vs-gd-final.ts +273 -0
- package/scripts/compare-vs-gd.ts +269 -0
- package/scripts/compare.ts +405 -0
- package/scripts/deploy-site.ts +181 -0
- package/scripts/diff-snapshots.ts +340 -0
- package/scripts/enrich-catalog.ts +212 -0
- package/scripts/extract.ts +2038 -0
- package/scripts/extractors/advanced.ts +524 -0
- package/scripts/extractors/widgets.ts +711 -0
- package/scripts/generate-design-md.ts +5775 -0
- package/scripts/generate-final-pdf.ts +274 -0
- package/scripts/generate-og-image.ts +87 -0
- package/scripts/generate-showcase.ts +1588 -0
- package/scripts/generate-site.ts +847 -0
- package/scripts/mass-extract.sh +91 -0
- package/scripts/post-process-all.sh +55 -0
- package/scripts/regen-catalog.ts +203 -0
- package/scripts/shared/cache.ts +149 -0
- package/scripts/shared/css-helpers.ts +263 -0
- package/scripts/shared/logger.ts +57 -0
- package/scripts/shared/named-colors.ts +355 -0
- package/scripts/shared/types.ts +220 -0
- package/scripts/sync-catalog.ts +105 -0
- package/scripts/tokenize.ts +988 -0
- package/templates/layout-template.md +52 -0
- package/templates/tokens-template.json +34 -0
|
@@ -0,0 +1,1068 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: alpha
|
|
3
|
+
name: airbnb.com
|
|
4
|
+
description: "Light product system built on #ffffff with #ff385c as the primary CTA accent. Type anchored in Airbnb Cereal VF at 28px / weight 700. Extracted automatically from https://airbnb.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
|
|
5
|
+
narrative: |
|
|
6
|
+
airbnb.com is built on a pure-white canvas (rgb(255, 255, 255)).
|
|
7
|
+
The system uses rgb(255, 56, 92) as the high-saturation accent for primary actions.
|
|
8
|
+
Generously rounded CTAs (32px) suggest approachable, content-first design alongside Airbnb Cereal VF as the primary typeface.
|
|
9
|
+
Airbnb Cereal VF is paired with Circular for secondary roles.
|
|
10
|
+
A layered elevation system (4 distinct shadows) building a clear front-to-back hierarchy.
|
|
11
|
+
Motion is a first-class concern — 200 keyframe animations plus transition-driven interactions.
|
|
12
|
+
|
|
13
|
+
colors:
|
|
14
|
+
background: "#ffffff"
|
|
15
|
+
surface-1: "#ebebeb"
|
|
16
|
+
surface-2: "#f2f2f2"
|
|
17
|
+
ink: "#222222"
|
|
18
|
+
ink-subtle: "#8c8c8c"
|
|
19
|
+
primary: "#ff385c"
|
|
20
|
+
on-primary: "#111111"
|
|
21
|
+
primary-hover: "#e00b41"
|
|
22
|
+
hairline: "#6a6a6a"
|
|
23
|
+
primary-focus: "#222222"
|
|
24
|
+
semantic-error: "#b32505"
|
|
25
|
+
semantic-success: "#008a05"
|
|
26
|
+
semantic-warning: "#e07912"
|
|
27
|
+
semantic-info: "#428bff"
|
|
28
|
+
|
|
29
|
+
typography:
|
|
30
|
+
display-xl:
|
|
31
|
+
fontFamily: "Airbnb Cereal VF"
|
|
32
|
+
fontSize: 72px
|
|
33
|
+
fontWeight: 600
|
|
34
|
+
lineHeight: 1.03
|
|
35
|
+
letterSpacing: 0
|
|
36
|
+
display-md:
|
|
37
|
+
fontFamily: "Airbnb Cereal VF"
|
|
38
|
+
fontSize: 22px
|
|
39
|
+
fontWeight: 500
|
|
40
|
+
lineHeight: 1.18
|
|
41
|
+
letterSpacing: -0.44px
|
|
42
|
+
body:
|
|
43
|
+
fontFamily: "Airbnb Cereal VF"
|
|
44
|
+
fontSize: 32px
|
|
45
|
+
fontWeight: 600
|
|
46
|
+
lineHeight: 1.13
|
|
47
|
+
letterSpacing: 0
|
|
48
|
+
|
|
49
|
+
rounded:
|
|
50
|
+
none: 0px
|
|
51
|
+
xs: 4px
|
|
52
|
+
sm: 8px
|
|
53
|
+
md: 14px
|
|
54
|
+
lg: 20px
|
|
55
|
+
xl: 32px
|
|
56
|
+
pill: 9999px
|
|
57
|
+
|
|
58
|
+
spacing:
|
|
59
|
+
xxs: 2px
|
|
60
|
+
xs: 4px
|
|
61
|
+
sm: 8px
|
|
62
|
+
md: 12px
|
|
63
|
+
lg: 24px
|
|
64
|
+
xl: 32px
|
|
65
|
+
xxl: 64px
|
|
66
|
+
section: 80px
|
|
67
|
+
|
|
68
|
+
components:
|
|
69
|
+
button-pill:
|
|
70
|
+
backgroundColor: "transparent"
|
|
71
|
+
textColor: "{colors.primary-focus}"
|
|
72
|
+
typography: "{typography.display-md}"
|
|
73
|
+
rounded: "{rounded.xl}"
|
|
74
|
+
button-ghost:
|
|
75
|
+
backgroundColor: "transparent"
|
|
76
|
+
textColor: "{colors.primary-focus}"
|
|
77
|
+
typography: "{typography.display-md}"
|
|
78
|
+
rounded: "{rounded.xl}"
|
|
79
|
+
button-pill-2:
|
|
80
|
+
backgroundColor: "transparent"
|
|
81
|
+
textColor: "{colors.primary-focus}"
|
|
82
|
+
typography: "{typography.display-md}"
|
|
83
|
+
rounded: "{rounded.xl}"
|
|
84
|
+
input-text-input:
|
|
85
|
+
backgroundColor: "transparent"
|
|
86
|
+
textColor: "{colors.primary-focus}"
|
|
87
|
+
typography: "{typography.display-md}"
|
|
88
|
+
rounded: "{rounded.none}"
|
|
89
|
+
navigation-main-nav:
|
|
90
|
+
backgroundColor: "transparent"
|
|
91
|
+
typography: "{typography.display-md}"
|
|
92
|
+
rounded: "{rounded.none}"
|
|
93
|
+
padding: 0px 48px
|
|
94
|
+
search-bar-search-bar:
|
|
95
|
+
backgroundColor: "transparent"
|
|
96
|
+
textColor: "{colors.primary-focus}"
|
|
97
|
+
typography: "{typography.display-md}"
|
|
98
|
+
rounded: "{rounded.none}"
|
|
99
|
+
padding: 0px 48px
|
|
100
|
+
|
|
101
|
+
extracted_at: "2026-06-07T02:29:00.418Z"
|
|
102
|
+
completeness: 88
|
|
103
|
+
scoreVersion: "v2"
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
# Design System — airbnb.com
|
|
108
|
+
> Extracted automatically by Prism from https://airbnb.com
|
|
109
|
+
> Date: 2026-06-07
|
|
110
|
+
> Viewport: Desktop 1440x900 + Mobile 390x844
|
|
111
|
+
> 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).
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
## 0. Design DNA
|
|
115
|
+
|
|
116
|
+
**Density**: moderate | **Motion**: expressive | **Weight**: medium | **Aesthetic**: product-neutral
|
|
117
|
+
|
|
118
|
+
| Dimension | Value | Signal |
|
|
119
|
+
|---|---|---|
|
|
120
|
+
| Canvas | neutral | `#ffffff` |
|
|
121
|
+
| Type posture | sans-led (Airbnb Cereal VF) | display type |
|
|
122
|
+
| Color assertion | dual-accent | #ff385c |
|
|
123
|
+
| Whitespace | moderate | section rhythm 48px |
|
|
124
|
+
| Interaction | expressive | 200 keyframes, 10 transitions |
|
|
125
|
+
| Radius language | 8px-rounded | from token scale |
|
|
126
|
+
|
|
127
|
+
**Prism fingerprint**: `neutral-canvas · sans-display · dual-accent · 8px-rounded · expressive-motion`
|
|
128
|
+
|
|
129
|
+
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
|
|
130
|
+
>
|
|
131
|
+
> - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
|
|
132
|
+
> - **Accent**: `rgb(255, 56, 92)` for primary CTAs ONLY. Never decorative.
|
|
133
|
+
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
|
|
134
|
+
> - **Section rhythm**: 48px between major bands. Card padding: 24px.
|
|
135
|
+
> - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
|
|
136
|
+
>
|
|
137
|
+
> **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
|
|
138
|
+
|
|
139
|
+
## 1. Visual Theme & Atmosphere
|
|
140
|
+
|
|
141
|
+
airbnb.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
|
|
142
|
+
|
|
143
|
+
Typography is anchored in **Airbnb Cereal VF**. Headlines use weight 700 for confident, assertive presence — the brand wants to be heard.
|
|
144
|
+
|
|
145
|
+
Body text reads in Hof (`#222222`) — softened from pure black, a small but deliberate detail that lowers reading friction. **Rausch** (`#ff385c`) is the single high-saturation color in the system — it earns its presence only on interactive elements, making CTAs and links the unmistakable focal points against the otherwise neutral palette. Elevation is built from multi-layer shadow stacks (4 distinct) — each combines several blurred layers at varying offsets to build a clear front-to-back hierarchy.
|
|
146
|
+
Motion design uses smooth easing curves for polished state transitions.
|
|
147
|
+
|
|
148
|
+
**Key Characteristics:**
|
|
149
|
+
- Background: White (`#ffffff`)
|
|
150
|
+
- Primary typeface: Airbnb Cereal VF
|
|
151
|
+
- Primary text: Hof (`#222222`)
|
|
152
|
+
- Accent: Rausch (`#ff385c`)
|
|
153
|
+
- Shadow system: 4 distinct elevation levels
|
|
154
|
+
- Custom fonts loaded: Airbnb Cereal VF
|
|
155
|
+
|
|
156
|
+
## 2. Color Palette & Roles
|
|
157
|
+
|
|
158
|
+
### Background & Surface
|
|
159
|
+
- **White** (`#ffffff`): Page background (primary)
|
|
160
|
+
- **Faint** (`#f7f7f7`): Surface / elevated background (CSS var)
|
|
161
|
+
- **Palette Bg Quaternary** (`#f2f2f2`): Surface / elevated background (CSS var)
|
|
162
|
+
- **Bebe** (`#ebebeb`): Surface / elevated background (CSS var)
|
|
163
|
+
- **Palette Bg Primary Error** (`#fff8f6`): Surface / elevated background (CSS var)
|
|
164
|
+
|
|
165
|
+
### Text & Content
|
|
166
|
+
- **Hof** (`#222222`): Primary body text
|
|
167
|
+
- **Palette Text Secondary Error Hover** (`#b32505`): Text (CSS var)
|
|
168
|
+
- **Spruce** (`#008a05`): Text (CSS var)
|
|
169
|
+
- **Palette Icon Tertiary** (`#8c8c8c`): Text (CSS var)
|
|
170
|
+
- **Arches** (`#c13515`): Text (CSS var)
|
|
171
|
+
|
|
172
|
+
### Accent & Interactive
|
|
173
|
+
- **Rausch** (`#ff385c`): Accent / interactive (CSS var)
|
|
174
|
+
- **Palette Bg Tertiary Core** (`#e00b41`): Accent / interactive (CSS var)
|
|
175
|
+
- **Bobo** (`#b0b0b0`): Accent / interactive (CSS var)
|
|
176
|
+
- **Luxe** (`#460479`): Accent / interactive (CSS var)
|
|
177
|
+
- **Plus** (`#92174d`): Accent / interactive (CSS var)
|
|
178
|
+
- **Foggy** (`#6a6a6a`): Accent / interactive (CSS var)
|
|
179
|
+
|
|
180
|
+
### Border & Divider
|
|
181
|
+
- **Palette Border Primary Hover** (`#000000`): Border (CSS var)
|
|
182
|
+
- **Deco** (`#dddddd`): Border (CSS var)
|
|
183
|
+
- **Silver** (`#c1c1c1`): Borders / dividers
|
|
184
|
+
|
|
185
|
+
### Full Extracted Palette
|
|
186
|
+
**12 colors rendered on the page** + **105** more declared in design tokens (CSS custom properties — not necessarily painted). (19 categorized above + 98 additional below.)
|
|
187
|
+
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
|
|
188
|
+
|
|
189
|
+
- `#6c6c6c` — Dim Gray
|
|
190
|
+
- `#fff5f3` — Snow *(token)*
|
|
191
|
+
- `#e61e4d` — Ruby *(token)*
|
|
192
|
+
- `#e31c5f` — Ruby *(token)*
|
|
193
|
+
- `#d70466` — #d70466 *(token)*
|
|
194
|
+
- `#8dd19e` — #8dd19e *(token)*
|
|
195
|
+
- `#ddedfe` — Light Gray *(token)*
|
|
196
|
+
- `#59086e` — #59086e *(token)*
|
|
197
|
+
- `#440589` — #440589 *(token)*
|
|
198
|
+
- `#fff5f6` — Snow *(token)*
|
|
199
|
+
- `#c6e0fe` — Light Blue *(token)*
|
|
200
|
+
- `#162339` — Navy Blue *(token)*
|
|
201
|
+
- `#a3150f` — #a3150f *(token)*
|
|
202
|
+
- `#a21039` — #a21039 *(token)*
|
|
203
|
+
- `#bd1e59` — #bd1e59 *(token)*
|
|
204
|
+
- `#361a21` — Warm Brown *(token)*
|
|
205
|
+
- `#8f3400` — Chocolate *(token)*
|
|
206
|
+
- `#be4900` — #be4900 *(token)*
|
|
207
|
+
- `#fdf5fb` — Snow *(token)*
|
|
208
|
+
- `#772320` — #772320 *(token)*
|
|
209
|
+
- `#bd31a1` — #bd31a1 *(token)*
|
|
210
|
+
- `#f84a43` — Vermillion *(token)*
|
|
211
|
+
- `#861453` — #861453 *(token)*
|
|
212
|
+
- `#6c0d63` — #6c0d63 *(token)*
|
|
213
|
+
- `#ffaca5` — #ffaca5 *(token)*
|
|
214
|
+
- `#c5c1bb` — Silver *(token)*
|
|
215
|
+
- `#166bd8` — M Tricolor Blue *(token)*
|
|
216
|
+
- `rgba(240, 240, 240, 0.86)` — Translucent Light Gray (86%) *(token)*
|
|
217
|
+
- `#12a139` — Success Green *(token)*
|
|
218
|
+
- `#f7b383` — #f7b383 *(token)*
|
|
219
|
+
- `#6a255e` — #6a255e *(token)*
|
|
220
|
+
- `rgba(250, 250, 250, 0.72)` — Translucent Off-White (72%) *(token)*
|
|
221
|
+
- *…+66 more in `raw-css.json` (`desktop.allColors`).*
|
|
222
|
+
|
|
223
|
+
### Gradients & Decorative Fills
|
|
224
|
+
|
|
225
|
+
- `linear-gradient(to left,#59086E 0%,#460479 50%,#440589 100%)` — (--palette-luxe-gradient-linear-gradient-rtl)
|
|
226
|
+
- `linear-gradient(to left,#E61E4D 0%,#E31C5F 50%,#D70466 100%)` — (--palette-rausch-gradient-linear-gradient-rtl)
|
|
227
|
+
- `radial-gradient(circle at center,#FF385C 0%,#E61E4D 27.5%,#E31C5F 40%,#D70466 57.5%,#BD1E59 75%,#BD1…` — (--palette-rausch-gradient-radial-gradient)
|
|
228
|
+
- `linear-gradient(to left,#BD1E59 0%,#92174D 50%,#861453 100%)` — (--palette-plus-gradient-linear-gradient-rtl)
|
|
229
|
+
- `linear-gradient(to right,#E61E4D 0%,#E31C5F 50%,#D70466 100%)` — (--palette-rausch-gradient-linear-gradient)
|
|
230
|
+
- `radial-gradient(circle at center,#D70466 0%,#BD1E59 30%,#92174D 55%,#861453 72.5%,#6C0D63 90%,#6C0D6…` — (--palette-plus-gradient-radial-gradient)
|
|
231
|
+
- `linear-gradient(to right,#BD1E59 0%,#92174D 50%,#861453 100%)` — (--palette-plus-gradient-linear-gradient)
|
|
232
|
+
- `linear-gradient(to right,#59086E 0%,#460479 50%,#440589 100%)` — (--palette-luxe-gradient-linear-gradient)
|
|
233
|
+
|
|
234
|
+
### CSS Custom Properties (Design Tokens)
|
|
235
|
+
|
|
236
|
+
**Spacing Token**
|
|
237
|
+
- `--spacing-macro24px`: `24px`
|
|
238
|
+
- `--typography-tracking-normal-letter-spacing`: `normal`
|
|
239
|
+
- `--typography-titles-medium_14_18-letter-spacing`: `normal`
|
|
240
|
+
- `--typography-body-paragraphs-text_16_22-letter-spacing`: `normal`
|
|
241
|
+
|
|
242
|
+
**Font Size Token**
|
|
243
|
+
- `--typography-subtitles-book_18_24-font-size`: `1.125rem`
|
|
244
|
+
- `--typography-body-text_14_18-font-size`: `0.875rem`
|
|
245
|
+
- `--typography-body-text_16_20-font-size`: `1rem`
|
|
246
|
+
- `--typography-titles-medium_14_18-font-size`: `0.875rem`
|
|
247
|
+
|
|
248
|
+
**Motion Token**
|
|
249
|
+
- `--motion-springs-fast-bounce-source-mass`: `1px`
|
|
250
|
+
- `--motion-springs-slow-easing`: `linear(0,0.1726495179466309,0.44139132340393467,0.6575338740242772,0.8021357455779029,0.890693569...`
|
|
251
|
+
- `--motion-springs-fast-easing`: `linear(0,0.18557241650572898,0.46530560393651493,0.6823338821577483,0.8223254801509006,0.90497441...`
|
|
252
|
+
|
|
253
|
+
**Shadow Token**
|
|
254
|
+
- `--palette-shadow350`: `rgba(0,0,0,0.28)`
|
|
255
|
+
- `--palette-shadow50`: `rgba(0,0,0,0.04)`
|
|
256
|
+
- `--palette-shadow300`: `rgba(0,0,0,0.20)`
|
|
257
|
+
- `--elevation-elevation1-box-shadow`: `0px 0px 0px 1px rgba(0,0,0,0.02),0px 2px 4px 0px rgba(0,0,0,0.16)`
|
|
258
|
+
|
|
259
|
+
**Font Weight Token**
|
|
260
|
+
- `--typography-titles-medium_14_18-font-weight`: `500`
|
|
261
|
+
- `--typography-titles-medium_18_24-font-weight`: `500`
|
|
262
|
+
- `--typography-special-display-medium_40_44-font-weight`: `600`
|
|
263
|
+
- `--typography-titles-semibold_14_18-font-weight`: `600`
|
|
264
|
+
|
|
265
|
+
**Border Radius Token**
|
|
266
|
+
- `--corner-radius-xxlarge28px-border-radius`: `28px`
|
|
267
|
+
- `--corner-radius-medium12px-border-radius`: `12px`
|
|
268
|
+
- `--corner-radius-small8px-border-radius`: `8px`
|
|
269
|
+
- `--corner-radius-tiny4px-border-radius`: `4px`
|
|
270
|
+
|
|
271
|
+
**Other tokens**
|
|
272
|
+
- `--palette-bg-primary-core`: `#FF385C`
|
|
273
|
+
- `--palette-bg-primary-selected`: `#F7F7F7`
|
|
274
|
+
- `--palette-bg-tertiary-core`: `#E00B41`
|
|
275
|
+
- `--palette-border-primary-inverse`: `#FFFFFF`
|
|
276
|
+
- `--typography-body-text_16_20-line-height`: `1.25rem`
|
|
277
|
+
- `--palette-icon-primary`: `#222222`
|
|
278
|
+
- `--palette-text-secondary-error-hover`: `#B32505`
|
|
279
|
+
- `--palette-text-primary-inverse`: `#FFFFFF`
|
|
280
|
+
|
|
281
|
+
## 3. Typography Rules
|
|
282
|
+
|
|
283
|
+
### Font Families
|
|
284
|
+
- **Primary**: `Airbnb Cereal VF`
|
|
285
|
+
|
|
286
|
+
### Custom Fonts Loaded
|
|
287
|
+
- **Airbnb Cereal VF** weight normal (normal)
|
|
288
|
+
|
|
289
|
+
### Typography Hierarchy
|
|
290
|
+
|
|
291
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
292
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
293
|
+
| Special Display Medium | Airbnb Cereal VF | 72px | 600 | 1.03 | normal | Typography system token (72px/74px) |
|
|
294
|
+
| Special Display Medium | Airbnb Cereal VF | 60px | 600 | 1.13 | normal | Typography system token (60px/68px) |
|
|
295
|
+
| Special Display Medium | Airbnb Cereal VF | 48px | 600 | 1.13 | normal | Typography system token (48px/54px) |
|
|
296
|
+
| Special Display Medium | Airbnb Cereal VF | 40px | 600 | 1.1 | normal | Typography system token (40px/44px) |
|
|
297
|
+
| Titles Semibold | Airbnb Cereal VF | 32px | 600 | 1.13 | normal | Typography system token (32px/36px) |
|
|
298
|
+
| Display Hero | Airbnb Cereal VF | 28px | 700 | 1.43 | normal | Main headline (h1) |
|
|
299
|
+
| Titles Semibold | Airbnb Cereal VF | 26px | 600 | 1.15 | normal | Typography system token (26px/30px) |
|
|
300
|
+
| Sub-heading | Airbnb Cereal VF | 22px | 500 | 1.18 | -0.44px | Section titles (h2) |
|
|
301
|
+
| Titles Semibold | Airbnb Cereal VF | 22px | 600 | 1.18 | normal | Typography system token (22px/26px) |
|
|
302
|
+
| Subtitles Book | Airbnb Cereal VF | 18px | 400 | 1.33 | normal | Typography system token (18px/24px) |
|
|
303
|
+
| Titles Semibold | Airbnb Cereal VF | 18px | 600 | 1.33 | normal | Typography system token (18px/24px) |
|
|
304
|
+
| Titles Medium | Airbnb Cereal VF | 18px | 500 | 1.33 | normal | Typography system token (18px/24px) |
|
|
305
|
+
| Body Text | Airbnb Cereal VF | 16px | 400 | 1.25 | normal | Typography system token (16px/20px) |
|
|
306
|
+
| Sub-heading | Airbnb Cereal VF | 14px | 500 | 1.29 | normal | Third-level heading (h3) |
|
|
307
|
+
| Body | Airbnb Cereal VF | 14px | 400 | 1.43 | normal | Standard reading text |
|
|
308
|
+
|
|
309
|
+
### Font Weight Scale
|
|
310
|
+
|
|
311
|
+
CSS custom properties define 16 explicit weight steps:
|
|
312
|
+
- `--typography-subtitles-book_18_24-font-weight`: `400` — Regular
|
|
313
|
+
- `--typography-subtitles-book_14_18-font-weight`: `400` — Regular
|
|
314
|
+
- `--typography-subtitles-book_16_22-font-weight`: `400` — Regular
|
|
315
|
+
- `--typography-titles-medium_14_18-font-weight`: `500` — Medium
|
|
316
|
+
- `--typography-titles-medium_18_24-font-weight`: `500` — Medium
|
|
317
|
+
- `--typography-titles-medium_16_20-font-weight`: `500` — Medium
|
|
318
|
+
- `--typography-special-display-medium_40_44-font-weight`: `600` — SemiBold
|
|
319
|
+
- `--typography-titles-semibold_14_18-font-weight`: `600` — SemiBold
|
|
320
|
+
- `--typography-special-display-medium_72_74-font-weight`: `600` — SemiBold
|
|
321
|
+
- `--typography-special-display-medium_48_54-font-weight`: `600` — SemiBold
|
|
322
|
+
- `--typography-titles-semibold_16_20-font-weight`: `600` — SemiBold
|
|
323
|
+
- `--typography-titles-semibold_26_30-font-weight`: `600` — SemiBold
|
|
324
|
+
- `--typography-special-display-medium_60_68-font-weight`: `600` — SemiBold
|
|
325
|
+
- `--typography-titles-semibold_18_24-font-weight`: `600` — SemiBold
|
|
326
|
+
- `--typography-titles-semibold_22_26-font-weight`: `600` — SemiBold
|
|
327
|
+
- `--typography-titles-semibold_32_36-font-weight`: `600` — SemiBold
|
|
328
|
+
|
|
329
|
+
### Full Font Size Scale
|
|
330
|
+
|
|
331
|
+
Sizes detected in the design (descending): `28px`, `20px`, `16px`, `14px`, `13px`, `12px`, `11px`, `8px`
|
|
332
|
+
|
|
333
|
+
> 5 size(s) detected outside the sampled hierarchy (20px, 13px, 12px, 11px, 8px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
|
|
334
|
+
|
|
335
|
+
### OpenType & Variable Font Features
|
|
336
|
+
|
|
337
|
+
The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:
|
|
338
|
+
|
|
339
|
+
- **tabular figures** (`tnum`) — numbers align vertically, essential for pricing tables and dashboards
|
|
340
|
+
- **lining figures** (`lnum`) — full-height numbers, more authoritative than old-style
|
|
341
|
+
|
|
342
|
+
**Clone instruction:** Enable these in your CSS:
|
|
343
|
+
```css
|
|
344
|
+
body {
|
|
345
|
+
font-feature-settings: "salt", "tnum", "lnum";
|
|
346
|
+
}
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
## 4. Component Stylings
|
|
350
|
+
|
|
351
|
+
### Buttons
|
|
352
|
+
|
|
353
|
+
**Pill**
|
|
354
|
+
- Background: `transparent`
|
|
355
|
+
- Text: `#222222` `{colors.primary-focus}`
|
|
356
|
+
- Padding: 0px
|
|
357
|
+
- Radius: 40px 4px 4px 40px
|
|
358
|
+
- Border: 1px solid rgba(0, 0, 0, 0)
|
|
359
|
+
- Font: 14px weight 400
|
|
360
|
+
- Use: Status pills, tags, chips
|
|
361
|
+
- Focus: boxShadow: `rgb(255, 255, 255) 0px 0px 0px 2px, rgb(34, 34, 34) 0px 0px `
|
|
362
|
+
|
|
363
|
+
**Ghost**
|
|
364
|
+
- Background: `transparent`
|
|
365
|
+
- Text: `#222222` `{colors.primary-focus}`
|
|
366
|
+
- Padding: 0px
|
|
367
|
+
- Radius: 32px
|
|
368
|
+
- Font: 14px weight 400
|
|
369
|
+
- Use: Subtle action, toolbar, nav button
|
|
370
|
+
- Focus: boxShadow: `rgb(255, 255, 255) 0px 0px 0px 2px, rgb(34, 34, 34) 0px 0px `
|
|
371
|
+
|
|
372
|
+
**Pill**
|
|
373
|
+
- Background: `transparent`
|
|
374
|
+
- Text: `#222222` `{colors.primary-focus}`
|
|
375
|
+
- Padding: 0px
|
|
376
|
+
- Radius: 50px
|
|
377
|
+
- Font: 14px weight 400
|
|
378
|
+
- Use: Status pills, tags, chips
|
|
379
|
+
- Focus: boxShadow: `rgb(255, 255, 255) 0px 0px 0px 2px, rgb(34, 34, 34) 0px 0px `
|
|
380
|
+
|
|
381
|
+
### Inputs & Forms
|
|
382
|
+
|
|
383
|
+
**Text Input**
|
|
384
|
+
- Background: `transparent`
|
|
385
|
+
- Text: `#222222` `{colors.primary-focus}`
|
|
386
|
+
- Padding: 0px
|
|
387
|
+
- Radius: 0px
|
|
388
|
+
- Border: 0px none rgb(34, 34, 34)
|
|
389
|
+
- Font: 14px weight 500
|
|
390
|
+
- Use: Text fields, search inputs
|
|
391
|
+
|
|
392
|
+
### Navigation
|
|
393
|
+
|
|
394
|
+
**Main Nav**
|
|
395
|
+
- Background: `transparent`
|
|
396
|
+
- Padding: 0px 48px
|
|
397
|
+
- Radius: none
|
|
398
|
+
- Font: 14px weight 400
|
|
399
|
+
- Use: Static flex nav — N/A items
|
|
400
|
+
|
|
401
|
+
### Search Bar
|
|
402
|
+
|
|
403
|
+
**Search Bar**
|
|
404
|
+
- Background: `transparent`
|
|
405
|
+
- Text: `#222222` `{colors.primary-focus}`
|
|
406
|
+
- Padding: 0px 48px
|
|
407
|
+
- Radius: 0px
|
|
408
|
+
- Font: 14px weight 400
|
|
409
|
+
- Use: Inline search form
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
## 4b. Component Behaviors (State Matrix)
|
|
413
|
+
|
|
414
|
+
### Interaction State Narrative
|
|
415
|
+
|
|
416
|
+
- **Button**:
|
|
417
|
+
- **focus:** shadow added
|
|
418
|
+
|
|
419
|
+
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
|
|
420
|
+
|
|
421
|
+
```yaml
|
|
422
|
+
component-behaviors:
|
|
423
|
+
button:
|
|
424
|
+
default:
|
|
425
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
426
|
+
fg: "rgb(34, 34, 34)"
|
|
427
|
+
focus:
|
|
428
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
429
|
+
fg: "rgb(34, 34, 34)"
|
|
430
|
+
shadow: "rgb(255, 255, 255) 0px 0px 0px 2px, rgb(34, 34, 34) 0px 0px "
|
|
431
|
+
input:
|
|
432
|
+
default:
|
|
433
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
434
|
+
fg: "rgb(34, 34, 34)"
|
|
435
|
+
link:
|
|
436
|
+
default:
|
|
437
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
438
|
+
fg: "rgb(34, 34, 34)"
|
|
439
|
+
navLink:
|
|
440
|
+
default:
|
|
441
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
442
|
+
fg: "rgb(255, 56, 92)"
|
|
443
|
+
tab:
|
|
444
|
+
default:
|
|
445
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
446
|
+
fg: "rgb(34, 34, 34)"
|
|
447
|
+
footerLink:
|
|
448
|
+
default:
|
|
449
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
450
|
+
fg: "rgb(34, 34, 34)"
|
|
451
|
+
hover:
|
|
452
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
453
|
+
fg: "rgb(34, 34, 34)"
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
## 4c. Component Vocabulary (Closed System)
|
|
460
|
+
|
|
461
|
+
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
|
|
462
|
+
|
|
463
|
+
### Buttons
|
|
464
|
+
- **2 shape(s)** in this system: `Pill`, `Ghost`
|
|
465
|
+
- **DO NOT introduce new buttons variants** without justification
|
|
466
|
+
|
|
467
|
+
### Inputs & Forms
|
|
468
|
+
- **1 shape(s)** in this system: `Text Input`
|
|
469
|
+
- **DO NOT introduce new inputs & forms variants** without justification
|
|
470
|
+
|
|
471
|
+
### Navigation
|
|
472
|
+
- **1 shape(s)** in this system: `Main Nav`
|
|
473
|
+
- **DO NOT introduce new navigation variants** without justification
|
|
474
|
+
|
|
475
|
+
### Search Bar
|
|
476
|
+
- **1 shape(s)** in this system: `Search Bar`
|
|
477
|
+
- **DO NOT introduce new search bar variants** without justification
|
|
478
|
+
|
|
479
|
+
## 5. Layout Principles
|
|
480
|
+
|
|
481
|
+
### Layout Type
|
|
482
|
+
**top-nav + content**
|
|
483
|
+
|
|
484
|
+
### Grid
|
|
485
|
+
Single column, centered content
|
|
486
|
+
|
|
487
|
+
### Max Width
|
|
488
|
+
1920px
|
|
489
|
+
|
|
490
|
+
### Spacing System
|
|
491
|
+
Compact spacing — information density prioritized
|
|
492
|
+
|
|
493
|
+
| Token | Value |
|
|
494
|
+
|-------|-------|
|
|
495
|
+
| xxs | 2px |
|
|
496
|
+
| xs | 4px |
|
|
497
|
+
| sm | 8px |
|
|
498
|
+
| md | 12px |
|
|
499
|
+
| base | 16px |
|
|
500
|
+
| lg | 24px |
|
|
501
|
+
| xl | 32px |
|
|
502
|
+
| 2xl | 48px |
|
|
503
|
+
| 3xl | 64px |
|
|
504
|
+
|
|
505
|
+
### Border Radius Scale
|
|
506
|
+
| Name | Value | Use |
|
|
507
|
+
|------|-------|-----|
|
|
508
|
+
| None | 0px | No rounding |
|
|
509
|
+
| Xs | 4px | Tiny corners (badges, micro elements) |
|
|
510
|
+
| Sm | 8px | Buttons, inputs, small elements |
|
|
511
|
+
| Md | 14px | Cards, containers |
|
|
512
|
+
| Lg | 20px | Large rounded elements, pill segments |
|
|
513
|
+
| Xl | 32px | Category strips, featured containers |
|
|
514
|
+
| Full | 9999px | Pills, avatars, circular elements |
|
|
515
|
+
|
|
516
|
+
### Shape Language
|
|
517
|
+
|
|
518
|
+
| Component | Border Radius |
|
|
519
|
+
|-----------|---------------|
|
|
520
|
+
| Buttons | `40px 4px 4px 40px` |
|
|
521
|
+
| Inputs & Forms | `0px` |
|
|
522
|
+
| Navigation | `none` |
|
|
523
|
+
| Search Bar | `0px` |
|
|
524
|
+
| Page Body | `0px` |
|
|
525
|
+
| Primary Input | `0px` |
|
|
526
|
+
|
|
527
|
+
**Shape Personality**: Generously Rounded — Soft, friendly corners (8px+). Approachable, consumer-facing feel.
|
|
528
|
+
|
|
529
|
+
**Full Radius Spectrum**: 0px, 1.5px, 8px, 9px, 10px, 14px, 20px, 32px (from `allBorderRadii` scan)
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
## 5b. Spacing Rhythm Names
|
|
533
|
+
|
|
534
|
+
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
|
|
535
|
+
|
|
536
|
+
| Name | Value | Use case |
|
|
537
|
+
|------|-------|----------|
|
|
538
|
+
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
|
|
539
|
+
| **section** | `32px` | Between major bands (color change, content shift) |
|
|
540
|
+
| **subsection** | `24px` | Within a section, between content groups |
|
|
541
|
+
| **card** | `12px` | Card padding, list-item spacing |
|
|
542
|
+
| **compact** | `8px` | Form fields, tight clusters, badge padding |
|
|
543
|
+
| **micro** | `4px` | Icon-text gap, tag inner padding |
|
|
544
|
+
|
|
545
|
+
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
|
|
546
|
+
|
|
547
|
+
## 5c. Widget & Structure Library
|
|
548
|
+
|
|
549
|
+
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
|
|
550
|
+
|
|
551
|
+
**4/8 structural patterns detected.**
|
|
552
|
+
|
|
553
|
+
### Hero Pattern
|
|
554
|
+
|
|
555
|
+
- **Composition:** split-right-text — Split layout, media-left/text-right — image in left column, heading + body in right column. Less common variant.
|
|
556
|
+
- **Viewport coverage:** full-viewport hero (≥70% screen height)
|
|
557
|
+
- **Heading:** "Page d'accueil Airbnb" — 28px left-aligned
|
|
558
|
+
- **Subheading:** "Logements disponibles le mois prochain · Montpellier"
|
|
559
|
+
- **Media:** present, positioned left
|
|
560
|
+
- **CTAs:** 18 (primary: "Devenir hôte")
|
|
561
|
+
- **Clone instruction:** Reproduce the **split-right-text** layout. Use the heading font-size token at the documented size. Place media left of text.
|
|
562
|
+
|
|
563
|
+
### Navigation Pattern
|
|
564
|
+
|
|
565
|
+
- **Position:** static (scrolls with page)
|
|
566
|
+
- **Layout:** unknown — Layout not classified
|
|
567
|
+
- **Height:** 80px
|
|
568
|
+
- **Logo:** ✗ absent
|
|
569
|
+
- **Nav links:** 0 primary items
|
|
570
|
+
- **CTAs in nav:** 0 (no buttons — links only)
|
|
571
|
+
- **Clone instruction:** Build a static unknown navigation. Link-only — no button styling needed.
|
|
572
|
+
|
|
573
|
+
### Card Grid Pattern
|
|
574
|
+
|
|
575
|
+
- **Card count:** 12 cards detected
|
|
576
|
+
- **Columns (desktop):** 1-up grid
|
|
577
|
+
- **Card dimensions:** 1425×338px (aspect 4.21:1)
|
|
578
|
+
- **Gap:** 0px between cards
|
|
579
|
+
- **Content:** ✓ image + CTA
|
|
580
|
+
- **Image position:** top
|
|
581
|
+
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~4.21:1 aspect ratio. Each card has an image at the top.
|
|
582
|
+
|
|
583
|
+
### Footer Pattern
|
|
584
|
+
|
|
585
|
+
- **Columns:** 3
|
|
586
|
+
- **Links:** 30 total
|
|
587
|
+
- **Height:** 633px
|
|
588
|
+
- **Includes:** ✗ no newsletter | ✓ social icons | ✓ copyright
|
|
589
|
+
- **Clone instruction:** Build a 3-column footer with ~10 links per column, social media links, and a copyright line.
|
|
590
|
+
|
|
591
|
+
## 6. Depth & Elevation
|
|
592
|
+
|
|
593
|
+
| Level | Treatment | Use |
|
|
594
|
+
|-------|-----------|-----|
|
|
595
|
+
| Flat (Level 0) | No shadow | Page background, content blocks |
|
|
596
|
+
| Inset (Level 1) | <br>`rgba(60, 77, 107, 0.25) 0px 0.953955px 1.90791px 0px`,<br>`rgba(60, 77, 107, 0.25) 0px 3.81582px 5.72373px 0px`,<br>`rgb(0, 28, 64) 0px 0px 2px 0.5px inset`,<br>`rgb(215, 235, 255) 0px -1px 3px 0px inset` | Buttons, pressed-state elements |
|
|
597
|
+
| Layered (Level 2) | <br>`rgba(0, 0, 0, 0.02) 0px 0px 0px 1px`,<br>`rgba(0, 0, 0, 0.1) 0px 8px 24px 0px` | Cards, elevated surfaces |
|
|
598
|
+
| Layered (Level 3) | <br>`rgba(0, 0, 0, 0.02) 0px 0px 0px 1px`,<br>`rgba(0, 0, 0, 0.04) 0px 2px 6px 0px`,<br>`rgba(0, 0, 0, 0.1) 0px 4px 8px 0px` | Cards, elevated surfaces |
|
|
599
|
+
| Layered (Level 4) | <br>`rgba(0, 0, 0, 0.02) 0px 0px 0px 1px`,<br>`rgba(0, 0, 0, 0.16) 0px 2px 4px 0px` | Cards, elevated surfaces |
|
|
600
|
+
|
|
601
|
+
**Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
|
|
602
|
+
|
|
603
|
+
### Elevation Scale (CSS Tokens)
|
|
604
|
+
|
|
605
|
+
| Level | Shadow Value |
|
|
606
|
+
|-------|-------------|
|
|
607
|
+
| primary-border | `1px solid rgba(0,0,0,0.04)` |
|
|
608
|
+
| 2-box-shadow | `0px 0px 0px 1px rgba(0,0,0,0.02),0px 2px 6px 0px rgba(0,0,0,0.04),0px 4px 8px 0px rgba(...` |
|
|
609
|
+
| 1-box-shadow | `0px 0px 0px 1px rgba(0,0,0,0.02),0px 2px 4px 0px rgba(0,0,0,0.16)` |
|
|
610
|
+
| 4-box-shadow | `0px 0px 0px 1px rgba(0,0,0,0.02),0px 4px 8px 0px rgba(0,0,0,0.08),0px 12px 30px 0px rgb...` |
|
|
611
|
+
| tertiary-box-shadow | `0 2px 4px rgba(0,0,0,0.18)` |
|
|
612
|
+
| 3-box-shadow | `0px 0px 0px 1px rgba(0,0,0,0.02),0px 8px 24px 0px rgba(0,0,0,0.10)` |
|
|
613
|
+
|
|
614
|
+
## 7. Motion & Interaction
|
|
615
|
+
|
|
616
|
+
### Easing System
|
|
617
|
+
|
|
618
|
+
| CSS Variable | Curve | Semantic Name |
|
|
619
|
+
|--------------|-------|---------------|
|
|
620
|
+
| `--motion-springs-slow-easing` | `linear(0,0.1726495179466309,0.44139132340393467,0.6575338...` | Spring Easing — Physics-Based |
|
|
621
|
+
| `--motion-springs-fast-easing` | `linear(0,0.18557241650572898,0.46530560393651493,0.682333...` | Spring Easing — Physics-Based |
|
|
622
|
+
| `--motion-springs-medium-bounce-easing` | `linear(0,0.17056804830171035,0.47921259292635127,0.749704...` | Spring Easing — Physics-Based |
|
|
623
|
+
| `--motion-springs-standard-easing` | `linear(0,0.15794349142280711,0.4146686698630492,0.6303103...` | Spring Easing — Physics-Based |
|
|
624
|
+
| `--motion-springs-slow-bounce-easing` | `linear(0,0.17157063121773947,0.4812770425544863,0.7518340...` | Spring Easing — Physics-Based |
|
|
625
|
+
| `--motion-springs-fast-bounce-easing` | `linear(0,0.25484239226416866,0.643483807710504,0.90617420...` | Spring Easing — Physics-Based |
|
|
626
|
+
|
|
627
|
+
### Duration Scale
|
|
628
|
+
|
|
629
|
+
| CSS Variable | Value | Tier |
|
|
630
|
+
|--------------|-------|------|
|
|
631
|
+
| `--motion-springs-slow-bounce-duration` | `762.2807017543847ms` | Cinematic |
|
|
632
|
+
| `--motion-springs-slow-duration` | `745.6140350877179ms` | Cinematic |
|
|
633
|
+
| `--motion-springs-medium-bounce-duration` | `574.1228070175433ms` | Slow |
|
|
634
|
+
| `--motion-springs-fast-bounce-duration` | `449.12280701754327ms` | Slow |
|
|
635
|
+
| `--motion-springs-fast-duration` | `451.75438596491193ms` | Slow |
|
|
636
|
+
| `--motion-springs-standard-duration` | `583.7719298245607ms` | Slow |
|
|
637
|
+
|
|
638
|
+
### Copy-Paste Transition Snippets
|
|
639
|
+
|
|
640
|
+
**Color / Background**
|
|
641
|
+
```css
|
|
642
|
+
transition: color 0.25s cubic-bezier(0.2, 0, 0, 1);
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
**Opacity**
|
|
646
|
+
```css
|
|
647
|
+
transition: opacity 0.175s cubic-bezier(0, 0, 1, 1);
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
**Transform**
|
|
651
|
+
```css
|
|
652
|
+
transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
**Transform**
|
|
656
|
+
```css
|
|
657
|
+
transition: transform 0.451754s linear(0 0%, 0.185572 10%, 0.465306 20%, 0.682334 30%, 0.822325 40%, 0.904974 50%, 0.951289 60%, ...;
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
### Keyframe Animation Catalog
|
|
661
|
+
|
|
662
|
+
| Animation Name | Type | Animated Props | Use Hint |
|
|
663
|
+
|----------------|------|----------------|----------|
|
|
664
|
+
| `dot-xefpb8` | Fade | opacity | UI transition |
|
|
665
|
+
| `dot-kkmion` | Fade | opacity | UI transition |
|
|
666
|
+
| `dot-pulse-18sbrvj` | Fade | opacity | Attention / status |
|
|
667
|
+
| `overlayEnterLinaria-pxdfzy` | Fade | opacity | Element entrance |
|
|
668
|
+
| `overlayLeave-16a97i2` | Fade | opacity | Element exit |
|
|
669
|
+
| `fadeEnter-1yg1552` | Fade | opacity | Element entrance |
|
|
670
|
+
| `dls_sheets_fadeIn-1yg1552` | Fade | opacity | Element entrance |
|
|
671
|
+
| `dls_sheets_slideUp-1yg1552` | Slide | transform | Panel / drawer enter |
|
|
672
|
+
| `fadeLeave-1f0cb0c` | Fade | opacity | Element exit |
|
|
673
|
+
| `dls_sheets_fadeOut-1f0cb0c` | Fade | opacity | Element exit |
|
|
674
|
+
| `dls_sheets_slideDown-1f0cb0c` | Slide | transform | Panel / drawer enter |
|
|
675
|
+
| `dls_sheets_slideDownOut-1f0cb0c` | Fade + Move | transform, opacity | Panel / drawer enter |
|
|
676
|
+
| `slideEnter-1qxmz00` | Fade + Move | opacity, transform | Element entrance |
|
|
677
|
+
| `fadeEnter-v8n6sz` | Fade | opacity | Element entrance |
|
|
678
|
+
| `slideLeave-osd9gb` | Fade + Move | opacity, transform | Element exit |
|
|
679
|
+
| `fadeLeave-zj50hh` | Fade | opacity | Element exit |
|
|
680
|
+
| `animation-64e8c8` | Custom | | UI transition |
|
|
681
|
+
| `fadeEnter-14e8nj2` | Fade | opacity | Element entrance |
|
|
682
|
+
| `dls_sheets_fadeIn-14e8nj2` | Fade | opacity | Element entrance |
|
|
683
|
+
| `dls_sheets_slideUp-14e8nj2` | Slide | transform | Panel / drawer enter |
|
|
684
|
+
|
|
685
|
+
> *180 additional animations omitted (repetitive variants). See raw keyframes in `raw-css.json`.*
|
|
686
|
+
|
|
687
|
+
### Motion Fingerprint
|
|
688
|
+
|
|
689
|
+
- **Speed Character**: Deliberate & Calm (median duration: `449ms`)
|
|
690
|
+
- **Dominant Easing**: physics-based spring curves
|
|
691
|
+
- **Animation Library**: 200 unique animations (200 total including variants)
|
|
692
|
+
|
|
693
|
+
> This design moves with deliberate & calm timing using physics-based spring curves, creating a UI that feels calm and controlled.
|
|
694
|
+
|
|
695
|
+
## 8. Do's and Don'ts
|
|
696
|
+
|
|
697
|
+
### Do
|
|
698
|
+
- Use Hof (`#222222`) for text — not pure black, it's warmer and more readable
|
|
699
|
+
- Use Airbnb Cereal VF as the primary typeface — it defines the brand personality
|
|
700
|
+
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
|
|
701
|
+
- Use Rausch (`#ff385c`) as the primary accent — it's the brand's signature interactive color
|
|
702
|
+
- Use 32px border-radius on primary buttons — the brand uses generously-rounded CTAs
|
|
703
|
+
- Maintain nav height at 80px — consistent vertical space for the navigation bar
|
|
704
|
+
- Respect the 4px–32px spacing range — the design uses a wide scale for visual breathing room
|
|
705
|
+
- Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
|
|
706
|
+
- Build the hero as a split layout with media on the right — text and visual share equal weight
|
|
707
|
+
- Include exactly 18 CTAs in the hero (primary + secondary) — this design pattern is multi-action, not single-purpose
|
|
708
|
+
- Each card includes a top image — imagery is part of the card identity, not optional
|
|
709
|
+
|
|
710
|
+
### Don't
|
|
711
|
+
- Don't use pure black (`#000000`) for text — the near-black adds warmth
|
|
712
|
+
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
|
|
713
|
+
- Don't invent new shadow values — use only the extracted shadow levels
|
|
714
|
+
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
|
|
715
|
+
- Don't use sharp-cornered or pill buttons — 32px is the CTA border-radius standard
|
|
716
|
+
- Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
|
|
717
|
+
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
## 7b. Enforceable Brand Rules
|
|
721
|
+
|
|
722
|
+
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
|
|
723
|
+
|
|
724
|
+
```yaml
|
|
725
|
+
rules:
|
|
726
|
+
- id: brand-canvas-001
|
|
727
|
+
type: do
|
|
728
|
+
rule: "Always use the page background `rgb(255, 255, 255)` as the base canvas"
|
|
729
|
+
why: "Every component is designed to composit against this exact tone"
|
|
730
|
+
test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
|
|
731
|
+
- id: brand-accent-001
|
|
732
|
+
type: do
|
|
733
|
+
rule: "Reserve `rgb(255, 56, 92)` for primary CTAs and brand-mark signals only"
|
|
734
|
+
why: "Single chromatic assertion device — overuse dilutes meaning"
|
|
735
|
+
test: "querySelectorAll('[style*=\"rgb(255, 56, 92)\"]').length <= 3 per fold"
|
|
736
|
+
```
|
|
737
|
+
|
|
738
|
+
## 9. Responsive Behavior
|
|
739
|
+
|
|
740
|
+
### Breakpoints
|
|
741
|
+
| Name | Width | Key Changes |
|
|
742
|
+
|------|-------|-------------|
|
|
743
|
+
| Mobile | 368px | Single column, compact spacing |
|
|
744
|
+
| Mobile | 474px | Single column, compact spacing |
|
|
745
|
+
| Mobile Large | 650px | Expanded mobile layout |
|
|
746
|
+
| Mobile Large | 743px | Expanded mobile layout |
|
|
747
|
+
| Tablet | 1024px | Multi-column grids begin |
|
|
748
|
+
| Desktop | 1127px | Full feature layout |
|
|
749
|
+
| Desktop | 1280px | Full feature layout |
|
|
750
|
+
| Large Desktop | 1440px | Maximum content width |
|
|
751
|
+
|
|
752
|
+
### Token Diff — Desktop vs Mobile
|
|
753
|
+
|
|
754
|
+
| Element | Property | Desktop | Mobile |
|
|
755
|
+
|---------|----------|---------|--------|
|
|
756
|
+
| nav | height | `80px` | `125px` |
|
|
757
|
+
| button | width | `160px` | `26px` |
|
|
758
|
+
|
|
759
|
+
### Collapsing Strategy
|
|
760
|
+
- Navigation: horizontal links → hamburger menu on mobile
|
|
761
|
+
- Cards: multi-column → stacked vertical on mobile
|
|
762
|
+
- Footer: multi-column → stacked single column on mobile
|
|
763
|
+
|
|
764
|
+
### Touch Targets
|
|
765
|
+
- Buttons: 0px padding
|
|
766
|
+
- Navigation: adequate spacing between items
|
|
767
|
+
- Interactive elements: minimum 44px touch target recommended
|
|
768
|
+
|
|
769
|
+
### Collapsing Narrative
|
|
770
|
+
|
|
771
|
+
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
|
|
772
|
+
|
|
773
|
+
- **Hero collapses split-right-text → centered** — the side-by-side layout stacks vertically, with media moving above the text.
|
|
774
|
+
- **Hero CTAs:** 18 on desktop → 19 on mobile.
|
|
775
|
+
- **Footer columns collapse:** 3 columns (desktop) → 1 column (mobile).
|
|
776
|
+
|
|
777
|
+
## 9b. Visual Tone & Photography
|
|
778
|
+
|
|
779
|
+
**Tone:** Photography-driven
|
|
780
|
+
|
|
781
|
+
The site is dominated by photography (JPG/WebP). Photos carry the brand voice as much as the typography. Use authentic, brand-appropriate imagery — generic stock will degrade quality.
|
|
782
|
+
|
|
783
|
+
**Canonical Brand Image (OG):**
|
|
784
|
+
- https://a0.muscache.com/im/pictures/fe7217ff-0b24-438d-880d-b94722c75bf5.jpg
|
|
785
|
+
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
|
|
786
|
+
|
|
787
|
+
**Hero Image (above-fold dominant visual):**
|
|
788
|
+
- Aspect: 1.05:1 (square / portrait)
|
|
789
|
+
- Rendered size: 180×171px
|
|
790
|
+
- *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
|
|
791
|
+
|
|
792
|
+
**Aspect Ratio Distribution:**
|
|
793
|
+
- Landscape (1.15–2.3): 0 (0%)
|
|
794
|
+
- Portrait (<0.87): 0 (0%)
|
|
795
|
+
- Square (0.87–1.15): 96 (100%)
|
|
796
|
+
|
|
797
|
+
**Media Format Mix:**
|
|
798
|
+
- JPG: 86 (typically photographic content)
|
|
799
|
+
- PNG: 10 (logos, transparent UI elements, mockups)
|
|
800
|
+
|
|
801
|
+
**Average rendered image size:** 180×171px
|
|
802
|
+
**Above-fold image count:** 16 / 96
|
|
803
|
+
|
|
804
|
+
**Decorative Patterns Detected:**
|
|
805
|
+
- 6 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
|
|
806
|
+
- **Glassmorphism** detected (`backdrop-filter: blur`) — layered transparent surfaces with blur, modern OS-like aesthetic
|
|
807
|
+
|
|
808
|
+
**Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
|
|
809
|
+
|
|
810
|
+
**Imagery Guidance for clones:**
|
|
811
|
+
- Source authentic photography (or licensed stock that matches the brand mood) — placeholders will visibly degrade the clone.
|
|
812
|
+
- Match the dominant aspect ratio (see above) so card grids and hero compositions hold.
|
|
813
|
+
|
|
814
|
+
## 10. Agent Prompt Guide
|
|
815
|
+
|
|
816
|
+
### Quick Reference
|
|
817
|
+
- Background: White (`#ffffff`)
|
|
818
|
+
- Primary text: Hof (`#222222`)
|
|
819
|
+
- Accent: Rausch (`#ff385c`)
|
|
820
|
+
- Border: Foggy (`#6a6a6a`)
|
|
821
|
+
- Font: Airbnb Cereal VF
|
|
822
|
+
- Body: 14px weight 400
|
|
823
|
+
|
|
824
|
+
### Example Component Prompts
|
|
825
|
+
- "Create a hero section on White background (#ffffff). Headline at 28px Airbnb Cereal VF weight 700, line-height 1.43, color #222222."
|
|
826
|
+
- "Create the primary CTA button: `#ff385c` background, `#222222` text, 40px 4px 4px 40px border-radius, 11px 21px padding, 700 weight, Airbnb Cereal VF font."
|
|
827
|
+
- "Build navigation: relative on `#ffffff`. Airbnb Cereal VF 14px weight 400 for links."
|
|
828
|
+
|
|
829
|
+
### Iteration Guide
|
|
830
|
+
1. **Canvas**: Set the light canvas to White (`#ffffff`) — every component is composited against this exact base.
|
|
831
|
+
2. **Typography**: All type in Airbnb Cereal VF, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
|
|
832
|
+
3. **Accent**: Rausch (`#ff385c`) is the sole interactive color. On hover → Tertiary (`#e00b41`). Use CSS transitions, not opacity/brightness filters.
|
|
833
|
+
4. **Motion**: All transitions use physics-based spring curves. Timing: 449ms for micro-interactions, 584ms for layout changes. Never use linear for UI transitions — preserve the brand's easing personality.
|
|
834
|
+
5. **Shape**: CTAs at `32px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
|
|
835
|
+
6. **Spacing**: Use the `--ca-space-*` token scale (4px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
|
|
836
|
+
7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
|
|
837
|
+
|
|
838
|
+
## 11. CSS Design Tokens Raw Export
|
|
839
|
+
|
|
840
|
+
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
|
|
841
|
+
|
|
842
|
+
```css
|
|
843
|
+
/* Colors */
|
|
844
|
+
:root {
|
|
845
|
+
--ca-background: #ffffff;
|
|
846
|
+
--ca-surface-1: #ebebeb;
|
|
847
|
+
--ca-surface-2: #f2f2f2;
|
|
848
|
+
--ca-primary-focus: #222222;
|
|
849
|
+
--ca-ink-subtle: #8c8c8c;
|
|
850
|
+
--ca-primary: #ff385c;
|
|
851
|
+
--ca-on-primary: #111111;
|
|
852
|
+
--ca-primary-hover: #e00b41;
|
|
853
|
+
--ca-hairline: #6a6a6a;
|
|
854
|
+
--ca-semantic-error: #b32505;
|
|
855
|
+
--ca-semantic-success: #008a05;
|
|
856
|
+
--ca-semantic-warning: #e07912;
|
|
857
|
+
--ca-semantic-info: #428bff;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/* Typography */
|
|
861
|
+
:root {
|
|
862
|
+
--ca-font-primary: "Airbnb Cereal VF", system-ui, sans-serif;
|
|
863
|
+
--ca-text-display: 72px;
|
|
864
|
+
--ca-text-body: 32px;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/* Spacing & Radius */
|
|
868
|
+
:root {
|
|
869
|
+
--ca-space-xxs: 2px;
|
|
870
|
+
--ca-space-xs: 4px;
|
|
871
|
+
--ca-space-sm: 8px;
|
|
872
|
+
--ca-space-md: 12px;
|
|
873
|
+
--ca-space-base: 16px;
|
|
874
|
+
--ca-space-lg: 24px;
|
|
875
|
+
--ca-space-xl: 32px;
|
|
876
|
+
--ca-space-2xl: 48px;
|
|
877
|
+
--ca-space-3xl: 64px;
|
|
878
|
+
--ca-radius-none: 0px;
|
|
879
|
+
--ca-radius-xs: 4px;
|
|
880
|
+
--ca-radius-sm: 8px;
|
|
881
|
+
--ca-radius-md: 14px;
|
|
882
|
+
--ca-radius-lg: 20px;
|
|
883
|
+
--ca-radius-xl: 32px;
|
|
884
|
+
--ca-radius-full: 9999px;
|
|
885
|
+
}
|
|
886
|
+
```
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
## 13. Page Structure Skeleton
|
|
890
|
+
|
|
891
|
+
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
|
|
892
|
+
|
|
893
|
+
```yaml
|
|
894
|
+
page-skeleton:
|
|
895
|
+
- section: unknown
|
|
896
|
+
tag: div
|
|
897
|
+
height: 5179px
|
|
898
|
+
width: 1425px
|
|
899
|
+
layout: block
|
|
900
|
+
children: 1
|
|
901
|
+
- section: header
|
|
902
|
+
tag: header
|
|
903
|
+
classes: ["c2zxfaj", "dir", "dir-ltr"]
|
|
904
|
+
height: 96px
|
|
905
|
+
width: 1425px
|
|
906
|
+
layout: flex-row justify=space-between
|
|
907
|
+
children: 4
|
|
908
|
+
padding: "0px 48px"
|
|
909
|
+
- section: navigation
|
|
910
|
+
tag: nav
|
|
911
|
+
classes: ["cg7l307", "dir", "dir-ltr"]
|
|
912
|
+
height: 80px
|
|
913
|
+
width: 213px
|
|
914
|
+
layout: flex-row justify=flex-end
|
|
915
|
+
children: 2
|
|
916
|
+
- section: main-content
|
|
917
|
+
tag: main
|
|
918
|
+
classes: ["m1460ofs", "dir", "dir-ltr"]
|
|
919
|
+
height: 4032px
|
|
920
|
+
width: 1425px
|
|
921
|
+
layout: block
|
|
922
|
+
children: 1
|
|
923
|
+
- section: section-8
|
|
924
|
+
tag: section
|
|
925
|
+
classes: ["imqckrr", "dir", "dir-ltr"]
|
|
926
|
+
height: 242px
|
|
927
|
+
width: 720px
|
|
928
|
+
layout: block
|
|
929
|
+
children: 1
|
|
930
|
+
bg: "rgb(255, 255, 255)"
|
|
931
|
+
padding: "16px"
|
|
932
|
+
- section: footer
|
|
933
|
+
tag: footer
|
|
934
|
+
classes: ["f12ytkur", "dir", "dir-ltr"]
|
|
935
|
+
height: 633px
|
|
936
|
+
width: 1425px
|
|
937
|
+
layout: block
|
|
938
|
+
children: 1
|
|
939
|
+
bg: "rgb(247, 247, 247)"
|
|
940
|
+
padding: "0px 0px 80px"
|
|
941
|
+
- section: section-4
|
|
942
|
+
tag: section
|
|
943
|
+
classes: ["se5ui3x", "dir", "dir-ltr"]
|
|
944
|
+
height: 378px
|
|
945
|
+
width: 432px
|
|
946
|
+
layout: block
|
|
947
|
+
children: 2
|
|
948
|
+
- section: section-5
|
|
949
|
+
tag: section
|
|
950
|
+
classes: ["se5ui3x", "dir", "dir-ltr"]
|
|
951
|
+
height: 378px
|
|
952
|
+
width: 432px
|
|
953
|
+
layout: block
|
|
954
|
+
children: 2
|
|
955
|
+
- section: section-6
|
|
956
|
+
tag: section
|
|
957
|
+
classes: ["se5ui3x", "dir", "dir-ltr"]
|
|
958
|
+
height: 378px
|
|
959
|
+
width: 432px
|
|
960
|
+
layout: block
|
|
961
|
+
children: 2
|
|
962
|
+
```
|
|
963
|
+
|
|
964
|
+
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
## 14. Copy Library (Real Content from Source)
|
|
968
|
+
|
|
969
|
+
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
|
|
970
|
+
|
|
971
|
+
```yaml
|
|
972
|
+
copy:
|
|
973
|
+
section-headings:
|
|
974
|
+
- "Logements populaires · Marseille"
|
|
975
|
+
- "Des idées pour vos prochaines escapades"
|
|
976
|
+
sub-headings:
|
|
977
|
+
- "Assistance"
|
|
978
|
+
ctas:
|
|
979
|
+
- "Dates
|
|
980
|
+
Quand ?"
|
|
981
|
+
- "Devenir hôte"
|
|
982
|
+
navigation:
|
|
983
|
+
- "Logements
|
|
984
|
+
Logements"
|
|
985
|
+
footer-links:
|
|
986
|
+
- "Centre d'aide"
|
|
987
|
+
```
|
|
988
|
+
|
|
989
|
+
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
## 15. Asset Inventory (Image Roles & Ratios)
|
|
993
|
+
|
|
994
|
+
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
|
|
995
|
+
|
|
996
|
+
```yaml
|
|
997
|
+
assets:
|
|
998
|
+
product:
|
|
999
|
+
count: 50
|
|
1000
|
+
avg-ratio: 1.05
|
|
1001
|
+
common-aspect: "~1:1 square"
|
|
1002
|
+
```
|
|
1003
|
+
|
|
1004
|
+
**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`.
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
## 16. Component HTML Templates
|
|
1008
|
+
|
|
1009
|
+
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
|
|
1010
|
+
|
|
1011
|
+
### Button (primary action)
|
|
1012
|
+
```html
|
|
1013
|
+
<button class="btn btn-primary">
|
|
1014
|
+
Dates
|
|
1015
|
+
Quand ?
|
|
1016
|
+
</button>
|
|
1017
|
+
```
|
|
1018
|
+
_Source pattern detected: padding `0px` · radius `32px` · weight `400`_
|
|
1019
|
+
|
|
1020
|
+
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
## 12. Known Extraction Gaps
|
|
1024
|
+
|
|
1025
|
+
*Auto-detected limitations of this extraction — understand before building:*
|
|
1026
|
+
|
|
1027
|
+
- **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.
|
|
1028
|
+
- **1 parasitic shadow(s) detected** — colored box-shadows (not near-black) found in allShadows. These likely originate from browser extensions or third-party injected widgets (e.g. Grammarly, chat overlays), not from the site's own design system. Discard them when building.
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
---
|
|
1032
|
+
## Extraction Completeness: 88/100 (B)
|
|
1033
|
+
|
|
1034
|
+
| Category | Score | Max | Detail |
|
|
1035
|
+
|----------|-------|-----|--------|
|
|
1036
|
+
| Colors & Palette | 25 | 25 | 19 named colors |
|
|
1037
|
+
| Typography | 20 | 20 | 15 roles defined |
|
|
1038
|
+
| Components | 16 | 20 | 4 specs extracted |
|
|
1039
|
+
| Motion & Interaction | 12 | 15 | Keyframes present |
|
|
1040
|
+
| CSS Custom Properties | 10 | 10 | 400 vars |
|
|
1041
|
+
| Responsive Breakpoints | 5 | 5 | 8 breakpoints |
|
|
1042
|
+
| Variable Fonts | 0 | 5 | None detected |
|
|
1043
|
+
|
|
1044
|
+
## 12. Known Gaps & Confidence
|
|
1045
|
+
|
|
1046
|
+
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.
|
|
1047
|
+
|
|
1048
|
+
| Category | What's missing | Fallback strategy |
|
|
1049
|
+
|----------|----------------|-------------------|
|
|
1050
|
+
| **Dark mode** | No dark-mode CSS variables or media queries detected | Light mode is canonical; do not generate dark-mode variants unless explicitly requested |
|
|
1051
|
+
|
|
1052
|
+
### Per-section confidence
|
|
1053
|
+
|
|
1054
|
+
| Section | Confidence | Reason |
|
|
1055
|
+
|---------|------------|--------|
|
|
1056
|
+
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
|
|
1057
|
+
| §2 Colors | High | 400 CSS vars (semantic naming requires ≥20 for high) |
|
|
1058
|
+
| §3 Typography | High | 15 typography roles inferred |
|
|
1059
|
+
| §4 Components | Medium | 4 component variants captured |
|
|
1060
|
+
| §7 Motion | High | Keyframes + transitions |
|
|
1061
|
+
| §8 Do's/Don'ts | High | 18 rules generated; design-decisions.json has evidence per rule |
|
|
1062
|
+
| §9 Responsive | High | 8 breakpoints detected |
|
|
1063
|
+
| §9b Photography | High | 96 images, hero present |
|
|
1064
|
+
|
|
1065
|
+
---
|
|
1066
|
+
*Generated by Prism — automated Playwright extraction + design analysis.*
|
|
1067
|
+
*Source: https://airbnb.com | 2026-06-07T02:29:00.549Z*
|
|
1068
|
+
*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.*
|