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,1265 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: alpha
|
|
3
|
+
name: choisis-ton-avenir.com
|
|
4
|
+
description: "Light product system built on #ffffff with #ffe456 as the primary CTA accent. Type anchored in Merriweather at 44px / weight 400. Extracted automatically from https://choisis-ton-avenir.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
|
|
5
|
+
narrative: |
|
|
6
|
+
choisis-ton-avenir.com is built on a pure-white canvas (rgb(255, 255, 255)).
|
|
7
|
+
The system uses rgb(255, 228, 86) as the high-saturation accent for primary actions.
|
|
8
|
+
Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside Merriweather as the primary typeface.
|
|
9
|
+
A restrained elevation system (3 distinct shadows) — shadows reserved for the few elements that must lift off the page.
|
|
10
|
+
Motion is a first-class concern — 11 keyframe animations plus transition-driven interactions.
|
|
11
|
+
|
|
12
|
+
colors:
|
|
13
|
+
background: "#ffffff"
|
|
14
|
+
surface-1: "#f3f1fd"
|
|
15
|
+
surface-2: "#f4f1fd"
|
|
16
|
+
ink: "#262626"
|
|
17
|
+
ink-subtle: "#54595f"
|
|
18
|
+
primary: "#ffe456"
|
|
19
|
+
on-primary: "#111111"
|
|
20
|
+
primary-hover: "#563cdc"
|
|
21
|
+
hairline: "#666666"
|
|
22
|
+
semantic-error: "#dc3545"
|
|
23
|
+
semantic-success: "#198754"
|
|
24
|
+
semantic-warning: "#ffc107"
|
|
25
|
+
semantic-info: "#0dcaf0"
|
|
26
|
+
|
|
27
|
+
typography:
|
|
28
|
+
display-xl:
|
|
29
|
+
fontFamily: "Merriweather"
|
|
30
|
+
fontSize: 40px
|
|
31
|
+
fontWeight: 400
|
|
32
|
+
lineHeight: 1.27
|
|
33
|
+
letterSpacing: 0
|
|
34
|
+
display-lg:
|
|
35
|
+
fontFamily: "Poppins"
|
|
36
|
+
fontSize: 40px
|
|
37
|
+
fontWeight: 400
|
|
38
|
+
lineHeight: 1.27
|
|
39
|
+
letterSpacing: 0
|
|
40
|
+
display-md:
|
|
41
|
+
fontFamily: "Merriweather"
|
|
42
|
+
fontSize: 32px
|
|
43
|
+
fontWeight: 400
|
|
44
|
+
lineHeight: 1
|
|
45
|
+
letterSpacing: 0
|
|
46
|
+
body:
|
|
47
|
+
fontFamily: "Poppins"
|
|
48
|
+
fontSize: 16px
|
|
49
|
+
fontWeight: 400
|
|
50
|
+
lineHeight: 1.5
|
|
51
|
+
letterSpacing: 0
|
|
52
|
+
body-sm:
|
|
53
|
+
fontFamily: "Poppins"
|
|
54
|
+
fontSize: 12px
|
|
55
|
+
fontWeight: 400
|
|
56
|
+
lineHeight: 1.17
|
|
57
|
+
letterSpacing: 0
|
|
58
|
+
caption:
|
|
59
|
+
fontFamily: "Poppins"
|
|
60
|
+
fontSize: 14px
|
|
61
|
+
fontWeight: 400
|
|
62
|
+
lineHeight: 1.29
|
|
63
|
+
letterSpacing: 0
|
|
64
|
+
button:
|
|
65
|
+
fontFamily: "Poppins"
|
|
66
|
+
fontSize: 20px
|
|
67
|
+
fontWeight: 400
|
|
68
|
+
lineHeight: 1
|
|
69
|
+
letterSpacing: 0
|
|
70
|
+
|
|
71
|
+
rounded:
|
|
72
|
+
none: 0px
|
|
73
|
+
xs: 4px
|
|
74
|
+
sm: 10px
|
|
75
|
+
md: 12px
|
|
76
|
+
lg: 20px
|
|
77
|
+
xl: 25px
|
|
78
|
+
pill: 9999px
|
|
79
|
+
|
|
80
|
+
spacing:
|
|
81
|
+
xxs: 2px
|
|
82
|
+
xs: 10px
|
|
83
|
+
sm: 15px
|
|
84
|
+
md: 20px
|
|
85
|
+
lg: 25px
|
|
86
|
+
xl: 30px
|
|
87
|
+
xxl: 64px
|
|
88
|
+
section: 80px
|
|
89
|
+
|
|
90
|
+
components:
|
|
91
|
+
button-pill:
|
|
92
|
+
backgroundColor: "{colors.primary}"
|
|
93
|
+
textColor: "{colors.ink}"
|
|
94
|
+
typography: "{typography.body-sm}"
|
|
95
|
+
rounded: "{rounded.xl}"
|
|
96
|
+
padding: 10px 14px
|
|
97
|
+
button-pill-2:
|
|
98
|
+
backgroundColor: "{colors.primary}"
|
|
99
|
+
textColor: "{colors.ink}"
|
|
100
|
+
typography: "{typography.body-sm}"
|
|
101
|
+
rounded: "{rounded.xl}"
|
|
102
|
+
padding: 10px 15px
|
|
103
|
+
button-light--invert:
|
|
104
|
+
backgroundColor: "{colors.background}"
|
|
105
|
+
textColor: "#222222"
|
|
106
|
+
typography: "{typography.body}"
|
|
107
|
+
rounded: "{rounded.md}"
|
|
108
|
+
padding: 15px
|
|
109
|
+
input-text-input:
|
|
110
|
+
backgroundColor: "{colors.background}"
|
|
111
|
+
textColor: "{colors.hairline}"
|
|
112
|
+
typography: "{typography.body}"
|
|
113
|
+
rounded: "{rounded.xl}"
|
|
114
|
+
padding: 15px 50px 15px 25px
|
|
115
|
+
navigation-main-nav:
|
|
116
|
+
backgroundColor: "{colors.background}"
|
|
117
|
+
typography: "{typography.body}"
|
|
118
|
+
rounded: "{rounded.none}"
|
|
119
|
+
padding: 20px 10px
|
|
120
|
+
search-bar-search-pill:
|
|
121
|
+
backgroundColor: "{colors.surface-1}"
|
|
122
|
+
textColor: "{colors.ink}"
|
|
123
|
+
typography: "{typography.caption}"
|
|
124
|
+
rounded: "{rounded.xl}"
|
|
125
|
+
padding: 10px 90px 10px 15px
|
|
126
|
+
search-bar-search-bar:
|
|
127
|
+
backgroundColor: "transparent"
|
|
128
|
+
textColor: "{colors.background}"
|
|
129
|
+
typography: "{typography.body}"
|
|
130
|
+
rounded: "{rounded.none}"
|
|
131
|
+
padding: 10px 0px 10px 25px
|
|
132
|
+
|
|
133
|
+
extracted_at: "2026-05-31T04:56:43.077Z"
|
|
134
|
+
completeness: 84
|
|
135
|
+
scoreVersion: "v2"
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
# Design System — choisis-ton-avenir.com
|
|
140
|
+
> Extracted automatically by Prism from https://www.choisis-ton-avenir.com
|
|
141
|
+
> Date: 2026-05-31
|
|
142
|
+
> Viewport: Desktop 1440x900 + Mobile 390x844
|
|
143
|
+
> 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).
|
|
144
|
+
|
|
145
|
+
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
|
|
146
|
+
>
|
|
147
|
+
> - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
|
|
148
|
+
> - **Accent**: `rgb(255, 228, 86)` for primary CTAs ONLY. Never decorative.
|
|
149
|
+
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
|
|
150
|
+
> - **Section rhythm**: 50px between major bands. Card padding: 25px.
|
|
151
|
+
> - **Default radius**: 10px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
|
|
152
|
+
>
|
|
153
|
+
> **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
|
|
154
|
+
|
|
155
|
+
## 1. Visual Theme & Atmosphere
|
|
156
|
+
|
|
157
|
+
choisis-ton-avenir.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
|
|
158
|
+
|
|
159
|
+
Headlines are set in **Merriweather**, a serif italic display face (the dominant type signature, e.g. "dans le Transport-Logistique" at 44px). A second display voice — **Poppins** (sans) — appears in lower bands (e.g. "Faire le quiz d’orientation"), used for editorial accent. Body text is set in **Poppins**. Headlines run at a remarkably light weight (400) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it.
|
|
160
|
+
|
|
161
|
+
Body text reads in Warm Brown (`#262626`) — softened from pure black, a small but deliberate detail that lowers reading friction. **#ffe456** (`#ffe456`) 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.
|
|
162
|
+
Motion design uses smooth easing curves for polished state transitions.
|
|
163
|
+
|
|
164
|
+
**Key Characteristics:**
|
|
165
|
+
- Background: Pure White (`#ffffff`)
|
|
166
|
+
- Primary typeface: Poppins
|
|
167
|
+
- Primary text: Warm Brown (`#262626`)
|
|
168
|
+
- Accent: #ffe456 (`#ffe456`)
|
|
169
|
+
- Shadow system: 3 distinct elevation levels
|
|
170
|
+
- Custom fonts loaded: Poppins, Merriweather, Playfair_Display, Tiro Bangla Italic
|
|
171
|
+
|
|
172
|
+
## 2. Color Palette & Roles
|
|
173
|
+
|
|
174
|
+
### Background & Surface
|
|
175
|
+
- **Pure White** (`#ffffff`): Page background (primary)
|
|
176
|
+
- **#ffe456** (`#ffe456`): Surface / elevated background
|
|
177
|
+
- **Ghost White** (`#f3f1fd`): Surface / elevated background
|
|
178
|
+
- **Ghost White** (`#f4f1fd`): Surface / elevated background
|
|
179
|
+
- **Off-Cream** (`#f7f7f7`): Surface / elevated background
|
|
180
|
+
|
|
181
|
+
### Text & Content
|
|
182
|
+
- **Warm Brown** (`#262626`): Primary body text
|
|
183
|
+
- **Pure Black** (`#000000`): Secondary text
|
|
184
|
+
- **Warm Brown** (`#212529`): Secondary text
|
|
185
|
+
- **Warm Brown** (`#23282d`): Secondary text
|
|
186
|
+
- **Warm Brown** (`#222222`): Secondary text
|
|
187
|
+
|
|
188
|
+
### Accent & Interactive
|
|
189
|
+
- **Deep Purple** (`#563cdc`): Interactive / accent
|
|
190
|
+
- **#ee5c53** (`#ee5c53`): Interactive / accent
|
|
191
|
+
- **Lavender** (`#bfb4f1`): Interactive / accent
|
|
192
|
+
- **Silver** (`#b2b0c6`): Interactive / accent
|
|
193
|
+
- **#f15c54** (`#f15c54`): Interactive / accent
|
|
194
|
+
- **#008000** (`#008000`): Interactive / accent
|
|
195
|
+
- **M Tricolor Blue** (`#1e73be`): Interactive / accent
|
|
196
|
+
|
|
197
|
+
### Border & Divider
|
|
198
|
+
- **Silver** (`#cccccc`): Borders / dividers
|
|
199
|
+
- **Silver** (`#c1c1c1`): Borders / dividers
|
|
200
|
+
|
|
201
|
+
### Full Extracted Palette
|
|
202
|
+
**30 colors rendered on the page** + **52** more declared in design tokens (CSS custom properties — not necessarily painted). (19 categorized above + 63 additional below.)
|
|
203
|
+
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
|
|
204
|
+
|
|
205
|
+
- `#666666` — Dim Gray
|
|
206
|
+
- `#404040` — Dark Gray
|
|
207
|
+
- `#fbfbfc` — Off-White
|
|
208
|
+
- `#f2f2f2` — Light Gray
|
|
209
|
+
- `rgba(239, 239, 239, 0.5)` — Translucent Light Gray (50%)
|
|
210
|
+
- `#573ddb` — Deep Purple
|
|
211
|
+
- `#f9f9f9` — Off-White
|
|
212
|
+
- `#333333` — Charcoal
|
|
213
|
+
- `#fce7e5` — Warm Cream
|
|
214
|
+
- `#888888` — Medium Gray
|
|
215
|
+
- `#00a0d2` — Sky Bright
|
|
216
|
+
- `#ffc107` — Amber *(token)*
|
|
217
|
+
- `#0dcaf0` — #0dcaf0 *(token)*
|
|
218
|
+
- `#fd7e14` — #fd7e14 *(token)*
|
|
219
|
+
- `#020381` — #020381 *(token)*
|
|
220
|
+
- `#2874fc` — Ring Blue *(token)*
|
|
221
|
+
- `#6c757d` — Slate Gray *(token)*
|
|
222
|
+
- `#7adcb4` — #7adcb4 *(token)*
|
|
223
|
+
- `#00d082` — Emerald *(token)*
|
|
224
|
+
- `#198754` — Teal *(token)*
|
|
225
|
+
- `#9b51e0` — Amethyst *(token)*
|
|
226
|
+
- `#ffceec` — Soft Pink *(token)*
|
|
227
|
+
- `#9896f0` — #9896f0 *(token)*
|
|
228
|
+
- `#f78da7` — #f78da7 *(token)*
|
|
229
|
+
- `#f56e28` — #f56e28 *(token)*
|
|
230
|
+
- `#0d6efd` — #0d6efd *(token)*
|
|
231
|
+
- `#abb8c3` — Silver *(token)*
|
|
232
|
+
- `#caf880` — #caf880 *(token)*
|
|
233
|
+
- `#71ce7e` — #71ce7e *(token)*
|
|
234
|
+
- `#fecda5` — Pink *(token)*
|
|
235
|
+
- `#fe2d2d` — M Tricolor Red *(token)*
|
|
236
|
+
- `#6b003e` — #6b003e *(token)*
|
|
237
|
+
- *…+31 more in `raw-css.json` (`desktop.allColors`).*
|
|
238
|
+
|
|
239
|
+
### Gradients & Decorative Fills
|
|
240
|
+
|
|
241
|
+
- `linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)` — (--wp--preset--gradient--midnight)
|
|
242
|
+
- `linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)` — (--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan)
|
|
243
|
+
- `linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)` — (--wp--preset--gradient--blush-light-purple)
|
|
244
|
+
- `linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)` — (--wp--preset--gradient--electric-grass)
|
|
245
|
+
- `linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)` — (--wp--preset--gradient--blush-bordeaux)
|
|
246
|
+
- `linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%)` — (--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple)
|
|
247
|
+
- `linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))` — (--bs-gradient)
|
|
248
|
+
- `linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)` — (--wp--preset--gradient--luminous-dusk)
|
|
249
|
+
|
|
250
|
+
### CSS Custom Properties (Design Tokens)
|
|
251
|
+
|
|
252
|
+
**Font Size Token**
|
|
253
|
+
- `--wp--preset--font-size--large`: `36px`
|
|
254
|
+
- `--wp--preset--font-size--x-large`: `42px`
|
|
255
|
+
- `--wp--preset--font-size--small`: `13px`
|
|
256
|
+
- `--wp--preset--font-size--medium`: `20px`
|
|
257
|
+
|
|
258
|
+
**Shadow Token**
|
|
259
|
+
- `--wp--preset--shadow--outlined`: `6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0)`
|
|
260
|
+
- `--wp--preset--shadow--deep`: `12px 12px 50px rgba(0, 0, 0, 0.4)`
|
|
261
|
+
- `--wp--preset--shadow--natural`: `6px 6px 9px rgba(0, 0, 0, 0.2)`
|
|
262
|
+
- `--wp--preset--shadow--crisp`: `6px 6px 0px rgb(0, 0, 0)`
|
|
263
|
+
|
|
264
|
+
**Spacing Token**
|
|
265
|
+
- `--bs-font-monospace`: `SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace`
|
|
266
|
+
- `--wp--preset--spacing--60`: `2.25rem`
|
|
267
|
+
- `--wp--preset--spacing--40`: `1rem`
|
|
268
|
+
- `--wp--preset--spacing--30`: `0.67rem`
|
|
269
|
+
|
|
270
|
+
**Border Radius Token**
|
|
271
|
+
- `--cmplz_button_border_radius`: `10px 10px 10px 10px`
|
|
272
|
+
- `--cmplz_banner_border_radius`: `12px 12px 12px 12px`
|
|
273
|
+
|
|
274
|
+
**Primary Brand Color**
|
|
275
|
+
- `--e-global-color-primary`: `#000000`
|
|
276
|
+
- `--e-global-color-accent`: `#61CE70`
|
|
277
|
+
|
|
278
|
+
**Font Weight Token**
|
|
279
|
+
- `--e-global-typography-secondary-font-weight`: `400`
|
|
280
|
+
- `--e-global-typography-accent-font-weight`: `500`
|
|
281
|
+
- `--e-global-typography-primary-font-weight`: `600`
|
|
282
|
+
- `--e-global-typography-text-font-weight`: `400`
|
|
283
|
+
|
|
284
|
+
**Font Family Token**
|
|
285
|
+
- `--e-global-typography-primary-font-family`: `"Poppins"`
|
|
286
|
+
- `--e-global-typography-secondary-font-family`: `"Tiro Bangla Italic"`
|
|
287
|
+
- `--e-global-typography-text-font-family`: `"Poppins"`
|
|
288
|
+
- `--e-global-typography-accent-font-family`: `"Poppins"`
|
|
289
|
+
|
|
290
|
+
**Text Color**
|
|
291
|
+
- `--e-global-color-text`: `#000000`
|
|
292
|
+
|
|
293
|
+
**Secondary Color**
|
|
294
|
+
- `--e-global-color-secondary`: `#54595F`
|
|
295
|
+
|
|
296
|
+
**Other tokens**
|
|
297
|
+
- `--cmplz_category_header_title_font_size`: `14px`
|
|
298
|
+
- `--wp--preset--color--vivid-purple`: `#9b51e0`
|
|
299
|
+
- `--cmplz_button_font_size`: `15px`
|
|
300
|
+
- `--wp--preset--color--pale-pink`: `#f78da7`
|
|
301
|
+
- `--cmplz_slider_inactive_color`: `#F56E28`
|
|
302
|
+
- `--bs-primary`: `#0d6efd`
|
|
303
|
+
- `--wp--preset--color--cyan-bluish-gray`: `#abb8c3`
|
|
304
|
+
- `--cmplz_text_font_size`: `14px`
|
|
305
|
+
|
|
306
|
+
## 3. Typography Rules
|
|
307
|
+
|
|
308
|
+
### Font Families
|
|
309
|
+
- **Primary**: `Poppins`
|
|
310
|
+
- **Secondary**: `Merriweather`
|
|
311
|
+
- **Font 3**: `Playfair_Display`
|
|
312
|
+
- **Font 4**: `Tiro Bangla Italic`
|
|
313
|
+
|
|
314
|
+
### Custom Fonts Loaded
|
|
315
|
+
- **Poppins** weight normal (normal)
|
|
316
|
+
- **Poppins** weight 500 (normal)
|
|
317
|
+
- **Poppins** weight bold (normal)
|
|
318
|
+
- **Merriweather** weight normal (normal)
|
|
319
|
+
- **Merriweather** weight bold (normal)
|
|
320
|
+
- **Playfair_Display** weight normal (normal)
|
|
321
|
+
- **Playfair_Display** weight bold (normal)
|
|
322
|
+
- **Tiro Bangla Italic** weight normal (italic)
|
|
323
|
+
|
|
324
|
+
### Typography Hierarchy
|
|
325
|
+
|
|
326
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
327
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
328
|
+
| Display Hero | Merriweather | 40px | 400 | 1.27 | normal | Main headline (h1) |
|
|
329
|
+
| Section Heading | Poppins | 40px | 400 | 1.27 | normal | Section titles (h1) |
|
|
330
|
+
| Sub-heading | Merriweather | 32px | 400 | 1 | normal | Third-level heading (h3) |
|
|
331
|
+
| Button Large | Poppins | 20px | 400 | 1 | normal | Button label (20px) |
|
|
332
|
+
| Body | Poppins | 16px | 400 | 1.5 | normal | Standard reading text |
|
|
333
|
+
| Caption / Badge | Poppins | 14px | 400 | 1.29 | normal | small text (14px) |
|
|
334
|
+
| Button Small | Poppins | 12px | 500 | 1.5 | normal | Button label (12px) |
|
|
335
|
+
| Link Small | Poppins | 12px | 400 | 1.17 | normal | Link (12px) — Decoration: none |
|
|
336
|
+
|
|
337
|
+
### Font Weight Scale
|
|
338
|
+
|
|
339
|
+
CSS custom properties define 4 explicit weight steps:
|
|
340
|
+
- `--e-global-typography-secondary-font-weight`: `400` — Regular
|
|
341
|
+
- `--e-global-typography-text-font-weight`: `400` — Regular
|
|
342
|
+
- `--e-global-typography-accent-font-weight`: `500` — Medium
|
|
343
|
+
- `--e-global-typography-primary-font-weight`: `600` — SemiBold
|
|
344
|
+
|
|
345
|
+
### Full Font Size Scale
|
|
346
|
+
|
|
347
|
+
Sizes detected in the design (descending): `55px`, `44px`, `40px`, `35px`, `32px`, `28px`, `25px`, `20px`, `19px`, `18px`, `16px`, `15px`, `14px`, `12px`, `11px`
|
|
348
|
+
|
|
349
|
+
> 9 size(s) detected outside the sampled hierarchy (55px, 44px, 35px, 28px, 25px, 19px, 18px, 15px, 11px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
|
|
350
|
+
|
|
351
|
+
## 4. Component Stylings
|
|
352
|
+
|
|
353
|
+
### Buttons
|
|
354
|
+
|
|
355
|
+
**Pill**
|
|
356
|
+
- Background: `#ffe456` `{colors.primary}`
|
|
357
|
+
- Text: `#262626` `{colors.ink}`
|
|
358
|
+
- Padding: 10px 14px
|
|
359
|
+
- Radius: 50px
|
|
360
|
+
- Font: 12px weight 500
|
|
361
|
+
- Use: Status pills, tags, chips
|
|
362
|
+
|
|
363
|
+
**Pill**
|
|
364
|
+
- Background: `#ffe456` `{colors.primary}`
|
|
365
|
+
- Text: `#262626` `{colors.ink}`
|
|
366
|
+
- Padding: 10px 15px
|
|
367
|
+
- Radius: 50px
|
|
368
|
+
- Font: 12px weight 500
|
|
369
|
+
- Use: Status pills, tags, chips
|
|
370
|
+
|
|
371
|
+
**Light / Invert**
|
|
372
|
+
- Background: `#ffffff` `{colors.background}`
|
|
373
|
+
- Text: `#222222`
|
|
374
|
+
- Padding: 15px
|
|
375
|
+
- Radius: 12px 12px 0px 0px
|
|
376
|
+
- Shadow: `rgba(0, 0, 0, 0.19) 0px 10px 20px 0px, rgba(0, 0, 0, 0.23) 0px 6px 6px 0px`
|
|
377
|
+
- Font: 16px weight 400
|
|
378
|
+
- Use: Bright CTA on dark sections
|
|
379
|
+
|
|
380
|
+
**Primary Brand**
|
|
381
|
+
- Background: `#ffe456` `{colors.primary}`
|
|
382
|
+
- Text: `#000000`
|
|
383
|
+
- Padding: 60px 25px
|
|
384
|
+
- Radius: 20px
|
|
385
|
+
- Font: 16px weight 400
|
|
386
|
+
- Use: Primary CTA / brand action
|
|
387
|
+
|
|
388
|
+
**Primary Brand**
|
|
389
|
+
- Background: `#ee5c53`
|
|
390
|
+
- Text: `#ffffff` `{colors.background}`
|
|
391
|
+
- Padding: 60px 25px
|
|
392
|
+
- Radius: 20px
|
|
393
|
+
- Font: 16px weight 400
|
|
394
|
+
- Use: Primary CTA / brand action
|
|
395
|
+
|
|
396
|
+
### Inputs & Forms
|
|
397
|
+
|
|
398
|
+
**Text Input**
|
|
399
|
+
- Background: `#ffffff` `{colors.background}`
|
|
400
|
+
- Text: `#666666` `{colors.hairline}`
|
|
401
|
+
- Padding: 15px 50px 15px 25px
|
|
402
|
+
- Radius: 50px
|
|
403
|
+
- Border: 1px solid rgb(204, 204, 204)
|
|
404
|
+
- Font: 16px weight 400
|
|
405
|
+
- Use: Text fields, search inputs
|
|
406
|
+
- Focus: color: `rgb(17, 17, 17)`, outline: `rgb(16, 16, 16) auto 1px`
|
|
407
|
+
|
|
408
|
+
### Navigation
|
|
409
|
+
|
|
410
|
+
**Main Nav**
|
|
411
|
+
- Background: `#ffffff` `{colors.background}`
|
|
412
|
+
- Padding: 20px 10px
|
|
413
|
+
- Radius: none
|
|
414
|
+
- Font: 16px weight 400
|
|
415
|
+
- Use: Fixed/sticky block nav — N/A items
|
|
416
|
+
|
|
417
|
+
### Search Bar
|
|
418
|
+
|
|
419
|
+
**Search Pill**
|
|
420
|
+
- Background: `#f3f1fd` `{colors.surface-1}`
|
|
421
|
+
- Text: `#262626` `{colors.ink}`
|
|
422
|
+
- Padding: 10px 90px 10px 15px
|
|
423
|
+
- Radius: 50px
|
|
424
|
+
- Font: 14px weight 400
|
|
425
|
+
- Use: Global pill-shaped search bar
|
|
426
|
+
- Focus: color: `rgb(17, 17, 17)`, outline: `rgb(16, 16, 16) auto 1px`
|
|
427
|
+
|
|
428
|
+
**Search Bar**
|
|
429
|
+
- Background: `transparent`
|
|
430
|
+
- Text: `#ffffff` `{colors.background}`
|
|
431
|
+
- Padding: 10px 0px 10px 25px
|
|
432
|
+
- Radius: 0px
|
|
433
|
+
- Font: 16px weight 700
|
|
434
|
+
- Use: Inline search form
|
|
435
|
+
- Focus: color: `rgb(17, 17, 17)`, outline: `rgb(16, 16, 16) auto 1px`
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
## 4b. Component Behaviors (State Matrix)
|
|
439
|
+
|
|
440
|
+
### Interaction State Narrative
|
|
441
|
+
|
|
442
|
+
- **Input**:
|
|
443
|
+
- **focus:** text #666666 → #111111
|
|
444
|
+
- **FooterLink**:
|
|
445
|
+
- **hover:** text #262626 → #312b4e, border changes
|
|
446
|
+
|
|
447
|
+
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
|
|
448
|
+
|
|
449
|
+
```yaml
|
|
450
|
+
component-behaviors:
|
|
451
|
+
button:
|
|
452
|
+
default:
|
|
453
|
+
bg: "rgb(87, 61, 219)"
|
|
454
|
+
fg: "rgb(255, 255, 255)"
|
|
455
|
+
border: "1px solid rgb(87, 61, 219)"
|
|
456
|
+
input:
|
|
457
|
+
default:
|
|
458
|
+
bg: "rgb(255, 255, 255)"
|
|
459
|
+
fg: "rgb(102, 102, 102)"
|
|
460
|
+
border: "1px solid rgb(204, 204, 204)"
|
|
461
|
+
focus:
|
|
462
|
+
bg: "rgb(255, 255, 255)"
|
|
463
|
+
fg: "rgb(17, 17, 17)"
|
|
464
|
+
border: "1px solid rgb(204, 204, 204)"
|
|
465
|
+
link:
|
|
466
|
+
default:
|
|
467
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
468
|
+
fg: "rgb(38, 38, 38)"
|
|
469
|
+
navLink:
|
|
470
|
+
default:
|
|
471
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
472
|
+
fg: "rgb(38, 38, 38)"
|
|
473
|
+
badge:
|
|
474
|
+
default:
|
|
475
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
476
|
+
fg: "rgb(38, 38, 38)"
|
|
477
|
+
shadow: "rgb(128, 128, 128) 0px 0px 5px 0px"
|
|
478
|
+
footerLink:
|
|
479
|
+
default:
|
|
480
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
481
|
+
fg: "rgb(38, 38, 38)"
|
|
482
|
+
hover:
|
|
483
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
484
|
+
fg: "rgb(49, 43, 78)"
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
## 4c. Component Vocabulary (Closed System)
|
|
491
|
+
|
|
492
|
+
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
|
|
493
|
+
|
|
494
|
+
### Buttons
|
|
495
|
+
- **3 shape(s)** in this system: `Pill`, `Light / Invert`, `Primary Brand`
|
|
496
|
+
- **DO NOT introduce new buttons variants** without justification
|
|
497
|
+
|
|
498
|
+
### Inputs & Forms
|
|
499
|
+
- **1 shape(s)** in this system: `Text Input`
|
|
500
|
+
- **DO NOT introduce new inputs & forms variants** without justification
|
|
501
|
+
|
|
502
|
+
### Navigation
|
|
503
|
+
- **1 shape(s)** in this system: `Main Nav`
|
|
504
|
+
- **DO NOT introduce new navigation variants** without justification
|
|
505
|
+
|
|
506
|
+
### Search Bar
|
|
507
|
+
- **2 shape(s)** in this system: `Search Pill`, `Search Bar`
|
|
508
|
+
- **DO NOT introduce new search bar variants** without justification
|
|
509
|
+
|
|
510
|
+
## 5. Layout Principles
|
|
511
|
+
|
|
512
|
+
### Layout Type
|
|
513
|
+
**top-nav + content**
|
|
514
|
+
|
|
515
|
+
### Grid
|
|
516
|
+
Single column, centered content
|
|
517
|
+
|
|
518
|
+
### Max Width
|
|
519
|
+
1200px
|
|
520
|
+
|
|
521
|
+
### Spacing System
|
|
522
|
+
Compact spacing — information density prioritized
|
|
523
|
+
|
|
524
|
+
| Token | Value |
|
|
525
|
+
|-------|-------|
|
|
526
|
+
| xxs | 2px |
|
|
527
|
+
| xs | 10px |
|
|
528
|
+
| sm | 15px |
|
|
529
|
+
| md | 20px |
|
|
530
|
+
| base | 24px |
|
|
531
|
+
| lg | 25px |
|
|
532
|
+
| xl | 30px |
|
|
533
|
+
| 2xl | 50px |
|
|
534
|
+
| 3xl | 64px |
|
|
535
|
+
|
|
536
|
+
### Border Radius Scale
|
|
537
|
+
| Name | Value | Use |
|
|
538
|
+
|------|-------|-----|
|
|
539
|
+
| None | 0px | No rounding |
|
|
540
|
+
| Xs | 4px | Tiny corners (badges, micro elements) |
|
|
541
|
+
| Sm | 10px | Buttons, inputs, small elements |
|
|
542
|
+
| Md | 12px | Cards, containers |
|
|
543
|
+
| Lg | 20px | Large rounded elements, pill segments |
|
|
544
|
+
| Xl | 25px | Category strips, featured containers |
|
|
545
|
+
| Full | 9999px | Pills, avatars, circular elements |
|
|
546
|
+
|
|
547
|
+
### Shape Language
|
|
548
|
+
|
|
549
|
+
| Component | Border Radius |
|
|
550
|
+
|-----------|---------------|
|
|
551
|
+
| Buttons | `50px` |
|
|
552
|
+
| Inputs & Forms | `50px` |
|
|
553
|
+
| Navigation | `none` |
|
|
554
|
+
| Search Bar | `50px` |
|
|
555
|
+
| Page Body | `0px` |
|
|
556
|
+
| Primary Input | `50px` |
|
|
557
|
+
|
|
558
|
+
**Shape Personality**: Sharp + Pill Contrast — Angular precision with pill-shaped accents (status badges, tags). Creates strong visual hierarchy.
|
|
559
|
+
|
|
560
|
+
**Full Radius Spectrum**: 0px, 2px, 3px, 4px, 10px, 12px, 20px, 25px (from `allBorderRadii` scan)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
## 5b. Spacing Rhythm Names
|
|
564
|
+
|
|
565
|
+
**Measured section rhythm**: bands use ~55px vertical padding (up to 100px) — **standard**. Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
|
|
566
|
+
|
|
567
|
+
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
|
|
568
|
+
|
|
569
|
+
| Name | Value | Use case |
|
|
570
|
+
|------|-------|----------|
|
|
571
|
+
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
|
|
572
|
+
| **section** | `30px` | Between major bands (color change, content shift) |
|
|
573
|
+
| **subsection** | `25px` | Within a section, between content groups |
|
|
574
|
+
| **card** | `20px` | Card padding, list-item spacing |
|
|
575
|
+
| **compact** | `15px` | Form fields, tight clusters, badge padding |
|
|
576
|
+
| **micro** | `10px` | Icon-text gap, tag inner padding |
|
|
577
|
+
|
|
578
|
+
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
|
|
579
|
+
|
|
580
|
+
## 5c. Widget & Structure Library
|
|
581
|
+
|
|
582
|
+
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
|
|
583
|
+
|
|
584
|
+
**4/8 structural patterns detected.**
|
|
585
|
+
|
|
586
|
+
### Hero Pattern
|
|
587
|
+
|
|
588
|
+
- **Composition:** split-left-text — Split layout, text-left/media-right — heading + body in left column, image/illustration in right column. Common for product showcases.
|
|
589
|
+
- **Viewport coverage:** full-viewport hero (≥70% screen height)
|
|
590
|
+
- **Heading:** "Bienvenue sur le site d'orientation dédié aux métiers du Transport et de la Logistique" — 40px left-aligned
|
|
591
|
+
- **Subheading:** "Envie d'aller plus loin ? Échangez en live avec un professionnel"
|
|
592
|
+
- **Media:** present, positioned right
|
|
593
|
+
- **CTAs:** 43 (primary: "Quiz : les 5 métiers faits pour vous ! À vous de jouer")
|
|
594
|
+
- **Clone instruction:** Reproduce the **split-left-text** layout. Use the heading font-size token at the documented size. Place media right of text.
|
|
595
|
+
|
|
596
|
+
### Navigation Pattern
|
|
597
|
+
|
|
598
|
+
- **Position:** static (scrolls with page)
|
|
599
|
+
- **Layout:** unknown — Layout not classified
|
|
600
|
+
- **Height:** 34px
|
|
601
|
+
- **Logo:** ✗ absent
|
|
602
|
+
- **Nav links:** 3 primary items
|
|
603
|
+
- **CTAs in nav:** 0 (no buttons — links only)
|
|
604
|
+
- **Clone instruction:** Build a static unknown navigation. Link-only — no button styling needed.
|
|
605
|
+
|
|
606
|
+
### Card Grid Pattern
|
|
607
|
+
|
|
608
|
+
- **Card count:** 14 cards detected
|
|
609
|
+
- **Columns (desktop):** 1-up grid
|
|
610
|
+
- **Card dimensions:** 1140×554px (aspect 2.06:1)
|
|
611
|
+
- **Gap:** 0px between cards
|
|
612
|
+
- **Content:** ✓ image
|
|
613
|
+
- **Image position:** top
|
|
614
|
+
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~2.06:1 aspect ratio. Each card has an image at the top.
|
|
615
|
+
|
|
616
|
+
### Footer Pattern
|
|
617
|
+
|
|
618
|
+
- **Columns:** 1
|
|
619
|
+
- **Links:** 15 total
|
|
620
|
+
- **Height:** 518px
|
|
621
|
+
- **Includes:** ✗ no newsletter | ✓ social icons |
|
|
622
|
+
- **Clone instruction:** Build a 1-column footer with ~15 links per column, social media links.
|
|
623
|
+
|
|
624
|
+
## 6. Depth & Elevation
|
|
625
|
+
|
|
626
|
+
| Level | Treatment | Use |
|
|
627
|
+
|-------|-----------|-----|
|
|
628
|
+
| Flat (Level 0) | No shadow | Page background, content blocks |
|
|
629
|
+
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0.19) 0px 10px 20px 0px`,<br>`rgba(0, 0, 0, 0.23) 0px 6px 6px 0px` | Cards, elevated surfaces |
|
|
630
|
+
| Layered (Level 2) | <br>`rgba(0, 0, 0, 0.05) 0px -2px 3px 0px` | Cards, elevated surfaces |
|
|
631
|
+
| Layered (Level 3) | <br>`rgb(128, 128, 128) 0px 0px 5px 0px` | Cards, elevated surfaces |
|
|
632
|
+
|
|
633
|
+
**Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
|
|
634
|
+
|
|
635
|
+
## 7. Motion & Interaction
|
|
636
|
+
|
|
637
|
+
### Dominant Easing Curves
|
|
638
|
+
|
|
639
|
+
| Curve | Semantic Name |
|
|
640
|
+
|-------|---------------|
|
|
641
|
+
| `ease` | CSS ease — Default |
|
|
642
|
+
| `ease-in` | Ease In — Accelerating |
|
|
643
|
+
| `ease-in-out` | Ease In-Out — Symmetric |
|
|
644
|
+
|
|
645
|
+
### Duration Scale
|
|
646
|
+
|
|
647
|
+
| Value | Tier | Typical Use |
|
|
648
|
+
|-------|------|-------------|
|
|
649
|
+
| `150ms` | Fast | Hover states, micro-interactions |
|
|
650
|
+
| `300ms` | Normal | Panel open/close, navigation |
|
|
651
|
+
| `400ms` | Slow | Hero animations, page transitions |
|
|
652
|
+
| `500ms` | Slow | Hero animations, page transitions |
|
|
653
|
+
|
|
654
|
+
### Copy-Paste Transition Snippets
|
|
655
|
+
|
|
656
|
+
**Background**
|
|
657
|
+
```css
|
|
658
|
+
transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s, transform 0.4s;
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
**All Props**
|
|
662
|
+
```css
|
|
663
|
+
transition: 0.3s ease-in;
|
|
664
|
+
```
|
|
665
|
+
|
|
666
|
+
**All Props**
|
|
667
|
+
```css
|
|
668
|
+
transition: 0.5s ease-in-out;
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
**Opacity**
|
|
672
|
+
```css
|
|
673
|
+
transition: opacity 0.15s linear;
|
|
674
|
+
```
|
|
675
|
+
|
|
676
|
+
### Keyframe Animation Catalog
|
|
677
|
+
|
|
678
|
+
| Animation Name | Type | Animated Props | Use Hint |
|
|
679
|
+
|----------------|------|----------------|----------|
|
|
680
|
+
| `spin` | Rotate / Spin | transform | Loading indicator |
|
|
681
|
+
| `blink` | Fade | opacity | Attention / status |
|
|
682
|
+
| `cmplz-fadein` | Fade | opacity | Element entrance |
|
|
683
|
+
| `progress-bar-stripes` | Custom | background-position-x | UI transition |
|
|
684
|
+
| `spinner-border` | Rotate / Spin | transform | Loading indicator |
|
|
685
|
+
| `spinner-grow` | Fade + Move | transform, opacity | Loading indicator |
|
|
686
|
+
| `changeWidth` | Custom | width | UI transition |
|
|
687
|
+
| `eicon-spin` | Rotate / Spin | transform | Loading indicator |
|
|
688
|
+
| `mc_slideIn` | Custom | bottom | Panel / drawer enter |
|
|
689
|
+
| `mc_slideOut` | Custom | bottom | Panel / drawer exit |
|
|
690
|
+
| `fadeIn` | Fade | opacity | Element entrance |
|
|
691
|
+
|
|
692
|
+
### Motion Fingerprint
|
|
693
|
+
|
|
694
|
+
- **Speed Character**: Deliberate & Calm (median duration: `400ms`)
|
|
695
|
+
- **Dominant Easing**: custom cubic-bezier curves
|
|
696
|
+
- **Animation Library**: 11 unique animations (11 total including variants)
|
|
697
|
+
|
|
698
|
+
> This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
|
|
699
|
+
|
|
700
|
+
## 8. Do's and Don'ts
|
|
701
|
+
|
|
702
|
+
### Do
|
|
703
|
+
- Use Warm Brown (`#262626`) for text — not pure black, it's warmer and more readable
|
|
704
|
+
- Use Poppins as the primary typeface — it defines the brand personality
|
|
705
|
+
- Keep font weights between 400-600 — the system uses a narrow weight range for subtle hierarchy
|
|
706
|
+
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
|
|
707
|
+
- Use #ffe456 (`#ffe456`) as the primary accent — it's the brand's signature interactive color
|
|
708
|
+
- Use 50px border-radius on primary buttons — the brand uses generously-rounded CTAs
|
|
709
|
+
- Style form inputs with a `1px solid rgb(204, 204, 204)` border — use border-based inputs, not floating labels or underline-only
|
|
710
|
+
- Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
|
|
711
|
+
- Build the hero as a split layout with media on the left — text and visual share equal weight
|
|
712
|
+
- Include exactly 43 CTAs in the hero (primary + secondary) — this design pattern is multi-action, not single-purpose
|
|
713
|
+
- Each card includes a top image — imagery is part of the card identity, not optional
|
|
714
|
+
|
|
715
|
+
### Don't
|
|
716
|
+
- Don't use pure black (`#000000`) for text — the near-black adds warmth
|
|
717
|
+
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
|
|
718
|
+
- Don't use weight 700 (bold) or above — 600 is the maximum weight in this system
|
|
719
|
+
- Don't invent new shadow values — use only the extracted shadow levels
|
|
720
|
+
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
|
|
721
|
+
- Don't use sharp-cornered or pill buttons — 50px is the CTA border-radius standard
|
|
722
|
+
- Don't remove the input border — the border is the primary affordance indicator for form fields
|
|
723
|
+
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
|
|
724
|
+
- Don't put a CTA button in the nav — this design uses links only at the top
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
## 7b. Enforceable Brand Rules
|
|
728
|
+
|
|
729
|
+
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
|
|
730
|
+
|
|
731
|
+
```yaml
|
|
732
|
+
rules:
|
|
733
|
+
- id: brand-canvas-001
|
|
734
|
+
type: do
|
|
735
|
+
rule: "Always use the page background `rgb(255, 255, 255)` as the base canvas"
|
|
736
|
+
why: "Every component is designed to composit against this exact tone"
|
|
737
|
+
test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
|
|
738
|
+
- id: brand-accent-001
|
|
739
|
+
type: do
|
|
740
|
+
rule: "Reserve `rgb(255, 228, 86)` for primary CTAs and brand-mark signals only"
|
|
741
|
+
why: "Single chromatic assertion device — overuse dilutes meaning"
|
|
742
|
+
test: "querySelectorAll('[style*=\"rgb(255, 228, 86)\"]').length <= 3 per fold"
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
## 9. Responsive Behavior
|
|
746
|
+
|
|
747
|
+
### Breakpoints
|
|
748
|
+
| Name | Width | Key Changes |
|
|
749
|
+
|------|-------|-------------|
|
|
750
|
+
| Mobile | 400px | Single column, compact spacing |
|
|
751
|
+
| Mobile | 479px | Single column, compact spacing |
|
|
752
|
+
| Mobile Large | 767px | Expanded mobile layout |
|
|
753
|
+
| Tablet | 1024px | Multi-column grids begin |
|
|
754
|
+
| Large Desktop | 1300px | Maximum content width |
|
|
755
|
+
| Large Desktop | 1440px | Maximum content width |
|
|
756
|
+
|
|
757
|
+
### Token Diff — Desktop vs Mobile
|
|
758
|
+
|
|
759
|
+
| Element | Property | Desktop | Mobile |
|
|
760
|
+
|---------|----------|---------|--------|
|
|
761
|
+
| heading | font-size | `40px` | `30px` |
|
|
762
|
+
| heading | line-height | `51px` | `38px` |
|
|
763
|
+
| nav | height | `34px` | `auto` |
|
|
764
|
+
|
|
765
|
+
### Collapsing Strategy
|
|
766
|
+
- Headlines: 40px → 30px on mobile
|
|
767
|
+
- Navigation: horizontal links → hamburger menu on mobile
|
|
768
|
+
- Cards: multi-column → stacked vertical on mobile
|
|
769
|
+
- Footer: multi-column → stacked single column on mobile
|
|
770
|
+
|
|
771
|
+
### Touch Targets
|
|
772
|
+
- Buttons: 0px padding
|
|
773
|
+
- Navigation: adequate spacing between items
|
|
774
|
+
- Interactive elements: minimum 44px touch target recommended
|
|
775
|
+
|
|
776
|
+
### Collapsing Narrative
|
|
777
|
+
|
|
778
|
+
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
|
|
779
|
+
|
|
780
|
+
- **Hero collapses split-left-text → split-right-text** — composition shifts (verify on actual mobile render).
|
|
781
|
+
- **Hero CTAs:** 43 on desktop → 28 on mobile (secondary CTAs dropped on small screens).
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
## 7c. Visual Effects & Dynamic Behavior
|
|
785
|
+
|
|
786
|
+
*The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
|
|
787
|
+
|
|
788
|
+
- **Clip-path shapes** — 7 non-rectangular cut(s).
|
|
789
|
+
- **CSS-variable animations** (1) — animated custom properties.
|
|
790
|
+
|
|
791
|
+
> **Motion fingerprint**: non-rectangular shapes (7)
|
|
792
|
+
|
|
793
|
+
## 9b. Visual Tone & Photography
|
|
794
|
+
|
|
795
|
+
**Tone:** Photography-driven
|
|
796
|
+
|
|
797
|
+
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.
|
|
798
|
+
|
|
799
|
+
**Canonical Brand Image (OG):**
|
|
800
|
+
- https://www.choisis-ton-avenir.com/wp-content/uploads/2024/03/boule_-gif_00_delay-0.05s.gif
|
|
801
|
+
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
|
|
802
|
+
|
|
803
|
+
**Hero Image (above-fold dominant visual):**
|
|
804
|
+
- Aspect: 0.9:1 (square / portrait)
|
|
805
|
+
- Rendered size: 169×188px
|
|
806
|
+
- Alt text: "Quiz : les 5 métiers faits pour vous !"
|
|
807
|
+
- *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
|
|
808
|
+
|
|
809
|
+
**Aspect Ratio Distribution:**
|
|
810
|
+
- Landscape (1.15–2.3): 19 (23%)
|
|
811
|
+
- Portrait (<0.87): 54 (67%)
|
|
812
|
+
- Square (0.87–1.15): 7 (9%)
|
|
813
|
+
- Ultra-wide (>2.3): 1 (1%)
|
|
814
|
+
|
|
815
|
+
**Media Format Mix:**
|
|
816
|
+
- JPG: 11 (typically photographic content)
|
|
817
|
+
- PNG: 63 (logos, transparent UI elements, mockups)
|
|
818
|
+
- SVG: 1 (icons, illustrations, decorative geometry)
|
|
819
|
+
- GIF: 6 (animated content)
|
|
820
|
+
|
|
821
|
+
**Average rendered image size:** 340×452px
|
|
822
|
+
**Above-fold image count:** 0 / 81
|
|
823
|
+
|
|
824
|
+
**Imagery Guidance for clones:**
|
|
825
|
+
- Source authentic photography (or licensed stock that matches the brand mood) — placeholders will visibly degrade the clone.
|
|
826
|
+
- Match the dominant aspect ratio (see above) so card grids and hero compositions hold.
|
|
827
|
+
|
|
828
|
+
## 10. Agent Prompt Guide
|
|
829
|
+
|
|
830
|
+
### Quick Reference
|
|
831
|
+
- Background: Pure White (`#ffffff`)
|
|
832
|
+
- Primary text: Warm Brown (`#262626`)
|
|
833
|
+
- Accent: #ffe456 (`#ffe456`)
|
|
834
|
+
- Border: Dim Gray (`#666666`)
|
|
835
|
+
- Font: Poppins
|
|
836
|
+
- Body: 16px weight 400
|
|
837
|
+
|
|
838
|
+
### Example Component Prompts
|
|
839
|
+
- "Create a hero section on Pure White background (#ffffff). Headline at 40px Poppins weight 400, line-height 1.27, color #262626."
|
|
840
|
+
- "Create the primary CTA button: `#ffe456` background, `#262626` text, 50px border-radius, 10px 14px padding, 500 weight, Poppins font."
|
|
841
|
+
- "Build navigation: static on `#ffffff`. Poppins 16px weight 400 for links."
|
|
842
|
+
|
|
843
|
+
### Iteration Guide
|
|
844
|
+
1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
|
|
845
|
+
2. **Typography**: All type in Poppins, weight range 400–600. Never exceed 600 — heavier weights break the brand's tonal restraint.
|
|
846
|
+
3. **Accent**: #ffe456 (`#ffe456`) is the sole interactive color. On hover → Deep Purple (`#563cdc`). Use CSS transitions, not opacity/brightness filters.
|
|
847
|
+
4. **Shape**: CTAs at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
|
|
848
|
+
5. **Spacing**: Use the `--ca-space-*` token scale (10px–30px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
|
|
849
|
+
6. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
|
|
850
|
+
|
|
851
|
+
## 11. CSS Design Tokens Raw Export
|
|
852
|
+
|
|
853
|
+
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
|
|
854
|
+
|
|
855
|
+
```css
|
|
856
|
+
/* Colors */
|
|
857
|
+
:root {
|
|
858
|
+
--ca-background: #ffffff;
|
|
859
|
+
--ca-surface-1: #f3f1fd;
|
|
860
|
+
--ca-surface-2: #f4f1fd;
|
|
861
|
+
--ca-ink: #262626;
|
|
862
|
+
--ca-ink-subtle: #54595f;
|
|
863
|
+
--ca-primary: #ffe456;
|
|
864
|
+
--ca-on-primary: #111111;
|
|
865
|
+
--ca-primary-hover: #563cdc;
|
|
866
|
+
--ca-hairline: #666666;
|
|
867
|
+
--ca-semantic-error: #dc3545;
|
|
868
|
+
--ca-semantic-success: #198754;
|
|
869
|
+
--ca-semantic-warning: #ffc107;
|
|
870
|
+
--ca-semantic-info: #0dcaf0;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
/* Typography */
|
|
874
|
+
:root {
|
|
875
|
+
--ca-font-primary: "Merriweather", system-ui, sans-serif;
|
|
876
|
+
--ca-text-display: 40px;
|
|
877
|
+
--ca-text-heading: 40px;
|
|
878
|
+
--ca-text-body: 16px;
|
|
879
|
+
--ca-text-small: 12px;
|
|
880
|
+
--ca-text-caption: 14px;
|
|
881
|
+
--ca-text-button: 20px;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/* Spacing & Radius */
|
|
885
|
+
:root {
|
|
886
|
+
--ca-space-xxs: 2px;
|
|
887
|
+
--ca-space-xs: 10px;
|
|
888
|
+
--ca-space-sm: 15px;
|
|
889
|
+
--ca-space-md: 20px;
|
|
890
|
+
--ca-space-base: 24px;
|
|
891
|
+
--ca-space-lg: 25px;
|
|
892
|
+
--ca-space-xl: 30px;
|
|
893
|
+
--ca-space-2xl: 50px;
|
|
894
|
+
--ca-space-3xl: 64px;
|
|
895
|
+
--ca-radius-none: 0px;
|
|
896
|
+
--ca-radius-xs: 4px;
|
|
897
|
+
--ca-radius-sm: 10px;
|
|
898
|
+
--ca-radius-md: 12px;
|
|
899
|
+
--ca-radius-lg: 20px;
|
|
900
|
+
--ca-radius-xl: 25px;
|
|
901
|
+
--ca-radius-full: 9999px;
|
|
902
|
+
}
|
|
903
|
+
```
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
## 13. Page Structure Skeleton
|
|
907
|
+
|
|
908
|
+
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
|
|
909
|
+
|
|
910
|
+
```yaml
|
|
911
|
+
page-skeleton:
|
|
912
|
+
- section: hero
|
|
913
|
+
tag: div
|
|
914
|
+
classes: ["site"]
|
|
915
|
+
height: 7209px
|
|
916
|
+
width: full-bleed
|
|
917
|
+
layout: block
|
|
918
|
+
children: 4
|
|
919
|
+
tone: dark
|
|
920
|
+
- section: header
|
|
921
|
+
tag: header
|
|
922
|
+
classes: ["site-header"]
|
|
923
|
+
height: 82px
|
|
924
|
+
width: full-bleed
|
|
925
|
+
layout: block
|
|
926
|
+
children: 1
|
|
927
|
+
bg: "rgb(255, 255, 255)"
|
|
928
|
+
padding: "20px 10px"
|
|
929
|
+
- section: unknown
|
|
930
|
+
tag: div
|
|
931
|
+
classes: ["section-1"]
|
|
932
|
+
height: 84px
|
|
933
|
+
width: full-bleed
|
|
934
|
+
layout: flex-row justify=space-between
|
|
935
|
+
children: 2
|
|
936
|
+
tone: dark
|
|
937
|
+
padding: "20px 10px"
|
|
938
|
+
- section: unknown
|
|
939
|
+
tag: div
|
|
940
|
+
classes: ["section-1"]
|
|
941
|
+
height: 84px
|
|
942
|
+
width: full-bleed
|
|
943
|
+
layout: flex-row justify=space-between
|
|
944
|
+
children: 2
|
|
945
|
+
tone: dark
|
|
946
|
+
padding: "20px 10px"
|
|
947
|
+
- section: feature-section
|
|
948
|
+
tag: div
|
|
949
|
+
classes: ["elementor-element", "elementor-widget", "elementor-widget-Bloc_Tetiere_Home"]
|
|
950
|
+
height: 562px
|
|
951
|
+
width: 1140px
|
|
952
|
+
layout: block
|
|
953
|
+
children: 1
|
|
954
|
+
tone: dark
|
|
955
|
+
- section: feature-section
|
|
956
|
+
tag: main
|
|
957
|
+
classes: ["site-main"]
|
|
958
|
+
height: 6609px
|
|
959
|
+
width: full-bleed
|
|
960
|
+
layout: block
|
|
961
|
+
children: 1
|
|
962
|
+
tone: dark
|
|
963
|
+
- section: feature-section
|
|
964
|
+
tag: section
|
|
965
|
+
classes: ["elementor-section", "elementor-element", "elementor-section-boxed", "elementor-section-height-default"]
|
|
966
|
+
height: 6609px
|
|
967
|
+
width: full-bleed
|
|
968
|
+
layout: block
|
|
969
|
+
children: 1
|
|
970
|
+
tone: dark
|
|
971
|
+
- section: feature-section
|
|
972
|
+
tag: div
|
|
973
|
+
classes: ["elementor-container"]
|
|
974
|
+
height: 6609px
|
|
975
|
+
width: 1140px
|
|
976
|
+
layout: flex-row justify=normal
|
|
977
|
+
children: 1
|
|
978
|
+
tone: dark
|
|
979
|
+
- section: feature-section
|
|
980
|
+
tag: div
|
|
981
|
+
classes: ["elementor-widget-container"]
|
|
982
|
+
height: 562px
|
|
983
|
+
width: 1140px
|
|
984
|
+
layout: block
|
|
985
|
+
children: 1
|
|
986
|
+
tone: dark
|
|
987
|
+
- section: feature-section
|
|
988
|
+
tag: div
|
|
989
|
+
classes: ["container"]
|
|
990
|
+
height: 562px
|
|
991
|
+
width: full-bleed
|
|
992
|
+
layout: block
|
|
993
|
+
children: 1
|
|
994
|
+
tone: dark
|
|
995
|
+
padding: "0px 12px"
|
|
996
|
+
- section: unknown
|
|
997
|
+
tag: div
|
|
998
|
+
classes: ["image-wrapper"]
|
|
999
|
+
height: 562px
|
|
1000
|
+
width: 600px
|
|
1001
|
+
layout: block
|
|
1002
|
+
children: 1
|
|
1003
|
+
tone: dark
|
|
1004
|
+
- section: unknown
|
|
1005
|
+
tag: div
|
|
1006
|
+
classes: ["section-2"]
|
|
1007
|
+
height: 517px
|
|
1008
|
+
width: full-bleed
|
|
1009
|
+
layout: block
|
|
1010
|
+
children: 1
|
|
1011
|
+
tone: dark
|
|
1012
|
+
- section: content-section
|
|
1013
|
+
tag: div
|
|
1014
|
+
classes: ["section-2"]
|
|
1015
|
+
height: 510px
|
|
1016
|
+
width: full-bleed
|
|
1017
|
+
layout: block
|
|
1018
|
+
children: 2
|
|
1019
|
+
tone: dark
|
|
1020
|
+
vertical-padding: ~50px
|
|
1021
|
+
padding: "50px 0px"
|
|
1022
|
+
- section: navigation
|
|
1023
|
+
tag: nav
|
|
1024
|
+
classes: ["menu-burger-wrapper-inner"]
|
|
1025
|
+
height: 516px
|
|
1026
|
+
width: 1116px
|
|
1027
|
+
layout: block
|
|
1028
|
+
children: 1
|
|
1029
|
+
tone: dark
|
|
1030
|
+
- section: unknown
|
|
1031
|
+
tag: div
|
|
1032
|
+
classes: ["container"]
|
|
1033
|
+
height: 516px
|
|
1034
|
+
width: 1140px
|
|
1035
|
+
layout: block
|
|
1036
|
+
children: 1
|
|
1037
|
+
tone: dark
|
|
1038
|
+
padding: "0px 12px"
|
|
1039
|
+
- section: unknown
|
|
1040
|
+
tag: div
|
|
1041
|
+
classes: ["menu-menu-burger-container"]
|
|
1042
|
+
height: 516px
|
|
1043
|
+
width: 1116px
|
|
1044
|
+
layout: block
|
|
1045
|
+
children: 1
|
|
1046
|
+
tone: dark
|
|
1047
|
+
vertical-padding: ~50px
|
|
1048
|
+
- section: content-section
|
|
1049
|
+
tag: div
|
|
1050
|
+
classes: ["container"]
|
|
1051
|
+
height: 86px
|
|
1052
|
+
width: 1140px
|
|
1053
|
+
layout: block
|
|
1054
|
+
children: 4
|
|
1055
|
+
tone: dark
|
|
1056
|
+
padding: "0px 12px"
|
|
1057
|
+
- section: unknown
|
|
1058
|
+
tag: div
|
|
1059
|
+
classes: ["results-container", "default", "active"]
|
|
1060
|
+
height: 86px
|
|
1061
|
+
width: 1116px
|
|
1062
|
+
layout: block
|
|
1063
|
+
children: 3
|
|
1064
|
+
tone: dark
|
|
1065
|
+
- section: unknown
|
|
1066
|
+
tag: div
|
|
1067
|
+
classes: ["elementor-element", "elementor-hidden-tablet", "elementor-hidden-mobile", "elementor-widget"]
|
|
1068
|
+
height: 748px
|
|
1069
|
+
width: 1140px
|
|
1070
|
+
layout: block
|
|
1071
|
+
children: 1
|
|
1072
|
+
tone: dark
|
|
1073
|
+
- section: unknown
|
|
1074
|
+
tag: div
|
|
1075
|
+
classes: ["elementor-widget-container"]
|
|
1076
|
+
height: 748px
|
|
1077
|
+
width: 1140px
|
|
1078
|
+
layout: block
|
|
1079
|
+
children: 1
|
|
1080
|
+
tone: dark
|
|
1081
|
+
vertical-padding: ~55px
|
|
1082
|
+
- section: unknown
|
|
1083
|
+
tag: div
|
|
1084
|
+
classes: ["container"]
|
|
1085
|
+
height: 638px
|
|
1086
|
+
width: 945px
|
|
1087
|
+
layout: block
|
|
1088
|
+
children: 2
|
|
1089
|
+
tone: dark
|
|
1090
|
+
padding: "0px 12px"
|
|
1091
|
+
- section: feature-section
|
|
1092
|
+
tag: div
|
|
1093
|
+
classes: ["elementor-element", "elementor-hidden-tablet", "elementor-hidden-mobile", "elementor-widget"]
|
|
1094
|
+
height: 474px
|
|
1095
|
+
width: 1140px
|
|
1096
|
+
layout: block
|
|
1097
|
+
children: 1
|
|
1098
|
+
tone: dark
|
|
1099
|
+
- section: feature-section
|
|
1100
|
+
tag: div
|
|
1101
|
+
classes: ["elementor-widget-container"]
|
|
1102
|
+
height: 474px
|
|
1103
|
+
width: 1140px
|
|
1104
|
+
layout: block
|
|
1105
|
+
children: 1
|
|
1106
|
+
tone: dark
|
|
1107
|
+
vertical-padding: ~50px
|
|
1108
|
+
- section: feature-section
|
|
1109
|
+
tag: div
|
|
1110
|
+
classes: ["container"]
|
|
1111
|
+
height: 374px
|
|
1112
|
+
width: 1120px
|
|
1113
|
+
layout: block
|
|
1114
|
+
children: 3
|
|
1115
|
+
tone: dark
|
|
1116
|
+
padding: "0px 12px"
|
|
1117
|
+
- section: feature-section
|
|
1118
|
+
tag: div
|
|
1119
|
+
classes: ["elementor-element", "elementor-hidden-tablet", "elementor-hidden-mobile", "elementor-widget"]
|
|
1120
|
+
height: 261px
|
|
1121
|
+
width: 1140px
|
|
1122
|
+
layout: block
|
|
1123
|
+
children: 1
|
|
1124
|
+
tone: dark
|
|
1125
|
+
```
|
|
1126
|
+
|
|
1127
|
+
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
## 14. Copy Library (Real Content from Source)
|
|
1131
|
+
|
|
1132
|
+
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
|
|
1133
|
+
|
|
1134
|
+
```yaml
|
|
1135
|
+
copy:
|
|
1136
|
+
section-headings:
|
|
1137
|
+
- "Envie d'aller plus loin ?
|
|
1138
|
+
Échangez en live avec un professionnel"
|
|
1139
|
+
- "Le Transport et la Logistique"
|
|
1140
|
+
- "Agenda"
|
|
1141
|
+
- "Actualités"
|
|
1142
|
+
- "Les chiffres à retenir
|
|
1143
|
+
dans le Transport-Logistique"
|
|
1144
|
+
- "Mobilité européenne
|
|
1145
|
+
Partez à l’aventure avec Erasmus+"
|
|
1146
|
+
sub-headings:
|
|
1147
|
+
- "C’est + de 50 métiers"
|
|
1148
|
+
ctas:
|
|
1149
|
+
- "Quels métiers faits pour vous ?"
|
|
1150
|
+
- "À vous de jouer"
|
|
1151
|
+
- "Voir plus de chiffres"
|
|
1152
|
+
- "Plus d'informations sur Erasmus+"
|
|
1153
|
+
- "Gérer le consentement"
|
|
1154
|
+
navigation:
|
|
1155
|
+
- "Quels métiers faits pour vous ?"
|
|
1156
|
+
- "Découvrez tous les métiers"
|
|
1157
|
+
- "Échangez avec un pro"
|
|
1158
|
+
- "Trouvez votre formation"
|
|
1159
|
+
- "Faire le quiz d’orientation"
|
|
1160
|
+
- "Découvrir les métiers"
|
|
1161
|
+
- "Échanger avec un pro"
|
|
1162
|
+
- "Trouver sa formation"
|
|
1163
|
+
- "Actualités"
|
|
1164
|
+
- "Agenda"
|
|
1165
|
+
footer-links:
|
|
1166
|
+
- "Faire le quiz d’orientation"
|
|
1167
|
+
- "Mentions légales"
|
|
1168
|
+
```
|
|
1169
|
+
|
|
1170
|
+
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
## 15. Asset Inventory (Image Roles & Ratios)
|
|
1174
|
+
|
|
1175
|
+
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
|
|
1176
|
+
|
|
1177
|
+
```yaml
|
|
1178
|
+
assets:
|
|
1179
|
+
logo:
|
|
1180
|
+
count: 3
|
|
1181
|
+
avg-ratio: 3.75
|
|
1182
|
+
common-aspect: "~16:6 banner"
|
|
1183
|
+
sample-alts:
|
|
1184
|
+
- "Choisis ton avenir"
|
|
1185
|
+
- "Choisis ton avenir"
|
|
1186
|
+
- "Choisis ton avenir"
|
|
1187
|
+
product:
|
|
1188
|
+
count: 6
|
|
1189
|
+
avg-ratio: 0.90
|
|
1190
|
+
common-aspect: "~1:1 square"
|
|
1191
|
+
sample-alts:
|
|
1192
|
+
- "Quiz : les 5 métiers faits pour vous !"
|
|
1193
|
+
- "Quiz : les 5 métiers faits pour vous !"
|
|
1194
|
+
- "Découvrez tous les métiers"
|
|
1195
|
+
editorial:
|
|
1196
|
+
count: 36
|
|
1197
|
+
avg-ratio: 0.60
|
|
1198
|
+
common-aspect: "~9:16 portrait"
|
|
1199
|
+
sample-alts:
|
|
1200
|
+
- "video"
|
|
1201
|
+
- "video"
|
|
1202
|
+
- "video"
|
|
1203
|
+
```
|
|
1204
|
+
|
|
1205
|
+
**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`.
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
## 16. Component HTML Templates
|
|
1209
|
+
|
|
1210
|
+
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
|
|
1211
|
+
|
|
1212
|
+
### Button (primary action)
|
|
1213
|
+
```html
|
|
1214
|
+
<button class="btn btn-primary">
|
|
1215
|
+
Quels métiers faits pour vous ?
|
|
1216
|
+
</button>
|
|
1217
|
+
```
|
|
1218
|
+
_Source pattern detected: padding `0px` · radius `0px` · weight `400`_
|
|
1219
|
+
|
|
1220
|
+
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
## 12. Known Extraction Gaps
|
|
1224
|
+
|
|
1225
|
+
*Auto-detected limitations of this extraction — understand before building:*
|
|
1226
|
+
|
|
1227
|
+
- **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.
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
---
|
|
1231
|
+
## Extraction Completeness: 84/100 (B)
|
|
1232
|
+
|
|
1233
|
+
| Category | Score | Max | Detail |
|
|
1234
|
+
|----------|-------|-----|--------|
|
|
1235
|
+
| Colors & Palette | 25 | 25 | 19 named colors |
|
|
1236
|
+
| Typography | 20 | 20 | 8 roles defined |
|
|
1237
|
+
| Components | 16 | 20 | 4 specs extracted |
|
|
1238
|
+
| Motion & Interaction | 12 | 15 | Keyframes present |
|
|
1239
|
+
| CSS Custom Properties | 6 | 10 | 121 vars |
|
|
1240
|
+
| Responsive Breakpoints | 5 | 5 | 6 breakpoints |
|
|
1241
|
+
| Variable Fonts | 0 | 5 | None detected |
|
|
1242
|
+
|
|
1243
|
+
## 12. Known Gaps & Confidence
|
|
1244
|
+
|
|
1245
|
+
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.
|
|
1246
|
+
|
|
1247
|
+
*✅ No critical extraction gaps detected — high-confidence reproduction expected.*
|
|
1248
|
+
|
|
1249
|
+
### Per-section confidence
|
|
1250
|
+
|
|
1251
|
+
| Section | Confidence | Reason |
|
|
1252
|
+
|---------|------------|--------|
|
|
1253
|
+
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
|
|
1254
|
+
| §2 Colors | High | 121 CSS vars (semantic naming requires ≥20 for high) |
|
|
1255
|
+
| §3 Typography | High | 8 typography roles inferred |
|
|
1256
|
+
| §4 Components | Medium | 4 component variants captured |
|
|
1257
|
+
| §7 Motion | High | Keyframes + transitions |
|
|
1258
|
+
| §8 Do's/Don'ts | High | 20 rules generated; design-decisions.json has evidence per rule |
|
|
1259
|
+
| §9 Responsive | High | 6 breakpoints detected |
|
|
1260
|
+
| §9b Photography | High | 81 images, hero present |
|
|
1261
|
+
|
|
1262
|
+
---
|
|
1263
|
+
*Generated by Prism — automated Playwright extraction + design analysis.*
|
|
1264
|
+
*Source: https://www.choisis-ton-avenir.com | 2026-05-31T04:56:43.095Z*
|
|
1265
|
+
*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.*
|