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.
Files changed (90) hide show
  1. package/CHANGELOG.md +292 -0
  2. package/LICENSE +21 -0
  3. package/README.md +203 -0
  4. package/bin/clone-architect.mjs +476 -0
  5. package/bin/prism.mjs +467 -0
  6. package/catalog/index.json +1155 -0
  7. package/extractions/airbnb.com/DESIGN.md +1068 -0
  8. package/extractions/airbnb.com/tokens.json +507 -0
  9. package/extractions/attio.com/DESIGN.md +1295 -0
  10. package/extractions/attio.com/tokens.json +438 -0
  11. package/extractions/auroxdashboard.com/DESIGN.md +724 -0
  12. package/extractions/auroxdashboard.com/tokens.json +195 -0
  13. package/extractions/careerexplorer.com/DESIGN.md +1178 -0
  14. package/extractions/careerexplorer.com/tokens.json +141 -0
  15. package/extractions/chance.co/DESIGN.md +1209 -0
  16. package/extractions/chance.co/tokens.json +160 -0
  17. package/extractions/choisis-ton-avenir.com/DESIGN.md +1265 -0
  18. package/extractions/choisis-ton-avenir.com/tokens.json +227 -0
  19. package/extractions/example.com/DESIGN.md +436 -0
  20. package/extractions/example.com/tokens.json +91 -0
  21. package/extractions/getdesign.md/DESIGN.md +1009 -0
  22. package/extractions/getdesign.md/tokens.json +219 -0
  23. package/extractions/github.com/DESIGN.md +1130 -0
  24. package/extractions/github.com/tokens.json +2092 -0
  25. package/extractions/hello-charly.com/DESIGN.md +1146 -0
  26. package/extractions/hello-charly.com/tokens.json +322 -0
  27. package/extractions/hyperliquid.xyz/DESIGN.md +779 -0
  28. package/extractions/hyperliquid.xyz/tokens.json +598 -0
  29. package/extractions/instagram.com/DESIGN.md +996 -0
  30. package/extractions/instagram.com/tokens.json +1240 -0
  31. package/extractions/jobirl.com/DESIGN.md +1160 -0
  32. package/extractions/jobirl.com/tokens.json +139 -0
  33. package/extractions/life360.com/DESIGN.md +1133 -0
  34. package/extractions/life360.com/tokens.json +491 -0
  35. package/extractions/lifesum.com/DESIGN.md +965 -0
  36. package/extractions/lifesum.com/tokens.json +170 -0
  37. package/extractions/linear.app/DESIGN.md +1301 -0
  38. package/extractions/linear.app/tokens.json +732 -0
  39. package/extractions/mavoie.org/DESIGN.md +1148 -0
  40. package/extractions/mavoie.org/tokens.json +128 -0
  41. package/extractions/miro.com/DESIGN.md +1237 -0
  42. package/extractions/miro.com/tokens.json +401 -0
  43. package/extractions/notion.so/DESIGN.md +1319 -0
  44. package/extractions/notion.so/tokens.json +906 -0
  45. package/extractions/onetonline.org/DESIGN.md +909 -0
  46. package/extractions/onetonline.org/tokens.json +280 -0
  47. package/extractions/posthog.com/DESIGN.md +1024 -0
  48. package/extractions/posthog.com/tokens.json +197 -0
  49. package/extractions/revolut.com/DESIGN.md +1080 -0
  50. package/extractions/revolut.com/tokens.json +401 -0
  51. package/extractions/stripe.com/DESIGN.md +1272 -0
  52. package/extractions/stripe.com/tokens.json +794 -0
  53. package/extractions/switchcollective.com/DESIGN.md +1040 -0
  54. package/extractions/switchcollective.com/tokens.json +98 -0
  55. package/extractions/truity.com/DESIGN.md +970 -0
  56. package/extractions/truity.com/tokens.json +166 -0
  57. package/extractions/uniquekicks.be/DESIGN.md +1171 -0
  58. package/extractions/uniquekicks.be/tokens.json +237 -0
  59. package/package.json +122 -0
  60. package/scripts/analyze.ts +281 -0
  61. package/scripts/bank-register.ts +379 -0
  62. package/scripts/bank.ts +374 -0
  63. package/scripts/browser-stealth.ts +189 -0
  64. package/scripts/clone.ts +198 -0
  65. package/scripts/compare-vs-gd-final.ts +273 -0
  66. package/scripts/compare-vs-gd.ts +269 -0
  67. package/scripts/compare.ts +405 -0
  68. package/scripts/deploy-site.ts +181 -0
  69. package/scripts/diff-snapshots.ts +340 -0
  70. package/scripts/enrich-catalog.ts +212 -0
  71. package/scripts/extract.ts +2038 -0
  72. package/scripts/extractors/advanced.ts +524 -0
  73. package/scripts/extractors/widgets.ts +711 -0
  74. package/scripts/generate-design-md.ts +5775 -0
  75. package/scripts/generate-final-pdf.ts +274 -0
  76. package/scripts/generate-og-image.ts +87 -0
  77. package/scripts/generate-showcase.ts +1588 -0
  78. package/scripts/generate-site.ts +847 -0
  79. package/scripts/mass-extract.sh +91 -0
  80. package/scripts/post-process-all.sh +55 -0
  81. package/scripts/regen-catalog.ts +203 -0
  82. package/scripts/shared/cache.ts +149 -0
  83. package/scripts/shared/css-helpers.ts +263 -0
  84. package/scripts/shared/logger.ts +57 -0
  85. package/scripts/shared/named-colors.ts +355 -0
  86. package/scripts/shared/types.ts +220 -0
  87. package/scripts/sync-catalog.ts +105 -0
  88. package/scripts/tokenize.ts +988 -0
  89. package/templates/layout-template.md +52 -0
  90. package/templates/tokens-template.json +34 -0
@@ -0,0 +1,779 @@
1
+ ---
2
+ version: alpha
3
+ name: hyperliquid.xyz
4
+ description: "Light product system built on #dbfbf6 with #97fce4 as the primary CTA accent. Type anchored in Teodor at 90px / weight 400. Extracted automatically from https://hyperliquid.xyz/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
5
+ narrative: |
6
+ hyperliquid.xyz is built on a soft, near-white canvas (rgb(219, 251, 246)).
7
+ The system uses rgb(151, 252, 228) as the accent for primary actions and brand signals.
8
+ Teodor as the primary typeface.
9
+ A restrained elevation system (1 distinct shadow) — shadows reserved for the few elements that must lift off the page.
10
+ Interactions are smoothed by transitions across many elements, with little or no keyframe animation.
11
+
12
+ colors:
13
+ background: "#dbfbf6"
14
+ surface-1: "rgba(255, 255, 255, 0.16)"
15
+ surface-2: "rgba(255, 255, 255, 0.92)"
16
+ ink: "rgba(255, 255, 255, 0.92)"
17
+ ink-subtle: "#2d3748"
18
+ primary: "#97fce4"
19
+ on-primary: "#111111"
20
+ primary-hover: "#33998c"
21
+ hairline: "#b0c5c1"
22
+ semantic-error: "#f25a67"
23
+ semantic-success: "#26b562"
24
+
25
+ typography:
26
+ display-xl:
27
+ fontFamily: "Teodor"
28
+ fontSize: 90px
29
+ fontWeight: 400
30
+ lineHeight: 1
31
+ letterSpacing: 0
32
+ body:
33
+ fontFamily: "Inter"
34
+ fontSize: 16px
35
+ fontWeight: 400
36
+ lineHeight: 1.5
37
+ letterSpacing: 0
38
+ body-sm:
39
+ fontFamily: "Inter"
40
+ fontSize: 12px
41
+ fontWeight: 400
42
+ lineHeight: 1.5
43
+ letterSpacing: 0
44
+
45
+ rounded:
46
+ none: 0px
47
+ xs: 12px
48
+ sm: 12px
49
+ md: 14px
50
+ lg: 14px
51
+ xl: 37px
52
+ pill: 9999px
53
+
54
+ spacing:
55
+ xxs: 2px
56
+ xs: 4px
57
+ sm: 8px
58
+ md: 12px
59
+ lg: 24px
60
+ xl: 32px
61
+ xxl: 64px
62
+ section: 80px
63
+
64
+ components:
65
+
66
+
67
+ extracted_at: "2026-05-31T04:13:24.939Z"
68
+ completeness: 61
69
+ scoreVersion: "v2"
70
+
71
+ ---
72
+
73
+ # Design System — hyperliquid.xyz
74
+ > Extracted automatically by Prism from https://hyperliquid.xyz
75
+ > Date: 2026-05-31
76
+ > Viewport: Desktop 1440x900 + Mobile 390x844
77
+ > 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).
78
+
79
+ > **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
80
+ >
81
+ > - **Canvas**: `rgb(219, 251, 246)` is the page background. Every component composits against this.
82
+ > - **Accent**: `rgb(151, 252, 228)` for primary CTAs ONLY. Never decorative.
83
+ > - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
84
+ > - **Section rhythm**: 48px between major bands. Card padding: 24px.
85
+ > - **Default radius**: 12px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
86
+ >
87
+ > **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
88
+
89
+ ## 1. Visual Theme & Atmosphere
90
+
91
+ hyperliquid.xyz sits on a light gray canvas (`#dbfbf6`), a neutral foundation calibrated for sustained reading and component contrast.
92
+
93
+ Headlines are set in **Teodor**, a serif display face (the dominant type signature, e.g. "The Blockchain ToHouse All Finance" at 90px). A second display voice — **Inter** (sans) — appears in lower bands (e.g. "The flagship application: the premierexchange"), used for editorial accent. Body text is set in **Inter** with OpenType utility features (`"kern"`) for data-dense contexts. Headlines run at a remarkably light weight (400) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it.
94
+
95
+ Body text reads in Translucent Pure White (92%) (`rgba(255, 255, 255, 0.92)`). **#97fce4** (`#97fce4`) 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.
96
+ Motion design uses smooth easing curves for polished state transitions.
97
+
98
+ **Key Characteristics:**
99
+ - Background: Light Gray (`#dbfbf6`)
100
+ - Primary typeface: Inter
101
+ - Primary text: Translucent Pure White (92%) (`rgba(255, 255, 255, 0.92)`)
102
+ - Accent: #97fce4 (`#97fce4`)
103
+ - Display: 90px weight 400
104
+ - Shadow system: 1 distinct elevation levels
105
+ - Custom fonts loaded: Inter, Teodor
106
+
107
+ ## 2. Color Palette & Roles
108
+
109
+ ### Background & Surface
110
+ - **Light Gray** (`#dbfbf6`): Page background (primary)
111
+ - **Pure White** (`#ffffff`): Surface / elevated background
112
+ - **#97fce4** (`#97fce4`): Surface / elevated background
113
+ - **#a6ffe8** (`#a6ffe8`): Surface / elevated background
114
+ - **Off-White** (`#f5fefd`): Surface / elevated background
115
+
116
+ ### Text & Content
117
+ - **Translucent Pure White (92%)** (`rgba(255, 255, 255, 0.92)`): Primary body text
118
+ - **Pure Black** (`#000000`): Secondary text
119
+ - **Pure Black** (`#04060c`): Secondary text
120
+ - **Deep Navy** (`#072723`): Secondary text
121
+ - **Charcoal** (`#193833`): Secondary text
122
+
123
+ ### Accent & Interactive
124
+ - **Charcoal** (`#0f3933`): Interactive / accent
125
+ - **#33998c** (`#33998c`): Interactive / accent
126
+ - **Charcoal** (`#1a3d36`): Interactive / accent
127
+ - **Charcoal** (`#1c3f38`): Interactive / accent
128
+ - **#27564e** (`#27564e`): Interactive / accent
129
+ - **#92efd5** (`#92efd5`): Interactive / accent
130
+ - **Silver** (`#b0c5c1`): Interactive / accent
131
+
132
+ ### Full Extracted Palette
133
+ **21 colors rendered on the page** + **167** more declared in design tokens (CSS custom properties — not necessarily painted). (16 categorized above + 172 additional below.)
134
+ Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
135
+
136
+ - `#02231e` — Deep Navy
137
+ - `#072724` — Deep Navy
138
+ - `#122d28` — Warm Brown
139
+ - `#23524c` — Dark Gray
140
+ - `#edfffc` — Ghost White
141
+ - `#9ea9a9` — Cool Gray *(token)*
142
+ - `#798686` — Medium Gray *(token)*
143
+ - `#086f83` — #086f83 *(token)*
144
+ - `#00a3c4` — #00a3c4 *(token)*
145
+ - `#68d391` — #68d391 *(token)*
146
+ - `#005e93` — #005e93 *(token)*
147
+ - `#9b2c2c` — #9b2c2c *(token)*
148
+ - `#2a4365` — Slate *(token)*
149
+ - `#c5e4f3` — Light Blue *(token)*
150
+ - `#7b341e` — Chocolate *(token)*
151
+ - `#234e52` — Dark Gray *(token)*
152
+ - `rgba(66, 153, 225, 0.6)` — Translucent Cornflower Blue (60%) *(token)*
153
+ - `#d53f8c` — #d53f8c *(token)*
154
+ - `#b794f4` — #b794f4 *(token)*
155
+ - `#00b5d8` — Sky Bright *(token)*
156
+ - `#e5f4fd` — Light Gray *(token)*
157
+ - `#718096` — Slate Gray *(token)*
158
+ - `#38b2ac` — #38b2ac *(token)*
159
+ - `#cbd5e0` — Light Blue *(token)*
160
+ - `#d6bcfa` — Lavender *(token)*
161
+ - `#702459` — #702459 *(token)*
162
+ - `#faf089` — #faf089 *(token)*
163
+ - `#0078ff` — #0078ff *(token)*
164
+ - `#f25a67` — #f25a67 *(token)*
165
+ - `#4fd1c5` — #4fd1c5 *(token)*
166
+ - `#3396ff` — Ring Blue *(token)*
167
+ - `#c05621` — Terracotta *(token)*
168
+ - *…+140 more in `raw-css.json` (`desktop.allColors`).*
169
+
170
+ ### CSS Custom Properties (Design Tokens)
171
+
172
+ **Spacing Token**
173
+ - `--chakra-space-3`: `0.75rem`
174
+ - `--chakra-space-5`: `1.25rem`
175
+ - `--chakra-space-0-5`: `0.125rem`
176
+ - `--chakra-space-56`: `14rem`
177
+
178
+ **Motion Token**
179
+ - `--chakra-transition-easing-ease-out`: `cubic-bezier(0, 0, 0.2, 1)`
180
+ - `--chakra-transition-duration-normal`: `200ms`
181
+ - `--chakra-transition-duration-slower`: `400ms`
182
+
183
+ **Border Radius Token**
184
+ - `--wcm-icon-button-border-radius`: `50%`
185
+ - `--privy-border-radius-mdlg`: `16px`
186
+ - `--wcm-wallet-icon-large-border-radius`: `30px`
187
+ - `--wcm-secondary-button-border-radius`: `28px`
188
+
189
+ **Shadow Token**
190
+ - `--chakra-shadows-outline`: `0 0 0 3px rgba(66, 153, 225, 0.6)`
191
+ - `--chakra-shadows-xl`: `0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04)`
192
+ - `--chakra-shadows-2xl`: `0 25px 50px -12px rgba(0, 0, 0, 0.25)`
193
+ - `--chakra-shadows-xs`: `0 0 0 1px rgba(0, 0, 0, 0.05)`
194
+
195
+ **Text Color**
196
+ - `--privy-color-foreground-4`: `hsl(0,0%,25%)`
197
+ - `--privy-color-foreground`: `hsl(0,0%,87%)`
198
+ - `--privy-color-foreground-3`: `hsl(0,0%,45%)`
199
+ - `--privy-color-foreground-accent`: `hsl(0,0%,100%)`
200
+
201
+ **Error / Destructive**
202
+ - `--privy-color-error-light`: `hsl(7,80%,92%)`
203
+ - `--privy-color-error`: `hsl(7,80%,62%)`
204
+
205
+ **Primary Brand Color**
206
+ - `--privy-color-accent-dark`: `hsl(172,47%,30%)`
207
+ - `--privy-color-accent-light`: `hsl(172,47%,51%)`
208
+ - `--privy-color-accent`: `hsl(172,47%,36%)`
209
+
210
+ **Background**
211
+ - `--wcm-color-bg-3`: `rgb(228,231,231)`
212
+ - `--privy-color-background-2`: `hsl(0,0%,11%)`
213
+ - `--wcm-color-bg-1`: `rgb(255,255,255)`
214
+ - `--wcm-color-bg-2`: `rgb(241,243,243)`
215
+
216
+ **Z-Index Token**
217
+ - `--wcm-z-index`: `1000000`
218
+
219
+ **Success**
220
+ - `--privy-color-success`: `hsl(147,43%,52%)`
221
+ - `--privy-color-success-dark`: `hsl(147,43%,36%)`
222
+ - `--privy-color-success-light`: `hsl(147,43%,92%)`
223
+
224
+ **Other tokens**
225
+ - `--wcm-color-fg-3`: `rgb(158,169,169)`
226
+ - `--wcm-color-fg-2`: `rgb(121,134,134)`
227
+ - `--chakra-fontSizes-3xl`: `1.875rem`
228
+ - `--chakra-fontSizes-xl`: `1.25rem`
229
+ - `--chakra-colors-cyan-800`: `#086F83`
230
+ - `--chakra-colors-cyan-600`: `#00A3C4`
231
+ - `--chakra-colors-green-300`: `#68D391`
232
+ - `--chakra-colors-linkedin-800`: `#005E93`
233
+
234
+ ## 3. Typography Rules
235
+
236
+ ### Font Families
237
+ - **Primary**: `Inter`
238
+ - **Secondary**: `Teodor`
239
+ - **Font 3**: `system-ui`
240
+
241
+ ### Custom Fonts Loaded
242
+ - **Inter** weight 400 (normal)
243
+ - **Teodor** weight 400 (normal)
244
+
245
+ ### Typography Hierarchy
246
+
247
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
248
+ |------|------|------|--------|-------------|----------------|-------|
249
+ | Display Hero | Teodor | 90px | 400 | 1 | normal | Main headline (div) |
250
+ | Body | Inter | 16px | 400 | 1.5 | normal | Standard reading text |
251
+ | Link Small | Inter | 12px | 400 | 1.5 | normal | Link (12px) — Decoration: none |
252
+
253
+ ### Font Weight Scale
254
+
255
+ CSS custom properties define 9 explicit weight steps:
256
+ - `--chakra-fontWeights-hairline`: `100` — Thin
257
+ - `--chakra-fontWeights-thin`: `200` — ExtraLight
258
+ - `--chakra-fontWeights-light`: `300` — Light
259
+ - `--chakra-fontWeights-normal`: `400` — Regular
260
+ - `--chakra-fontWeights-medium`: `500` — Medium
261
+ - `--chakra-fontWeights-semibold`: `600` — SemiBold
262
+ - `--chakra-fontWeights-bold`: `700` — Bold
263
+ - `--chakra-fontWeights-extrabold`: `800` — ExtraBold
264
+ - `--chakra-fontWeights-black`: `900` — Black
265
+
266
+ ### Full Font Size Scale
267
+
268
+ Sizes detected in the design (descending): `90px`, `60px`, `55px`, `35px`, `28px`, `24px`, `20px`, `16px`, `12px`
269
+
270
+ > 6 size(s) detected outside the sampled hierarchy (60px, 55px, 35px, 28px, 24px, 20px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
271
+
272
+ ### OpenType & Variable Font Features
273
+
274
+ **Active OpenType features:**
275
+ - Kerning (kern) — `on`
276
+
277
+ ## 4. Component Stylings
278
+
279
+
280
+ ## 4b. Component Behaviors (State Matrix)
281
+
282
+ ### Interaction State Narrative
283
+
284
+
285
+ *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
286
+
287
+ ```yaml
288
+ component-behaviors:
289
+ link:
290
+ default:
291
+ bg: "rgba(0, 0, 0, 0)"
292
+ fg: "rgba(255, 255, 255, 0.92)"
293
+ ```
294
+
295
+ **Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
296
+
297
+ ## 5. Layout Principles
298
+
299
+ ### Layout Type
300
+ **top-nav + content**
301
+
302
+ ### Grid
303
+ Single column, centered content
304
+
305
+ ### Max Width
306
+ 1200px
307
+
308
+ ### Spacing System
309
+ Compact spacing — information density prioritized
310
+
311
+ | Token | Value |
312
+ |-------|-------|
313
+ | xxs | 2px |
314
+ | xs | 4px |
315
+ | sm | 8px |
316
+ | md | 12px |
317
+ | base | 16px |
318
+ | lg | 24px |
319
+ | xl | 32px |
320
+ | 2xl | 48px |
321
+ | 3xl | 64px |
322
+
323
+ ### Border Radius Scale
324
+ | Name | Value | Use |
325
+ |------|-------|-----|
326
+ | None | 0px | No rounding |
327
+ | Xs | 12px | Tiny corners (badges, micro elements) |
328
+ | Sm | 12px | Buttons, inputs, small elements |
329
+ | Md | 14px | Cards, containers |
330
+ | Lg | 14px | Large rounded elements, pill segments |
331
+ | Xl | 37px | Category strips, featured containers |
332
+ | Full | 9999px | Pills, avatars, circular elements |
333
+
334
+ ### Shape Language
335
+
336
+ | Component | Border Radius |
337
+ |-----------|---------------|
338
+ | Page Body | `0px` |
339
+
340
+ **Shape Personality**: Sharp & Angular — No rounding. Precise, editorial, enterprise feel.
341
+
342
+ **Full Radius Spectrum**: 12px, 14px, 37px, 60px (from `allBorderRadii` scan)
343
+
344
+
345
+ ## 5b. Spacing Rhythm Names
346
+
347
+ **Measured section rhythm**: bands use ~105px vertical padding (up to 160px) — **very airy / premium**. Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
348
+
349
+ *Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
350
+
351
+ | Name | Value | Use case |
352
+ |------|-------|----------|
353
+ | **hero** | `64px` | Top/bottom of full-bleed hero sections |
354
+ | **section** | `32px` | Between major bands (color change, content shift) |
355
+ | **subsection** | `24px` | Within a section, between content groups |
356
+ | **card** | `12px` | Card padding, list-item spacing |
357
+ | **compact** | `8px` | Form fields, tight clusters, badge padding |
358
+ | **micro** | `4px` | Icon-text gap, tag inner padding |
359
+
360
+ **Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
361
+
362
+ ## 5c. Widget & Structure Library
363
+
364
+ Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
365
+
366
+ **1/8 structural patterns detected.**
367
+
368
+ ### Footer Pattern
369
+
370
+ - **Columns:** 3
371
+ - **Links:** 4 total
372
+ - **Height:** 62px
373
+ - **Includes:** ✗ no newsletter | ✗ no social |
374
+ - **Clone instruction:** Build a 3-column footer with ~1 links per column.
375
+
376
+ ## 6. Depth & Elevation
377
+
378
+ | Level | Treatment | Use |
379
+ |-------|-----------|-----|
380
+ | Flat (Level 0) | No shadow | Page background, content blocks |
381
+ | Layered (Level 1) | <br>`rgb(151, 252, 215) 0px 0px 20px 5px` | Cards, elevated surfaces |
382
+
383
+ **Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
384
+
385
+ ## 7. Motion & Interaction
386
+
387
+ ### Easing System
388
+
389
+ | CSS Variable | Curve | Semantic Name |
390
+ |--------------|-------|---------------|
391
+ | `--chakra-transition-easing-ease-out` | `cubic-bezier(0, 0, 0.2, 1)` | Material Decelerate — Entrance |
392
+ | `--chakra-transition-easing-ease-in` | `cubic-bezier(0.4, 0, 1, 1)` | Material Accelerate — Exit |
393
+ | `--chakra-transition-easing-ease-in-out` | `cubic-bezier(0.4, 0, 0.2, 1)` | Material Standard — Balanced |
394
+
395
+ ### Duration Scale
396
+
397
+ | CSS Variable | Value | Tier |
398
+ |--------------|-------|------|
399
+ | `--chakra-transition-duration-normal` | `200ms` | Normal |
400
+ | `--chakra-transition-duration-slower` | `400ms` | Slow |
401
+ | `--chakra-transition-duration-slow` | `300ms` | Normal |
402
+ | `--chakra-transition-duration-faster` | `100ms` | Fast |
403
+ | `--chakra-transition-duration-ultra-slow` | `500ms` | Slow |
404
+ | `--chakra-transition-duration-fast` | `150ms` | Fast |
405
+ | `--chakra-transition-duration-ultra-fast` | `50ms` | Instant |
406
+
407
+ ### Copy-Paste Transition Snippets
408
+
409
+ **Background**
410
+ ```css
411
+ transition: background-color 0.2s;
412
+ ```
413
+
414
+ **Color / Background**
415
+ ```css
416
+ transition: color 0.2s ease-in-out;
417
+ ```
418
+
419
+ **Background**
420
+ ```css
421
+ transition: background 0.3s, color 0.3s;
422
+ ```
423
+
424
+ **Transform**
425
+ ```css
426
+ transition: transform 0.5s ease-out;
427
+ ```
428
+
429
+ ### Keyframe Animation Catalog
430
+
431
+ | Animation Name | Type | Animated Props | Use Hint |
432
+ |----------------|------|----------------|----------|
433
+ | `animation-1pr2sp7` | Fade + Move | transform, opacity | UI transition |
434
+ | `animation-m6kcno` | Custom | mask-size | UI transition |
435
+
436
+ ### Motion Fingerprint
437
+
438
+ - **Speed Character**: Balanced Pacing (median duration: `200ms`)
439
+ - **Dominant Easing**: custom cubic-bezier curves
440
+ - **Animation Library**: 2 unique animations (2 total including variants)
441
+
442
+ > This design moves with balanced pacing timing using custom cubic-bezier curves, creating a UI that feels natural and fluid.
443
+
444
+ ## 8. Do's and Don'ts
445
+
446
+ ### Do
447
+ - Use Light Gray (`#dbfbf6`) as the page background — it's intentionally not pure white
448
+ - Use Inter as the primary typeface — it defines the brand personality
449
+ - Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
450
+ - Use #97fce4 (`#97fce4`) as the primary accent — it's the brand's signature interactive color
451
+ - Respect the 4px–32px spacing range — the design uses a wide scale for visual breathing room
452
+
453
+ ### Don't
454
+ - Don't use pure white (`#ffffff`) as a page background — the warm tone is part of the brand identity
455
+ - Don't substitute with generic sans-serif or serif — the custom font carries the brand
456
+ - Don't invent new shadow values — use only the extracted shadow levels
457
+ - Don't introduce additional saturated accent colors — the palette is intentionally controlled
458
+
459
+
460
+ ## 7b. Enforceable Brand Rules
461
+
462
+ *Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
463
+
464
+ ```yaml
465
+ rules:
466
+ - id: brand-canvas-001
467
+ type: do
468
+ rule: "Always use the page background `rgb(219, 251, 246)` as the base canvas"
469
+ why: "Every component is designed to composit against this exact tone"
470
+ test: "document.body.style.backgroundColor === 'rgb(219, 251, 246)'"
471
+ - id: brand-accent-001
472
+ type: do
473
+ rule: "Reserve `rgb(151, 252, 228)` for primary CTAs and brand-mark signals only"
474
+ why: "Single chromatic assertion device — overuse dilutes meaning"
475
+ test: "querySelectorAll('[style*=\"rgb(151, 252, 228)\"]').length <= 3 per fold"
476
+ ```
477
+
478
+ ## 9. Responsive Behavior
479
+
480
+ ### Breakpoints
481
+ | Name | Width | Key Changes |
482
+ |------|-------|-------------|
483
+ | Mobile | 320px | Single column, compact spacing |
484
+ | Tablet | 768px | Multi-column grids begin |
485
+ | Desktop | 1200px | Full feature layout |
486
+ | Large Desktop | 1500px | Maximum content width |
487
+ | Ultra-wide | 1600px | Maximum content width |
488
+
489
+ ### Token Diff — Desktop vs Mobile
490
+
491
+ | Element | Property | Desktop | Mobile |
492
+ |---------|----------|---------|--------|
493
+ | heading | font-size | `90px` | `55px` |
494
+ | heading | line-height | `90px` | `55px` |
495
+
496
+ ### Collapsing Strategy
497
+ - Headlines: 90px → 55px on mobile
498
+ - Navigation: horizontal links → hamburger menu on mobile
499
+ - Cards: multi-column → stacked vertical on mobile
500
+ - Footer: multi-column → stacked single column on mobile
501
+
502
+ ### Touch Targets
503
+ - Navigation: adequate spacing between items
504
+ - Interactive elements: minimum 44px touch target recommended
505
+
506
+ ### Collapsing Narrative
507
+
508
+ How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
509
+
510
+ - **Footer columns collapse:** 3 columns (desktop) → 2 columns (mobile).
511
+
512
+ ## 9b. Visual Tone & Photography
513
+
514
+ **Tone:** Illustration-driven
515
+
516
+ The site relies primarily on illustrations, vector art, and decorative SVG elements rather than photography. Use commissioned illustrations, icon sets, or generated graphics for clones — stock photos will feel off-brand.
517
+
518
+ **Hero Image (above-fold dominant visual):**
519
+ - Aspect: 1.85:1 (landscape (16:9-ish))
520
+ - Rendered size: 744×403px
521
+ - *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
522
+
523
+ **Aspect Ratio Distribution:**
524
+ - Landscape (1.15–2.3): 2 (20%)
525
+ - Portrait (<0.87): 0 (0%)
526
+ - Square (0.87–1.15): 7 (70%)
527
+ - Ultra-wide (>2.3): 1 (10%)
528
+
529
+ **Media Format Mix:**
530
+ - PNG: 1 (logos, transparent UI elements, mockups)
531
+ - SVG: 7 (icons, illustrations, decorative geometry)
532
+ - GIF: 3 (animated content)
533
+
534
+ **Average rendered image size:** 276×162px
535
+ **Above-fold image count:** 1 / 10
536
+
537
+ **Decorative Patterns Detected:**
538
+ - 1 large decorative SVG shape (≥200×200px, non-icon) — likely blob/illustration accents
539
+ - 2 background patterns (non-photo url() backgrounds) — textures/illustrations as backdrops
540
+
541
+ **Clone instruction for decorative work:** Decorative details are subtle — don't over-style; the design relies on restraint.
542
+
543
+ **Imagery Guidance for clones:**
544
+ - Use vector illustration as the primary visual language — photos will read as off-brand.
545
+ - Maintain consistent illustration style (line weight, color palette) across the site.
546
+
547
+ ## 10. Agent Prompt Guide
548
+
549
+ ### Quick Reference
550
+ - Background: Light Gray (`#dbfbf6`)
551
+ - Primary text: Translucent Pure White (92%) (`rgba(255, 255, 255, 0.92)`)
552
+ - Accent: #97fce4 (`#97fce4`)
553
+ - Border: Silver (`#b0c5c1`)
554
+ - Font: Inter
555
+ - Body: 16px weight 400
556
+
557
+ ### Example Component Prompts
558
+ - "Create a hero section on Light Gray background (#dbfbf6). Headline at 90px Inter weight 400, line-height 1, color rgba(255, 255, 255, 0.92)."
559
+ - "Create the primary CTA button: `#97fce4` background, `#111111` text, 9999px border-radius, 11px 21px padding, 400 weight, Inter font."
560
+ - "Build navigation: sticky on `#dbfbf6`. Inter 16px weight 400 for links."
561
+
562
+ ### Iteration Guide
563
+ 1. **Canvas**: Set the light canvas to Light Gray (`#dbfbf6`) — every component is composited against this exact base.
564
+ 2. **Typography**: All type in Inter, weight range 100–900. Never exceed 900 — heavier weights break the brand's tonal restraint.
565
+ 3. **Accent**: #97fce4 (`#97fce4`) is the sole interactive color. On hover → #33998c (`#33998c`). Use CSS transitions, not opacity/brightness filters.
566
+ 4. **Spacing**: Use the `--ca-space-*` token scale (4px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
567
+ 5. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
568
+
569
+ ## 11. CSS Design Tokens Raw Export
570
+
571
+ *Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
572
+
573
+ ```css
574
+ /* Colors */
575
+ :root {
576
+ --ca-background: #dbfbf6;
577
+ --ca-ink: #ffffff;
578
+ --ca-ink-subtle: #2d3748;
579
+ --ca-primary: #97fce4;
580
+ --ca-on-primary: #111111;
581
+ --ca-primary-hover: #33998c;
582
+ --ca-hairline: #b0c5c1;
583
+ --ca-semantic-error: #f25a67;
584
+ --ca-semantic-success: #26b562;
585
+ }
586
+
587
+ /* Typography */
588
+ :root {
589
+ --ca-font-primary: "Teodor", system-ui, sans-serif;
590
+ --ca-text-display: 90px;
591
+ --ca-text-body: 16px;
592
+ --ca-text-small: 12px;
593
+ }
594
+
595
+ /* Spacing & Radius */
596
+ :root {
597
+ --ca-space-xxs: 2px;
598
+ --ca-space-xs: 4px;
599
+ --ca-space-sm: 8px;
600
+ --ca-space-md: 12px;
601
+ --ca-space-base: 16px;
602
+ --ca-space-lg: 24px;
603
+ --ca-space-xl: 32px;
604
+ --ca-space-2xl: 48px;
605
+ --ca-space-3xl: 64px;
606
+ --ca-radius-none: 0px;
607
+ --ca-radius-xs: 12px;
608
+ --ca-radius-sm: 12px;
609
+ --ca-radius-md: 14px;
610
+ --ca-radius-lg: 14px;
611
+ --ca-radius-xl: 37px;
612
+ --ca-radius-full: 9999px;
613
+ }
614
+ ```
615
+
616
+
617
+ ## 13. Page Structure Skeleton
618
+
619
+ *The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
620
+
621
+ ```yaml
622
+ page-skeleton:
623
+ - section: content-section
624
+ tag: div
625
+ height: 900px
626
+ width: full-bleed
627
+ layout: block
628
+ children: 4
629
+ tone: dark
630
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
631
+ - section: unknown
632
+ tag: div
633
+ height: 900px
634
+ width: full-bleed
635
+ layout: flex-row justify=center
636
+ children: 1
637
+ bg-treatment: image
638
+ tone: dark
639
+ padding: "20px"
640
+ - section: unknown
641
+ tag: div
642
+ height: 900px
643
+ width: full-bleed
644
+ layout: flex-row justify=center
645
+ children: 1
646
+ tone: dark
647
+ padding: "20px"
648
+ - section: content-section
649
+ tag: div
650
+ height: 1800px
651
+ width: full-bleed
652
+ layout: block
653
+ children: 1
654
+ bg: "rgb(219, 251, 246)"
655
+ vertical-padding: ~45px
656
+ - section: content-section
657
+ tag: div
658
+ height: 900px
659
+ width: 1200px
660
+ layout: flex-column justify=center
661
+ children: 2
662
+ tone: dark
663
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
664
+ - section: unknown
665
+ tag: div
666
+ height: 382px
667
+ width: full-bleed
668
+ layout: block
669
+ children: 1
670
+ bg: "rgb(7, 39, 36)"
671
+ tone: dark
672
+ vertical-padding: ~105px (airy)
673
+ padding: "60px 0px 150px"
674
+ - section: unknown
675
+ tag: div
676
+ height: 900px
677
+ width: full-bleed
678
+ layout: flex-row justify=center
679
+ children: 1
680
+ bg: "rgb(245, 254, 253)"
681
+ bg-treatment: image
682
+ - section: unknown
683
+ tag: div
684
+ height: 664px
685
+ width: full-bleed
686
+ layout: block
687
+ children: 1
688
+ bg: "rgb(237, 255, 252)"
689
+ bg-treatment: image
690
+ vertical-padding: ~160px (airy)
691
+ padding: "160px 0px"
692
+ - section: unknown
693
+ tag: div
694
+ height: 459px
695
+ width: full-bleed
696
+ layout: flex-row justify=center
697
+ children: 2
698
+ bg: "rgb(219, 251, 246)"
699
+ vertical-padding: ~125px (airy)
700
+ - section: logo-strip
701
+ tag: div
702
+ height: 201px
703
+ width: full-bleed
704
+ layout: block
705
+ children: 1
706
+ bg: "rgb(7, 39, 35)"
707
+ tone: dark
708
+ vertical-padding: ~37px
709
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
710
+ ```
711
+
712
+ **Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
713
+
714
+
715
+ ## 15. Asset Inventory (Image Roles & Ratios)
716
+
717
+ *Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
718
+
719
+ ```yaml
720
+ assets:
721
+ hero:
722
+ count: 1
723
+ avg-ratio: 2.28
724
+ common-aspect: "~16:9 landscape"
725
+ thumbnail:
726
+ count: 7
727
+ avg-ratio: 1.00
728
+ common-aspect: "~1:1 square"
729
+ ```
730
+
731
+ **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`.
732
+
733
+
734
+ ## 12. Known Extraction Gaps
735
+
736
+ *Auto-detected limitations of this extraction — understand before building:*
737
+
738
+ - **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.
739
+ - **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.
740
+
741
+
742
+ ---
743
+ ## Extraction Completeness: 61/100 (C)
744
+
745
+ | Category | Score | Max | Detail |
746
+ |----------|-------|-----|--------|
747
+ | Colors & Palette | 24 | 25 | 17 named colors |
748
+ | Typography | 8 | 20 | 3 roles defined |
749
+ | Components | 0 | 20 | 0 specs extracted |
750
+ | Motion & Interaction | 15 | 15 | Keyframes present, easing vars |
751
+ | CSS Custom Properties | 10 | 10 | 496 vars |
752
+ | Responsive Breakpoints | 5 | 5 | 5 breakpoints |
753
+ | Variable Fonts | 0 | 5 | None detected |
754
+
755
+ ## 12. Known Gaps & Confidence
756
+
757
+ 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.
758
+
759
+ | Category | What's missing | Fallback strategy |
760
+ |----------|----------------|-------------------|
761
+ | **Form inputs** | No text input fields detected on this page | Use the documented border-radius + accent border on focus; 12-16px padding inside |
762
+
763
+ ### Per-section confidence
764
+
765
+ | Section | Confidence | Reason |
766
+ |---------|------------|--------|
767
+ | §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
768
+ | §2 Colors | High | 496 CSS vars (semantic naming requires ≥20 for high) |
769
+ | §3 Typography | Medium | 3 typography roles inferred |
770
+ | §4 Components | Low | 0 component variants captured |
771
+ | §7 Motion | High | Keyframes + transitions |
772
+ | §8 Do's/Don'ts | High | 9 rules generated; design-decisions.json has evidence per rule |
773
+ | §9 Responsive | High | 5 breakpoints detected |
774
+ | §9b Photography | High | 10 images, hero present |
775
+
776
+ ---
777
+ *Generated by Prism — automated Playwright extraction + design analysis.*
778
+ *Source: https://hyperliquid.xyz | 2026-05-31T04:13:25.038Z*
779
+ *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.*