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,1148 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: alpha
|
|
3
|
+
name: mavoie.org
|
|
4
|
+
description: "Light product system built on #ffffff with #356af0 as the primary CTA accent. Type anchored in Dela Gothic One at 44px / weight 400. Extracted automatically from https://mavoie.org/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
|
|
5
|
+
narrative: |
|
|
6
|
+
mavoie.org is built on a pure-white canvas (rgb(255, 255, 255)).
|
|
7
|
+
The system uses rgb(53, 106, 240) as the high-saturation accent for primary actions.
|
|
8
|
+
Moderately rounded CTAs (10px) — modern SaaS standard, neither sharp nor pill alongside Dela Gothic One as the primary typeface.
|
|
9
|
+
A restrained elevation system (2 distinct shadows) — shadows reserved for the few elements that must lift off the page.
|
|
10
|
+
Interactions are smoothed by transitions across many elements, with little or no keyframe animation.
|
|
11
|
+
|
|
12
|
+
colors:
|
|
13
|
+
background: "#ffffff"
|
|
14
|
+
surface-1: "#eeede9"
|
|
15
|
+
surface-2: "#ffeded"
|
|
16
|
+
ink: "#1e1e1e"
|
|
17
|
+
ink-muted: "rgba(30, 30, 30, 0.65)"
|
|
18
|
+
ink-subtle: "#1e1e1e"
|
|
19
|
+
primary: "#356af0"
|
|
20
|
+
on-primary: "#111111"
|
|
21
|
+
primary-hover: "#a7d7fc"
|
|
22
|
+
hairline: "#797872"
|
|
23
|
+
primary-focus: "#101010"
|
|
24
|
+
semantic-warning: "#ffaf37"
|
|
25
|
+
|
|
26
|
+
typography:
|
|
27
|
+
display-xl:
|
|
28
|
+
fontFamily: "Dela Gothic One"
|
|
29
|
+
fontSize: 68px
|
|
30
|
+
fontWeight: 400
|
|
31
|
+
lineHeight: 1
|
|
32
|
+
letterSpacing: -0.72px
|
|
33
|
+
body:
|
|
34
|
+
fontFamily: "Outfit"
|
|
35
|
+
fontSize: 16px
|
|
36
|
+
fontWeight: 400
|
|
37
|
+
lineHeight: 1.4
|
|
38
|
+
letterSpacing: 0
|
|
39
|
+
body-sm:
|
|
40
|
+
fontFamily: "Outfit"
|
|
41
|
+
fontSize: 14px
|
|
42
|
+
fontWeight: 500
|
|
43
|
+
lineHeight: 1.6
|
|
44
|
+
letterSpacing: 0
|
|
45
|
+
caption:
|
|
46
|
+
fontFamily: "Dela Gothic One"
|
|
47
|
+
fontSize: 16px
|
|
48
|
+
fontWeight: 400
|
|
49
|
+
lineHeight: 1.4
|
|
50
|
+
letterSpacing: 0
|
|
51
|
+
button:
|
|
52
|
+
fontFamily: "Outfit"
|
|
53
|
+
fontSize: 16px
|
|
54
|
+
fontWeight: 600
|
|
55
|
+
lineHeight: 1.25
|
|
56
|
+
letterSpacing: 0
|
|
57
|
+
eyebrow:
|
|
58
|
+
fontFamily: "Dela Gothic One"
|
|
59
|
+
fontSize: 24px
|
|
60
|
+
fontWeight: 600
|
|
61
|
+
lineHeight: 1
|
|
62
|
+
letterSpacing: 0
|
|
63
|
+
|
|
64
|
+
rounded:
|
|
65
|
+
none: 0px
|
|
66
|
+
xs: 8px
|
|
67
|
+
sm: 8px
|
|
68
|
+
md: 12px
|
|
69
|
+
lg: 20px
|
|
70
|
+
xl: 22px
|
|
71
|
+
xxl: 24px
|
|
72
|
+
pill: 9999px
|
|
73
|
+
|
|
74
|
+
spacing:
|
|
75
|
+
xxs: 2px
|
|
76
|
+
xs: 8px
|
|
77
|
+
sm: 18px
|
|
78
|
+
md: 32px
|
|
79
|
+
lg: 64px
|
|
80
|
+
xl: 68px
|
|
81
|
+
xxl: 64px
|
|
82
|
+
section: 80px
|
|
83
|
+
|
|
84
|
+
components:
|
|
85
|
+
button-ghost:
|
|
86
|
+
backgroundColor: "transparent"
|
|
87
|
+
textColor: "{colors.background}"
|
|
88
|
+
typography: "{typography.body}"
|
|
89
|
+
rounded: "{rounded.xs}"
|
|
90
|
+
padding: 16px
|
|
91
|
+
button-primary-brand:
|
|
92
|
+
backgroundColor: "{colors.primary}"
|
|
93
|
+
textColor: "{colors.background}"
|
|
94
|
+
typography: "{typography.body}"
|
|
95
|
+
rounded: "{rounded.xs}"
|
|
96
|
+
padding: 20px
|
|
97
|
+
button-outline:
|
|
98
|
+
backgroundColor: "transparent"
|
|
99
|
+
textColor: "#4b0db8"
|
|
100
|
+
typography: "{typography.body}"
|
|
101
|
+
rounded: "{rounded.xs}"
|
|
102
|
+
padding: 20px
|
|
103
|
+
input-text-input:
|
|
104
|
+
backgroundColor: "transparent"
|
|
105
|
+
textColor: "{colors.ink-subtle}"
|
|
106
|
+
typography: "{typography.body}"
|
|
107
|
+
rounded: "{rounded.none}"
|
|
108
|
+
padding: 18px 8px
|
|
109
|
+
|
|
110
|
+
extracted_at: "2026-05-31T04:57:58.133Z"
|
|
111
|
+
completeness: 64
|
|
112
|
+
scoreVersion: "v2"
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
# Design System — mavoie.org
|
|
117
|
+
> Extracted automatically by Prism from https://www.mavoie.org
|
|
118
|
+
> Date: 2026-05-31
|
|
119
|
+
> Viewport: Desktop 1440x900 + Mobile 390x844
|
|
120
|
+
> 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).
|
|
121
|
+
|
|
122
|
+
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
|
|
123
|
+
>
|
|
124
|
+
> - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
|
|
125
|
+
> - **Accent**: `rgb(53, 106, 240)` for primary CTAs ONLY. Never decorative.
|
|
126
|
+
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
|
|
127
|
+
> - **Section rhythm**: 121px between major bands. Card padding: 64px.
|
|
128
|
+
> - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
|
|
129
|
+
>
|
|
130
|
+
> **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
|
|
131
|
+
|
|
132
|
+
## 1. Visual Theme & Atmosphere
|
|
133
|
+
|
|
134
|
+
mavoie.org uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
|
|
135
|
+
|
|
136
|
+
Headlines are set in **Dela Gothic One**, a sans-serif display face (the dominant type signature, e.g. "Pourquoi ça marche ?" at 44px). A second display voice — **Outfit** (sans) — appears in lower bands (e.g. "Est-ce que les coachs sont artificiels ou humains ?"), used for editorial accent. Body text is set in **Outfit**. Headlines run at a remarkably light weight (400) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it. Negative letter-spacing at display sizes (-0.72px at 68px) compresses headlines into engineered blocks, dense and precise.
|
|
137
|
+
|
|
138
|
+
Body text reads in Brand Black (`#1e1e1e`) — softened from pure black, a small but deliberate detail that lowers reading friction. **Royal Blue** (`#356af0`) 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 — each level combines several blurred layers at varying offsets to simulate how light falls on stacked surfaces.
|
|
139
|
+
Motion design uses smooth easing curves for polished state transitions.
|
|
140
|
+
|
|
141
|
+
**Key Characteristics:**
|
|
142
|
+
- Background: Pure White (`#ffffff`)
|
|
143
|
+
- Primary typeface: Dela Gothic One
|
|
144
|
+
- Primary text: Brand Black (`#1e1e1e`)
|
|
145
|
+
- Accent: Royal Blue (`#356af0`)
|
|
146
|
+
- Display: 68px weight 400, letter-spacing -0.72px
|
|
147
|
+
- Shadow system: 2 distinct elevation levels
|
|
148
|
+
- Custom fonts loaded: Dela Gothic One, Outfit
|
|
149
|
+
|
|
150
|
+
## 2. Color Palette & Roles
|
|
151
|
+
|
|
152
|
+
### Background & Surface
|
|
153
|
+
- **Pure White** (`#ffffff`): Page background (primary)
|
|
154
|
+
- **Light Gray** (`#eeede9`): Surface / elevated background
|
|
155
|
+
- **Warm Cream** (`#ffeded`): Surface / elevated background
|
|
156
|
+
- **Light Gray** (`#e7faf0`): Surface / elevated background
|
|
157
|
+
|
|
158
|
+
### Text & Content
|
|
159
|
+
- **Brand Black** (`#1e1e1e`): Primary body text
|
|
160
|
+
- **Pure Black** (`#000000`): Secondary text
|
|
161
|
+
- **#0000ee** (`#0000ee`): Secondary text
|
|
162
|
+
- **#4c1eb6** (`#4c1eb6`): Secondary text
|
|
163
|
+
- **Near Black** (`#1a1a1a`): Secondary text
|
|
164
|
+
|
|
165
|
+
### Accent & Interactive
|
|
166
|
+
- **Brand Purple** (`#4b0db8`): Accent / interactive (CSS var)
|
|
167
|
+
- **Brand Blue** (`#6c68f8`): Accent / interactive (CSS var)
|
|
168
|
+
- **Brand Sky** (`#a7d7fc`): Accent / interactive (CSS var)
|
|
169
|
+
- **Royal Blue** (`#356af0`): Interactive / accent
|
|
170
|
+
- **Bright Orange** (`#fd5623`): Interactive / accent
|
|
171
|
+
- **#661d1d** (`#661d1d`): Interactive / accent
|
|
172
|
+
- **#085229** (`#085229`): Interactive / accent
|
|
173
|
+
|
|
174
|
+
### Border & Divider
|
|
175
|
+
- **Silver** (`#cccccc`): Borders / dividers
|
|
176
|
+
|
|
177
|
+
### Full Extracted Palette
|
|
178
|
+
**20 colors rendered on the page** + **12** more declared in design tokens (CSS custom properties — not necessarily painted). (17 categorized above + 15 additional below.)
|
|
179
|
+
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
|
|
180
|
+
|
|
181
|
+
- `#797872` — Stone
|
|
182
|
+
- `#a09f9a` — Cool Gray
|
|
183
|
+
- `#767676` — Stone
|
|
184
|
+
- `rgba(128, 128, 128, 0.3)` — Translucent Medium Gray (30%)
|
|
185
|
+
- `#47c799` — #47c799 *(token)*
|
|
186
|
+
- `#ffaf37` — #ffaf37 *(token)*
|
|
187
|
+
- `#faa5f4` — #faa5f4 *(token)*
|
|
188
|
+
- `#32312d` — Charcoal *(token)*
|
|
189
|
+
- `#e4e3dd` — Light Gray *(token)*
|
|
190
|
+
- `#ffdcdc` — Soft Pink *(token)*
|
|
191
|
+
- `#ffefd7` — Beige *(token)*
|
|
192
|
+
- `#007aff` — #007aff *(token)*
|
|
193
|
+
- `#f4f3ef` — Warm Cream *(token)*
|
|
194
|
+
- `#daf4eb` — Light Gray *(token)*
|
|
195
|
+
- `#202020` — Near Black *(token)*
|
|
196
|
+
|
|
197
|
+
### CSS Custom Properties (Design Tokens)
|
|
198
|
+
|
|
199
|
+
- `--swiper-theme-color`: `#007aff`
|
|
200
|
+
|
|
201
|
+
## 3. Typography Rules
|
|
202
|
+
|
|
203
|
+
### Font Families
|
|
204
|
+
- **Primary**: `Outfit`
|
|
205
|
+
- **Secondary**: `Dela Gothic One`
|
|
206
|
+
- **Font 3**: `webflow-icons`
|
|
207
|
+
- **Font 4**: `Roboto`
|
|
208
|
+
|
|
209
|
+
### Custom Fonts Loaded
|
|
210
|
+
- **webflow-icons** weight normal (normal)
|
|
211
|
+
- **Dela Gothic One** weight 400 (normal)
|
|
212
|
+
- **Outfit** weight 300 (normal)
|
|
213
|
+
- **Outfit** weight 400 (normal)
|
|
214
|
+
- **Outfit** weight 500 (normal)
|
|
215
|
+
- **Outfit** weight 600 (normal)
|
|
216
|
+
- **Outfit** weight 700 (normal)
|
|
217
|
+
- **Roboto** weight normal (normal)
|
|
218
|
+
- **Roboto** weight 600 (normal)
|
|
219
|
+
- **Roboto** weight 700 (normal)
|
|
220
|
+
|
|
221
|
+
### Typography Hierarchy
|
|
222
|
+
|
|
223
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
224
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
225
|
+
| Display Hero | Dela Gothic One | 68px | 400 | 1 | -0.72px | Main headline (h1) |
|
|
226
|
+
| Eyebrow / Overline | Dela Gothic One | 24px | 600 | 1 | normal | Label above heading, uppercase tag |
|
|
227
|
+
| Card Title | Outfit | 16px | 400 | 1.4 | normal | Card headings |
|
|
228
|
+
| Button Large | Outfit | 16px | 600 | 1.25 | normal | Button label (16px) |
|
|
229
|
+
| Caption / Badge | Dela Gothic One | 16px | 400 | 1.4 | normal | small text (16px) |
|
|
230
|
+
| Link | Outfit | 14px | 500 | 1.6 | normal | Link (14px) — Decoration: none |
|
|
231
|
+
|
|
232
|
+
### Full Font Size Scale
|
|
233
|
+
|
|
234
|
+
Sizes detected in the design (descending): `72px`, `68px`, `44px`, `36px`, `24px`, `20px`, `16px`, `15px`, `14px`, `13px`, `12px`
|
|
235
|
+
|
|
236
|
+
> 7 size(s) detected outside the sampled hierarchy (72px, 44px, 36px, 20px, 15px, 13px, 12px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
|
|
237
|
+
|
|
238
|
+
## 4. Component Stylings
|
|
239
|
+
|
|
240
|
+
### Buttons
|
|
241
|
+
|
|
242
|
+
**Ghost**
|
|
243
|
+
- Background: `transparent`
|
|
244
|
+
- Text: `#ffffff` `{colors.background}`
|
|
245
|
+
- Padding: 16px
|
|
246
|
+
- Radius: 10px
|
|
247
|
+
- Font: 16px weight 600
|
|
248
|
+
- Use: Subtle action, toolbar, nav button
|
|
249
|
+
- Focus: outline: `rgb(16, 16, 16) auto 1px`
|
|
250
|
+
|
|
251
|
+
**Primary Brand**
|
|
252
|
+
- Background: `#356af0` `{colors.primary}`
|
|
253
|
+
- Text: `#ffffff` `{colors.background}`
|
|
254
|
+
- Padding: 20px
|
|
255
|
+
- Radius: 10px
|
|
256
|
+
- Font: 16px weight 600
|
|
257
|
+
- Use: Primary CTA / brand action
|
|
258
|
+
- Focus: outline: `rgb(16, 16, 16) auto 1px`
|
|
259
|
+
|
|
260
|
+
**Outline**
|
|
261
|
+
- Background: `transparent`
|
|
262
|
+
- Text: `#4b0db8`
|
|
263
|
+
- Padding: 20px
|
|
264
|
+
- Radius: 10px
|
|
265
|
+
- Border: 2px solid rgb(75, 13, 184)
|
|
266
|
+
- Font: 16px weight 600
|
|
267
|
+
- Use: Secondary action with border
|
|
268
|
+
- Focus: outline: `rgb(16, 16, 16) auto 1px`
|
|
269
|
+
|
|
270
|
+
**Light / Invert**
|
|
271
|
+
- Background: `#ffffff` `{colors.background}`
|
|
272
|
+
- Text: `#1e1e1e` `{colors.ink-subtle}`
|
|
273
|
+
- Padding: 20px
|
|
274
|
+
- Radius: 10px
|
|
275
|
+
- Border: 2px solid rgb(255, 255, 255)
|
|
276
|
+
- Font: 16px weight 600
|
|
277
|
+
- Use: Bright CTA on dark sections
|
|
278
|
+
- Focus: outline: `rgb(16, 16, 16) auto 1px`
|
|
279
|
+
|
|
280
|
+
**Primary Brand**
|
|
281
|
+
- Background: `#4c1eb6`
|
|
282
|
+
- Text: `#ffffff` `{colors.background}`
|
|
283
|
+
- Padding: 15px
|
|
284
|
+
- Radius: 10px
|
|
285
|
+
- Font: 14px weight 700
|
|
286
|
+
- Use: Primary CTA / brand action
|
|
287
|
+
- Focus: outline: `rgb(16, 16, 16) auto 1px`
|
|
288
|
+
|
|
289
|
+
**Primary Brand**
|
|
290
|
+
- Background: `#4b0db8`
|
|
291
|
+
- Text: `#ffffff` `{colors.background}`
|
|
292
|
+
- Padding: 8px 16px
|
|
293
|
+
- Radius: 8px
|
|
294
|
+
- Font: 13px weight 600
|
|
295
|
+
- Use: Primary CTA / brand action
|
|
296
|
+
- Focus: outline: `rgb(16, 16, 16) auto 1px`
|
|
297
|
+
|
|
298
|
+
### Inputs & Forms
|
|
299
|
+
|
|
300
|
+
**Text Input**
|
|
301
|
+
- Background: `transparent`
|
|
302
|
+
- Text: `#1e1e1e` `{colors.ink-subtle}`
|
|
303
|
+
- Padding: 18px 8px
|
|
304
|
+
- Radius: 0px
|
|
305
|
+
- Border: 0px none rgb(30, 30, 30)
|
|
306
|
+
- Font: 16px weight 400
|
|
307
|
+
- Use: Text fields, search inputs
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
## 4b. Component Behaviors (State Matrix)
|
|
311
|
+
|
|
312
|
+
### Interaction State Narrative
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
|
|
316
|
+
|
|
317
|
+
```yaml
|
|
318
|
+
component-behaviors:
|
|
319
|
+
button:
|
|
320
|
+
default:
|
|
321
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
322
|
+
fg: "rgb(255, 255, 255)"
|
|
323
|
+
focus:
|
|
324
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
325
|
+
fg: "rgb(255, 255, 255)"
|
|
326
|
+
input:
|
|
327
|
+
default:
|
|
328
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
329
|
+
fg: "rgb(30, 30, 30)"
|
|
330
|
+
link:
|
|
331
|
+
default:
|
|
332
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
333
|
+
fg: "rgb(0, 0, 238)"
|
|
334
|
+
card:
|
|
335
|
+
default:
|
|
336
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
337
|
+
fg: "rgb(30, 30, 30)"
|
|
338
|
+
navLink:
|
|
339
|
+
default:
|
|
340
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
341
|
+
fg: "rgb(0, 0, 238)"
|
|
342
|
+
footerLink:
|
|
343
|
+
default:
|
|
344
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
345
|
+
fg: "rgb(121, 120, 114)"
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
## 4c. Component Vocabulary (Closed System)
|
|
352
|
+
|
|
353
|
+
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
|
|
354
|
+
|
|
355
|
+
### Buttons
|
|
356
|
+
- **4 shape(s)** in this system: `Ghost`, `Primary Brand`, `Outline`, `Light / Invert`
|
|
357
|
+
- **DO NOT introduce new buttons variants** without justification
|
|
358
|
+
|
|
359
|
+
### Inputs & Forms
|
|
360
|
+
- **1 shape(s)** in this system: `Text Input`
|
|
361
|
+
- **DO NOT introduce new inputs & forms variants** without justification
|
|
362
|
+
|
|
363
|
+
## 5. Layout Principles
|
|
364
|
+
|
|
365
|
+
### Layout Type
|
|
366
|
+
**hero + sections**
|
|
367
|
+
|
|
368
|
+
### Grid
|
|
369
|
+
Single column, centered content
|
|
370
|
+
|
|
371
|
+
### Max Width
|
|
372
|
+
1200px
|
|
373
|
+
|
|
374
|
+
### Spacing System
|
|
375
|
+
Generous spacing — editorial breathing room
|
|
376
|
+
|
|
377
|
+
| Token | Value |
|
|
378
|
+
|-------|-------|
|
|
379
|
+
| xxs | 2px |
|
|
380
|
+
| xs | 8px |
|
|
381
|
+
| sm | 18px |
|
|
382
|
+
| md | 32px |
|
|
383
|
+
| base | 40px |
|
|
384
|
+
| lg | 64px |
|
|
385
|
+
| xl | 68px |
|
|
386
|
+
| 2xl | 121px |
|
|
387
|
+
| 3xl | 64px |
|
|
388
|
+
|
|
389
|
+
### Border Radius Scale
|
|
390
|
+
| Name | Value | Use |
|
|
391
|
+
|------|-------|-----|
|
|
392
|
+
| None | 0px | No rounding |
|
|
393
|
+
| Xs | 8px | Tiny corners (badges, micro elements) |
|
|
394
|
+
| Sm | 8px | Buttons, inputs, small elements |
|
|
395
|
+
| Md | 12px | Cards, containers |
|
|
396
|
+
| Lg | 20px | Large rounded elements, pill segments |
|
|
397
|
+
| Xl | 22px | Category strips, featured containers |
|
|
398
|
+
| Full | 9999px | Pills, avatars, circular elements |
|
|
399
|
+
|
|
400
|
+
### Shape Language
|
|
401
|
+
|
|
402
|
+
| Component | Border Radius |
|
|
403
|
+
|-----------|---------------|
|
|
404
|
+
| Buttons | `10px` |
|
|
405
|
+
| Inputs & Forms | `0px` |
|
|
406
|
+
| Page Body | `0px` |
|
|
407
|
+
| Navigation | `0px` |
|
|
408
|
+
| Primary Input | `0px` |
|
|
409
|
+
|
|
410
|
+
**Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.
|
|
411
|
+
|
|
412
|
+
**Full Radius Spectrum**: 0px, 8px, 10px, 12px, 20px, 22px (from `allBorderRadii` scan)
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
## 5b. Spacing Rhythm Names
|
|
416
|
+
|
|
417
|
+
**Measured section rhythm**: bands use ~64px vertical padding (up to 120px) — **generous**. Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
|
|
418
|
+
|
|
419
|
+
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
|
|
420
|
+
|
|
421
|
+
| Name | Value | Use case |
|
|
422
|
+
|------|-------|----------|
|
|
423
|
+
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
|
|
424
|
+
| **section** | `68px` | Between major bands (color change, content shift) |
|
|
425
|
+
| **subsection** | `64px` | Within a section, between content groups |
|
|
426
|
+
| **card** | `32px` | Card padding, list-item spacing |
|
|
427
|
+
| **compact** | `18px` | Form fields, tight clusters, badge padding |
|
|
428
|
+
| **micro** | `8px` | Icon-text gap, tag inner padding |
|
|
429
|
+
|
|
430
|
+
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
|
|
431
|
+
|
|
432
|
+
## 5c. Widget & Structure Library
|
|
433
|
+
|
|
434
|
+
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
|
|
435
|
+
|
|
436
|
+
**6/8 structural patterns detected.**
|
|
437
|
+
|
|
438
|
+
### Hero Pattern
|
|
439
|
+
|
|
440
|
+
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
|
|
441
|
+
- **Viewport coverage:** full-viewport hero (≥70% screen height)
|
|
442
|
+
- **Heading:** "Change le regard des recruteurs sur toi !" — 68px left-aligned
|
|
443
|
+
- **CTAs:** 1 (primary: "Je me lance avec Liv.ia")
|
|
444
|
+
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. No imagery needed for hero — text-driven.
|
|
445
|
+
|
|
446
|
+
### Navigation Pattern
|
|
447
|
+
|
|
448
|
+
- **Position:** static (scrolls with page)
|
|
449
|
+
- **Layout:** unknown — Layout not classified
|
|
450
|
+
- **Height:** 56px
|
|
451
|
+
- **Logo:** ✗ absent
|
|
452
|
+
- **Nav links:** 3 primary items
|
|
453
|
+
- **CTAs in nav:** 0 (no buttons — links only)
|
|
454
|
+
- **Clone instruction:** Build a static unknown navigation. Link-only — no button styling needed.
|
|
455
|
+
|
|
456
|
+
### Card Grid Pattern
|
|
457
|
+
|
|
458
|
+
- **Card count:** 11 cards detected
|
|
459
|
+
- **Columns (desktop):** 4-up grid
|
|
460
|
+
- **Card dimensions:** 346×614px (aspect 0.56:1)
|
|
461
|
+
- **Gap:** 32px between cards
|
|
462
|
+
- **Content:** ✓ image
|
|
463
|
+
- **Image position:** top
|
|
464
|
+
- **Clone instruction:** Build a 4-column grid (desktop) with cards at ~0.56:1 aspect ratio. Each card has an image at the top.
|
|
465
|
+
|
|
466
|
+
### Testimonial Pattern
|
|
467
|
+
|
|
468
|
+
- **Count:** 12 testimonial blocks
|
|
469
|
+
- **Layout:** grid
|
|
470
|
+
- **Avg quote length:** 270 chars (long-form story)
|
|
471
|
+
- **Includes:** ✗ no avatars | ✗ no logos | ✗ no ratings
|
|
472
|
+
- **Clone instruction:** Build a grid of 12 testimonials.
|
|
473
|
+
|
|
474
|
+
### CTA Banner Pattern
|
|
475
|
+
|
|
476
|
+
- **Banner count:** 1
|
|
477
|
+
- **Position:** bottom
|
|
478
|
+
- **Visual treatment:** ✓ gradient fill
|
|
479
|
+
- **Primary CTA text:** "En savoir plus sur notre mission"
|
|
480
|
+
- **Clone instruction:** Place a single CTA banner bottom. Use gradient background.
|
|
481
|
+
|
|
482
|
+
### Footer Pattern
|
|
483
|
+
|
|
484
|
+
- **Columns:** 4
|
|
485
|
+
- **Links:** 11 total
|
|
486
|
+
- **Height:** 439px
|
|
487
|
+
- **Includes:** ✗ no newsletter | ✓ social icons | ✓ copyright
|
|
488
|
+
- **Clone instruction:** Build a 4-column footer with ~3 links per column, social media links, and a copyright line.
|
|
489
|
+
|
|
490
|
+
## 6. Depth & Elevation
|
|
491
|
+
|
|
492
|
+
| Level | Treatment | Use |
|
|
493
|
+
|-------|-----------|-----|
|
|
494
|
+
| Flat (Level 0) | No shadow | Page background, content blocks |
|
|
495
|
+
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0.25) 0px 20px 50px 0px` | Cards, elevated surfaces |
|
|
496
|
+
| Layered (Level 2) | <br>`rgba(0, 0, 0, 0.2) 0px 4px 12px 0px` | Cards, elevated surfaces |
|
|
497
|
+
|
|
498
|
+
**Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
|
|
499
|
+
|
|
500
|
+
## 7. Motion & Interaction
|
|
501
|
+
|
|
502
|
+
### Dominant Easing Curves
|
|
503
|
+
|
|
504
|
+
| Curve | Semantic Name |
|
|
505
|
+
|-------|---------------|
|
|
506
|
+
| `cubic-bezier(0.75,0.045,0.045,0.985)` | Ease Out — Decelerating |
|
|
507
|
+
| `cubic-bezier(0.4,0,0.2,1)` | Material Standard — Balanced |
|
|
508
|
+
| `ease-in-out` | Ease In-Out — Symmetric |
|
|
509
|
+
|
|
510
|
+
### Duration Scale
|
|
511
|
+
|
|
512
|
+
| Value | Tier | Typical Use |
|
|
513
|
+
|-------|------|-------------|
|
|
514
|
+
| `200ms` | Normal | Panel open/close, navigation |
|
|
515
|
+
| `300ms` | Normal | Panel open/close, navigation |
|
|
516
|
+
| `350ms` | Slow | Hero animations, page transitions |
|
|
517
|
+
| `400ms` | Slow | Hero animations, page transitions |
|
|
518
|
+
| `750ms` | Cinematic | Splash, marketing reveals |
|
|
519
|
+
|
|
520
|
+
### Copy-Paste Transition Snippets
|
|
521
|
+
|
|
522
|
+
**Background**
|
|
523
|
+
```css
|
|
524
|
+
transition: background-color 0.4s ease-in-out, transform 0.4s ease-in-out;
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
**Opacity**
|
|
528
|
+
```css
|
|
529
|
+
transition: opacity 0.3s ease-in-out;
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
**Border**
|
|
533
|
+
```css
|
|
534
|
+
transition: border-color 0.2s, color 0.35s cubic-bezier(0.75, 0.045, 0.045, 0.985), background-color 0.35s cubic-bezier(0.75, 0.0...;
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
**All Props**
|
|
538
|
+
```css
|
|
539
|
+
transition: 0.35s ease-in-out;
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
### Keyframe Animation Catalog
|
|
543
|
+
|
|
544
|
+
| Animation Name | Type | Animated Props | Use Hint |
|
|
545
|
+
|----------------|------|----------------|----------|
|
|
546
|
+
| `spin` | Rotate / Spin | transform | Loading indicator |
|
|
547
|
+
|
|
548
|
+
### Motion Fingerprint
|
|
549
|
+
|
|
550
|
+
- **Speed Character**: Deliberate & Calm (median duration: `350ms`)
|
|
551
|
+
- **Dominant Easing**: custom cubic-bezier curves
|
|
552
|
+
- **Animation Library**: 1 unique animation (1 total including variants)
|
|
553
|
+
|
|
554
|
+
> This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
|
|
555
|
+
|
|
556
|
+
## 8. Do's and Don'ts
|
|
557
|
+
|
|
558
|
+
### Do
|
|
559
|
+
- Use Brand Black (`#1e1e1e`) for text — not pure black, it's warmer and more readable
|
|
560
|
+
- Use Outfit as the primary typeface — it defines the brand personality
|
|
561
|
+
- Keep font weights between 400-400 — the system uses a narrow weight range for subtle hierarchy
|
|
562
|
+
- Use negative letter-spacing (-0.72px) at display sizes for compressed, editorial headlines
|
|
563
|
+
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
|
|
564
|
+
- Use Royal Blue (`#356af0`) as the primary accent — it's the brand's signature interactive color
|
|
565
|
+
- Use 10px border-radius on buttons — the standard corner rounding for interactive elements
|
|
566
|
+
- Maintain nav height at 56.3906px — consistent vertical space for the navigation bar
|
|
567
|
+
- Respect the 8px–68px spacing range — the design uses a wide scale for visual breathing room
|
|
568
|
+
- Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
|
|
569
|
+
- Keep the hero centered and text-driven — no decorative media, typography carries the message
|
|
570
|
+
- Use a single primary CTA in the hero — the design intentionally avoids choice paralysis
|
|
571
|
+
- Each card includes a top image — imagery is part of the card identity, not optional
|
|
572
|
+
- Use a 4-column grid on desktop — density matters for this content type
|
|
573
|
+
- Lay out testimonials in a grid (12+ items) — quantity signals scale and trust
|
|
574
|
+
|
|
575
|
+
### Don't
|
|
576
|
+
- Don't use pure black (`#000000`) for text — the near-black adds warmth
|
|
577
|
+
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
|
|
578
|
+
- Don't use weight 700 (bold) or above — 400 is the maximum weight in this system
|
|
579
|
+
- Don't increase letter-spacing on headings — the type is designed to run tight at scale
|
|
580
|
+
- Don't invent new shadow values — use only the extracted shadow levels
|
|
581
|
+
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
|
|
582
|
+
- Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
|
|
583
|
+
- Don't add hero illustrations or photos — they'll break the typographic restraint
|
|
584
|
+
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
|
|
585
|
+
- Don't put a CTA button in the nav — this design uses links only at the top
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
## 7b. Enforceable Brand Rules
|
|
589
|
+
|
|
590
|
+
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
|
|
591
|
+
|
|
592
|
+
```yaml
|
|
593
|
+
rules:
|
|
594
|
+
- id: brand-canvas-001
|
|
595
|
+
type: do
|
|
596
|
+
rule: "Always use the page background `rgb(255, 255, 255)` as the base canvas"
|
|
597
|
+
why: "Every component is designed to composit against this exact tone"
|
|
598
|
+
test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
|
|
599
|
+
- id: brand-accent-001
|
|
600
|
+
type: do
|
|
601
|
+
rule: "Reserve `rgb(53, 106, 240)` for primary CTAs and brand-mark signals only"
|
|
602
|
+
why: "Single chromatic assertion device — overuse dilutes meaning"
|
|
603
|
+
test: "querySelectorAll('[style*=\"rgb(53, 106, 240)\"]').length <= 3 per fold"
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
## 9. Responsive Behavior
|
|
607
|
+
|
|
608
|
+
### Breakpoints
|
|
609
|
+
| Name | Width | Key Changes |
|
|
610
|
+
|------|-------|-------------|
|
|
611
|
+
| Mobile | 479px | Single column, compact spacing |
|
|
612
|
+
| Mobile Large | 767px | Expanded mobile layout |
|
|
613
|
+
| Tablet | 991px | Multi-column grids begin |
|
|
614
|
+
| Desktop | 1280px | Full feature layout |
|
|
615
|
+
|
|
616
|
+
### Token Diff — Desktop vs Mobile
|
|
617
|
+
|
|
618
|
+
| Element | Property | Desktop | Mobile |
|
|
619
|
+
|---------|----------|---------|--------|
|
|
620
|
+
| heading | font-size | `68px` | `40px` |
|
|
621
|
+
| heading | line-height | `68px` | `40px` |
|
|
622
|
+
| nav | height | `56.3906px` | `0px` |
|
|
623
|
+
| hero | height | `797.797px` | `888.203px` |
|
|
624
|
+
| card | width | `1335px` | `350px` |
|
|
625
|
+
|
|
626
|
+
### Collapsing Strategy
|
|
627
|
+
- Headlines: 68px → 40px on mobile
|
|
628
|
+
- Navigation: horizontal links → hamburger menu on mobile
|
|
629
|
+
- Cards: multi-column → stacked vertical on mobile
|
|
630
|
+
- Footer: multi-column → stacked single column on mobile
|
|
631
|
+
|
|
632
|
+
### Touch Targets
|
|
633
|
+
- Buttons: 0px padding
|
|
634
|
+
- Navigation: adequate spacing between items
|
|
635
|
+
- Interactive elements: minimum 44px touch target recommended
|
|
636
|
+
|
|
637
|
+
### Collapsing Narrative
|
|
638
|
+
|
|
639
|
+
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
|
|
640
|
+
|
|
641
|
+
- **Card grid: 4-up → 1-up** — cards stack as viewport narrows, becoming a vertical list on mobile.
|
|
642
|
+
- **Footer columns collapse:** 4 columns (desktop) → 1 column (mobile).
|
|
643
|
+
|
|
644
|
+
## 9b. Visual Tone & Photography
|
|
645
|
+
|
|
646
|
+
**Tone:** Illustration-driven
|
|
647
|
+
|
|
648
|
+
The site relies primarily on illustrations, vector art, and decorative SVG elements rather than photography. Use commissioned illustrations, icon sets, or generated graphics for clones — stock photos will feel off-brand.
|
|
649
|
+
|
|
650
|
+
**Canonical Brand Image (OG):**
|
|
651
|
+
- https://cdn.prod.website-files.com/683d6dbdbb5a87817f10772b/684ae4ccde6b80f893e2f254_Opengraph%202.png
|
|
652
|
+
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
|
|
653
|
+
|
|
654
|
+
**Hero Image (above-fold dominant visual):**
|
|
655
|
+
- Aspect: 3.64:1 (ultra-wide cinematic)
|
|
656
|
+
- Rendered size: 204×56px
|
|
657
|
+
- *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
|
|
658
|
+
|
|
659
|
+
**Aspect Ratio Distribution:**
|
|
660
|
+
- Landscape (1.15–2.3): 1 (4%)
|
|
661
|
+
- Portrait (<0.87): 12 (48%)
|
|
662
|
+
- Square (0.87–1.15): 9 (36%)
|
|
663
|
+
- Ultra-wide (>2.3): 3 (12%)
|
|
664
|
+
|
|
665
|
+
**Media Format Mix:**
|
|
666
|
+
- JPG: 1 (typically photographic content)
|
|
667
|
+
- PNG: 12 (logos, transparent UI elements, mockups)
|
|
668
|
+
- SVG: 12 (icons, illustrations, decorative geometry)
|
|
669
|
+
|
|
670
|
+
**Average rendered image size:** 352×373px
|
|
671
|
+
**Above-fold image count:** 1 / 25
|
|
672
|
+
|
|
673
|
+
**Decorative Patterns Detected:**
|
|
674
|
+
- 27 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
|
|
675
|
+
|
|
676
|
+
**Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
|
|
677
|
+
|
|
678
|
+
**Imagery Guidance for clones:**
|
|
679
|
+
- Use vector illustration as the primary visual language — photos will read as off-brand.
|
|
680
|
+
- Maintain consistent illustration style (line weight, color palette) across the site.
|
|
681
|
+
|
|
682
|
+
## 10. Agent Prompt Guide
|
|
683
|
+
|
|
684
|
+
### Quick Reference
|
|
685
|
+
- Background: Pure White (`#ffffff`)
|
|
686
|
+
- Primary text: Brand Black (`#1e1e1e`)
|
|
687
|
+
- Accent: Royal Blue (`#356af0`)
|
|
688
|
+
- Border: Stone (`#797872`)
|
|
689
|
+
- Font: Outfit
|
|
690
|
+
- Body: 16px weight 400
|
|
691
|
+
|
|
692
|
+
### Example Component Prompts
|
|
693
|
+
- "Create a hero section on Pure White background (#ffffff). Headline at 68px Outfit weight 400, line-height 1, letter-spacing -0.72px, color #1e1e1e."
|
|
694
|
+
- "Create the primary CTA button: `#356af0` background, `#ffffff` text, 10px border-radius, 20px padding, 600 weight, Outfit font."
|
|
695
|
+
- "Design a card on `transparent` background. Border: none. Radius: 0px. Shadow: none. Padding: 0px."
|
|
696
|
+
- "Build navigation: static on `#ffffff`. Outfit 16px weight 400 for links."
|
|
697
|
+
|
|
698
|
+
### Iteration Guide
|
|
699
|
+
1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
|
|
700
|
+
2. **Typography**: All type in Outfit, weight range 400–400. Never exceed 400 — heavier weights break the brand's tonal restraint.
|
|
701
|
+
3. **Accent**: Royal Blue (`#356af0`) is the sole interactive color. On hover → Brand Sky (`#a7d7fc`). Use CSS transitions, not opacity/brightness filters.
|
|
702
|
+
4. **Motion**: All transitions use `cubic-bezier(0.75,0.045,0.045,0.985)`. Never use linear for UI transitions — preserve the brand's easing personality.
|
|
703
|
+
5. **Shape**: CTAs at `10px`, cards at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
|
|
704
|
+
6. **Spacing**: Use the `--ca-space-*` token scale (8px–68px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
|
|
705
|
+
7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
|
|
706
|
+
|
|
707
|
+
## 11. CSS Design Tokens Raw Export
|
|
708
|
+
|
|
709
|
+
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
|
|
710
|
+
|
|
711
|
+
```css
|
|
712
|
+
/* Colors */
|
|
713
|
+
:root {
|
|
714
|
+
--ca-background: #ffffff;
|
|
715
|
+
--ca-surface-1: #eeede9;
|
|
716
|
+
--ca-surface-2: #ffeded;
|
|
717
|
+
--ca-ink-subtle: #1e1e1e;
|
|
718
|
+
--ca-primary: #356af0;
|
|
719
|
+
--ca-on-primary: #111111;
|
|
720
|
+
--ca-primary-hover: #a7d7fc;
|
|
721
|
+
--ca-hairline: #797872;
|
|
722
|
+
--ca-primary-focus: #101010;
|
|
723
|
+
--ca-semantic-warning: #ffaf37;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/* Typography */
|
|
727
|
+
:root {
|
|
728
|
+
--ca-font-primary: "Dela Gothic One", system-ui, sans-serif;
|
|
729
|
+
--ca-text-display: 68px;
|
|
730
|
+
--ca-text-body: 16px;
|
|
731
|
+
--ca-text-small: 14px;
|
|
732
|
+
--ca-text-caption: 16px;
|
|
733
|
+
--ca-text-button: 16px;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/* Spacing & Radius */
|
|
737
|
+
:root {
|
|
738
|
+
--ca-space-xxs: 2px;
|
|
739
|
+
--ca-space-xs: 8px;
|
|
740
|
+
--ca-space-sm: 18px;
|
|
741
|
+
--ca-space-md: 32px;
|
|
742
|
+
--ca-space-base: 40px;
|
|
743
|
+
--ca-space-lg: 64px;
|
|
744
|
+
--ca-space-xl: 68px;
|
|
745
|
+
--ca-space-2xl: 121px;
|
|
746
|
+
--ca-space-3xl: 64px;
|
|
747
|
+
--ca-radius-none: 0px;
|
|
748
|
+
--ca-radius-xs: 8px;
|
|
749
|
+
--ca-radius-sm: 8px;
|
|
750
|
+
--ca-radius-md: 12px;
|
|
751
|
+
--ca-radius-lg: 20px;
|
|
752
|
+
--ca-radius-xl: 22px;
|
|
753
|
+
--ca-radius-full: 9999px;
|
|
754
|
+
}
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
## 13. Page Structure Skeleton
|
|
759
|
+
|
|
760
|
+
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
|
|
761
|
+
|
|
762
|
+
```yaml
|
|
763
|
+
page-skeleton:
|
|
764
|
+
- section: hero
|
|
765
|
+
tag: div
|
|
766
|
+
classes: ["page-wrapper"]
|
|
767
|
+
height: 9656px
|
|
768
|
+
width: full-bleed
|
|
769
|
+
layout: block
|
|
770
|
+
children: 3
|
|
771
|
+
tone: dark
|
|
772
|
+
vertical-padding: ~77px (generous)
|
|
773
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
774
|
+
- section: header
|
|
775
|
+
tag: header
|
|
776
|
+
classes: ["header", "nav-down"]
|
|
777
|
+
height: 120px
|
|
778
|
+
width: full-bleed
|
|
779
|
+
layout: block
|
|
780
|
+
children: 1
|
|
781
|
+
bg: "rgb(255, 255, 255)"
|
|
782
|
+
vertical-padding: ~32px
|
|
783
|
+
- section: testimonials
|
|
784
|
+
tag: main
|
|
785
|
+
classes: ["main-wrapper"]
|
|
786
|
+
height: 9216px
|
|
787
|
+
width: full-bleed
|
|
788
|
+
layout: block
|
|
789
|
+
children: 11
|
|
790
|
+
tone: dark
|
|
791
|
+
vertical-padding: ~61px (generous)
|
|
792
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
793
|
+
padding: "121px 0px 0px"
|
|
794
|
+
- section: header
|
|
795
|
+
tag: div
|
|
796
|
+
classes: ["container", "header-container"]
|
|
797
|
+
height: 120px
|
|
798
|
+
width: 1375px
|
|
799
|
+
layout: flex-row justify=space-between
|
|
800
|
+
children: 2
|
|
801
|
+
tone: dark
|
|
802
|
+
vertical-padding: ~32px
|
|
803
|
+
padding: "32px 20px"
|
|
804
|
+
- section: testimonials
|
|
805
|
+
tag: section
|
|
806
|
+
classes: ["section_hero"]
|
|
807
|
+
height: 798px
|
|
808
|
+
width: full-bleed
|
|
809
|
+
layout: block
|
|
810
|
+
children: 1
|
|
811
|
+
tone: dark
|
|
812
|
+
vertical-padding: ~64px (generous)
|
|
813
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
814
|
+
- section: testimonials
|
|
815
|
+
tag: div
|
|
816
|
+
classes: ["section_hero-wrapper"]
|
|
817
|
+
height: 670px
|
|
818
|
+
width: 1335px
|
|
819
|
+
layout: flex-row justify=normal
|
|
820
|
+
children: 2
|
|
821
|
+
tone: dark
|
|
822
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
823
|
+
- section: unknown
|
|
824
|
+
tag: div
|
|
825
|
+
classes: ["hero-section-embed", "w-embed"]
|
|
826
|
+
height: 670px
|
|
827
|
+
width: 636px
|
|
828
|
+
layout: block
|
|
829
|
+
children: 1
|
|
830
|
+
tone: dark
|
|
831
|
+
- section: testimonials
|
|
832
|
+
tag: div
|
|
833
|
+
classes: ["container"]
|
|
834
|
+
height: 670px
|
|
835
|
+
width: 1375px
|
|
836
|
+
layout: block
|
|
837
|
+
children: 1
|
|
838
|
+
tone: dark
|
|
839
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
840
|
+
padding: "0px 20px"
|
|
841
|
+
- section: testimonials
|
|
842
|
+
tag: div
|
|
843
|
+
height: 670px
|
|
844
|
+
width: 668px
|
|
845
|
+
layout: flex-column justify=normal
|
|
846
|
+
children: 5
|
|
847
|
+
tone: dark
|
|
848
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
849
|
+
- section: unknown
|
|
850
|
+
tag: div
|
|
851
|
+
classes: ["hero-wrapper_media"]
|
|
852
|
+
height: 670px
|
|
853
|
+
width: 636px
|
|
854
|
+
layout: block
|
|
855
|
+
children: 1
|
|
856
|
+
tone: dark
|
|
857
|
+
- section: unknown
|
|
858
|
+
tag: div
|
|
859
|
+
classes: ["hero-media-wrapper"]
|
|
860
|
+
height: 670px
|
|
861
|
+
width: 636px
|
|
862
|
+
layout: block
|
|
863
|
+
children: 2
|
|
864
|
+
tone: dark
|
|
865
|
+
- section: unknown
|
|
866
|
+
tag: div
|
|
867
|
+
classes: ["hero-button-wrapper"]
|
|
868
|
+
height: 106px
|
|
869
|
+
width: 262px
|
|
870
|
+
layout: flex-column justify=normal
|
|
871
|
+
children: 2
|
|
872
|
+
tone: dark
|
|
873
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
874
|
+
- section: logo-strip
|
|
875
|
+
tag: div
|
|
876
|
+
classes: ["hero-catchline-swiper-wrapper"]
|
|
877
|
+
height: 81px
|
|
878
|
+
width: 668px
|
|
879
|
+
layout: block
|
|
880
|
+
children: 2
|
|
881
|
+
tone: dark
|
|
882
|
+
- section: section
|
|
883
|
+
tag: section
|
|
884
|
+
height: 352px
|
|
885
|
+
width: full-bleed
|
|
886
|
+
layout: block
|
|
887
|
+
children: 1
|
|
888
|
+
tone: dark
|
|
889
|
+
vertical-padding: ~64px (generous)
|
|
890
|
+
- section: unknown
|
|
891
|
+
tag: div
|
|
892
|
+
classes: ["container"]
|
|
893
|
+
height: 224px
|
|
894
|
+
width: 1375px
|
|
895
|
+
layout: block
|
|
896
|
+
children: 1
|
|
897
|
+
tone: dark
|
|
898
|
+
vertical-padding: ~64px (generous)
|
|
899
|
+
padding: "0px 20px"
|
|
900
|
+
- section: unknown
|
|
901
|
+
tag: div
|
|
902
|
+
classes: ["numbers-wrapper", "orange-gradient"]
|
|
903
|
+
height: 224px
|
|
904
|
+
width: 1335px
|
|
905
|
+
layout: flex-row justify=space-between
|
|
906
|
+
children: 3
|
|
907
|
+
bg-treatment: linear-gradient
|
|
908
|
+
tone: dark
|
|
909
|
+
vertical-padding: ~64px (generous)
|
|
910
|
+
padding: "64px"
|
|
911
|
+
- section: feature-section
|
|
912
|
+
tag: section
|
|
913
|
+
classes: ["section-cards"]
|
|
914
|
+
height: 719px
|
|
915
|
+
width: full-bleed
|
|
916
|
+
layout: block
|
|
917
|
+
children: 1
|
|
918
|
+
tone: dark
|
|
919
|
+
vertical-padding: ~64px (generous)
|
|
920
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
921
|
+
- section: feature-section
|
|
922
|
+
tag: div
|
|
923
|
+
classes: ["container"]
|
|
924
|
+
height: 591px
|
|
925
|
+
width: 1375px
|
|
926
|
+
layout: block
|
|
927
|
+
children: 2
|
|
928
|
+
tone: dark
|
|
929
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
930
|
+
padding: "0px 20px"
|
|
931
|
+
- section: content-section
|
|
932
|
+
tag: div
|
|
933
|
+
classes: ["section-cards-wrapper"]
|
|
934
|
+
height: 474px
|
|
935
|
+
width: 1335px
|
|
936
|
+
layout: flex-row justify=center
|
|
937
|
+
children: 3
|
|
938
|
+
tone: dark
|
|
939
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
940
|
+
- section: feature-section
|
|
941
|
+
tag: section
|
|
942
|
+
classes: ["section_text_image"]
|
|
943
|
+
height: 746px
|
|
944
|
+
width: full-bleed
|
|
945
|
+
layout: block
|
|
946
|
+
children: 1
|
|
947
|
+
tone: dark
|
|
948
|
+
vertical-padding: ~96px (airy)
|
|
949
|
+
- section: feature-section
|
|
950
|
+
tag: div
|
|
951
|
+
classes: ["container"]
|
|
952
|
+
height: 554px
|
|
953
|
+
width: 1375px
|
|
954
|
+
layout: block
|
|
955
|
+
children: 1
|
|
956
|
+
tone: dark
|
|
957
|
+
vertical-padding: ~120px (airy)
|
|
958
|
+
padding: "0px 20px"
|
|
959
|
+
- section: feature-section
|
|
960
|
+
tag: div
|
|
961
|
+
classes: ["text-image-wrapper"]
|
|
962
|
+
height: 554px
|
|
963
|
+
width: 1335px
|
|
964
|
+
layout: flex-row justify=space-between
|
|
965
|
+
children: 2
|
|
966
|
+
bg: "rgb(167, 215, 252)"
|
|
967
|
+
bg-treatment: linear-gradient
|
|
968
|
+
vertical-padding: ~120px (airy)
|
|
969
|
+
padding: "120px"
|
|
970
|
+
- section: feature-section
|
|
971
|
+
tag: div
|
|
972
|
+
classes: ["text-image-wrapper-content"]
|
|
973
|
+
height: 314px
|
|
974
|
+
width: 505px
|
|
975
|
+
layout: flex-column justify=normal
|
|
976
|
+
children: 3
|
|
977
|
+
tone: dark
|
|
978
|
+
- section: unknown
|
|
979
|
+
tag: div
|
|
980
|
+
classes: ["text-image-wrapper-image"]
|
|
981
|
+
height: 314px
|
|
982
|
+
width: 548px
|
|
983
|
+
layout: block
|
|
984
|
+
children: 1
|
|
985
|
+
tone: dark
|
|
986
|
+
- section: content-section
|
|
987
|
+
tag: section
|
|
988
|
+
classes: ["section_steps"]
|
|
989
|
+
height: 1579px
|
|
990
|
+
width: full-bleed
|
|
991
|
+
layout: block
|
|
992
|
+
children: 1
|
|
993
|
+
tone: dark
|
|
994
|
+
vertical-padding: ~64px (generous)
|
|
995
|
+
```
|
|
996
|
+
|
|
997
|
+
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
## 14. Copy Library (Real Content from Source)
|
|
1001
|
+
|
|
1002
|
+
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
|
|
1003
|
+
|
|
1004
|
+
```yaml
|
|
1005
|
+
copy:
|
|
1006
|
+
section-headings:
|
|
1007
|
+
- "Pourquoi ça marche ?"
|
|
1008
|
+
- "Des coachs en chair et en os"
|
|
1009
|
+
- "T'as du réseau ?"
|
|
1010
|
+
- "Des cookies ?!"
|
|
1011
|
+
ctas:
|
|
1012
|
+
- "JE FAIS LE BILAN SUR LIV.IA"
|
|
1013
|
+
- "JE ME LANCE AVEC LIV.IA"
|
|
1014
|
+
- "PRENDRE RENDEZ-VOUS"
|
|
1015
|
+
- "ME LANCER"
|
|
1016
|
+
- "EN SAVOIR PLUS SUR NOTRE MISSION"
|
|
1017
|
+
- "M'INSCRIRE"
|
|
1018
|
+
- "Ok pour moi"
|
|
1019
|
+
- "Non merci"
|
|
1020
|
+
navigation:
|
|
1021
|
+
- "MISSION"
|
|
1022
|
+
- "ÉQUIPE"
|
|
1023
|
+
- "JE FAIS LE BILAN SUR LIV.IA"
|
|
1024
|
+
- "ACCUEIL"
|
|
1025
|
+
- "NOTRE MISSION"
|
|
1026
|
+
- "NOTRE ÉQUIPE"
|
|
1027
|
+
- "NOUS CONTACTER"
|
|
1028
|
+
- "PRENDRE UN RDV COACHING"
|
|
1029
|
+
- "DEVENIR PARTENAIRE"
|
|
1030
|
+
- "SIGNALER UN BUG"
|
|
1031
|
+
footer-links:
|
|
1032
|
+
- "ACCUEIL"
|
|
1033
|
+
- "COSMEEK"
|
|
1034
|
+
- "MENTIONS LÉGALES"
|
|
1035
|
+
- "POLITIQUE DE CONFIDENTIALITÉ"
|
|
1036
|
+
```
|
|
1037
|
+
|
|
1038
|
+
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
## 15. Asset Inventory (Image Roles & Ratios)
|
|
1042
|
+
|
|
1043
|
+
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
|
|
1044
|
+
|
|
1045
|
+
```yaml
|
|
1046
|
+
assets:
|
|
1047
|
+
logo:
|
|
1048
|
+
count: 10
|
|
1049
|
+
avg-ratio: 3.67
|
|
1050
|
+
common-aspect: "~16:6 banner"
|
|
1051
|
+
sample-alts:
|
|
1052
|
+
- "Cinq étoiles de notation"
|
|
1053
|
+
hero:
|
|
1054
|
+
count: 2
|
|
1055
|
+
avg-ratio: 3.45
|
|
1056
|
+
common-aspect: "~16:6 banner"
|
|
1057
|
+
editorial:
|
|
1058
|
+
count: 11
|
|
1059
|
+
avg-ratio: 0.56
|
|
1060
|
+
common-aspect: "~9:16 portrait"
|
|
1061
|
+
sample-alts:
|
|
1062
|
+
- "Media 4"
|
|
1063
|
+
- "Media 3"
|
|
1064
|
+
- "Media 2"
|
|
1065
|
+
thumbnail:
|
|
1066
|
+
count: 12
|
|
1067
|
+
avg-ratio: 0.98
|
|
1068
|
+
common-aspect: "~1:1 square"
|
|
1069
|
+
sample-alts:
|
|
1070
|
+
- "Icône représentant un cerveau"
|
|
1071
|
+
- "Icône représentant une batterie de téléphone"
|
|
1072
|
+
icon:
|
|
1073
|
+
count: 2
|
|
1074
|
+
avg-ratio: 0.55
|
|
1075
|
+
common-aspect: "~9:16 portrait"
|
|
1076
|
+
```
|
|
1077
|
+
|
|
1078
|
+
**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`.
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
## 16. Component HTML Templates
|
|
1082
|
+
|
|
1083
|
+
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
|
|
1084
|
+
|
|
1085
|
+
### Button (primary action)
|
|
1086
|
+
```html
|
|
1087
|
+
<button class="btn btn-primary">
|
|
1088
|
+
JE FAIS LE BILAN SUR LIV.IA
|
|
1089
|
+
</button>
|
|
1090
|
+
```
|
|
1091
|
+
_Source pattern detected: padding `16px` · radius `10px` · weight `600`_
|
|
1092
|
+
|
|
1093
|
+
### Generic Card
|
|
1094
|
+
```html
|
|
1095
|
+
<div class="card">
|
|
1096
|
+
<!-- content -->
|
|
1097
|
+
</div>
|
|
1098
|
+
```
|
|
1099
|
+
_Source pattern detected: padding `0px` · radius `0px` · shadow `none`_
|
|
1100
|
+
|
|
1101
|
+
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
## 12. Known Extraction Gaps
|
|
1105
|
+
|
|
1106
|
+
*Auto-detected limitations of this extraction — understand before building:*
|
|
1107
|
+
|
|
1108
|
+
- **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.
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
---
|
|
1112
|
+
## Extraction Completeness: 64/100 (C)
|
|
1113
|
+
|
|
1114
|
+
| Category | Score | Max | Detail |
|
|
1115
|
+
|----------|-------|-----|--------|
|
|
1116
|
+
| Colors & Palette | 24 | 25 | 17 named colors |
|
|
1117
|
+
| Typography | 15 | 20 | 6 roles defined |
|
|
1118
|
+
| Components | 8 | 20 | 2 specs extracted |
|
|
1119
|
+
| Motion & Interaction | 12 | 15 | Keyframes present |
|
|
1120
|
+
| CSS Custom Properties | 1 | 10 | 26 vars |
|
|
1121
|
+
| Responsive Breakpoints | 4 | 5 | 4 breakpoints |
|
|
1122
|
+
| Variable Fonts | 0 | 5 | None detected |
|
|
1123
|
+
|
|
1124
|
+
## 12. Known Gaps & Confidence
|
|
1125
|
+
|
|
1126
|
+
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.
|
|
1127
|
+
|
|
1128
|
+
| Category | What's missing | Fallback strategy |
|
|
1129
|
+
|----------|----------------|-------------------|
|
|
1130
|
+
| **Dark mode** | No dark-mode CSS variables or media queries detected | Light mode is canonical; do not generate dark-mode variants unless explicitly requested |
|
|
1131
|
+
|
|
1132
|
+
### Per-section confidence
|
|
1133
|
+
|
|
1134
|
+
| Section | Confidence | Reason |
|
|
1135
|
+
|---------|------------|--------|
|
|
1136
|
+
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
|
|
1137
|
+
| §2 Colors | Medium | 26 CSS vars (semantic naming requires ≥20 for high) |
|
|
1138
|
+
| §3 Typography | High | 6 typography roles inferred |
|
|
1139
|
+
| §4 Components | Low | 2 component variants captured |
|
|
1140
|
+
| §7 Motion | High | Keyframes + transitions |
|
|
1141
|
+
| §8 Do's/Don'ts | High | 25 rules generated; design-decisions.json has evidence per rule |
|
|
1142
|
+
| §9 Responsive | High | 4 breakpoints detected |
|
|
1143
|
+
| §9b Photography | High | 25 images, hero present |
|
|
1144
|
+
|
|
1145
|
+
---
|
|
1146
|
+
*Generated by Prism — automated Playwright extraction + design analysis.*
|
|
1147
|
+
*Source: https://www.mavoie.org | 2026-05-31T04:57:58.146Z*
|
|
1148
|
+
*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.*
|