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,970 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: alpha
|
|
3
|
+
name: truity.com
|
|
4
|
+
description: "Light product system built on #f4e9e2 with #c49141 as the primary CTA accent. Type anchored in alternate-gothic-no-3-d at 35px / weight 400. Extracted automatically from https://truity.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
|
|
5
|
+
narrative: |
|
|
6
|
+
truity.com is built on a warm, off-white canvas (rgb(244, 233, 226)).
|
|
7
|
+
The system uses rgb(196, 145, 65) as the accent for primary actions and brand signals.
|
|
8
|
+
Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside alternate-gothic-no-3-d 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
|
+
Motion is a first-class concern — 7 keyframe animations plus transition-driven interactions.
|
|
11
|
+
|
|
12
|
+
colors:
|
|
13
|
+
background: "#f4e9e2"
|
|
14
|
+
surface-1: "#ffffff"
|
|
15
|
+
surface-2: "#fdf5f0"
|
|
16
|
+
ink: "#092730"
|
|
17
|
+
ink-subtle: "#092730"
|
|
18
|
+
primary: "#c49141"
|
|
19
|
+
on-primary: "#111111"
|
|
20
|
+
primary-hover: "#f3c2a4"
|
|
21
|
+
hairline: "#c6c8c7"
|
|
22
|
+
semantic-error: "#ff3131"
|
|
23
|
+
|
|
24
|
+
typography:
|
|
25
|
+
display-xl:
|
|
26
|
+
fontFamily: "alternate-gothic-no-3-d"
|
|
27
|
+
fontSize: 40px
|
|
28
|
+
fontWeight: 400
|
|
29
|
+
lineHeight: 1.38
|
|
30
|
+
letterSpacing: 2.5px
|
|
31
|
+
display-lg:
|
|
32
|
+
fontFamily: "ivymode"
|
|
33
|
+
fontSize: 40px
|
|
34
|
+
fontWeight: 400
|
|
35
|
+
lineHeight: 1.38
|
|
36
|
+
letterSpacing: 2.5px
|
|
37
|
+
display-md:
|
|
38
|
+
fontFamily: "alternate-gothic-no-3-d"
|
|
39
|
+
fontSize: 26px
|
|
40
|
+
fontWeight: 400
|
|
41
|
+
lineHeight: 1.35
|
|
42
|
+
letterSpacing: 1px
|
|
43
|
+
headline:
|
|
44
|
+
fontFamily: "alternate-gothic-no-3-d"
|
|
45
|
+
fontSize: 16px
|
|
46
|
+
fontWeight: 400
|
|
47
|
+
lineHeight: 1.5
|
|
48
|
+
letterSpacing: 0.8px
|
|
49
|
+
body:
|
|
50
|
+
fontFamily: "calluna"
|
|
51
|
+
fontSize: 16px
|
|
52
|
+
fontWeight: 400
|
|
53
|
+
lineHeight: 1.5
|
|
54
|
+
letterSpacing: 0
|
|
55
|
+
|
|
56
|
+
rounded:
|
|
57
|
+
none: 0px
|
|
58
|
+
xs: 8px
|
|
59
|
+
sm: 8px
|
|
60
|
+
md: 8px
|
|
61
|
+
lg: 8px
|
|
62
|
+
xl: 8px
|
|
63
|
+
xxl: 24px
|
|
64
|
+
pill: 9999px
|
|
65
|
+
|
|
66
|
+
spacing:
|
|
67
|
+
xxs: 2px
|
|
68
|
+
xs: 8px
|
|
69
|
+
sm: 10px
|
|
70
|
+
md: 20px
|
|
71
|
+
lg: 25px
|
|
72
|
+
xl: 32px
|
|
73
|
+
xxl: 64px
|
|
74
|
+
section: 80px
|
|
75
|
+
|
|
76
|
+
components:
|
|
77
|
+
button-outline:
|
|
78
|
+
backgroundColor: "transparent"
|
|
79
|
+
textColor: "{colors.ink-subtle}"
|
|
80
|
+
typography: "{typography.headline}"
|
|
81
|
+
rounded: "{rounded.none}"
|
|
82
|
+
padding: 12px 40px 10px
|
|
83
|
+
button-outline-2:
|
|
84
|
+
backgroundColor: "transparent"
|
|
85
|
+
textColor: "{colors.ink-subtle}"
|
|
86
|
+
typography: "{typography.headline}"
|
|
87
|
+
rounded: "{rounded.none}"
|
|
88
|
+
padding: 12px 40px 11.648px
|
|
89
|
+
input-text-input:
|
|
90
|
+
backgroundColor: "{colors.surface-1}"
|
|
91
|
+
textColor: "{colors.ink-subtle}"
|
|
92
|
+
typography: "{typography.headline}"
|
|
93
|
+
rounded: "{rounded.none}"
|
|
94
|
+
padding: 10px 8px
|
|
95
|
+
navigation-main-nav:
|
|
96
|
+
backgroundColor: "{colors.surface-1}"
|
|
97
|
+
typography: "{typography.headline}"
|
|
98
|
+
rounded: "{rounded.none}"
|
|
99
|
+
|
|
100
|
+
extracted_at: "2026-06-02T00:50:59.306Z"
|
|
101
|
+
completeness: 72
|
|
102
|
+
scoreVersion: "v2"
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
# Design System — truity.com
|
|
107
|
+
> Extracted automatically by Prism from https://www.truity.com/test/holland-code-career-test
|
|
108
|
+
> Date: 2026-06-02
|
|
109
|
+
> Viewport: Desktop 1440x900 + Mobile 390x844
|
|
110
|
+
> 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).
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## 0. Design DNA
|
|
114
|
+
|
|
115
|
+
**Density**: moderate | **Motion**: subtle | **Weight**: light | **Aesthetic**: product-neutral
|
|
116
|
+
|
|
117
|
+
| Dimension | Value | Signal |
|
|
118
|
+
|---|---|---|
|
|
119
|
+
| Canvas | warm | `#f4e9e2` |
|
|
120
|
+
| Type posture | sans-led (calluna) | "tests taken in the last 30 day" |
|
|
121
|
+
| Color assertion | dual-accent | #c49141 |
|
|
122
|
+
| Whitespace | moderate | section rhythm 50px |
|
|
123
|
+
| Interaction | subtle | 7 keyframes, 8 transitions |
|
|
124
|
+
| Radius language | 8px-rounded | from token scale |
|
|
125
|
+
|
|
126
|
+
**Prism fingerprint**: `warm-canvas · sans-display · dual-accent · 8px-rounded · subtle-motion`
|
|
127
|
+
|
|
128
|
+
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
|
|
129
|
+
>
|
|
130
|
+
> - **Canvas**: `rgb(244, 233, 226)` is the page background. Every component composits against this.
|
|
131
|
+
> - **Accent**: `rgb(196, 145, 65)` for primary CTAs ONLY. Never decorative.
|
|
132
|
+
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
|
|
133
|
+
> - **Section rhythm**: 50px between major bands. Card padding: 25px.
|
|
134
|
+
> - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
|
|
135
|
+
>
|
|
136
|
+
> **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
|
|
137
|
+
|
|
138
|
+
## 1. Visual Theme & Atmosphere
|
|
139
|
+
|
|
140
|
+
truity.com's canvas is a warm, intentionally-tinted surface (`#f4e9e2`) — a refusal of the default white that immediately signals editorial intent. This isn't sterility, it's an invitation to read.
|
|
141
|
+
|
|
142
|
+
Headlines are set in **alternate-gothic-no-3-d**, a sans-serif display face (the dominant type signature, e.g. "tests taken in the last 30 days" at 35px). A second display voice — **ivymode** (sans) — appears in lower bands (e.g. "Holland Code Career Quiz"), used for editorial accent. Body text is set in **calluna**. Headlines run at a remarkably light weight (400) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it.
|
|
143
|
+
|
|
144
|
+
Body text reads in Navy Blue (`#092730`) — softened from pure black, a small but deliberate detail that lowers reading friction. **Honey** (`#c49141`) 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.
|
|
145
|
+
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.
|
|
146
|
+
|
|
147
|
+
**Key Characteristics:**
|
|
148
|
+
- Background: Light Gray (`#f4e9e2`)
|
|
149
|
+
- Primary typeface: calluna
|
|
150
|
+
- Primary text: Navy Blue (`#092730`)
|
|
151
|
+
- Accent: Honey (`#c49141`)
|
|
152
|
+
- Shadow system: 1 distinct elevation levels
|
|
153
|
+
- Custom fonts loaded: calluna, alternate-gothic-no-3-d, ivymode, Playfair Display
|
|
154
|
+
|
|
155
|
+
## 2. Color Palette & Roles
|
|
156
|
+
|
|
157
|
+
### Background & Surface
|
|
158
|
+
- **Light Gray** (`#f4e9e2`): Page background (primary)
|
|
159
|
+
- **White** (`#ffffff`): Surface / elevated background
|
|
160
|
+
- **Warm Cream** (`#fdf5f0`): Surface / elevated background
|
|
161
|
+
- **Light Gray** (`#ededed`): Surface / elevated background
|
|
162
|
+
|
|
163
|
+
### Text & Content
|
|
164
|
+
- **Navy Blue** (`#092730`): Primary body text
|
|
165
|
+
- **Black** (`#000000`): Secondary text
|
|
166
|
+
- **Dark Gray** (`#403050`): Secondary text
|
|
167
|
+
- **#0d3c47** (`#0d3c47`): Secondary text
|
|
168
|
+
- **Charcoal** (`#333333`): Secondary text
|
|
169
|
+
|
|
170
|
+
### Accent & Interactive
|
|
171
|
+
- **Primary** (`#6aad7a`): Accent / interactive (CSS var)
|
|
172
|
+
- **Honey** (`#c49141`): Interactive / accent
|
|
173
|
+
- **Peach** (`#f3c2a4`): Interactive / accent
|
|
174
|
+
- **Red** (`#cc7060`): Interactive / accent
|
|
175
|
+
- **#893121** (`#893121`): Interactive / accent
|
|
176
|
+
- **Gold** (`#d8a554`): Interactive / accent
|
|
177
|
+
- **Success** (`#849c8a`): Interactive / accent
|
|
178
|
+
|
|
179
|
+
### Border & Divider
|
|
180
|
+
- **Silver** (`#c6c8c7`): Borders / dividers
|
|
181
|
+
- **Silver** (`#bdbdbd`): Borders / dividers
|
|
182
|
+
|
|
183
|
+
### Full Extracted Palette
|
|
184
|
+
**22 colors rendered on the page** + **5** more declared in design tokens (CSS custom properties — not necessarily painted). (18 categorized above + 9 additional below.)
|
|
185
|
+
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
|
|
186
|
+
|
|
187
|
+
- `#606b71` — Dim Gray
|
|
188
|
+
- `#a9a9a9` — Cool Gray
|
|
189
|
+
- `#b2b2b2` — Silver
|
|
190
|
+
- `#757575` — Stone
|
|
191
|
+
- `#555555` — Slate
|
|
192
|
+
- `#ff3131` — Danger *(token)*
|
|
193
|
+
- `#e5e5e5` — Light Gray *(token)*
|
|
194
|
+
- `#aeaeb2` — Cool Gray *(token)*
|
|
195
|
+
- `#8e8e93` — Medium Gray *(token)*
|
|
196
|
+
|
|
197
|
+
### CSS Custom Properties (Design Tokens)
|
|
198
|
+
|
|
199
|
+
**Shadow Token**
|
|
200
|
+
- `--tw-ring-offset-shadow`: `0 0 #0000`
|
|
201
|
+
- `--tw-inset-shadow-alpha`: `100%`
|
|
202
|
+
- `--tw-ring-shadow`: `0 0 #0000`
|
|
203
|
+
- `--tw-shadow-alpha`: `100%`
|
|
204
|
+
|
|
205
|
+
**Border Radius Token**
|
|
206
|
+
- `--radius-sm`: `.25rem`
|
|
207
|
+
- `--radius-xs`: `.125rem`
|
|
208
|
+
- `--radius-2xl`: `1rem`
|
|
209
|
+
- `--radius-md`: `.375rem`
|
|
210
|
+
|
|
211
|
+
**Error / Destructive**
|
|
212
|
+
- `--color-error`: `#ff3131`
|
|
213
|
+
- `--color-red`: `#cc7060`
|
|
214
|
+
- `--color-danger`: `#ff3131`
|
|
215
|
+
|
|
216
|
+
**Motion Token**
|
|
217
|
+
- `--default-transition-timing-function`: `cubic-bezier(.4, 0, .2, 1)`
|
|
218
|
+
- `--default-transition-duration`: `.15s`
|
|
219
|
+
|
|
220
|
+
**Font Weight Token**
|
|
221
|
+
- `--font-weight-bold`: `700`
|
|
222
|
+
- `--font-weight-medium`: `500`
|
|
223
|
+
- `--font-weight-normal`: `400`
|
|
224
|
+
|
|
225
|
+
**Primary Brand Color**
|
|
226
|
+
- `--color-primary`: `#6aad7a`
|
|
227
|
+
|
|
228
|
+
**Spacing Token**
|
|
229
|
+
- `--spacing`: `.25rem`
|
|
230
|
+
- `--tw-space-y-reverse`: `0`
|
|
231
|
+
|
|
232
|
+
**Success**
|
|
233
|
+
- `--color-success`: `#849c8a`
|
|
234
|
+
|
|
235
|
+
**Other tokens**
|
|
236
|
+
- `--font-calluna`: `calluna, "Times New Roman", serif`
|
|
237
|
+
- `--color-white`: `#fff`
|
|
238
|
+
- `--color-neutral-grey-3`: `#606b71`
|
|
239
|
+
- `--color-dark-red`: `#893121`
|
|
240
|
+
- `--color-navy-dark`: `#0d3c47`
|
|
241
|
+
- `--text-sm--line-height`: `calc(1.25 / .875)`
|
|
242
|
+
- `--color-dark-gold`: `#c49141`
|
|
243
|
+
- `--color-gold`: `#d8a554`
|
|
244
|
+
|
|
245
|
+
## 3. Typography Rules
|
|
246
|
+
|
|
247
|
+
### Font Families
|
|
248
|
+
- **Primary**: `calluna`
|
|
249
|
+
- **Secondary**: `ivymode`
|
|
250
|
+
- **Font 3**: `alternate-gothic-no-3-d`
|
|
251
|
+
- **Font 4**: `Playfair Display`
|
|
252
|
+
- **Font 5**: `Roboto`
|
|
253
|
+
|
|
254
|
+
### Custom Fonts Loaded
|
|
255
|
+
- **calluna** weight 400 (normal)
|
|
256
|
+
- **calluna** weight 700 (normal)
|
|
257
|
+
- **alternate-gothic-no-3-d** weight 400 (normal)
|
|
258
|
+
- **ivymode** weight 700 (normal)
|
|
259
|
+
- **Playfair Display** weight 400 (italic)
|
|
260
|
+
- **Playfair Display** weight 700 (normal)
|
|
261
|
+
- **Roboto** weight 400 (normal)
|
|
262
|
+
- **Roboto** weight 700 (normal)
|
|
263
|
+
|
|
264
|
+
### Typography Hierarchy
|
|
265
|
+
|
|
266
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
267
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
268
|
+
| Display Hero | alternate-gothic-no-3-d | 40px | 400 | 1.38 | 2.5px | Main headline (h1) |
|
|
269
|
+
| Section Heading | ivymode | 40px | 400 | 1.38 | 2.5px | Section titles (h1) |
|
|
270
|
+
| Sub-heading | alternate-gothic-no-3-d | 26px | 400 | 1.35 | 1px | Third-level heading (h3) |
|
|
271
|
+
| Label Heading | alternate-gothic-no-3-d | 16px | 400 | 1.5 | 0.8px | Small heading (H5) |
|
|
272
|
+
| Body | calluna | 16px | 400 | 1.5 | normal | Standard reading text |
|
|
273
|
+
|
|
274
|
+
### Font Weight Scale
|
|
275
|
+
|
|
276
|
+
CSS custom properties define 3 explicit weight steps:
|
|
277
|
+
- `--font-weight-normal`: `400` — Regular
|
|
278
|
+
- `--font-weight-medium`: `500` — Medium
|
|
279
|
+
- `--font-weight-bold`: `700` — Bold
|
|
280
|
+
|
|
281
|
+
### Full Font Size Scale
|
|
282
|
+
|
|
283
|
+
Sizes detected in the design (descending): `40px`, `35px`, `26px`, `24px`, `20px`, `16px`, `13px`
|
|
284
|
+
|
|
285
|
+
> 4 size(s) detected outside the sampled hierarchy (35px, 24px, 20px, 13px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
|
|
286
|
+
|
|
287
|
+
## 4. Component Stylings
|
|
288
|
+
|
|
289
|
+
### Buttons
|
|
290
|
+
|
|
291
|
+
**Outline**
|
|
292
|
+
- Background: `transparent`
|
|
293
|
+
- Text: `#092730` `{colors.ink-subtle}`
|
|
294
|
+
- Padding: 12px 40px 10px
|
|
295
|
+
- Radius: 0px
|
|
296
|
+
- Border: 2px solid rgb(13, 60, 71)
|
|
297
|
+
- Font: 16px weight 400
|
|
298
|
+
- Use: Secondary action with border
|
|
299
|
+
|
|
300
|
+
**Outline**
|
|
301
|
+
- Background: `transparent`
|
|
302
|
+
- Text: `#092730` `{colors.ink-subtle}`
|
|
303
|
+
- Padding: 12px 40px 11.648px
|
|
304
|
+
- Radius: 0px
|
|
305
|
+
- Border: 2px solid rgb(13, 60, 71)
|
|
306
|
+
- Font: 16px weight 400
|
|
307
|
+
- Use: Secondary action with border
|
|
308
|
+
|
|
309
|
+
### Inputs & Forms
|
|
310
|
+
|
|
311
|
+
**Text Input**
|
|
312
|
+
- Background: `#ffffff` `{colors.surface-1}`
|
|
313
|
+
- Text: `#092730` `{colors.ink-subtle}`
|
|
314
|
+
- Padding: 10px 8px
|
|
315
|
+
- Radius: 0px
|
|
316
|
+
- Border: 1px solid rgb(198, 200, 199)
|
|
317
|
+
- Font: 16px weight 400
|
|
318
|
+
- Use: Text fields, search inputs
|
|
319
|
+
- Focus: border: `1px solid rgb(196, 145, 65)`, borderColor: `rgb(196, 145, 65)`, boxShadow: `rgb(255, 255, 255) 0px 0px 0px 0px, oklch(0.546 0.245 262.88`
|
|
320
|
+
|
|
321
|
+
### Navigation
|
|
322
|
+
|
|
323
|
+
**Main Nav**
|
|
324
|
+
- Background: `#ffffff` `{colors.surface-1}`
|
|
325
|
+
- Padding: 0px
|
|
326
|
+
- Radius: none
|
|
327
|
+
- Shadow: `rgba(0, 0, 0, 0.1) 0px 4px 6px 0px`
|
|
328
|
+
- Font: 16px weight 400
|
|
329
|
+
- Use: Static flex nav — N/A items
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
## 4b. Component Behaviors (State Matrix)
|
|
333
|
+
|
|
334
|
+
### Interaction State Narrative
|
|
335
|
+
|
|
336
|
+
- **Input**:
|
|
337
|
+
- **focus:** shadow added, border changes
|
|
338
|
+
|
|
339
|
+
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
|
|
340
|
+
|
|
341
|
+
```yaml
|
|
342
|
+
component-behaviors:
|
|
343
|
+
button:
|
|
344
|
+
default:
|
|
345
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
346
|
+
fg: "rgb(9, 39, 48)"
|
|
347
|
+
input:
|
|
348
|
+
default:
|
|
349
|
+
bg: "rgb(255, 255, 255)"
|
|
350
|
+
fg: "rgb(9, 39, 48)"
|
|
351
|
+
border: "1px solid rgb(198, 200, 199)"
|
|
352
|
+
focus:
|
|
353
|
+
bg: "rgb(255, 255, 255)"
|
|
354
|
+
fg: "rgb(9, 39, 48)"
|
|
355
|
+
border: "1px solid rgb(196, 145, 65)"
|
|
356
|
+
shadow: "rgb(255, 255, 255) 0px 0px 0px 0px, oklch(0.546 0.245 262.88"
|
|
357
|
+
link:
|
|
358
|
+
default:
|
|
359
|
+
bg: "rgb(196, 145, 65)"
|
|
360
|
+
fg: "rgb(9, 39, 48)"
|
|
361
|
+
navLink:
|
|
362
|
+
default:
|
|
363
|
+
bg: "rgb(196, 145, 65)"
|
|
364
|
+
fg: "rgb(9, 39, 48)"
|
|
365
|
+
footerLink:
|
|
366
|
+
default:
|
|
367
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
368
|
+
fg: "rgb(9, 39, 48)"
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
## 4c. Component Vocabulary (Closed System)
|
|
375
|
+
|
|
376
|
+
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
|
|
377
|
+
|
|
378
|
+
### Buttons
|
|
379
|
+
- **1 shape(s)** in this system: `Outline`
|
|
380
|
+
- **DO NOT introduce new buttons variants** without justification
|
|
381
|
+
|
|
382
|
+
### Inputs & Forms
|
|
383
|
+
- **1 shape(s)** in this system: `Text Input`
|
|
384
|
+
- **DO NOT introduce new inputs & forms variants** without justification
|
|
385
|
+
|
|
386
|
+
### Navigation
|
|
387
|
+
- **1 shape(s)** in this system: `Main Nav`
|
|
388
|
+
- **DO NOT introduce new navigation variants** without justification
|
|
389
|
+
|
|
390
|
+
## 5. Layout Principles
|
|
391
|
+
|
|
392
|
+
### Layout Type
|
|
393
|
+
**top-nav + content**
|
|
394
|
+
|
|
395
|
+
### Grid
|
|
396
|
+
Single column, centered content
|
|
397
|
+
|
|
398
|
+
### Max Width
|
|
399
|
+
1200px
|
|
400
|
+
|
|
401
|
+
### Spacing System
|
|
402
|
+
Compact spacing — information density prioritized
|
|
403
|
+
|
|
404
|
+
| Token | Value |
|
|
405
|
+
|-------|-------|
|
|
406
|
+
| xxs | 2px |
|
|
407
|
+
| xs | 8px |
|
|
408
|
+
| sm | 10px |
|
|
409
|
+
| md | 20px |
|
|
410
|
+
| base | 24px |
|
|
411
|
+
| lg | 25px |
|
|
412
|
+
| xl | 32px |
|
|
413
|
+
| 2xl | 50px |
|
|
414
|
+
| 3xl | 64px |
|
|
415
|
+
|
|
416
|
+
### Border Radius Scale
|
|
417
|
+
| Name | Value | Use |
|
|
418
|
+
|------|-------|-----|
|
|
419
|
+
| None | 0px | No rounding |
|
|
420
|
+
| Xs | 8px | Tiny corners (badges, micro elements) |
|
|
421
|
+
| Sm | 8px | Buttons, inputs, small elements |
|
|
422
|
+
| Md | 8px | Cards, containers |
|
|
423
|
+
| Lg | 8px | Large rounded elements, pill segments |
|
|
424
|
+
| Xl | 8px | Category strips, featured containers |
|
|
425
|
+
| Full | 9999px | Pills, avatars, circular elements |
|
|
426
|
+
|
|
427
|
+
### Shape Language
|
|
428
|
+
|
|
429
|
+
| Component | Border Radius |
|
|
430
|
+
|-----------|---------------|
|
|
431
|
+
| Buttons | `0px` |
|
|
432
|
+
| Inputs & Forms | `0px` |
|
|
433
|
+
| Navigation | `none` |
|
|
434
|
+
| Page Body | `0px` |
|
|
435
|
+
| Primary Input | `0px` |
|
|
436
|
+
|
|
437
|
+
**Shape Personality**: Sharp & Angular — No rounding. Precise, editorial, enterprise feel.
|
|
438
|
+
|
|
439
|
+
**Full Radius Spectrum**: 0px, 7px, 8px, full/pill (from `allBorderRadii` scan)
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
## 5b. Spacing Rhythm Names
|
|
443
|
+
|
|
444
|
+
**Measured section rhythm**: bands use ~24px vertical padding (up to 32px) — **compact**. Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
|
|
445
|
+
|
|
446
|
+
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
|
|
447
|
+
|
|
448
|
+
| Name | Value | Use case |
|
|
449
|
+
|------|-------|----------|
|
|
450
|
+
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
|
|
451
|
+
| **section** | `32px` | Between major bands (color change, content shift) |
|
|
452
|
+
| **subsection** | `25px` | Within a section, between content groups |
|
|
453
|
+
| **card** | `20px` | Card padding, list-item spacing |
|
|
454
|
+
| **compact** | `10px` | Form fields, tight clusters, badge padding |
|
|
455
|
+
| **micro** | `8px` | Icon-text gap, tag inner padding |
|
|
456
|
+
|
|
457
|
+
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
|
|
458
|
+
|
|
459
|
+
## 5c. Widget & Structure Library
|
|
460
|
+
|
|
461
|
+
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
|
|
462
|
+
|
|
463
|
+
**3/8 structural patterns detected.**
|
|
464
|
+
|
|
465
|
+
### Hero Pattern
|
|
466
|
+
|
|
467
|
+
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
|
|
468
|
+
- **Viewport coverage:** 337px tall (not full-viewport)
|
|
469
|
+
- **Heading:** "Holland Code Career Quiz" — 40px left-aligned
|
|
470
|
+
- **Subheading:** "Accurate, Free Test to Find Your Ideal Career"
|
|
471
|
+
- **CTAs:** none detected in hero (unusual — agent should verify)
|
|
472
|
+
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. No imagery needed for hero — text-driven.
|
|
473
|
+
|
|
474
|
+
### Card Grid Pattern
|
|
475
|
+
|
|
476
|
+
- **Card count:** 14 cards detected
|
|
477
|
+
- **Columns (desktop):** 1-up grid
|
|
478
|
+
- **Card dimensions:** 1146×118px (aspect 9.75:1)
|
|
479
|
+
- **Gap:** 0px between cards
|
|
480
|
+
- **Content:** ✗ no image
|
|
481
|
+
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~9.75:1 aspect ratio. Text/icon-only cards (no photography).
|
|
482
|
+
|
|
483
|
+
### Footer Pattern
|
|
484
|
+
|
|
485
|
+
- **Columns:** 3
|
|
486
|
+
- **Links:** 16 total
|
|
487
|
+
- **Height:** 478px
|
|
488
|
+
- **Includes:** ✗ no newsletter | ✓ social icons | ✓ copyright
|
|
489
|
+
- **Clone instruction:** Build a 3-column footer with ~5 links per column, social media links, and a copyright line.
|
|
490
|
+
|
|
491
|
+
## 6. Depth & Elevation
|
|
492
|
+
|
|
493
|
+
| Level | Treatment | Use |
|
|
494
|
+
|-------|-----------|-----|
|
|
495
|
+
| Flat (Level 0) | No shadow | Page background, content blocks |
|
|
496
|
+
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0.1) 0px 4px 6px 0px` | Cards, elevated surfaces |
|
|
497
|
+
|
|
498
|
+
**Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
|
|
499
|
+
|
|
500
|
+
## 7. Motion & Interaction
|
|
501
|
+
|
|
502
|
+
### Easing System
|
|
503
|
+
|
|
504
|
+
| CSS Variable | Curve | Semantic Name |
|
|
505
|
+
|--------------|-------|---------------|
|
|
506
|
+
| `--ease-in-out` | `cubic-bezier(.4, 0, .2, 1)` | Ease Out — Decelerating |
|
|
507
|
+
| `--default-transition-timing-function` | `cubic-bezier(.4, 0, .2, 1)` | Ease Out — Decelerating |
|
|
508
|
+
| `--ease-out` | `cubic-bezier(0, 0, .2, 1)` | Ease Out — Decelerating |
|
|
509
|
+
|
|
510
|
+
### Duration Scale
|
|
511
|
+
|
|
512
|
+
| CSS Variable | Value | Tier |
|
|
513
|
+
|--------------|-------|------|
|
|
514
|
+
| `--default-transition-duration` | `.15s` | Fast |
|
|
515
|
+
|
|
516
|
+
### Copy-Paste Transition Snippets
|
|
517
|
+
|
|
518
|
+
**All Props**
|
|
519
|
+
```css
|
|
520
|
+
transition: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
**Color / Background**
|
|
524
|
+
```css
|
|
525
|
+
transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
**Color / Background**
|
|
529
|
+
```css
|
|
530
|
+
transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cub...;
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
**Color / Background**
|
|
534
|
+
```css
|
|
535
|
+
transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s cubic-be...;
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
### Keyframe Animation Catalog
|
|
539
|
+
|
|
540
|
+
| Animation Name | Type | Animated Props | Use Hint |
|
|
541
|
+
|----------------|------|----------------|----------|
|
|
542
|
+
| `svelte-1qqiyjv-animateIn` | Fade + Move | opacity, transform | UI transition |
|
|
543
|
+
| `spin` | Rotate / Spin | transform | Loading indicator |
|
|
544
|
+
| `svelte-1alhxvj-marquee` | Slide | transform | UI transition |
|
|
545
|
+
| `scaleFadeIn` | Fade + Move | opacity, transform | Element entrance |
|
|
546
|
+
| `scaleInFromLeft` | Fade + Move | opacity, transform | Focus / emphasis |
|
|
547
|
+
| `adthrive-fade-in` | Fade | opacity | Element entrance |
|
|
548
|
+
| `adthrive-fade-out` | Fade | opacity | Element exit |
|
|
549
|
+
|
|
550
|
+
### Motion Fingerprint
|
|
551
|
+
|
|
552
|
+
- **Speed Character**: Deliberate & Calm (median duration: `300ms`)
|
|
553
|
+
- **Dominant Easing**: custom cubic-bezier curves
|
|
554
|
+
- **Animation Library**: 7 unique animations (7 total including variants)
|
|
555
|
+
|
|
556
|
+
> This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
|
|
557
|
+
|
|
558
|
+
## 8. Do's and Don'ts
|
|
559
|
+
|
|
560
|
+
### Do
|
|
561
|
+
- Use Light Gray (`#f4e9e2`) as the page background — it's intentionally not pure white
|
|
562
|
+
- Use Navy Blue (`#092730`) for text — not pure black, it's warmer and more readable
|
|
563
|
+
- Use calluna as the primary typeface — it defines the brand personality
|
|
564
|
+
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
|
|
565
|
+
- Use full-pill radius (9999px) only for specific elements (avatars, pills, toggles)
|
|
566
|
+
- Use Honey (`#c49141`) as the primary accent — it's the brand's signature interactive color
|
|
567
|
+
- Style form inputs with a `1px solid rgb(198, 200, 199)` border — use border-based inputs, not floating labels or underline-only
|
|
568
|
+
- Keep navigation fixed to the top — the design uses a persistent navigation pattern
|
|
569
|
+
- Keep the hero centered and text-driven — no decorative media, typography carries the message
|
|
570
|
+
|
|
571
|
+
### Don't
|
|
572
|
+
- Don't use pure white (`#ffffff`) as a page background — the warm tone is part of the brand identity
|
|
573
|
+
- Don't use pure black (`#000000`) for text — the near-black adds warmth
|
|
574
|
+
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
|
|
575
|
+
- Don't invent new shadow values — use only the extracted shadow levels
|
|
576
|
+
- Don't apply pill radius on rectangular buttons or cards — it's reserved for specific interactive elements
|
|
577
|
+
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
|
|
578
|
+
- Don't remove the input border — the border is the primary affordance indicator for form fields
|
|
579
|
+
- Don't add hero illustrations or photos — they'll break the typographic restraint
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
## 7b. Enforceable Brand Rules
|
|
583
|
+
|
|
584
|
+
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
|
|
585
|
+
|
|
586
|
+
```yaml
|
|
587
|
+
rules:
|
|
588
|
+
- id: brand-canvas-001
|
|
589
|
+
type: do
|
|
590
|
+
rule: "Always use the page background `rgb(244, 233, 226)` as the base canvas"
|
|
591
|
+
why: "Every component is designed to composit against this exact tone"
|
|
592
|
+
test: "document.body.style.backgroundColor === 'rgb(244, 233, 226)'"
|
|
593
|
+
- id: brand-accent-001
|
|
594
|
+
type: do
|
|
595
|
+
rule: "Reserve `rgb(196, 145, 65)` for primary CTAs and brand-mark signals only"
|
|
596
|
+
why: "Single chromatic assertion device — overuse dilutes meaning"
|
|
597
|
+
test: "querySelectorAll('[style*=\"rgb(196, 145, 65)\"]').length <= 3 per fold"
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
## 9. Responsive Behavior
|
|
601
|
+
|
|
602
|
+
### Breakpoints
|
|
603
|
+
| Name | Width | Key Changes |
|
|
604
|
+
|------|-------|-------------|
|
|
605
|
+
| Mobile | 640px | Single column layout |
|
|
606
|
+
| Tablet | 768px | 2-column grids |
|
|
607
|
+
| Desktop | 1024px | Full layout |
|
|
608
|
+
| Large Desktop | 1280px | Maximum width |
|
|
609
|
+
|
|
610
|
+
### Token Diff — Desktop vs Mobile
|
|
611
|
+
|
|
612
|
+
| Element | Property | Desktop | Mobile |
|
|
613
|
+
|---------|----------|---------|--------|
|
|
614
|
+
| heading | font-size | `40px` | `31px` |
|
|
615
|
+
| heading | line-height | `55px` | `35.65px` |
|
|
616
|
+
| heading | letter-spacing | `2.5px` | `2px` |
|
|
617
|
+
| nav | display | `flex` | `none` |
|
|
618
|
+
| nav | height | `168px` | `auto` |
|
|
619
|
+
|
|
620
|
+
### Collapsing Strategy
|
|
621
|
+
- Headlines: 40px → 31px on mobile
|
|
622
|
+
- Navigation: flex → none on mobile
|
|
623
|
+
- Cards: multi-column → stacked vertical on mobile
|
|
624
|
+
- Footer: multi-column → stacked single column on mobile
|
|
625
|
+
|
|
626
|
+
### Touch Targets
|
|
627
|
+
- Buttons: 0px padding
|
|
628
|
+
- Navigation: adequate spacing between items
|
|
629
|
+
- Interactive elements: minimum 44px touch target recommended
|
|
630
|
+
|
|
631
|
+
### Collapsing Narrative
|
|
632
|
+
|
|
633
|
+
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
|
|
634
|
+
|
|
635
|
+
- **Footer columns collapse:** 3 columns (desktop) → 1 column (mobile).
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
## 7c. Visual Effects & Dynamic Behavior
|
|
639
|
+
|
|
640
|
+
*The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
|
|
641
|
+
|
|
642
|
+
- **Clip-path shapes** — 3 non-rectangular cut(s).
|
|
643
|
+
|
|
644
|
+
> **Motion fingerprint**: non-rectangular shapes (3)
|
|
645
|
+
|
|
646
|
+
## 9b. Visual Tone & Photography
|
|
647
|
+
|
|
648
|
+
**Tone:** Mixed photography + illustration
|
|
649
|
+
|
|
650
|
+
A balanced mix of photographic content and vector graphics. Photos likely carry product/lifestyle context while SVG handles icons, logos, and decorative accents.
|
|
651
|
+
|
|
652
|
+
**Canonical Brand Image (OG):**
|
|
653
|
+
- https://d31u95r9ywbjex.cloudfront.net/sites/default/files/test_images/test-hero-career.png
|
|
654
|
+
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
|
|
655
|
+
|
|
656
|
+
**Hero Image (above-fold dominant visual):**
|
|
657
|
+
- Aspect: 1.01:1 (square / portrait)
|
|
658
|
+
- Rendered size: 116×115px
|
|
659
|
+
- Alt text: "Home"
|
|
660
|
+
- *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
|
|
661
|
+
|
|
662
|
+
**Aspect Ratio Distribution:**
|
|
663
|
+
- Landscape (1.15–2.3): 12 (86%)
|
|
664
|
+
- Portrait (<0.87): 1 (7%)
|
|
665
|
+
- Square (0.87–1.15): 1 (7%)
|
|
666
|
+
|
|
667
|
+
**Media Format Mix:**
|
|
668
|
+
- WebP: 2 (optimized photo/illustration hybrid)
|
|
669
|
+
|
|
670
|
+
**Average rendered image size:** 145×86px
|
|
671
|
+
**Above-fold image count:** 1 / 14
|
|
672
|
+
|
|
673
|
+
**Imagery Guidance for clones:**
|
|
674
|
+
- Mix photography and illustration intentionally: photos for product/context, vectors for icons + decorative accents.
|
|
675
|
+
- Respect the format split — replacing JPGs with illustrations (or vice versa) will shift the brand tone.
|
|
676
|
+
|
|
677
|
+
## 10. Agent Prompt Guide
|
|
678
|
+
|
|
679
|
+
### Quick Reference
|
|
680
|
+
- Background: Light Gray (`#f4e9e2`)
|
|
681
|
+
- Primary text: Navy Blue (`#092730`)
|
|
682
|
+
- Accent: Honey (`#c49141`)
|
|
683
|
+
- Border: Silver (`#c6c8c7`)
|
|
684
|
+
- Font: calluna
|
|
685
|
+
- Body: 16px weight 400
|
|
686
|
+
|
|
687
|
+
### Example Component Prompts
|
|
688
|
+
- "Create a hero section on Light Gray background (#f4e9e2). Headline at 40px calluna weight 400, line-height 1.38, letter-spacing 2.5px, color #092730."
|
|
689
|
+
- "Create the primary CTA button: `#c49141` background, `#092730` text, 9999px border-radius, 12px 24px padding, 400 weight, calluna font."
|
|
690
|
+
- "Build navigation: fixed on `#f4e9e2`. calluna 16px weight 400 for links."
|
|
691
|
+
|
|
692
|
+
### Iteration Guide
|
|
693
|
+
1. **Canvas**: Set the light canvas to Light Gray (`#f4e9e2`) — every component is composited against this exact base.
|
|
694
|
+
2. **Typography**: All type in calluna, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
|
|
695
|
+
3. **Accent**: Honey (`#c49141`) is the sole interactive color. On hover → Peach (`#f3c2a4`). Use CSS transitions, not opacity/brightness filters.
|
|
696
|
+
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.
|
|
697
|
+
5. **Shape**: CTAs at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
|
|
698
|
+
6. **Spacing**: Use the `--ca-space-*` token scale (8px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
|
|
699
|
+
7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
|
|
700
|
+
|
|
701
|
+
## 11. CSS Design Tokens Raw Export
|
|
702
|
+
|
|
703
|
+
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
|
|
704
|
+
|
|
705
|
+
```css
|
|
706
|
+
/* Colors */
|
|
707
|
+
:root {
|
|
708
|
+
--ca-background: #f4e9e2;
|
|
709
|
+
--ca-surface-1: #ffffff;
|
|
710
|
+
--ca-surface-2: #fdf5f0;
|
|
711
|
+
--ca-ink-subtle: #092730;
|
|
712
|
+
--ca-primary: #c49141;
|
|
713
|
+
--ca-on-primary: #111111;
|
|
714
|
+
--ca-primary-hover: #f3c2a4;
|
|
715
|
+
--ca-hairline: #c6c8c7;
|
|
716
|
+
--ca-semantic-error: #ff3131;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/* Typography */
|
|
720
|
+
:root {
|
|
721
|
+
--ca-font-primary: "alternate-gothic-no-3-d", system-ui, sans-serif;
|
|
722
|
+
--ca-text-display: 40px;
|
|
723
|
+
--ca-text-heading: 40px;
|
|
724
|
+
--ca-text-body: 16px;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/* Spacing & Radius */
|
|
728
|
+
:root {
|
|
729
|
+
--ca-space-xxs: 2px;
|
|
730
|
+
--ca-space-xs: 8px;
|
|
731
|
+
--ca-space-sm: 10px;
|
|
732
|
+
--ca-space-md: 20px;
|
|
733
|
+
--ca-space-base: 24px;
|
|
734
|
+
--ca-space-lg: 25px;
|
|
735
|
+
--ca-space-xl: 32px;
|
|
736
|
+
--ca-space-2xl: 50px;
|
|
737
|
+
--ca-space-3xl: 64px;
|
|
738
|
+
--ca-radius-none: 0px;
|
|
739
|
+
--ca-radius-xs: 8px;
|
|
740
|
+
--ca-radius-sm: 8px;
|
|
741
|
+
--ca-radius-md: 8px;
|
|
742
|
+
--ca-radius-lg: 8px;
|
|
743
|
+
--ca-radius-xl: 8px;
|
|
744
|
+
--ca-radius-full: 9999px;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/* Motion */
|
|
748
|
+
:root {
|
|
749
|
+
--ca-ease-in-out: cubic-bezier(.4, 0, .2, 1);
|
|
750
|
+
--ca-ease-out: cubic-bezier(0, 0, .2, 1);
|
|
751
|
+
}
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
## 13. Page Structure Skeleton
|
|
756
|
+
|
|
757
|
+
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
|
|
758
|
+
|
|
759
|
+
```yaml
|
|
760
|
+
page-skeleton:
|
|
761
|
+
- section: header
|
|
762
|
+
tag: header
|
|
763
|
+
height: 138px
|
|
764
|
+
width: full-bleed
|
|
765
|
+
layout: block
|
|
766
|
+
children: 1
|
|
767
|
+
bg: "rgb(255, 255, 255)"
|
|
768
|
+
- section: header
|
|
769
|
+
tag: header
|
|
770
|
+
classes: ["bg-navy-dark", "svelte-iafedd"]
|
|
771
|
+
height: 337px
|
|
772
|
+
width: full-bleed
|
|
773
|
+
layout: block
|
|
774
|
+
children: 1
|
|
775
|
+
bg: "rgb(64, 48, 80)"
|
|
776
|
+
tone: dark
|
|
777
|
+
vertical-padding: ~24px
|
|
778
|
+
- section: feature-section
|
|
779
|
+
tag: main
|
|
780
|
+
height: 2726px
|
|
781
|
+
width: full-bleed
|
|
782
|
+
layout: block
|
|
783
|
+
children: 6
|
|
784
|
+
tone: dark
|
|
785
|
+
- section: header
|
|
786
|
+
tag: div
|
|
787
|
+
classes: ["header-image-container", "mx-auto", "max-w-[1176px]", "px-8"]
|
|
788
|
+
height: 337px
|
|
789
|
+
width: 1176px
|
|
790
|
+
layout: flex-row justify=normal
|
|
791
|
+
children: 1
|
|
792
|
+
bg-treatment: image
|
|
793
|
+
tone: dark
|
|
794
|
+
vertical-padding: ~24px
|
|
795
|
+
padding: "24px 32px"
|
|
796
|
+
- section: feature-section
|
|
797
|
+
tag: div
|
|
798
|
+
classes: ["title-wrapper", "flex", "flex-col", "justify-center"]
|
|
799
|
+
height: 231px
|
|
800
|
+
width: 556px
|
|
801
|
+
layout: flex-column justify=center
|
|
802
|
+
children: 3
|
|
803
|
+
tone: dark
|
|
804
|
+
vertical-padding: ~24px
|
|
805
|
+
padding: "24px 0px"
|
|
806
|
+
- section: content-section
|
|
807
|
+
tag: section
|
|
808
|
+
classes: ["bg-white", "svelte-iafedd"]
|
|
809
|
+
height: 190px
|
|
810
|
+
width: full-bleed
|
|
811
|
+
layout: block
|
|
812
|
+
children: 1
|
|
813
|
+
bg: "rgb(255, 255, 255)"
|
|
814
|
+
vertical-padding: ~32px
|
|
815
|
+
- section: content-section
|
|
816
|
+
tag: section
|
|
817
|
+
classes: ["svelte-iafedd"]
|
|
818
|
+
height: 1655px
|
|
819
|
+
width: full-bleed
|
|
820
|
+
layout: block
|
|
821
|
+
children: 1
|
|
822
|
+
tone: dark
|
|
823
|
+
- section: footer
|
|
824
|
+
tag: div
|
|
825
|
+
classes: ["adthrive-ad", "adthrive-footer", "adthrive-footer-1", "adthrive-ad-cls"]
|
|
826
|
+
height: 90px
|
|
827
|
+
width: full-bleed
|
|
828
|
+
layout: flex-row justify=center
|
|
829
|
+
children: 0
|
|
830
|
+
bg: "rgba(255, 255, 255, 0.8)"
|
|
831
|
+
- section: section
|
|
832
|
+
tag: section
|
|
833
|
+
classes: ["md:px-5", "svelte-iafedd"]
|
|
834
|
+
height: 262px
|
|
835
|
+
width: full-bleed
|
|
836
|
+
layout: block
|
|
837
|
+
children: 1
|
|
838
|
+
tone: dark
|
|
839
|
+
vertical-padding: ~32px
|
|
840
|
+
padding: "0px 20px"
|
|
841
|
+
- section: footer
|
|
842
|
+
tag: footer
|
|
843
|
+
height: 478px
|
|
844
|
+
width: full-bleed
|
|
845
|
+
layout: block
|
|
846
|
+
children: 4
|
|
847
|
+
bg: "rgb(237, 237, 237)"
|
|
848
|
+
vertical-padding: ~25px
|
|
849
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
850
|
+
padding: "0px 0px 50px"
|
|
851
|
+
```
|
|
852
|
+
|
|
853
|
+
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
## 14. Copy Library (Real Content from Source)
|
|
857
|
+
|
|
858
|
+
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
|
|
859
|
+
|
|
860
|
+
```yaml
|
|
861
|
+
copy:
|
|
862
|
+
section-headings:
|
|
863
|
+
- "Get Our Newsletter"
|
|
864
|
+
sub-headings:
|
|
865
|
+
- "Accurate, Free Test to Find Your Ideal Career"
|
|
866
|
+
ctas:
|
|
867
|
+
- "PERSONALITY TESTS"
|
|
868
|
+
- "NEXT STEP >"
|
|
869
|
+
- "SUBMIT"
|
|
870
|
+
navigation:
|
|
871
|
+
- "Enneagram Personality Test"
|
|
872
|
+
- "16 Types Personality Test"
|
|
873
|
+
- "Big Five Personality Test"
|
|
874
|
+
- "DISC Personality Test"
|
|
875
|
+
- "Career Aptitude Test"
|
|
876
|
+
- "7 Love Styles Test"
|
|
877
|
+
- "Emotional Intelligence Test"
|
|
878
|
+
- "Tests for the Workplace"
|
|
879
|
+
- "All Tests & Quizzes"
|
|
880
|
+
- "New! Personality Test App"
|
|
881
|
+
footer-links:
|
|
882
|
+
- "PERSONALITY BLOG"
|
|
883
|
+
```
|
|
884
|
+
|
|
885
|
+
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
## 15. Asset Inventory (Image Roles & Ratios)
|
|
889
|
+
|
|
890
|
+
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
|
|
891
|
+
|
|
892
|
+
```yaml
|
|
893
|
+
assets:
|
|
894
|
+
logo:
|
|
895
|
+
count: 12
|
|
896
|
+
avg-ratio: 2.00
|
|
897
|
+
common-aspect: "~16:9 landscape"
|
|
898
|
+
sample-alts:
|
|
899
|
+
- "Enterpreneur"
|
|
900
|
+
- "Huffpost"
|
|
901
|
+
- "Chicago Tribune"
|
|
902
|
+
thumbnail:
|
|
903
|
+
count: 1
|
|
904
|
+
avg-ratio: 1.01
|
|
905
|
+
common-aspect: "~1:1 square"
|
|
906
|
+
sample-alts:
|
|
907
|
+
- "Home"
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
**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`.
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
## 16. Component HTML Templates
|
|
914
|
+
|
|
915
|
+
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
|
|
916
|
+
|
|
917
|
+
### Button (primary action)
|
|
918
|
+
```html
|
|
919
|
+
<button class="btn btn-primary">
|
|
920
|
+
PERSONALITY TESTS
|
|
921
|
+
</button>
|
|
922
|
+
```
|
|
923
|
+
_Source pattern detected: padding `0px` · radius `0px` · weight `400`_
|
|
924
|
+
|
|
925
|
+
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
## 12. Known Extraction Gaps
|
|
929
|
+
|
|
930
|
+
*Auto-detected limitations of this extraction — understand before building:*
|
|
931
|
+
|
|
932
|
+
- **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.
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
---
|
|
936
|
+
## Extraction Completeness: 72/100 (C)
|
|
937
|
+
|
|
938
|
+
| Category | Score | Max | Detail |
|
|
939
|
+
|----------|-------|-----|--------|
|
|
940
|
+
| Colors & Palette | 25 | 25 | 18 named colors |
|
|
941
|
+
| Typography | 13 | 20 | 5 roles defined |
|
|
942
|
+
| Components | 12 | 20 | 3 specs extracted |
|
|
943
|
+
| Motion & Interaction | 15 | 15 | Keyframes present, easing vars |
|
|
944
|
+
| CSS Custom Properties | 3 | 10 | 65 vars |
|
|
945
|
+
| Responsive Breakpoints | 4 | 5 | 4 breakpoints |
|
|
946
|
+
| Variable Fonts | 0 | 5 | None detected |
|
|
947
|
+
|
|
948
|
+
## 12. Known Gaps & Confidence
|
|
949
|
+
|
|
950
|
+
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.
|
|
951
|
+
|
|
952
|
+
*✅ No critical extraction gaps detected — high-confidence reproduction expected.*
|
|
953
|
+
|
|
954
|
+
### Per-section confidence
|
|
955
|
+
|
|
956
|
+
| Section | Confidence | Reason |
|
|
957
|
+
|---------|------------|--------|
|
|
958
|
+
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
|
|
959
|
+
| §2 Colors | High | 65 CSS vars (semantic naming requires ≥20 for high) |
|
|
960
|
+
| §3 Typography | High | 5 typography roles inferred |
|
|
961
|
+
| §4 Components | Medium | 3 component variants captured |
|
|
962
|
+
| §7 Motion | High | Keyframes + transitions |
|
|
963
|
+
| §8 Do's/Don'ts | High | 17 rules generated; design-decisions.json has evidence per rule |
|
|
964
|
+
| §9 Responsive | High | 4 breakpoints detected |
|
|
965
|
+
| §9b Photography | High | 14 images, hero present |
|
|
966
|
+
|
|
967
|
+
---
|
|
968
|
+
*Generated by Prism — automated Playwright extraction + design analysis.*
|
|
969
|
+
*Source: https://www.truity.com/test/holland-code-career-test | 2026-06-02T00:50:59.319Z*
|
|
970
|
+
*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.*
|