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,724 @@
1
+ ---
2
+ version: alpha
3
+ name: auroxdashboard.com
4
+ description: "Dark-canvas product system built on #22222b with #2563eb as the single brand accent. Type anchored in Inter var at 48px / weight 600. Extracted automatically from https://auroxdashboard.com/ — every value from getComputedStyle(), no approximation."
5
+ narrative: |
6
+ auroxdashboard.com is built on a near-black canvas (rgb(34, 34, 43)).
7
+ The system uses #2563eb as the high-saturation accent for primary actions.
8
+ Moderately rounded CTAs (12px) — modern SaaS standard, neither sharp nor pill alongside Inter var as the primary typeface.
9
+
10
+ colors:
11
+ canvas: "#22222b"
12
+ surface-1: "#22222b"
13
+ surface-2: "#22222b"
14
+ ink: "#ffffff"
15
+ ink-muted: "rgba(255, 255, 255, 0.65)"
16
+ ink-subtle: "rgba(255, 255, 255, 0.1)"
17
+ primary: "#2563eb"
18
+ on-primary: "#ffffff"
19
+ primary-hover: "#e8c292"
20
+ hairline: "rgba(255,255,255,0.08)"
21
+ primary-focus: "#2563eb"
22
+ semantic-error: "#ef4444"
23
+ semantic-success: "#10b981"
24
+ semantic-warning: "#f1c40f"
25
+ semantic-info: "#3498db"
26
+
27
+ typography:
28
+ headline:
29
+ fontFamily: "Inter var"
30
+ fontSize: 30px
31
+ fontWeight: 700
32
+ lineHeight: 1.2
33
+ letterSpacing: 0
34
+ body:
35
+ fontFamily: "Inter var"
36
+ fontSize: 16px
37
+ fontWeight: 400
38
+ lineHeight: 1.5
39
+ letterSpacing: 0
40
+ body-sm:
41
+ fontFamily: "Inter var"
42
+ fontSize: 14px
43
+ fontWeight: 400
44
+ lineHeight: 1.43
45
+ letterSpacing: 0
46
+ button:
47
+ fontFamily: "Inter var"
48
+ fontSize: 14px
49
+ fontWeight: 600
50
+ lineHeight: 1.43
51
+ letterSpacing: 0
52
+
53
+ rounded:
54
+ none: 0px
55
+ xs: 12px
56
+ sm: 12px
57
+ md: 12px
58
+ lg: 12px
59
+ xl: 12px
60
+ xxl: 24px
61
+ pill: 9999px
62
+
63
+ spacing:
64
+ xxs: 2px
65
+ xs: 12px
66
+ sm: 16px
67
+ md: 12px
68
+ lg: 24px
69
+ xl: 32px
70
+ xxl: 64px
71
+ section: 80px
72
+
73
+ components:
74
+ button-light--invert:
75
+ backgroundColor: "{colors.hairline}"
76
+ textColor: "#000000"
77
+ typography: "{typography.button}"
78
+ rounded: "{rounded.xs}"
79
+ padding: 12px 16px
80
+ input-text-input:
81
+ backgroundColor: "{colors.surface-2}"
82
+ textColor: "{colors.hairline}"
83
+ typography: "{typography.button}"
84
+ rounded: "{rounded.xs}"
85
+ padding: 12px 16px
86
+
87
+ extracted_at: "2026-05-30T20:55:48.891Z"
88
+ completeness: 49
89
+ scoreVersion: "v2"
90
+
91
+ ---
92
+
93
+ # Design System — auroxdashboard.com
94
+ > Extracted automatically by Clone Architect from https://www.auroxdashboard.com/
95
+ > Date: 2026-05-30
96
+ > Viewport: Desktop 1440x900 + Mobile 390x844
97
+ > Every value in this file comes from real getComputedStyle() — no approximation.
98
+
99
+ > **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
100
+ >
101
+ > - **Canvas**: `rgb(34, 34, 43)` is the page background. Every component composits against this.
102
+ > - **Accent**: `#2563eb` for primary CTAs ONLY. Never decorative.
103
+ > - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
104
+ > - **Section rhythm**: 48px between major bands. Card padding: 24px.
105
+ > - **Default radius**: 12px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
106
+ >
107
+ > **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
108
+
109
+ ## 1. Visual Theme & Atmosphere
110
+
111
+ auroxdashboard.com commits fully to dark-mode as the native medium, not as a toggled alternative. The canvas is a dark surface (`#22222b`) where elevation is communicated through subtle white-opacity gradations rather than traditional shadows — semi-transparent white borders act as the primary depth indicator, like wireframes etched in moonlight.
112
+
113
+ Typography is anchored in **Inter var**. Headlines run at a remarkably light weight (0) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it.
114
+
115
+ Body text reads in Pure White (`#ffffff`). **Primary Color** (`#2563eb`) provides interactive distinction without visual aggression. Elevation is built from multi-layer shadow stacks — each level combines several blurred layers at varying offsets to simulate the way light actually falls on stacked surfaces, not the simulated drop-shadow of cheap interfaces.
116
+
117
+
118
+ **Key Characteristics:**
119
+ - Background: Warm Brown (`#22222b`)
120
+ - Primary typeface: InterVariable
121
+ - Primary text: Light Gray (`#e5e7eb`)
122
+ - Accent: Primary Color (`#2563eb`)
123
+ - Shadow system: 1 distinct elevation levels
124
+ - Custom fonts loaded: InterVariable, Inter var, Inter, InterDisplay
125
+
126
+ ## 2. Color Palette & Roles
127
+
128
+ ### Background & Surface
129
+ - **Warm Brown** (`#22222b`): Page background (primary)
130
+ - **Pure Black** (`#000000`): Surface / elevated background
131
+
132
+ ### Text & Content
133
+ - **Pure White** (`#ffffff`): Primary body text
134
+ - **Text Muted** (`#94a3b8`): Text (CSS var)
135
+ - **Text Primary** (`#f1f5f9`): Text (CSS var)
136
+ - **#e8c292** (`#e8c292`): Secondary text
137
+
138
+ ### Accent & Interactive
139
+ - **Primary Color** (`#2563eb`): Accent / interactive (CSS var)
140
+
141
+ ### Border & Divider
142
+ - **Border Color** (`#475569`): Border (CSS var)
143
+
144
+ ### Full Extracted Palette
145
+ 29 distinct colors detected on the live page (8 categorized above + 21 additional below). Every value is a real `getComputedStyle()` color — no approximation.
146
+
147
+ - `#e5e7eb` — Light Gray
148
+ - `#f1c40f` — Amber
149
+ - `#ef4444` — Vermillion
150
+ - `#10b981` — Emerald
151
+ - `#616161` — Dim Gray
152
+ - `#3498db` — #3498db
153
+ - `#f59e0b` — #f59e0b
154
+ - `#334155` — Dark Gray
155
+ - `#e74c3c` — Vermillion
156
+ - `#757575` — Stone
157
+ - `#121212` — Jet Black
158
+ - `#07bc0c` — #07bc0c
159
+ - `#bb86fc` — #bb86fc
160
+ - `#4cd964` — #4cd964
161
+ - `#5ac8fa` — #5ac8fa
162
+ - `#007aff` — #007aff
163
+ - `#34aadc` — #34aadc
164
+ - `#5856d6` — Slate Blue
165
+ - `#ff2d55` — Warm Rose
166
+ - `#e0e0e0` — Light Gray
167
+ - `#1e293b` — Charcoal
168
+
169
+ ### CSS Custom Properties (Design Tokens)
170
+
171
+ **Shadow Token**
172
+ - `--tw-ring-offset-shadow`: `0 0 #0000`
173
+ - `--tw-ring-shadow`: `0 0 #0000`
174
+ - `--tw-drop-shadow`: ``
175
+ - `--shadow-lg`: `0 10px 15px -3px rgba(0, 0, 0, .3)`
176
+
177
+ **Warning**
178
+ - `--toastify-color-warning`: `#f1c40f`
179
+ - `--toastify-text-color-warning`: `#fff`
180
+ - `--toastify-icon-color-warning`: `#f1c40f`
181
+
182
+ **Z-Index Token**
183
+ - `--toastify-z-index`: `9999`
184
+
185
+ **Error / Destructive**
186
+ - `--toastify-text-color-error`: `#fff`
187
+ - `--toastify-color-error`: `#e74c3c`
188
+ - `--toastify-icon-color-error`: `#e74c3c`
189
+
190
+ **Spacing Token**
191
+ - `--tw-numeric-spacing`: ``
192
+ - `--tw-border-spacing-x`: `0`
193
+ - `--tw-border-spacing-y`: `0`
194
+
195
+ **Font Family Token**
196
+ - `--toastify-font-family`: `sans-serif`
197
+
198
+ **Success**
199
+ - `--toastify-icon-color-success`: `#07bc0c`
200
+ - `--toastify-text-color-success`: `#fff`
201
+ - `--toastify-color-success`: `#07bc0c`
202
+
203
+ **Motion Token**
204
+ - `--transition-fast`: `.2s cubic-bezier(.4, 0, .2, 1)`
205
+
206
+ **Other tokens**
207
+ - `--primary-color`: `#2563eb`
208
+ - `--danger-color`: `#ef4444`
209
+ - `--success-color`: `#10b981`
210
+ - `--toastify-spinner-color`: `#616161`
211
+ - `--toastify-color-info`: `#3498db`
212
+ - `--warning-color`: `#f59e0b`
213
+ - `--text-muted`: `#94a3b8`
214
+ - `--border-color`: `#475569`
215
+
216
+ ## 3. Typography Rules
217
+
218
+ ### Font Families
219
+ - **Primary**: `Inter var`
220
+ - **Secondary**: `InterVariable`
221
+ - **Font 3**: `Inter`
222
+ - **Font 4**: `InterDisplay`
223
+
224
+ ### Custom Fonts Loaded
225
+ - **InterVariable** weight 100 900 (normal)
226
+ - **Inter var** weight 100 900 (normal)
227
+ - **Inter** weight 100 (normal)
228
+ - **Inter** weight 200 (normal)
229
+ - **Inter** weight 300 (normal)
230
+ - **Inter** weight 400 (normal)
231
+ - **Inter** weight 500 (normal)
232
+ - **Inter** weight 600 (normal)
233
+ - **Inter** weight 700 (normal)
234
+ - **Inter** weight 800 (normal)
235
+ - **Inter** weight 900 (normal)
236
+ - **InterDisplay** weight 100 (normal)
237
+ - **InterDisplay** weight 200 (normal)
238
+ - **InterDisplay** weight 300 (normal)
239
+ - **InterDisplay** weight 400 (normal)
240
+ - **InterDisplay** weight 500 (normal)
241
+ - **InterDisplay** weight 600 (normal)
242
+ - **InterDisplay** weight 700 (normal)
243
+ - **InterDisplay** weight 800 (normal)
244
+ - **InterDisplay** weight 900 (normal)
245
+
246
+ ### Typography Hierarchy
247
+
248
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
249
+ |------|------|------|--------|-------------|----------------|-------|
250
+ | Label Heading | Inter var | 30px | 700 | 1.2 | normal | Small heading (H4) |
251
+ | Body | Inter var | 16px | 400 | 1.5 | normal | Standard reading text |
252
+ | Button | Inter var | 14px | 600 | 1.43 | normal | Button label (14px) |
253
+ | Link | Inter var | 14px | 400 | 1.43 | normal | Link (14px) — Decoration: none |
254
+
255
+ ### Full Font Size Scale
256
+
257
+ Sizes detected in the design (descending): `30px`, `16px`, `14px`
258
+
259
+ ## 4. Component Stylings
260
+
261
+ ### Buttons
262
+
263
+ **Light / Invert**
264
+ - Background: `#ffffff` `{colors.hairline}`
265
+ - Text: `#000000`
266
+ - Padding: 12px 16px
267
+ - Radius: 12px
268
+ - Font: 14px weight 600
269
+ - Use: Bright CTA on dark sections
270
+ - Focus: outline: `rgb(37, 99, 235) solid 2px`
271
+
272
+ ### Inputs & Forms
273
+
274
+ **Text Input**
275
+ - Background: `#22222b` `{colors.surface-2}`
276
+ - Text: `#ffffff` `{colors.hairline}`
277
+ - Padding: 12px 16px
278
+ - Radius: 12px
279
+ - Border: 1px solid rgba(255, 255, 255, 0.1)
280
+ - Shadow: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0...`
281
+ - Font: 14px weight 400
282
+ - Use: Text fields, search inputs
283
+ - Focus: outline: `rgba(0, 0, 0, 0) solid 2px`
284
+
285
+
286
+ ## 4b. Component Behaviors (State Matrix)
287
+
288
+ ### Interaction State Narrative
289
+
290
+
291
+ *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
292
+
293
+ ```yaml
294
+ component-behaviors:
295
+ button:
296
+ default:
297
+ bg: "rgb(255, 255, 255)"
298
+ fg: "rgb(0, 0, 0)"
299
+ focus:
300
+ bg: "rgb(255, 255, 255)"
301
+ fg: "rgb(0, 0, 0)"
302
+ input:
303
+ default:
304
+ bg: "rgb(34, 34, 43)"
305
+ fg: "rgb(255, 255, 255)"
306
+ border: "1px solid rgba(255, 255, 255, 0.1)"
307
+ shadow: "rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0"
308
+ focus:
309
+ bg: "rgb(34, 34, 43)"
310
+ fg: "rgb(255, 255, 255)"
311
+ border: "1px solid rgba(255, 255, 255, 0.1)"
312
+ shadow: "rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0"
313
+ link:
314
+ default:
315
+ bg: "rgba(0, 0, 0, 0)"
316
+ fg: "rgb(232, 194, 146)"
317
+ ```
318
+
319
+ **Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
320
+
321
+
322
+ ## 4c. Component Vocabulary (Closed System)
323
+
324
+ *This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
325
+
326
+ ### Buttons
327
+ - **1 shape(s)** in this system: `Light / Invert`
328
+ - **DO NOT introduce new buttons variants** without justification
329
+
330
+ ### Inputs & Forms
331
+ - **1 shape(s)** in this system: `Text Input`
332
+ - **DO NOT introduce new inputs & forms variants** without justification
333
+
334
+ ## 5. Layout Principles
335
+
336
+ ### Layout Type
337
+ **top-nav + content**
338
+
339
+ ### Grid
340
+ Single column, centered content
341
+
342
+ ### Max Width
343
+ 1200px
344
+
345
+ ### Spacing System
346
+ Compact spacing — information density prioritized
347
+
348
+ | Token | Value |
349
+ |-------|-------|
350
+ | xxs | 2px |
351
+ | xs | 12px |
352
+ | sm | 16px |
353
+ | md | 12px |
354
+ | base | 16px |
355
+ | lg | 24px |
356
+ | xl | 32px |
357
+ | 2xl | 48px |
358
+ | 3xl | 64px |
359
+
360
+ ### Border Radius Scale
361
+ | Name | Value | Use |
362
+ |------|-------|-----|
363
+ | None | 0px | No rounding |
364
+ | Xs | 12px | Tiny corners (badges, micro elements) |
365
+ | Sm | 12px | Buttons, inputs, small elements |
366
+ | Md | 12px | Cards, containers |
367
+ | Lg | 12px | Large rounded elements, pill segments |
368
+ | Xl | 12px | Category strips, featured containers |
369
+ | Full | 9999px | Pills, avatars, circular elements |
370
+
371
+ ### Shape Language
372
+
373
+ | Component | Border Radius |
374
+ |-----------|---------------|
375
+ | Buttons | `12px` |
376
+ | Inputs & Forms | `12px` |
377
+ | Page Body | `0px` |
378
+ | Primary Input | `12px` |
379
+
380
+ **Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.
381
+
382
+ **Full Radius Spectrum**: 12px (from `allBorderRadii` scan)
383
+
384
+
385
+ ## 5b. Spacing Rhythm Names
386
+
387
+ *Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
388
+
389
+ | Name | Value | Use case |
390
+ |------|-------|----------|
391
+ | **hero** | `64px` | Top/bottom of full-bleed hero sections |
392
+ | **section** | `32px` | Between major bands (color change, content shift) |
393
+ | **subsection** | `24px` | Within a section, between content groups |
394
+ | **card** | `12px` | Card padding, list-item spacing |
395
+ | **compact** | `16px` | Form fields, tight clusters, badge padding |
396
+ | **micro** | `12px` | Icon-text gap, tag inner padding |
397
+
398
+ **Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
399
+
400
+ ## 5c. Widget & Structure Library
401
+
402
+ Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
403
+
404
+ **1/8 structural patterns detected.**
405
+
406
+ ### Footer Pattern
407
+
408
+ - **Columns:** 1
409
+ - **Links:** 0 total
410
+ - **Height:** 112px
411
+ - **Includes:** ✗ no newsletter | ✗ no social | ✓ copyright
412
+ - **Clone instruction:** Build a 1-column footer with ~0 links per column, and a copyright line.
413
+
414
+ ## 6. Depth & Elevation
415
+
416
+ | Level | Treatment | Use |
417
+ |-------|-----------|-----|
418
+ | Flat (Level 0) | No shadow | Page background, content blocks |
419
+ | 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.1) 0px 1px 3px 0px`,<br>`rgba(0, 0, 0, 0.1) 0px 1px 2px -1px` | Cards, elevated surfaces |
420
+
421
+ **Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
422
+
423
+ ## 7. Motion & Interaction
424
+
425
+ ### Keyframe Animation Catalog
426
+
427
+ | Animation Name | Type | Animated Props | Use Hint |
428
+ |----------------|------|----------------|----------|
429
+ | `svelte-w9y5n9-backAndForth` | Slide | transform | UI transition |
430
+ | `svelte-1ocfouu-rotate` | Rotate / Spin | transform | Loading indicator |
431
+ | `pulse` | Fade | opacity | Attention / status |
432
+ | `modeSwitch` | Fade + Move | opacity, transform | UI transition |
433
+ | `ftPulseGlowRed` | Custom | text-shadow | Attention / status |
434
+ | `slideIn` | Fade + Move | transform, opacity | Panel / drawer enter |
435
+ | `pulseDot` | Custom | box-shadow | Attention / status |
436
+ | `modeSwitchPulse` | Fade + Move | transform, opacity | Attention / status |
437
+ | `kf-linear-progress__bar1--indeterminate` | Custom | left, right | UI transition |
438
+ | `kf-linear-progress__bar2--indeterminate` | Custom | left, right | UI transition |
439
+ | `Toastify__trackProgress` | Scale | transform | UI transition |
440
+ | `Toastify__bounceInRight` | Fade + Move | animation-timing-function, opacity, transform | Playful feedback |
441
+ | `Toastify__bounceOutRight` | Fade + Move | opacity, transform | Playful feedback |
442
+ | `Toastify__bounceInLeft` | Fade + Move | animation-timing-function, opacity, transform | Playful feedback |
443
+ | `Toastify__bounceOutLeft` | Fade + Move | opacity, transform | Playful feedback |
444
+ | `Toastify__bounceInUp` | Fade + Move | animation-timing-function, opacity, transform | Playful feedback |
445
+ | `Toastify__bounceOutUp` | Fade + Move | transform, opacity | Playful feedback |
446
+ | `Toastify__bounceInDown` | Fade + Move | animation-timing-function, opacity, transform | Playful feedback |
447
+ | `Toastify__bounceOutDown` | Fade + Move | transform, opacity | Playful feedback |
448
+ | `Toastify__zoomIn` | Fade + Move | opacity, transform | Focus / emphasis |
449
+
450
+ > *21 additional animations omitted (repetitive variants). See raw keyframes in `raw-css.json`.*
451
+
452
+ ### Motion Fingerprint
453
+
454
+ - **Dominant Easing**: standard CSS easings
455
+ - **Animation Library**: 41 unique animations (41 total including variants)
456
+
457
+ ## 8. Do's and Don'ts
458
+
459
+ ### Do
460
+ - Use dark background (`#22222b`) as the foundation — this is a dark-mode-native design
461
+ - Use Inter var as the primary typeface — it defines the brand personality
462
+ - Keep font weights between 400-600 — the system uses a narrow weight range for subtle hierarchy
463
+ - Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
464
+ - Use Primary Color (`#2563eb`) as the primary accent — it's the brand's signature interactive color
465
+ - Use 12px border-radius on buttons — the standard corner rounding for interactive elements
466
+ - Style form inputs with a `1px solid rgba(255, 255, 255, 0.1)` border — use border-based inputs, not floating labels or underline-only
467
+
468
+ ### Don't
469
+ - Don't use light backgrounds — the dark canvas is the native medium
470
+ - Don't substitute with generic sans-serif or serif — the custom font carries the brand
471
+ - Don't use weight 700 (bold) or above — 600 is the maximum weight in this system
472
+ - Don't invent new shadow values — use only the extracted shadow levels
473
+ - Don't introduce additional saturated accent colors — the palette is intentionally controlled
474
+ - Don't remove the input border — the border is the primary affordance indicator for form fields
475
+ - Don't over-build the footer — this design keeps it minimal (1 cols, 0 links)
476
+
477
+
478
+ ## 7b. Enforceable Brand Rules
479
+
480
+ *Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
481
+
482
+ ```yaml
483
+ rules:
484
+ - id: brand-canvas-001
485
+ type: do
486
+ rule: "Always use the page background `rgb(34, 34, 43)` as the base canvas"
487
+ why: "Every component is designed to composit against this exact tone"
488
+ test: "document.body.style.backgroundColor === 'rgb(34, 34, 43)'"
489
+ - id: brand-accent-001
490
+ type: do
491
+ rule: "Reserve `#2563eb` for primary CTAs and brand-mark signals only"
492
+ why: "Single chromatic assertion device — overuse dilutes meaning"
493
+ test: "querySelectorAll('[style*=\"#2563eb\"]').length <= 3 per fold"
494
+ ```
495
+
496
+ ## 9. Responsive Behavior
497
+
498
+ ### Breakpoints
499
+ | Name | Width | Key Changes |
500
+ |------|-------|-------------|
501
+ | Mobile | 480px | Single column, compact spacing |
502
+ | Mobile Large | 600px | Expanded mobile layout |
503
+ | Mobile Large | 640px | Expanded mobile layout |
504
+ | Tablet | 768px | Multi-column grids begin |
505
+ | Tablet | 1024px | Multi-column grids begin |
506
+ | Desktop | 1280px | Full feature layout |
507
+
508
+ ### Token Diff — Desktop vs Mobile
509
+
510
+ | Element | Property | Desktop | Mobile |
511
+ |---------|----------|---------|--------|
512
+ | button | width | `384px` | `312px` |
513
+
514
+ ### Collapsing Strategy
515
+ - Navigation: horizontal links → hamburger menu on mobile
516
+ - Cards: multi-column → stacked vertical on mobile
517
+ - Footer: multi-column → stacked single column on mobile
518
+
519
+ ### Touch Targets
520
+ - Buttons: 12px 16px padding
521
+ - Navigation: adequate spacing between items
522
+ - Interactive elements: minimum 44px touch target recommended
523
+
524
+ ### Collapsing Narrative
525
+
526
+ How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
527
+
528
+ *No major structural differences detected between desktop and mobile widgets. The same blueprints scale rather than collapse — verify by inspecting actual mobile render.*
529
+
530
+ ## 9b. Visual Tone & Photography
531
+
532
+ **Tone:** Mixed photography + illustration
533
+
534
+ A balanced mix of photographic content and vector graphics. Photos likely carry product/lifestyle context while SVG handles icons, logos, and decorative accents.
535
+
536
+ **Hero Image (above-fold dominant visual):**
537
+ - Aspect: 1.33:1 (landscape)
538
+ - Rendered size: 128×96px
539
+ - Alt text: "Aurox - Drone & Dairy Data Experts"
540
+ - *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
541
+
542
+ **Aspect Ratio Distribution:**
543
+ - Landscape (1.15–2.3): 1 (100%)
544
+ - Portrait (<0.87): 0 (0%)
545
+ - Square (0.87–1.15): 0 (0%)
546
+
547
+ **Media Format Mix:**
548
+ - PNG: 1 (logos, transparent UI elements, mockups)
549
+
550
+ **Average rendered image size:** 128×96px
551
+ **Above-fold image count:** 1 / 1
552
+
553
+ **Imagery Guidance for clones:**
554
+ - Mix photography and illustration intentionally: photos for product/context, vectors for icons + decorative accents.
555
+ - Respect the format split — replacing JPGs with illustrations (or vice versa) will shift the brand tone.
556
+
557
+ ## 10. Agent Prompt Guide
558
+
559
+ ### Quick Reference
560
+ - Background: Warm Brown (`#22222b`)
561
+ - Primary text: Pure White (`#ffffff`)
562
+ - Accent: Primary Color (`#2563eb`)
563
+ - Border: Translucent Pure White (8%) (`rgba(255, 255, 255, 0.08)`)
564
+ - Font: Inter var
565
+ - Body: 16px weight 400
566
+
567
+ ### Example Component Prompts
568
+ - "Create the primary CTA button: `#2563eb` background, `#000000` text, 12px border-radius, 12px 16px padding, 600 weight, Inter var font."
569
+ - "Build navigation: sticky on `#22222b`. Inter var 16px weight 400 for links."
570
+
571
+ ### Iteration Guide
572
+ 1. **Canvas**: Set the dark canvas to Warm Brown (`#22222b`) — every component is composited against this exact base.
573
+ 2. **Typography**: All type in Inter var, weight range 400–600. Never exceed 600 — heavier weights break the brand's tonal restraint.
574
+ 3. **Accent**: Primary Color (`#2563eb`) is the sole interactive color. On hover → #e8c292 (`#e8c292`). Use CSS transitions, not opacity/brightness filters.
575
+ 4. **Shape**: CTAs at `12px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
576
+ 5. **Spacing**: Use the `--ca-space-*` token scale (12px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
577
+ 6. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
578
+
579
+ ## 11. CSS Design Tokens Raw Export
580
+
581
+ *Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
582
+
583
+ ```css
584
+ /* Colors */
585
+ :root {
586
+ --ca-surface-2: #22222b;
587
+ --ca-hairline: #ffffff;
588
+ --ca-primary-focus: #2563eb;
589
+ --ca-primary-hover: #e8c292;
590
+ --ca-semantic-error: #ef4444;
591
+ --ca-semantic-success: #10b981;
592
+ --ca-semantic-warning: #f1c40f;
593
+ --ca-semantic-info: #3498db;
594
+ }
595
+
596
+ /* Typography */
597
+ :root {
598
+ --ca-font-primary: "Inter var", system-ui, sans-serif;
599
+ --ca-text-body: 16px;
600
+ --ca-text-small: 14px;
601
+ --ca-text-button: 14px;
602
+ }
603
+
604
+ /* Spacing & Radius */
605
+ :root {
606
+ --ca-space-xxs: 2px;
607
+ --ca-space-xs: 12px;
608
+ --ca-space-sm: 16px;
609
+ --ca-space-md: 12px;
610
+ --ca-space-base: 16px;
611
+ --ca-space-lg: 24px;
612
+ --ca-space-xl: 32px;
613
+ --ca-space-2xl: 48px;
614
+ --ca-space-3xl: 64px;
615
+ --ca-radius-none: 0px;
616
+ --ca-radius-xs: 12px;
617
+ --ca-radius-sm: 12px;
618
+ --ca-radius-md: 12px;
619
+ --ca-radius-lg: 12px;
620
+ --ca-radius-xl: 12px;
621
+ --ca-radius-full: 9999px;
622
+ }
623
+ ```
624
+
625
+
626
+ ## 13. Page Structure Skeleton
627
+
628
+ *The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
629
+
630
+ ```yaml
631
+ page-skeleton:
632
+ - section: unknown
633
+ tag: div
634
+ height: 900px
635
+ width: full-bleed
636
+ layout: block
637
+ children: 2
638
+ ```
639
+
640
+ **Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
641
+
642
+
643
+ ## 14. Copy Library (Real Content from Source)
644
+
645
+ *Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
646
+
647
+ ```yaml
648
+ copy:
649
+ ctas:
650
+ - "Log in"
651
+ ```
652
+
653
+ **Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
654
+
655
+
656
+ ## 15. Asset Inventory (Image Roles & Ratios)
657
+
658
+ *Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
659
+
660
+ ```yaml
661
+ assets:
662
+ ```
663
+
664
+ **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`.
665
+
666
+
667
+ ## 16. Component HTML Templates
668
+
669
+ *Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
670
+
671
+ ### Button (primary action)
672
+ ```html
673
+ <button class="btn btn-primary">
674
+ Log in
675
+ </button>
676
+ ```
677
+ _Source pattern detected: padding `12px 16px` · radius `12px` · weight `600`_
678
+
679
+ **Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
680
+
681
+
682
+ ## 12. Known Extraction Gaps
683
+
684
+ *Auto-detected limitations of this extraction — understand before building:*
685
+
686
+ - **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.
687
+
688
+
689
+ ---
690
+ ## Extraction Completeness: 49/100 (D)
691
+
692
+ | Category | Score | Max | Detail |
693
+ |----------|-------|-----|--------|
694
+ | Colors & Palette | 11 | 25 | 8 named colors |
695
+ | Typography | 10 | 20 | 4 roles defined |
696
+ | Components | 8 | 20 | 2 specs extracted |
697
+ | Motion & Interaction | 10 | 15 | Keyframes present |
698
+ | CSS Custom Properties | 5 | 10 | 95 vars |
699
+ | Responsive Breakpoints | 5 | 5 | 6 breakpoints |
700
+ | Variable Fonts | 0 | 5 | None detected |
701
+
702
+ ## 12. Known Gaps & Confidence
703
+
704
+ 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.
705
+
706
+ *✅ No critical extraction gaps detected — high-confidence reproduction expected.*
707
+
708
+ ### Per-section confidence
709
+
710
+ | Section | Confidence | Reason |
711
+ |---------|------------|--------|
712
+ | §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
713
+ | §2 Colors | High | 95 CSS vars (semantic naming requires ≥20 for high) |
714
+ | §3 Typography | Medium | 4 typography roles inferred |
715
+ | §4 Components | Low | 2 component variants captured |
716
+ | §7 Motion | High | Keyframes + transitions |
717
+ | §8 Do's/Don'ts | High | 14 rules generated; design-decisions.json has evidence per rule |
718
+ | §9 Responsive | High | 6 breakpoints detected |
719
+ | §9b Photography | High | 1 images, hero present |
720
+
721
+ ---
722
+ *Generated by Clone Architect — automated Playwright extraction + design analysis.*
723
+ *Source: https://www.auroxdashboard.com/ | 2026-05-30T20:55:48.903Z*
724
+ *All values verified via getComputedStyle() — no approximation, no hallucination.*