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,1237 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: alpha
|
|
3
|
+
name: miro.com
|
|
4
|
+
description: "Light product system built on #f0f0f0 with #fde050 as the primary CTA accent. Type anchored in Open Sans at 56px / weight 500. Extracted automatically from https://miro.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
|
|
5
|
+
narrative: |
|
|
6
|
+
miro.com is built on a soft, near-white canvas (rgb(240, 240, 240)).
|
|
7
|
+
The system uses rgb(253, 224, 80) as the high-saturation accent for primary actions.
|
|
8
|
+
Moderately rounded CTAs (8px) — modern SaaS standard, neither sharp nor pill alongside Roobert PRO as the primary typeface.
|
|
9
|
+
Roobert PRO is paired with Noto Sans for secondary roles.
|
|
10
|
+
A layered elevation system (5 distinct shadows) building a clear front-to-back hierarchy.
|
|
11
|
+
Motion is a first-class concern — 14 keyframe animations plus transition-driven interactions.
|
|
12
|
+
|
|
13
|
+
colors:
|
|
14
|
+
background: "#f0f0f0"
|
|
15
|
+
surface-1: "#ffffff"
|
|
16
|
+
surface-2: "#fde0f0"
|
|
17
|
+
ink-subtle: "#555a6a"
|
|
18
|
+
primary: "#fde050"
|
|
19
|
+
on-primary: "#111111"
|
|
20
|
+
primary-hover: "#ffdd33"
|
|
21
|
+
hairline: "#cdd8ff"
|
|
22
|
+
accent-glow: "#fde050"
|
|
23
|
+
semantic-error: "#f24726"
|
|
24
|
+
semantic-success: "#00b473"
|
|
25
|
+
semantic-warning: "#fde050"
|
|
26
|
+
|
|
27
|
+
typography:
|
|
28
|
+
display-xl:
|
|
29
|
+
fontFamily: "Roobert PRO Medium"
|
|
30
|
+
fontSize: 56px
|
|
31
|
+
fontWeight: 500
|
|
32
|
+
lineHeight: 1
|
|
33
|
+
letterSpacing: -1.68px
|
|
34
|
+
display-md:
|
|
35
|
+
fontFamily: "Roobert PRO Medium"
|
|
36
|
+
fontSize: 40px
|
|
37
|
+
fontWeight: 400
|
|
38
|
+
lineHeight: 1.15
|
|
39
|
+
letterSpacing: -1.2px
|
|
40
|
+
body:
|
|
41
|
+
fontFamily: "Open Sans"
|
|
42
|
+
fontSize: 12px
|
|
43
|
+
fontWeight: 400
|
|
44
|
+
lineHeight: normal
|
|
45
|
+
letterSpacing: 0
|
|
46
|
+
button:
|
|
47
|
+
fontFamily: "Roobert PRO"
|
|
48
|
+
fontSize: 16px
|
|
49
|
+
fontWeight: 900
|
|
50
|
+
lineHeight: 1.43
|
|
51
|
+
letterSpacing: 0
|
|
52
|
+
mono:
|
|
53
|
+
fontFamily: "Open Sans"
|
|
54
|
+
fontSize: 16px
|
|
55
|
+
fontWeight: 400
|
|
56
|
+
lineHeight: normal
|
|
57
|
+
letterSpacing: 0
|
|
58
|
+
|
|
59
|
+
rounded:
|
|
60
|
+
none: 0px
|
|
61
|
+
xs: 8px
|
|
62
|
+
sm: 8px
|
|
63
|
+
md: 12px
|
|
64
|
+
lg: 20px
|
|
65
|
+
xl: 24px
|
|
66
|
+
pill: 999px
|
|
67
|
+
|
|
68
|
+
spacing:
|
|
69
|
+
xxs: 2px
|
|
70
|
+
xs: 4px
|
|
71
|
+
sm: 8px
|
|
72
|
+
md: 12px
|
|
73
|
+
lg: 24px
|
|
74
|
+
xl: 32px
|
|
75
|
+
xxl: 64px
|
|
76
|
+
section: 80px
|
|
77
|
+
|
|
78
|
+
components:
|
|
79
|
+
button-ghost:
|
|
80
|
+
backgroundColor: "transparent"
|
|
81
|
+
textColor: "#1c1c1e"
|
|
82
|
+
typography: "{typography.body}"
|
|
83
|
+
rounded: "{rounded.xs}"
|
|
84
|
+
padding: 4px
|
|
85
|
+
button-primary-brand:
|
|
86
|
+
backgroundColor: "{colors.semantic-warning}"
|
|
87
|
+
textColor: "#1c1c1e"
|
|
88
|
+
typography: "{typography.button}"
|
|
89
|
+
rounded: "{rounded.xs}"
|
|
90
|
+
padding: 8px 12px
|
|
91
|
+
button-ghost-2:
|
|
92
|
+
backgroundColor: "transparent"
|
|
93
|
+
textColor: "#1c1c1e"
|
|
94
|
+
typography: "{typography.button}"
|
|
95
|
+
rounded: "{rounded.xs}"
|
|
96
|
+
padding: 8px 4px 8px 8px
|
|
97
|
+
input-text-input:
|
|
98
|
+
backgroundColor: "{colors.surface-1}"
|
|
99
|
+
textColor: "#1c1c1e"
|
|
100
|
+
typography: "{typography.button}"
|
|
101
|
+
rounded: "{rounded.xs}"
|
|
102
|
+
padding: 16px
|
|
103
|
+
navigation-main-nav:
|
|
104
|
+
backgroundColor: "{colors.surface-1}"
|
|
105
|
+
typography: "{typography.body}"
|
|
106
|
+
rounded: "{rounded.none}"
|
|
107
|
+
padding: 16px
|
|
108
|
+
pricing-card-default-tier:
|
|
109
|
+
backgroundColor: "transparent"
|
|
110
|
+
textColor: "#1c1c1e"
|
|
111
|
+
typography: "{typography.button}"
|
|
112
|
+
rounded: "{rounded.xs}"
|
|
113
|
+
padding: 8px
|
|
114
|
+
|
|
115
|
+
extracted_at: "2026-05-30T22:28:30.881Z"
|
|
116
|
+
completeness: 89
|
|
117
|
+
scoreVersion: "v2"
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
# Design System — miro.com
|
|
122
|
+
> Extracted automatically by Clone Architect from https://miro.com
|
|
123
|
+
> Date: 2026-05-30
|
|
124
|
+
> Viewport: Desktop 1440x900 + Mobile 390x844
|
|
125
|
+
> 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).
|
|
126
|
+
|
|
127
|
+
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
|
|
128
|
+
>
|
|
129
|
+
> - **Canvas**: `rgb(240, 240, 240)` is the page background. Every component composits against this.
|
|
130
|
+
> - **Accent**: `rgb(253, 224, 80)` for primary CTAs ONLY. Never decorative.
|
|
131
|
+
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
|
|
132
|
+
> - **Section rhythm**: 48px between major bands. Card padding: 24px.
|
|
133
|
+
> - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
|
|
134
|
+
>
|
|
135
|
+
> **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
|
|
136
|
+
|
|
137
|
+
## 1. Visual Theme & Atmosphere
|
|
138
|
+
|
|
139
|
+
miro.com sits on a light gray canvas (`#f0f0f0`), a neutral foundation calibrated for sustained reading and component contrast.
|
|
140
|
+
|
|
141
|
+
Typography is anchored in **Roobert PRO**, deployed with OpenType features enabled globally (`"liga" 0, "ss01", "ss04", "ss05"`). These aren't decorative — they're load-bearing: without them, the typeface reverts to its generic state and the design loses its specific texture. Negative letter-spacing at display sizes (-1.68px at 56px) compresses headlines into engineered blocks, dense and precise.
|
|
142
|
+
|
|
143
|
+
Body text reads in Pure Black (`#000000`) (contrast ratio 19.8:1, well above WCAG AA). **#fde050** (`#fde050`) 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.
|
|
144
|
+
Border radius varies from pill-shaped (fully rounded) to moderately rounded elements, creating visual rhythm. Motion design uses smooth easing curves for polished state transitions.
|
|
145
|
+
|
|
146
|
+
**Key Characteristics:**
|
|
147
|
+
- Background: Light Gray (`#f0f0f0`)
|
|
148
|
+
- Primary typeface: Open Sans
|
|
149
|
+
- Accent: #fde050 (`#fde050`)
|
|
150
|
+
- Display: 56px weight 500, letter-spacing -1.68px
|
|
151
|
+
- Shadow system: 5 distinct elevation levels
|
|
152
|
+
- Custom fonts loaded: Open Sans, Fragment Mono, Nanum Pen Script, Roobert PRO Medium, Roobert PRO Bold, Roobert PRO SemiBold, Roobert PRO SemiBold Italic, Inter, Open Sans Placeholder, Noto Sans Placeholder, Roobert PRO Medium Placeholder, Roobert PRO Bold Placeholder, Roobert PRO SemiBold Placeholder, Roobert PRO SemiBold Italic Placeholder, Inter Placeholder
|
|
153
|
+
|
|
154
|
+
## 2. Color Palette & Roles
|
|
155
|
+
|
|
156
|
+
### Background & Surface
|
|
157
|
+
- **Light Gray** (`#f0f0f0`): Page background (primary)
|
|
158
|
+
- **Tertiary** (`#ffffff`): Surface / elevated background
|
|
159
|
+
- **Soft Pink** (`#fde0f0`): Surface / elevated background
|
|
160
|
+
- **#cdd8ff** (`#cdd8ff`): Surface / elevated background
|
|
161
|
+
- **Light Gray** (`#e9eaef`): Surface / elevated background
|
|
162
|
+
|
|
163
|
+
### Text & Content
|
|
164
|
+
- **Pure Black** (`#000000`): Primary body text
|
|
165
|
+
- **Primary** (`#1c1c1e`): Secondary text
|
|
166
|
+
- **Warm Brown** (`#222428`): Secondary text
|
|
167
|
+
- **#0000ee** (`#0000ee`): Secondary text
|
|
168
|
+
- **#600000** (`#600000`): Secondary text
|
|
169
|
+
|
|
170
|
+
### Accent & Interactive
|
|
171
|
+
- **#ffdd33** (`#ffdd33`): Interactive / accent
|
|
172
|
+
- **#fde050** (`#fde050`): Interactive / accent
|
|
173
|
+
- **Cornflower Blue** (`#7a90fe`): Interactive / accent
|
|
174
|
+
- **Secondary** (`#555a6a`): Interactive / accent
|
|
175
|
+
- **Pink** (`#ffb4b4`): Interactive / accent
|
|
176
|
+
- **M Tricolor Red** (`#c52c2c`): Interactive / accent
|
|
177
|
+
- **Brand Indigo** (`#4658ff`): Interactive / accent
|
|
178
|
+
|
|
179
|
+
### Border & Divider
|
|
180
|
+
- **Silver** (`#c7cad5`): Borders / dividers
|
|
181
|
+
- **Light Gray** (`#e0e2e8`): Borders / dividers
|
|
182
|
+
- **Light Gray** (`#e5e2ff`): Borders / dividers
|
|
183
|
+
|
|
184
|
+
### Full Extracted Palette
|
|
185
|
+
**52 colors rendered on the page** + **51** more declared in design tokens (CSS custom properties — not necessarily painted). (20 categorized above + 83 additional below.)
|
|
186
|
+
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
|
|
187
|
+
|
|
188
|
+
- `#fafafc` — Off-White
|
|
189
|
+
- `#111111` — Jet Black
|
|
190
|
+
- `#656b81` — Slate Gray
|
|
191
|
+
- `#3859ff` — #3859ff
|
|
192
|
+
- `#fff09a` — Vibrant Yellow
|
|
193
|
+
- `#ffe86d` — #ffe86d
|
|
194
|
+
- `#6c4e05` — Chocolate
|
|
195
|
+
- `#876208` — #876208
|
|
196
|
+
- `#004e6f` — #004e6f
|
|
197
|
+
- `#44ccff` — #44ccff
|
|
198
|
+
- `#33aaff` — #33aaff
|
|
199
|
+
- `#2c88c9` — Steel Blue
|
|
200
|
+
- `#c9512c` — Terracotta
|
|
201
|
+
- `#aa2cc9` — #aa2cc9
|
|
202
|
+
- `#f1f2f5` — Light Gray
|
|
203
|
+
- `#a8f7f0` — #a8f7f0
|
|
204
|
+
- `#0a9285` — #0a9285
|
|
205
|
+
- `#0e4343` — #0e4343
|
|
206
|
+
- `#212121` — Warm Brown
|
|
207
|
+
- `#c3f4d6` — #c3f4d6
|
|
208
|
+
- `#0aae3a` — Success Green
|
|
209
|
+
- `#e1fbf9` — Light Gray
|
|
210
|
+
- `#187574` — Teal
|
|
211
|
+
- `#fffae7` — Warm Cream
|
|
212
|
+
- `#d7b029` — #d7b029
|
|
213
|
+
- `#e3f7ea` — Light Gray
|
|
214
|
+
- `#067429` — #067429
|
|
215
|
+
- `#ffe6cd` — Vibrant Yellow
|
|
216
|
+
- `#db8641` — Warm Terracotta
|
|
217
|
+
- `#655be6` — Brand Indigo
|
|
218
|
+
- `#808080` — Medium Gray
|
|
219
|
+
- `#db4f4f` — Vermillion
|
|
220
|
+
- *…+51 more in `raw-css.json` (`desktop.allColors`).*
|
|
221
|
+
|
|
222
|
+
### Gradients & Decorative Fills
|
|
223
|
+
|
|
224
|
+
- `linear-gradient(135deg,#e87ef1 0%,#fd3 25%,#47d1c4 50%,#85e1ff 75%,#867aff 100%)` — (--tw-background-image-ai-gradient)
|
|
225
|
+
- `linear-gradient(42.9deg,#3859ff 13.33%,#6355e3 27.99%,#975eed 57.31%,#c966f6 86.64%)` — (--tw-nebula-sunrise-gradient)
|
|
226
|
+
|
|
227
|
+
### CSS Custom Properties (Design Tokens)
|
|
228
|
+
|
|
229
|
+
**Shadow Token**
|
|
230
|
+
- `--tw-inset-shadow-alpha`: `100%`
|
|
231
|
+
- `--tw-ring-shadow`: `0 0 #0000`
|
|
232
|
+
- `--tw-drop-shadow-alpha`: `100%`
|
|
233
|
+
- `--tw-inset-ring-shadow`: `0 0 #0000`
|
|
234
|
+
|
|
235
|
+
**Motion Token**
|
|
236
|
+
- `--tw-default-transition-duration`: `.15s`
|
|
237
|
+
- `--tw-animation-delay`: `0s`
|
|
238
|
+
- `--tw-default-transition-timing-function`: `cubic-bezier(.4,0,.2,1)`
|
|
239
|
+
|
|
240
|
+
**Font Family Token**
|
|
241
|
+
- `--tw-font-family-noto`: `"Noto Sans",sans-serif`
|
|
242
|
+
- `--tw-font-family-pro`: `"Roobert PRO","Roobert PRO Medium",sans-serif`
|
|
243
|
+
|
|
244
|
+
**Warning**
|
|
245
|
+
- `--tw-color-yellow-light`: `#fffae7`
|
|
246
|
+
- `--tw-color-yellow-dark`: `#746019`
|
|
247
|
+
- `--tw-color-yellow-700`: `lab(47.8202% 25.2426 66.5015)`
|
|
248
|
+
- `--tw-color-yellow-400`: `lab(83.2664% 8.65132 106.895)`
|
|
249
|
+
|
|
250
|
+
**Success**
|
|
251
|
+
- `--tw-color-green-400`: `lab(78.503% -64.9264 39.7492)`
|
|
252
|
+
- `--tw-color-success-accent`: `#00b473`
|
|
253
|
+
- `--tw-color-green`: `#d1f7ea`
|
|
254
|
+
- `--tw-color-green-50`: `lab(98.1563% -5.60117 2.75913)`
|
|
255
|
+
|
|
256
|
+
**Border Radius Token**
|
|
257
|
+
- `--tw-radius-xs`: `.125rem`
|
|
258
|
+
- `--tw-radius-2xl`: `1rem`
|
|
259
|
+
- `--radius`: `.625rem`
|
|
260
|
+
- `--tw-radius-3xl`: `1.5rem`
|
|
261
|
+
|
|
262
|
+
**Spacing Token**
|
|
263
|
+
- `--tw-spacing`: `.25rem`
|
|
264
|
+
- `--container-padding`: `3rem`
|
|
265
|
+
- `--tw-space-x-reverse`: `0`
|
|
266
|
+
- `--container-padding-sm`: `1.5rem`
|
|
267
|
+
|
|
268
|
+
**Font Weight Token**
|
|
269
|
+
- `--tw-font-weight-normal`: `400`
|
|
270
|
+
- `--tw-font-weight-black`: `900`
|
|
271
|
+
- `--tw-font-weight-medium`: `500`
|
|
272
|
+
- `--tw-font-weight-semibold`: `600`
|
|
273
|
+
|
|
274
|
+
**Error / Destructive**
|
|
275
|
+
- `--tw-color-red`: `#fbd4d4`
|
|
276
|
+
- `--tw-color-error-accent`: `#f24726`
|
|
277
|
+
- `--tw-color-error-background`: `#fbd4d4`
|
|
278
|
+
|
|
279
|
+
**Border**
|
|
280
|
+
- `--tw-color-divider-light`: `#f1f2f5`
|
|
281
|
+
- `--tw-color-divider`: `#d9dae0`
|
|
282
|
+
|
|
283
|
+
**Primary Brand Color**
|
|
284
|
+
- `--tw-color-primary`: `#1c1c1e`
|
|
285
|
+
|
|
286
|
+
**Secondary Color**
|
|
287
|
+
- `--tw-color-secondary`: `#555a6a`
|
|
288
|
+
|
|
289
|
+
**Background**
|
|
290
|
+
- `--tw-color-canvas-sunshine`: `#fde050`
|
|
291
|
+
|
|
292
|
+
**Other tokens**
|
|
293
|
+
- `--tw-color-blue-50`: `lab(96.492% -1.14644 -5.11479)`
|
|
294
|
+
- `--tw-text-lg`: `1.125rem`
|
|
295
|
+
- `--tw-text-xs`: `.75rem`
|
|
296
|
+
- `--tw-text-4xl`: `2.25rem`
|
|
297
|
+
- `--sidebar-primary-foreground`: `lab(98.26% -.0000298023 0)`
|
|
298
|
+
- `--tw-color-light-gray`: `#fafafc`
|
|
299
|
+
- `--tw-color-orange-200`: `lab(88.4871% 9.94918 28.8378)`
|
|
300
|
+
- `--tw-text-xs--line-height`: `calc(1/.75)`
|
|
301
|
+
|
|
302
|
+
## 3. Typography Rules
|
|
303
|
+
|
|
304
|
+
### Font Families
|
|
305
|
+
- **Primary**: `Roobert PRO Medium`
|
|
306
|
+
- **Secondary**: `Open Sans`
|
|
307
|
+
- **Font 3**: `Fragment Mono`
|
|
308
|
+
- **Font 4**: `Nanum Pen Script`
|
|
309
|
+
- **Font 5**: `Noto Sans`
|
|
310
|
+
|
|
311
|
+
### Custom Fonts Loaded
|
|
312
|
+
- **Open Sans** weight 500 (normal)
|
|
313
|
+
- **Fragment Mono** weight 400 (normal)
|
|
314
|
+
- **Nanum Pen Script** weight 400 (normal)
|
|
315
|
+
- **Noto Sans** weight 400 (normal)
|
|
316
|
+
- **Noto Sans** weight 700 (normal)
|
|
317
|
+
- **Roobert PRO Medium** weight 500 (normal)
|
|
318
|
+
- **Roobert PRO Bold** weight 700 (normal)
|
|
319
|
+
- **Roobert PRO Medium** weight normal (normal)
|
|
320
|
+
- **Roobert PRO SemiBold** weight 600 (normal)
|
|
321
|
+
- **Roobert PRO SemiBold Italic** weight normal (normal)
|
|
322
|
+
- **Inter** weight 400 (normal)
|
|
323
|
+
- **Inter** weight 600 (normal)
|
|
324
|
+
- **Inter** weight 700 (normal)
|
|
325
|
+
- **Inter** weight 900 (italic)
|
|
326
|
+
- **Open Sans Placeholder** weight normal (normal)
|
|
327
|
+
- **Noto Sans Placeholder** weight normal (normal)
|
|
328
|
+
- **Roobert PRO Medium Placeholder** weight normal (normal)
|
|
329
|
+
- **Roobert PRO Bold Placeholder** weight normal (normal)
|
|
330
|
+
- **Roobert PRO SemiBold Placeholder** weight normal (normal)
|
|
331
|
+
- **Roobert PRO SemiBold Italic Placeholder** weight normal (normal)
|
|
332
|
+
- **Inter Placeholder** weight normal (normal)
|
|
333
|
+
- **Noto Sans** weight 600 (normal)
|
|
334
|
+
- **Noto Sans** weight 500 (normal)
|
|
335
|
+
- **Noto Sans** weight 900 (normal)
|
|
336
|
+
|
|
337
|
+
### Typography Hierarchy
|
|
338
|
+
|
|
339
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
340
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
341
|
+
| Display Hero | Roobert PRO Medium | 56px | 500 | 1 | -1.68px | Main headline (h1) |
|
|
342
|
+
| Sub-heading | Roobert PRO Medium | 40px | 400 | 1.15 | -1.2px | Third-level heading (h3) |
|
|
343
|
+
| Button Large | Roobert PRO | 16px | 900 | 1.43 | normal | Button label (16px) |
|
|
344
|
+
| Button Large | Roobert PRO | 16px | 500 | 1.5 | normal | Button label (16px) |
|
|
345
|
+
| Button Large | Open Sans | 16px | 600 | 1.5 | normal | Button label (16px) |
|
|
346
|
+
| Input Large | Open Sans | 16px | 400 | normal | normal | Form input (16px) |
|
|
347
|
+
| Card Title | Open Sans | 12px | 400 | normal | normal | Card headings |
|
|
348
|
+
|
|
349
|
+
### Font Weight Scale
|
|
350
|
+
|
|
351
|
+
CSS custom properties define 6 explicit weight steps:
|
|
352
|
+
- `--tw-font-weight-normal`: `400` — Regular
|
|
353
|
+
- `--tw-font-weight-regular`: `400` — Regular
|
|
354
|
+
- `--tw-font-weight-medium`: `500` — Medium
|
|
355
|
+
- `--tw-font-weight-semibold`: `600` — SemiBold
|
|
356
|
+
- `--tw-font-weight-bold`: `700` — Bold
|
|
357
|
+
- `--tw-font-weight-black`: `900` — Black
|
|
358
|
+
|
|
359
|
+
### Full Font Size Scale
|
|
360
|
+
|
|
361
|
+
Sizes detected in the design (descending): `56px`, `48px`, `40px`, `24px`, `22px`, `20px`, `18px`, `17.23px`, `16px`, `14px`, `12px`
|
|
362
|
+
|
|
363
|
+
> 7 size(s) detected outside the sampled hierarchy (48px, 24px, 22px, 20px, 18px, 17.23px, 14px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
|
|
364
|
+
|
|
365
|
+
### OpenType & Variable Font Features
|
|
366
|
+
|
|
367
|
+
The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:
|
|
368
|
+
|
|
369
|
+
- **stylistic sets** (`ss0X`) — alternate letterforms enabled (often for brand-specific glyph variants)
|
|
370
|
+
- **ligatures** — common letter pairs replaced with refined glyphs (fi, fl, etc.)
|
|
371
|
+
|
|
372
|
+
**Clone instruction:** Enable these in your CSS:
|
|
373
|
+
```css
|
|
374
|
+
body {
|
|
375
|
+
font-feature-settings: "liga", "ss01", "ss04", "ss05", "blwf", "cv03", "cv04", "cv09", "cv11";
|
|
376
|
+
}
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
## 4. Component Stylings
|
|
380
|
+
|
|
381
|
+
### Buttons
|
|
382
|
+
|
|
383
|
+
**Ghost**
|
|
384
|
+
- Background: `transparent`
|
|
385
|
+
- Text: `#1c1c1e`
|
|
386
|
+
- Padding: 4px
|
|
387
|
+
- Radius: 8px
|
|
388
|
+
- Font: 12px weight 400
|
|
389
|
+
- Use: Subtle action, toolbar, nav button
|
|
390
|
+
|
|
391
|
+
**Primary Brand**
|
|
392
|
+
- Background: `#fde050` `{colors.semantic-warning}`
|
|
393
|
+
- Text: `#1c1c1e`
|
|
394
|
+
- Padding: 8px 12px
|
|
395
|
+
- Radius: 8px
|
|
396
|
+
- Font: 16px weight 900
|
|
397
|
+
- Use: Primary CTA / brand action
|
|
398
|
+
|
|
399
|
+
**Ghost**
|
|
400
|
+
- Background: `transparent`
|
|
401
|
+
- Text: `#1c1c1e`
|
|
402
|
+
- Padding: 8px 4px 8px 8px
|
|
403
|
+
- Radius: 8px
|
|
404
|
+
- Font: 16px weight 500
|
|
405
|
+
- Use: Subtle action, toolbar, nav button
|
|
406
|
+
|
|
407
|
+
**Outline**
|
|
408
|
+
- Background: `transparent`
|
|
409
|
+
- Text: `#1c1c1e`
|
|
410
|
+
- Padding: 8px 12px
|
|
411
|
+
- Radius: 8px
|
|
412
|
+
- Border: 1px solid rgb(199, 202, 213)
|
|
413
|
+
- Font: 16px weight 600
|
|
414
|
+
- Use: Secondary action with border
|
|
415
|
+
|
|
416
|
+
**Secondary**
|
|
417
|
+
- Background: `#1c1c1e`
|
|
418
|
+
- Text: `#ffffff` `{colors.surface-1}`
|
|
419
|
+
- Padding: 8px 12px
|
|
420
|
+
- Radius: 8px
|
|
421
|
+
- Font: 16px weight 600
|
|
422
|
+
- Use: Secondary action
|
|
423
|
+
|
|
424
|
+
**Icon Button**
|
|
425
|
+
- Background: `#ffffff` `{colors.surface-1}`
|
|
426
|
+
- Text: `#1c1c1e`
|
|
427
|
+
- Padding: 12px 12px 12px 9px
|
|
428
|
+
- Radius: 50%
|
|
429
|
+
- Shadow: `rgba(0, 0, 0, 0.18) 0px 0.602187px 0.602187px -1.25px, rgba(0, 0, 0, 0.16) 0px 2...`
|
|
430
|
+
- Font: 12px weight 400
|
|
431
|
+
- Use: Toolbar/UI icons
|
|
432
|
+
|
|
433
|
+
**Icon Button**
|
|
434
|
+
- Background: `#ffffff` `{colors.surface-1}`
|
|
435
|
+
- Text: `#1c1c1e`
|
|
436
|
+
- Padding: 12px 9px 12px 12px
|
|
437
|
+
- Radius: 50%
|
|
438
|
+
- Shadow: `rgba(0, 0, 0, 0.18) 0px 0.602187px 0.602187px -1.25px, rgba(0, 0, 0, 0.16) 0px 2...`
|
|
439
|
+
- Font: 12px weight 400
|
|
440
|
+
- Use: Toolbar/UI icons
|
|
441
|
+
|
|
442
|
+
### Inputs & Forms
|
|
443
|
+
|
|
444
|
+
**Text Input**
|
|
445
|
+
- Background: `#ffffff` `{colors.surface-1}`
|
|
446
|
+
- Text: `#1c1c1e`
|
|
447
|
+
- Padding: 16px
|
|
448
|
+
- Radius: 8px
|
|
449
|
+
- Border: 1px solid rgb(233, 234, 239)
|
|
450
|
+
- Font: 16px weight 400
|
|
451
|
+
- Use: Text fields, search inputs
|
|
452
|
+
- Focus: outline: `rgb(16, 16, 16) auto 1px`
|
|
453
|
+
|
|
454
|
+
### Navigation
|
|
455
|
+
|
|
456
|
+
**Main Nav**
|
|
457
|
+
- Background: `#ffffff` `{colors.surface-1}`
|
|
458
|
+
- Padding: 16px
|
|
459
|
+
- Radius: none
|
|
460
|
+
- Shadow: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0...`
|
|
461
|
+
- Font: 12px weight 400
|
|
462
|
+
- Use: Fixed/sticky block nav — N/A items
|
|
463
|
+
|
|
464
|
+
### Pricing Cards
|
|
465
|
+
|
|
466
|
+
**Default Tier**
|
|
467
|
+
- Background: `transparent`
|
|
468
|
+
- Text: `#1c1c1e`
|
|
469
|
+
- Padding: 8px
|
|
470
|
+
- Radius: 8px
|
|
471
|
+
- Font: 16px weight 500
|
|
472
|
+
- Use: Subscription tier card
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
## 4b. Component Behaviors (State Matrix)
|
|
476
|
+
|
|
477
|
+
### Interaction State Narrative
|
|
478
|
+
|
|
479
|
+
- **FooterLink**:
|
|
480
|
+
- **hover:** text #ffffff → #000000, border changes
|
|
481
|
+
|
|
482
|
+
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
|
|
483
|
+
|
|
484
|
+
```yaml
|
|
485
|
+
component-behaviors:
|
|
486
|
+
button:
|
|
487
|
+
default:
|
|
488
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
489
|
+
fg: "rgb(28, 28, 30)"
|
|
490
|
+
input:
|
|
491
|
+
default:
|
|
492
|
+
bg: "rgb(255, 255, 255)"
|
|
493
|
+
fg: "rgb(28, 28, 30)"
|
|
494
|
+
border: "1px solid rgb(233, 234, 239)"
|
|
495
|
+
focus:
|
|
496
|
+
bg: "rgb(255, 255, 255)"
|
|
497
|
+
fg: "rgb(28, 28, 30)"
|
|
498
|
+
border: "1px solid rgb(233, 234, 239)"
|
|
499
|
+
link:
|
|
500
|
+
default:
|
|
501
|
+
bg: "rgb(253, 224, 80)"
|
|
502
|
+
fg: "rgb(28, 28, 30)"
|
|
503
|
+
card:
|
|
504
|
+
default:
|
|
505
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
506
|
+
fg: "rgb(0, 0, 0)"
|
|
507
|
+
navLink:
|
|
508
|
+
default:
|
|
509
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
510
|
+
fg: "rgb(0, 0, 238)"
|
|
511
|
+
footerLink:
|
|
512
|
+
default:
|
|
513
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
514
|
+
fg: "rgb(255, 255, 255)"
|
|
515
|
+
hover:
|
|
516
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
517
|
+
fg: "oklab(0.999994 0.0000455677 0.0000200868 / 0.8)"
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
## 4c. Component Vocabulary (Closed System)
|
|
524
|
+
|
|
525
|
+
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
|
|
526
|
+
|
|
527
|
+
### Buttons
|
|
528
|
+
- **5 shape(s)** in this system: `Ghost`, `Primary Brand`, `Outline`, `Secondary`, `Icon Button`
|
|
529
|
+
- **DO NOT introduce new buttons variants** without justification
|
|
530
|
+
|
|
531
|
+
### Inputs & Forms
|
|
532
|
+
- **1 shape(s)** in this system: `Text Input`
|
|
533
|
+
- **DO NOT introduce new inputs & forms variants** without justification
|
|
534
|
+
|
|
535
|
+
### Navigation
|
|
536
|
+
- **1 shape(s)** in this system: `Main Nav`
|
|
537
|
+
- **DO NOT introduce new navigation variants** without justification
|
|
538
|
+
|
|
539
|
+
### Pricing Cards
|
|
540
|
+
- **1 shape(s)** in this system: `Default Tier`
|
|
541
|
+
- **DO NOT introduce new pricing cards variants** without justification
|
|
542
|
+
|
|
543
|
+
## 5. Layout Principles
|
|
544
|
+
|
|
545
|
+
### Layout Type
|
|
546
|
+
**top-nav + content**
|
|
547
|
+
|
|
548
|
+
### Grid
|
|
549
|
+
Single column, centered content
|
|
550
|
+
|
|
551
|
+
### Max Width
|
|
552
|
+
1200px
|
|
553
|
+
|
|
554
|
+
### Spacing System
|
|
555
|
+
Compact spacing — information density prioritized
|
|
556
|
+
|
|
557
|
+
| Token | Value |
|
|
558
|
+
|-------|-------|
|
|
559
|
+
| xxs | 2px |
|
|
560
|
+
| xs | 4px |
|
|
561
|
+
| sm | 8px |
|
|
562
|
+
| md | 12px |
|
|
563
|
+
| base | 16px |
|
|
564
|
+
| lg | 24px |
|
|
565
|
+
| xl | 32px |
|
|
566
|
+
| 2xl | 48px |
|
|
567
|
+
| 3xl | 64px |
|
|
568
|
+
|
|
569
|
+
### Border Radius Scale
|
|
570
|
+
| Name | Value | Use |
|
|
571
|
+
|------|-------|-----|
|
|
572
|
+
| None | 0px | No rounding |
|
|
573
|
+
| Xs | 8px | Tiny corners (badges, micro elements) |
|
|
574
|
+
| Sm | 8px | Buttons, inputs, small elements |
|
|
575
|
+
| Md | 12px | Cards, containers |
|
|
576
|
+
| Lg | 20px | Large rounded elements, pill segments |
|
|
577
|
+
| Xl | 24px | Category strips, featured containers |
|
|
578
|
+
| Full | 999px | Pills, avatars, circular elements |
|
|
579
|
+
|
|
580
|
+
### Shape Language
|
|
581
|
+
|
|
582
|
+
| Component | Border Radius |
|
|
583
|
+
|-----------|---------------|
|
|
584
|
+
| Buttons | `8px` |
|
|
585
|
+
| Inputs & Forms | `8px` |
|
|
586
|
+
| Navigation | `none` |
|
|
587
|
+
| Pricing Cards | `8px` |
|
|
588
|
+
| Page Body | `0px` |
|
|
589
|
+
| Primary Input | `8px` |
|
|
590
|
+
|
|
591
|
+
**Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.
|
|
592
|
+
|
|
593
|
+
**Full Radius Spectrum**: 0px, 7px, 8px, 12px, 20px, 24px, 40px, 50px (from `allBorderRadii` scan)
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
## 5b. Spacing Rhythm Names
|
|
597
|
+
|
|
598
|
+
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
|
|
599
|
+
|
|
600
|
+
| Name | Value | Use case |
|
|
601
|
+
|------|-------|----------|
|
|
602
|
+
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
|
|
603
|
+
| **section** | `32px` | Between major bands (color change, content shift) |
|
|
604
|
+
| **subsection** | `24px` | Within a section, between content groups |
|
|
605
|
+
| **card** | `12px` | Card padding, list-item spacing |
|
|
606
|
+
| **compact** | `8px` | Form fields, tight clusters, badge padding |
|
|
607
|
+
| **micro** | `4px` | Icon-text gap, tag inner padding |
|
|
608
|
+
|
|
609
|
+
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
|
|
610
|
+
|
|
611
|
+
## 5c. Widget & Structure Library
|
|
612
|
+
|
|
613
|
+
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
|
|
614
|
+
|
|
615
|
+
**4/8 structural patterns detected.**
|
|
616
|
+
|
|
617
|
+
### Hero Pattern
|
|
618
|
+
|
|
619
|
+
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
|
|
620
|
+
- **Viewport coverage:** 130px tall (not full-viewport)
|
|
621
|
+
- **Heading:** "La couche de collaboration dont vos outils d’IA ont besoin." — 56px center-aligned
|
|
622
|
+
- **CTAs:** none detected in hero (unusual — agent should verify)
|
|
623
|
+
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. No imagery needed for hero — text-driven.
|
|
624
|
+
|
|
625
|
+
### Navigation Pattern
|
|
626
|
+
|
|
627
|
+
- **Position:** static (scrolls with page)
|
|
628
|
+
- **Layout:** unknown — Layout not classified
|
|
629
|
+
- **Height:** 1px
|
|
630
|
+
- **Logo:** ✗ absent
|
|
631
|
+
- **Nav links:** 76 primary items
|
|
632
|
+
- **CTAs in nav:** 0 (no buttons — links only)
|
|
633
|
+
- **Clone instruction:** Build a static unknown navigation. Link-only — no button styling needed.
|
|
634
|
+
|
|
635
|
+
### Card Grid Pattern
|
|
636
|
+
|
|
637
|
+
- **Card count:** 7 cards detected
|
|
638
|
+
- **Columns (desktop):** 2-up grid
|
|
639
|
+
- **Card dimensions:** 680×562px (aspect 1.21:1)
|
|
640
|
+
- **Gap:** 24px between cards
|
|
641
|
+
- **Content:** ✓ image + CTA
|
|
642
|
+
- **Image position:** top
|
|
643
|
+
- **Clone instruction:** Build a 2-column grid (desktop) with cards at ~1.21:1 aspect ratio. Each card has an image at the top.
|
|
644
|
+
|
|
645
|
+
### Footer Pattern
|
|
646
|
+
|
|
647
|
+
- **Columns:** 1
|
|
648
|
+
- **Links:** 66 total
|
|
649
|
+
- **Height:** 944px
|
|
650
|
+
- **Includes:** ✗ no newsletter | ✓ social icons | ✓ copyright
|
|
651
|
+
- **Clone instruction:** Build a 1-column footer with ~66 links per column, social media links, and a copyright line.
|
|
652
|
+
|
|
653
|
+
## 6. Depth & Elevation
|
|
654
|
+
|
|
655
|
+
| Level | Treatment | Use |
|
|
656
|
+
|-------|-----------|-----|
|
|
657
|
+
| Flat (Level 0) | No shadow | Page background, content blocks |
|
|
658
|
+
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0.1) 0px 1px 3px 0px`,<br>`rgba(0, 0, 0, 0.1) 0px 1px 2px -1px` | Cards, elevated surfaces |
|
|
659
|
+
| Layered (Level 2) | <br>`rgba(0, 0, 0, 0.06) 0px 1px 8px 0px` | Cards, elevated surfaces |
|
|
660
|
+
| Inset (Level 3) | <br>`rgb(122, 144, 254) 0px 1px 1px 0px inset` | Buttons, pressed-state elements |
|
|
661
|
+
| Layered (Level 4) | <br>`rgb(224, 226, 232) 0px 0px 0px 1px` | Cards, elevated surfaces |
|
|
662
|
+
|
|
663
|
+
**Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
|
|
664
|
+
|
|
665
|
+
## 7. Motion & Interaction
|
|
666
|
+
|
|
667
|
+
### Easing System
|
|
668
|
+
|
|
669
|
+
| CSS Variable | Curve | Semantic Name |
|
|
670
|
+
|--------------|-------|---------------|
|
|
671
|
+
| `--tw-default-transition-timing-function` | `cubic-bezier(.4,0,.2,1)` | Ease Out — Decelerating |
|
|
672
|
+
| `--tw-ease-in-out` | `cubic-bezier(.4,0,.2,1)` | Ease Out — Decelerating |
|
|
673
|
+
|
|
674
|
+
### Duration Scale
|
|
675
|
+
|
|
676
|
+
| CSS Variable | Value | Tier |
|
|
677
|
+
|--------------|-------|------|
|
|
678
|
+
| `--tw-default-transition-duration` | `.15s` | Fast |
|
|
679
|
+
|
|
680
|
+
### Copy-Paste Transition Snippets
|
|
681
|
+
|
|
682
|
+
**Transform**
|
|
683
|
+
```css
|
|
684
|
+
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), translate 0.2s cubic-bezier(0.4, 0, 0.2, 1), scale 0.2s cubic-bezier(0.4...;
|
|
685
|
+
```
|
|
686
|
+
|
|
687
|
+
**All Props**
|
|
688
|
+
```css
|
|
689
|
+
transition: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
**Background**
|
|
693
|
+
```css
|
|
694
|
+
transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
|
|
695
|
+
```
|
|
696
|
+
|
|
697
|
+
**Background**
|
|
698
|
+
```css
|
|
699
|
+
transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
### Keyframe Animation Catalog
|
|
703
|
+
|
|
704
|
+
| Animation Name | Type | Animated Props | Use Hint |
|
|
705
|
+
|----------------|------|----------------|----------|
|
|
706
|
+
| `pulse` | Fade | opacity | Attention / status |
|
|
707
|
+
| `enter` | Fade + Move | opacity, transform, filter | Element entrance |
|
|
708
|
+
| `exit` | Fade + Move | opacity, transform, filter | Element exit |
|
|
709
|
+
| `accordion-down` | Custom | height | UI transition |
|
|
710
|
+
| `accordion-up` | Custom | height | UI transition |
|
|
711
|
+
| `collapsible-down` | Custom | height | UI transition |
|
|
712
|
+
| `collapsible-up` | Custom | height | UI transition |
|
|
713
|
+
| `float-top-left` | Slide | transform | UI transition |
|
|
714
|
+
| `float-bottom-left` | Slide | transform | UI transition |
|
|
715
|
+
| `float-bottom-right` | Slide | transform | UI transition |
|
|
716
|
+
| `testimonial-card-reveal` | Fade + Move | opacity, transform | UI transition |
|
|
717
|
+
| `ctaPulse` | Custom | box-shadow | Attention / status |
|
|
718
|
+
| `__framer-loading-spin` | Rotate / Spin | transform | Loading indicator |
|
|
719
|
+
| `onetrust-fade-in` | Fade | opacity | Element entrance |
|
|
720
|
+
|
|
721
|
+
### Motion Fingerprint
|
|
722
|
+
|
|
723
|
+
- **Speed Character**: Balanced Pacing (median duration: `200ms`)
|
|
724
|
+
- **Dominant Easing**: custom cubic-bezier curves
|
|
725
|
+
- **Animation Library**: 14 unique animations (14 total including variants)
|
|
726
|
+
|
|
727
|
+
> This design moves with balanced pacing timing using custom cubic-bezier curves, creating a UI that feels natural and fluid.
|
|
728
|
+
|
|
729
|
+
## 8. Do's and Don'ts
|
|
730
|
+
|
|
731
|
+
### Do
|
|
732
|
+
- Use Light Gray (`#f0f0f0`) as the page background — it's intentionally not pure white
|
|
733
|
+
- Use sans-serif as the primary typeface — it defines the brand personality
|
|
734
|
+
- Use negative letter-spacing (-1.68px) at display sizes for compressed, editorial headlines
|
|
735
|
+
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
|
|
736
|
+
- Use full-pill radius (9999px) only for specific elements (avatars, pills, toggles)
|
|
737
|
+
- Use #fde050 (`#fde050`) as the primary accent — it's the brand's signature interactive color
|
|
738
|
+
- Use 8px border-radius on buttons — the standard corner rounding for interactive elements
|
|
739
|
+
- Style form inputs with a `1px solid rgb(233, 234, 239)` border — use border-based inputs, not floating labels or underline-only
|
|
740
|
+
- Respect the 4px–32px spacing range — the design uses a wide scale for visual breathing room
|
|
741
|
+
- Keep the hero centered and text-driven — no decorative media, typography carries the message
|
|
742
|
+
- Each card includes a top image — imagery is part of the card identity, not optional
|
|
743
|
+
|
|
744
|
+
### Don't
|
|
745
|
+
- Don't use pure white (`#ffffff`) as a page background — the warm tone is part of the brand identity
|
|
746
|
+
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
|
|
747
|
+
- Don't increase letter-spacing on headings — the type is designed to run tight at scale
|
|
748
|
+
- Don't invent new shadow values — use only the extracted shadow levels
|
|
749
|
+
- Don't apply pill radius on rectangular buttons or cards — it's reserved for specific interactive elements
|
|
750
|
+
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
|
|
751
|
+
- Don't remove the input border — the border is the primary affordance indicator for form fields
|
|
752
|
+
- Don't add hero illustrations or photos — they'll break the typographic restraint
|
|
753
|
+
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
|
|
754
|
+
- Don't put a CTA button in the nav — this design uses links only at the top
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
## 7b. Enforceable Brand Rules
|
|
758
|
+
|
|
759
|
+
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
|
|
760
|
+
|
|
761
|
+
```yaml
|
|
762
|
+
rules:
|
|
763
|
+
- id: brand-canvas-001
|
|
764
|
+
type: do
|
|
765
|
+
rule: "Always use the page background `rgb(240, 240, 240)` as the base canvas"
|
|
766
|
+
why: "Every component is designed to composit against this exact tone"
|
|
767
|
+
test: "document.body.style.backgroundColor === 'rgb(240, 240, 240)'"
|
|
768
|
+
- id: brand-accent-001
|
|
769
|
+
type: do
|
|
770
|
+
rule: "Reserve `rgb(253, 224, 80)` for primary CTAs and brand-mark signals only"
|
|
771
|
+
why: "Single chromatic assertion device — overuse dilutes meaning"
|
|
772
|
+
test: "querySelectorAll('[style*=\"rgb(253, 224, 80)\"]').length <= 3 per fold"
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
## 9. Responsive Behavior
|
|
776
|
+
|
|
777
|
+
### Breakpoints
|
|
778
|
+
| Name | Width | Key Changes |
|
|
779
|
+
|------|-------|-------------|
|
|
780
|
+
| Mobile | 400px | Single column, compact spacing |
|
|
781
|
+
| Mobile | 460px | Single column, compact spacing |
|
|
782
|
+
| Mobile Large | 530px | Expanded mobile layout |
|
|
783
|
+
| Mobile Large | 767px | Expanded mobile layout |
|
|
784
|
+
| Tablet | 1023px | Multi-column grids begin |
|
|
785
|
+
| Desktop | 1280px | Full feature layout |
|
|
786
|
+
|
|
787
|
+
### Token Diff — Desktop vs Mobile
|
|
788
|
+
|
|
789
|
+
| Element | Property | Desktop | Mobile |
|
|
790
|
+
|---------|----------|---------|--------|
|
|
791
|
+
| heading | font-size | `56px` | `32px` |
|
|
792
|
+
| heading | line-height | `56px` | `33.6px` |
|
|
793
|
+
| heading | letter-spacing | `-1.68px` | `-0.96px` |
|
|
794
|
+
| button | width | `auto` | `32px` |
|
|
795
|
+
| card | width | `800px` | `342px` |
|
|
796
|
+
|
|
797
|
+
### Collapsing Strategy
|
|
798
|
+
- Headlines: 56px → 32px on mobile
|
|
799
|
+
- Navigation: horizontal links → hamburger menu on mobile
|
|
800
|
+
- Cards: multi-column → stacked vertical on mobile
|
|
801
|
+
- Footer: multi-column → stacked single column on mobile
|
|
802
|
+
|
|
803
|
+
### Touch Targets
|
|
804
|
+
- Buttons: 4px padding
|
|
805
|
+
- Navigation: adequate spacing between items
|
|
806
|
+
- Interactive elements: minimum 44px touch target recommended
|
|
807
|
+
|
|
808
|
+
### Collapsing Narrative
|
|
809
|
+
|
|
810
|
+
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
|
|
811
|
+
|
|
812
|
+
- **Card grid: 2-up → 1-up** — cards stack as viewport narrows, becoming a vertical list on mobile.
|
|
813
|
+
|
|
814
|
+
## 9b. Visual Tone & Photography
|
|
815
|
+
|
|
816
|
+
**Tone:** Mixed photography + illustration
|
|
817
|
+
|
|
818
|
+
A balanced mix of photographic content and vector graphics. Photos likely carry product/lifestyle context while SVG handles icons, logos, and decorative accents.
|
|
819
|
+
|
|
820
|
+
**Canonical Brand Image (OG):**
|
|
821
|
+
- https://framerusercontent.com/assets/Bab0War93Jeq5MpDPwqKFiyI.png
|
|
822
|
+
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
|
|
823
|
+
|
|
824
|
+
**Aspect Ratio Distribution:**
|
|
825
|
+
- Landscape (1.15–2.3): 16 (64%)
|
|
826
|
+
- Portrait (<0.87): 5 (20%)
|
|
827
|
+
- Square (0.87–1.15): 1 (4%)
|
|
828
|
+
- Ultra-wide (>2.3): 3 (12%)
|
|
829
|
+
|
|
830
|
+
**Media Format Mix:**
|
|
831
|
+
- JPG: 3 (typically photographic content)
|
|
832
|
+
- WebP: 1 (optimized photo/illustration hybrid)
|
|
833
|
+
- PNG: 19 (logos, transparent UI elements, mockups)
|
|
834
|
+
- SVG: 5 (icons, illustrations, decorative geometry)
|
|
835
|
+
|
|
836
|
+
**Average rendered image size:** 487×335px
|
|
837
|
+
**Above-fold image count:** 0 / 25
|
|
838
|
+
|
|
839
|
+
**Decorative Patterns Detected:**
|
|
840
|
+
- 12 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
|
|
841
|
+
- 1 radial gradient — circular color blooms used for spotlight/glow effects
|
|
842
|
+
- 3 large decorative SVG shapes (≥200×200px, non-icon) — likely blob/illustration accents
|
|
843
|
+
- 13 background patterns (non-photo url() backgrounds) — textures/illustrations as backdrops
|
|
844
|
+
|
|
845
|
+
**Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
|
|
846
|
+
|
|
847
|
+
**Imagery Guidance for clones:**
|
|
848
|
+
- Mix photography and illustration intentionally: photos for product/context, vectors for icons + decorative accents.
|
|
849
|
+
- Respect the format split — replacing JPGs with illustrations (or vice versa) will shift the brand tone.
|
|
850
|
+
|
|
851
|
+
## 10. Agent Prompt Guide
|
|
852
|
+
|
|
853
|
+
### Quick Reference
|
|
854
|
+
- Background: Light Gray (`#f0f0f0`)
|
|
855
|
+
- Primary text: Pure Black (`#000000`)
|
|
856
|
+
- Accent: #fde050 (`#fde050`)
|
|
857
|
+
- Border: #cdd8ff (`#cdd8ff`)
|
|
858
|
+
- Font: Open Sans
|
|
859
|
+
- Body: 12px weight 400
|
|
860
|
+
|
|
861
|
+
### Example Component Prompts
|
|
862
|
+
- "Create a hero section on Light Gray background (#f0f0f0). Headline at 56px Open Sans weight 500, line-height 1, letter-spacing -1.68px, color #000000."
|
|
863
|
+
- "Create the primary CTA button: `#fde050` background, `#1c1c1e` text, 8px border-radius, 8px 12px padding, 900 weight, Open Sans font."
|
|
864
|
+
- "Design a card on `transparent` background. Border: none. Radius: 0px. Shadow: none. Padding: 0px."
|
|
865
|
+
- "Build navigation: absolute on `#f0f0f0`. Open Sans 12px weight 400 for links."
|
|
866
|
+
|
|
867
|
+
### Iteration Guide
|
|
868
|
+
1. **Canvas**: Set the light canvas to Light Gray (`#f0f0f0`) — every component is composited against this exact base.
|
|
869
|
+
2. **Typography**: All type in Open Sans, weight range 400–900. Never exceed 900 — heavier weights break the brand's tonal restraint.
|
|
870
|
+
3. **Accent**: #fde050 (`#fde050`) is the sole interactive color. On hover → #ffdd33 (`#ffdd33`). Use CSS transitions, not opacity/brightness filters.
|
|
871
|
+
4. **Motion**: All transitions use `cubic-bezier(0.4,0,0.2,1)`. Timing: 150ms for micro-interactions, 150ms for layout changes. Never use linear for UI transitions — preserve the brand's easing personality.
|
|
872
|
+
5. **Shape**: CTAs at `8px`, cards at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
|
|
873
|
+
6. **Spacing**: Use the `--ca-space-*` token scale (4px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
|
|
874
|
+
7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
|
|
875
|
+
|
|
876
|
+
## 11. CSS Design Tokens Raw Export
|
|
877
|
+
|
|
878
|
+
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
|
|
879
|
+
|
|
880
|
+
```css
|
|
881
|
+
/* Colors */
|
|
882
|
+
:root {
|
|
883
|
+
--ca-background: #f0f0f0;
|
|
884
|
+
--ca-surface-1: #ffffff;
|
|
885
|
+
--ca-surface-2: #fde0f0;
|
|
886
|
+
--ca-ink-subtle: #555a6a;
|
|
887
|
+
--ca-semantic-warning: #fde050;
|
|
888
|
+
--ca-on-primary: #111111;
|
|
889
|
+
--ca-primary-hover: #ffdd33;
|
|
890
|
+
--ca-hairline: #cdd8ff;
|
|
891
|
+
--ca-semantic-error: #f24726;
|
|
892
|
+
--ca-semantic-success: #00b473;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/* Typography */
|
|
896
|
+
:root {
|
|
897
|
+
--ca-font-primary: "Roobert PRO Medium", system-ui, sans-serif;
|
|
898
|
+
--ca-text-display: 56px;
|
|
899
|
+
--ca-text-body: 12px;
|
|
900
|
+
--ca-text-button: 16px;
|
|
901
|
+
--ca-text-mono: 16px;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/* Spacing & Radius */
|
|
905
|
+
:root {
|
|
906
|
+
--ca-space-xxs: 2px;
|
|
907
|
+
--ca-space-xs: 4px;
|
|
908
|
+
--ca-space-sm: 8px;
|
|
909
|
+
--ca-space-md: 12px;
|
|
910
|
+
--ca-space-base: 16px;
|
|
911
|
+
--ca-space-lg: 24px;
|
|
912
|
+
--ca-space-xl: 32px;
|
|
913
|
+
--ca-space-2xl: 48px;
|
|
914
|
+
--ca-space-3xl: 64px;
|
|
915
|
+
--ca-radius-none: 0px;
|
|
916
|
+
--ca-radius-xs: 8px;
|
|
917
|
+
--ca-radius-sm: 8px;
|
|
918
|
+
--ca-radius-md: 12px;
|
|
919
|
+
--ca-radius-lg: 20px;
|
|
920
|
+
--ca-radius-xl: 24px;
|
|
921
|
+
--ca-radius-full: 999px;
|
|
922
|
+
}
|
|
923
|
+
```
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
## 13. Page Structure Skeleton
|
|
927
|
+
|
|
928
|
+
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
|
|
929
|
+
|
|
930
|
+
```yaml
|
|
931
|
+
page-skeleton:
|
|
932
|
+
- section: unknown
|
|
933
|
+
tag: div
|
|
934
|
+
height: 8767px
|
|
935
|
+
width: full-bleed
|
|
936
|
+
layout: block
|
|
937
|
+
children: 3
|
|
938
|
+
- section: unknown
|
|
939
|
+
tag: div
|
|
940
|
+
height: 773px
|
|
941
|
+
width: 1391px
|
|
942
|
+
layout: block
|
|
943
|
+
children: 1
|
|
944
|
+
- section: unknown
|
|
945
|
+
tag: div
|
|
946
|
+
classes: ["framer-igemwh-container"]
|
|
947
|
+
height: 108px
|
|
948
|
+
width: 270px
|
|
949
|
+
layout: block
|
|
950
|
+
children: 1
|
|
951
|
+
- section: unknown
|
|
952
|
+
tag: div
|
|
953
|
+
classes: ["framer-1p1qfvd-container"]
|
|
954
|
+
height: 108px
|
|
955
|
+
width: 270px
|
|
956
|
+
layout: block
|
|
957
|
+
children: 1
|
|
958
|
+
- section: unknown
|
|
959
|
+
tag: div
|
|
960
|
+
height: 560px
|
|
961
|
+
width: 908px
|
|
962
|
+
layout: block
|
|
963
|
+
children: 1
|
|
964
|
+
- section: unknown
|
|
965
|
+
tag: div
|
|
966
|
+
height: 454px
|
|
967
|
+
width: 807px
|
|
968
|
+
layout: block
|
|
969
|
+
children: 1
|
|
970
|
+
- section: unknown
|
|
971
|
+
tag: div
|
|
972
|
+
classes: ["framer-1y4llaa-container"]
|
|
973
|
+
height: 545px
|
|
974
|
+
width: full-bleed
|
|
975
|
+
layout: block
|
|
976
|
+
children: 1
|
|
977
|
+
- section: unknown
|
|
978
|
+
tag: div
|
|
979
|
+
height: 2700px
|
|
980
|
+
width: 4320px
|
|
981
|
+
layout: block
|
|
982
|
+
children: 1
|
|
983
|
+
- section: section-4
|
|
984
|
+
tag: section
|
|
985
|
+
classes: ["framer-26SBT"]
|
|
986
|
+
height: 1105px
|
|
987
|
+
width: full-bleed
|
|
988
|
+
layout: flex-row justify=flex-start
|
|
989
|
+
children: 1
|
|
990
|
+
- section: unknown
|
|
991
|
+
tag: div
|
|
992
|
+
height: 1105px
|
|
993
|
+
width: full-bleed
|
|
994
|
+
layout: block
|
|
995
|
+
children: 1
|
|
996
|
+
- section: unknown
|
|
997
|
+
tag: div
|
|
998
|
+
height: 1105px
|
|
999
|
+
width: full-bleed
|
|
1000
|
+
layout: block
|
|
1001
|
+
children: 1
|
|
1002
|
+
- section: unknown
|
|
1003
|
+
tag: div
|
|
1004
|
+
classes: ["framer-1w5prbq-container"]
|
|
1005
|
+
height: 1105px
|
|
1006
|
+
width: full-bleed
|
|
1007
|
+
layout: block
|
|
1008
|
+
children: 1
|
|
1009
|
+
- section: unknown
|
|
1010
|
+
tag: div
|
|
1011
|
+
height: 174px
|
|
1012
|
+
width: 284px
|
|
1013
|
+
layout: block
|
|
1014
|
+
children: 1
|
|
1015
|
+
- section: unknown
|
|
1016
|
+
tag: div
|
|
1017
|
+
height: 482px
|
|
1018
|
+
width: 304px
|
|
1019
|
+
layout: block
|
|
1020
|
+
children: 1
|
|
1021
|
+
- section: unknown
|
|
1022
|
+
tag: div
|
|
1023
|
+
classes: ["framer-1qjurpq-container"]
|
|
1024
|
+
height: 482px
|
|
1025
|
+
width: 304px
|
|
1026
|
+
layout: block
|
|
1027
|
+
children: 1
|
|
1028
|
+
- section: unknown
|
|
1029
|
+
tag: div
|
|
1030
|
+
height: 482px
|
|
1031
|
+
width: 304px
|
|
1032
|
+
layout: block
|
|
1033
|
+
children: 1
|
|
1034
|
+
- section: unknown
|
|
1035
|
+
tag: div
|
|
1036
|
+
classes: ["framer-1qjurpq-container"]
|
|
1037
|
+
height: 482px
|
|
1038
|
+
width: 304px
|
|
1039
|
+
layout: block
|
|
1040
|
+
children: 1
|
|
1041
|
+
- section: unknown
|
|
1042
|
+
tag: div
|
|
1043
|
+
classes: ["framer-gmmnrw-container"]
|
|
1044
|
+
height: 482px
|
|
1045
|
+
width: 304px
|
|
1046
|
+
layout: block
|
|
1047
|
+
children: 1
|
|
1048
|
+
- section: unknown
|
|
1049
|
+
tag: div
|
|
1050
|
+
classes: ["framer-1qjurpq-container"]
|
|
1051
|
+
height: 482px
|
|
1052
|
+
width: 304px
|
|
1053
|
+
layout: block
|
|
1054
|
+
children: 1
|
|
1055
|
+
- section: unknown
|
|
1056
|
+
tag: div
|
|
1057
|
+
height: 334px
|
|
1058
|
+
width: 480px
|
|
1059
|
+
layout: block
|
|
1060
|
+
children: 1
|
|
1061
|
+
- section: unknown
|
|
1062
|
+
tag: div
|
|
1063
|
+
height: 246px
|
|
1064
|
+
width: 480px
|
|
1065
|
+
layout: block
|
|
1066
|
+
children: 1
|
|
1067
|
+
- section: unknown
|
|
1068
|
+
tag: div
|
|
1069
|
+
height: 335px
|
|
1070
|
+
width: 262px
|
|
1071
|
+
layout: block
|
|
1072
|
+
children: 1
|
|
1073
|
+
- section: unknown
|
|
1074
|
+
tag: div
|
|
1075
|
+
classes: ["framer-fsrpbl-container"]
|
|
1076
|
+
height: 108px
|
|
1077
|
+
width: 379px
|
|
1078
|
+
layout: block
|
|
1079
|
+
children: 1
|
|
1080
|
+
- section: unknown
|
|
1081
|
+
tag: div
|
|
1082
|
+
classes: ["framer-xcbgrj-container"]
|
|
1083
|
+
height: 108px
|
|
1084
|
+
width: 314px
|
|
1085
|
+
layout: block
|
|
1086
|
+
children: 1
|
|
1087
|
+
- section: unknown
|
|
1088
|
+
tag: div
|
|
1089
|
+
height: 1747px
|
|
1090
|
+
width: 3120px
|
|
1091
|
+
layout: block
|
|
1092
|
+
children: 1
|
|
1093
|
+
```
|
|
1094
|
+
|
|
1095
|
+
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
## 14. Copy Library (Real Content from Source)
|
|
1099
|
+
|
|
1100
|
+
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
|
|
1101
|
+
|
|
1102
|
+
```yaml
|
|
1103
|
+
copy:
|
|
1104
|
+
section-headings:
|
|
1105
|
+
- "Aller vite est essentiel,
|
|
1106
|
+
avoir un impact l’est encore plus"
|
|
1107
|
+
- "+ de 100 M"
|
|
1108
|
+
- "Découvrez l’espace de travail pour l’innovation"
|
|
1109
|
+
- "Besoin d’aide pour démarrer ?"
|
|
1110
|
+
sub-headings:
|
|
1111
|
+
- "Donnez une direction commune à vos recherches"
|
|
1112
|
+
- "IA"
|
|
1113
|
+
- "Démarrez rapidement"
|
|
1114
|
+
- "Discutez avec
|
|
1115
|
+
des utilisateurs de Miro"
|
|
1116
|
+
- "Démarrez
|
|
1117
|
+
avec Miro"
|
|
1118
|
+
ctas:
|
|
1119
|
+
- "Regarder maintenant"
|
|
1120
|
+
- "Produit"
|
|
1121
|
+
- "Tarifs"
|
|
1122
|
+
- "Se connecter"
|
|
1123
|
+
- "Contacter l’équipe de vente"
|
|
1124
|
+
- "Démarrez gratuitement"
|
|
1125
|
+
- "S’inscrire gratuitement"
|
|
1126
|
+
navigation:
|
|
1127
|
+
- "IA"
|
|
1128
|
+
- "AI Workflows"
|
|
1129
|
+
- "Connecteurs"
|
|
1130
|
+
- "MCP"
|
|
1131
|
+
- "Playbooks d’IA"
|
|
1132
|
+
- "Miro Prototypes"
|
|
1133
|
+
- "Miro Insights"
|
|
1134
|
+
- "Miro Roadmaps"
|
|
1135
|
+
- "Miro Specs"
|
|
1136
|
+
- "Miro Technical Design"
|
|
1137
|
+
footer-links:
|
|
1138
|
+
- "Applications et intégrations"
|
|
1139
|
+
- "Plateforme de développement de Miro"
|
|
1140
|
+
- "ISO 42001 READY"
|
|
1141
|
+
```
|
|
1142
|
+
|
|
1143
|
+
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
## 15. Asset Inventory (Image Roles & Ratios)
|
|
1147
|
+
|
|
1148
|
+
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
|
|
1149
|
+
|
|
1150
|
+
```yaml
|
|
1151
|
+
assets:
|
|
1152
|
+
logo:
|
|
1153
|
+
count: 24
|
|
1154
|
+
avg-ratio: 3.44
|
|
1155
|
+
common-aspect: "~16:6 banner"
|
|
1156
|
+
editorial:
|
|
1157
|
+
count: 3
|
|
1158
|
+
avg-ratio: 0.63
|
|
1159
|
+
common-aspect: "~9:16 portrait"
|
|
1160
|
+
thumbnail:
|
|
1161
|
+
count: 7
|
|
1162
|
+
avg-ratio: 1.00
|
|
1163
|
+
common-aspect: "~1:1 square"
|
|
1164
|
+
```
|
|
1165
|
+
|
|
1166
|
+
**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`.
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
## 16. Component HTML Templates
|
|
1170
|
+
|
|
1171
|
+
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
|
|
1172
|
+
|
|
1173
|
+
### Button (primary action)
|
|
1174
|
+
```html
|
|
1175
|
+
<button class="btn btn-primary">
|
|
1176
|
+
Regarder maintenant
|
|
1177
|
+
</button>
|
|
1178
|
+
```
|
|
1179
|
+
_Source pattern detected: padding `8px 12px` · radius `8px` · weight `900`_
|
|
1180
|
+
|
|
1181
|
+
### Generic Card
|
|
1182
|
+
```html
|
|
1183
|
+
<div class="card">
|
|
1184
|
+
<!-- content -->
|
|
1185
|
+
</div>
|
|
1186
|
+
```
|
|
1187
|
+
_Source pattern detected: padding `0px` · radius `0px` · shadow `none`_
|
|
1188
|
+
|
|
1189
|
+
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
## 12. Known Extraction Gaps
|
|
1193
|
+
|
|
1194
|
+
*Auto-detected limitations of this extraction — understand before building:*
|
|
1195
|
+
|
|
1196
|
+
- **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.
|
|
1197
|
+
- **1 parasitic shadow(s) detected** — colored box-shadows (not near-black) found in allShadows. These likely originate from browser extensions or third-party injected widgets (e.g. Grammarly, chat overlays), not from the site's own design system. Discard them when building.
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
---
|
|
1201
|
+
## Extraction Completeness: 89/100 (B)
|
|
1202
|
+
|
|
1203
|
+
| Category | Score | Max | Detail |
|
|
1204
|
+
|----------|-------|-----|--------|
|
|
1205
|
+
| Colors & Palette | 25 | 25 | 20 named colors |
|
|
1206
|
+
| Typography | 18 | 20 | 7 roles defined |
|
|
1207
|
+
| Components | 16 | 20 | 4 specs extracted |
|
|
1208
|
+
| Motion & Interaction | 15 | 15 | Keyframes present, easing vars |
|
|
1209
|
+
| CSS Custom Properties | 10 | 10 | 294 vars |
|
|
1210
|
+
| Responsive Breakpoints | 5 | 5 | 6 breakpoints |
|
|
1211
|
+
| Variable Fonts | 0 | 5 | None detected |
|
|
1212
|
+
|
|
1213
|
+
## 12. Known Gaps & Confidence
|
|
1214
|
+
|
|
1215
|
+
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.
|
|
1216
|
+
|
|
1217
|
+
| Category | What's missing | Fallback strategy |
|
|
1218
|
+
|----------|----------------|-------------------|
|
|
1219
|
+
| **Hero imagery** | No dominant hero image detected above the fold | Use the canonical brand visual from §9b (OG image) for hero composition |
|
|
1220
|
+
|
|
1221
|
+
### Per-section confidence
|
|
1222
|
+
|
|
1223
|
+
| Section | Confidence | Reason |
|
|
1224
|
+
|---------|------------|--------|
|
|
1225
|
+
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
|
|
1226
|
+
| §2 Colors | High | 294 CSS vars (semantic naming requires ≥20 for high) |
|
|
1227
|
+
| §3 Typography | High | 7 typography roles inferred |
|
|
1228
|
+
| §4 Components | Medium | 4 component variants captured |
|
|
1229
|
+
| §7 Motion | High | Keyframes + transitions |
|
|
1230
|
+
| §8 Do's/Don'ts | High | 21 rules generated; design-decisions.json has evidence per rule |
|
|
1231
|
+
| §9 Responsive | High | 6 breakpoints detected |
|
|
1232
|
+
| §9b Photography | Medium | 25 images, hero not detected |
|
|
1233
|
+
|
|
1234
|
+
---
|
|
1235
|
+
*Generated by Clone Architect — automated Playwright extraction + design analysis.*
|
|
1236
|
+
*Source: https://miro.com | 2026-05-30T22:28:30.944Z*
|
|
1237
|
+
*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.*
|