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,909 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: alpha
|
|
3
|
+
name: onetonline.org
|
|
4
|
+
description: "Light product system built on #ffffff with #004488 as the primary CTA accent. Type anchored in OpenSansCond at 35px / weight 700. Extracted automatically from https://onetonline.org/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
|
|
5
|
+
narrative: |
|
|
6
|
+
onetonline.org is built on a pure-white canvas (rgb(255, 255, 255)).
|
|
7
|
+
The system uses rgb(0, 68, 136) as the accent for primary actions and brand signals.
|
|
8
|
+
Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside OpenSansCond as the primary typeface.
|
|
9
|
+
Depth comes from borders and surface contrast rather than shadows — a flat, structural elevation model.
|
|
10
|
+
Motion is a first-class concern — 12 keyframe animations plus transition-driven interactions.
|
|
11
|
+
|
|
12
|
+
colors:
|
|
13
|
+
background: "#ffffff"
|
|
14
|
+
surface-1: "#f8f9fa"
|
|
15
|
+
surface-2: "#f8f9fa"
|
|
16
|
+
ink: "#212529"
|
|
17
|
+
ink-subtle: "#2b2f32"
|
|
18
|
+
primary: "#004488"
|
|
19
|
+
on-primary: "#ffffff"
|
|
20
|
+
primary-hover: "#0d6efd"
|
|
21
|
+
hairline: "#dee2e6"
|
|
22
|
+
primary-focus: "rgba(13, 110, 253, 0.25)"
|
|
23
|
+
semantic-error: "#58151c"
|
|
24
|
+
semantic-success: "#198754"
|
|
25
|
+
semantic-warning: "#fff3cd"
|
|
26
|
+
semantic-info: "#055160"
|
|
27
|
+
|
|
28
|
+
typography:
|
|
29
|
+
display-xl:
|
|
30
|
+
fontFamily: "OpenSansCond"
|
|
31
|
+
fontSize: 35px
|
|
32
|
+
fontWeight: 700
|
|
33
|
+
lineHeight: 1.2
|
|
34
|
+
letterSpacing: 0
|
|
35
|
+
body:
|
|
36
|
+
fontFamily: "OpenSans"
|
|
37
|
+
fontSize: 14px
|
|
38
|
+
fontWeight: 400
|
|
39
|
+
lineHeight: 1.5
|
|
40
|
+
letterSpacing: 0
|
|
41
|
+
button:
|
|
42
|
+
fontFamily: "OpenSans"
|
|
43
|
+
fontSize: 28px
|
|
44
|
+
fontWeight: 400
|
|
45
|
+
lineHeight: 1.14
|
|
46
|
+
letterSpacing: 0
|
|
47
|
+
|
|
48
|
+
rounded:
|
|
49
|
+
none: 0px
|
|
50
|
+
xs: 5.25px
|
|
51
|
+
sm: 7px
|
|
52
|
+
md: 7px
|
|
53
|
+
lg: 7px
|
|
54
|
+
xl: 7px
|
|
55
|
+
xxl: 24px
|
|
56
|
+
pill: 9999px
|
|
57
|
+
|
|
58
|
+
spacing:
|
|
59
|
+
xxs: 2px
|
|
60
|
+
xs: 4px
|
|
61
|
+
sm: 7px
|
|
62
|
+
md: 11px
|
|
63
|
+
lg: 21px
|
|
64
|
+
xl: 32px
|
|
65
|
+
xxl: 64px
|
|
66
|
+
section: 80px
|
|
67
|
+
|
|
68
|
+
components:
|
|
69
|
+
button-ghost:
|
|
70
|
+
backgroundColor: "transparent"
|
|
71
|
+
textColor: "{colors.ink}"
|
|
72
|
+
typography: "{typography.body}"
|
|
73
|
+
rounded: "{rounded.none}"
|
|
74
|
+
padding: 3.5px 14px
|
|
75
|
+
button-primary-brand:
|
|
76
|
+
backgroundColor: "{colors.primary}"
|
|
77
|
+
textColor: "{colors.on-primary}"
|
|
78
|
+
typography: "{typography.body}"
|
|
79
|
+
rounded: "{rounded.none}"
|
|
80
|
+
padding: 5.25px 10.5px
|
|
81
|
+
input-text-input:
|
|
82
|
+
backgroundColor: "{colors.on-primary}"
|
|
83
|
+
textColor: "{colors.ink}"
|
|
84
|
+
typography: "{typography.body}"
|
|
85
|
+
rounded: "{rounded.none}"
|
|
86
|
+
padding: 5.25px 10.5px
|
|
87
|
+
navigation-main-nav:
|
|
88
|
+
backgroundColor: "{colors.surface-2}"
|
|
89
|
+
typography: "{typography.body}"
|
|
90
|
+
rounded: "{rounded.none}"
|
|
91
|
+
padding: 7px
|
|
92
|
+
alert-alert-banner:
|
|
93
|
+
backgroundColor: "#cfe2ff"
|
|
94
|
+
textColor: "#052c65"
|
|
95
|
+
typography: "{typography.body}"
|
|
96
|
+
rounded: "{rounded.xs}"
|
|
97
|
+
padding: 14px
|
|
98
|
+
|
|
99
|
+
extracted_at: "2026-06-02T00:50:12.343Z"
|
|
100
|
+
completeness: 70
|
|
101
|
+
scoreVersion: "v2"
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
# Design System — onetonline.org
|
|
106
|
+
> Extracted automatically by Prism from https://www.onetonline.org/explore/interests/
|
|
107
|
+
> Date: 2026-06-02
|
|
108
|
+
> Viewport: Desktop 1440x900 + Mobile 390x844
|
|
109
|
+
> 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).
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
## 0. Design DNA
|
|
113
|
+
|
|
114
|
+
**Density**: moderate | **Motion**: expressive | **Weight**: light | **Aesthetic**: product-neutral
|
|
115
|
+
|
|
116
|
+
| Dimension | Value | Signal |
|
|
117
|
+
|---|---|---|
|
|
118
|
+
| Canvas | neutral | `#ffffff` |
|
|
119
|
+
| Type posture | sans-led (OpenSans) | "Browse by Career Interest Type" |
|
|
120
|
+
| Color assertion | dual-accent | #004488 |
|
|
121
|
+
| Whitespace | moderate | section rhythm 48px |
|
|
122
|
+
| Interaction | expressive | 12 keyframes, 7 transitions |
|
|
123
|
+
| Radius language | 7px-rounded | from token scale |
|
|
124
|
+
|
|
125
|
+
**Prism fingerprint**: `neutral-canvas · sans-display · dual-accent · 7px-rounded · expressive-motion`
|
|
126
|
+
|
|
127
|
+
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
|
|
128
|
+
>
|
|
129
|
+
> - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
|
|
130
|
+
> - **Accent**: `rgb(0, 68, 136)` for primary CTAs ONLY. Never decorative.
|
|
131
|
+
> - **Body type**: 14px (token: `typography.body`). Default for ALL text not in a heading role.
|
|
132
|
+
> - **Section rhythm**: 48px between major bands. Card padding: 21px.
|
|
133
|
+
> - **Default radius**: 7px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
|
|
134
|
+
> - **Forbidden**: Do NOT introduce heavy box-shadows — this system relies on borders for separation
|
|
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
|
+
onetonline.org uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
|
|
141
|
+
|
|
142
|
+
Headlines are set in **OpenSansCond**, a sans-serif display face (the dominant type signature, e.g. "Browse by Career Interest Types" at 35px). Body text is set in **OpenSans**. Headlines use weight 700 for confident, assertive presence — the brand wants to be heard.
|
|
143
|
+
|
|
144
|
+
Body text reads in Warm Brown (`#212529`) — softened from pure black, a small but deliberate detail that lowers reading friction. **#004488** (`#004488`) 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. Shadow is absent by design — depth is conveyed through borders, spacing, and color differentiation rather than light simulation.
|
|
145
|
+
Motion design uses smooth easing curves for polished state transitions.
|
|
146
|
+
|
|
147
|
+
**Key Characteristics:**
|
|
148
|
+
- Background: Pure White (`#ffffff`)
|
|
149
|
+
- Primary typeface: OpenSans
|
|
150
|
+
- Primary text: Warm Brown (`#212529`)
|
|
151
|
+
- Accent: #004488 (`#004488`)
|
|
152
|
+
- Custom fonts loaded: OpenSans, OpenSansCond
|
|
153
|
+
|
|
154
|
+
## 2. Color Palette & Roles
|
|
155
|
+
|
|
156
|
+
### Background & Surface
|
|
157
|
+
- **Pure White** (`#ffffff`): Page background (primary)
|
|
158
|
+
- **Off-White** (`#f8f9fa`): Surface / elevated background
|
|
159
|
+
- **Light Gray** (`#dee2e6`): Surface / elevated background
|
|
160
|
+
- **#cfe2ff** (`#cfe2ff`): Surface / elevated background
|
|
161
|
+
|
|
162
|
+
### Text & Content
|
|
163
|
+
- **Warm Brown** (`#212529`): Primary body text
|
|
164
|
+
- **Pure Black** (`#000000`): Secondary text
|
|
165
|
+
- **#004488** (`#004488`): Secondary text
|
|
166
|
+
- **#052c65** (`#052c65`): Secondary text
|
|
167
|
+
|
|
168
|
+
### Accent & Interactive
|
|
169
|
+
- **#0d6efd** (`#0d6efd`): Interactive / accent
|
|
170
|
+
- **Baby Blue** (`#9ec5fe`): Interactive / accent
|
|
171
|
+
- **#67be94** (`#67be94`): Interactive / accent
|
|
172
|
+
- **#b24945** (`#b24945`): Interactive / accent
|
|
173
|
+
- **#435a94** (`#435a94`): Interactive / accent
|
|
174
|
+
- **Steel Blue** (`#3275b0`): Interactive / accent
|
|
175
|
+
- **Vermillion** (`#eb5528`): Interactive / accent
|
|
176
|
+
|
|
177
|
+
### Full Extracted Palette
|
|
178
|
+
**18 colors rendered on the page** + **31** more declared in design tokens (CSS custom properties — not necessarily painted). (15 categorized above + 34 additional below.)
|
|
179
|
+
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
|
|
180
|
+
|
|
181
|
+
- `#999999` — Cool Gray
|
|
182
|
+
- `#9b9b9b` — Cool Gray
|
|
183
|
+
- `#6c757d` — Slate Gray
|
|
184
|
+
- `#fd7e14` — #fd7e14 *(token)*
|
|
185
|
+
- `#fff3cd` — Vibrant Yellow *(token)*
|
|
186
|
+
- `#198754` — Teal *(token)*
|
|
187
|
+
- `#58151c` — #58151c *(token)*
|
|
188
|
+
- `#055160` — #055160 *(token)*
|
|
189
|
+
- `#d63384` — Cherry *(token)*
|
|
190
|
+
- `#fcfcfd` — Off-White *(token)*
|
|
191
|
+
- `#0dcaf0` — #0dcaf0 *(token)*
|
|
192
|
+
- `#0a58ca` — M Tricolor Blue *(token)*
|
|
193
|
+
- `#6f42c1` — Slate Blue *(token)*
|
|
194
|
+
- `#495057` — Slate *(token)*
|
|
195
|
+
- `#ced4da` — Light Blue *(token)*
|
|
196
|
+
- `#dc3545` — Vermillion *(token)*
|
|
197
|
+
- `#0a3622` — Warm Brown *(token)*
|
|
198
|
+
- `#adb5bd` — Silver *(token)*
|
|
199
|
+
- `#20c997` — Emerald *(token)*
|
|
200
|
+
- `#6610f2` — #6610f2 *(token)*
|
|
201
|
+
- `#d1e7dd` — #d1e7dd *(token)*
|
|
202
|
+
- `#e2e3e5` — Light Gray *(token)*
|
|
203
|
+
- `#343a40` — Dark Gray *(token)*
|
|
204
|
+
- `#9eeaf9` — Light Blue *(token)*
|
|
205
|
+
- `#a3cfbb` — Silver *(token)*
|
|
206
|
+
- `#2b2f32` — Charcoal *(token)*
|
|
207
|
+
- `#ffc107` — Amber *(token)*
|
|
208
|
+
- `#ffe69c` — #ffe69c *(token)*
|
|
209
|
+
- `#cff4fc` — Light Gray *(token)*
|
|
210
|
+
- `#e9ecef` — Light Gray *(token)*
|
|
211
|
+
- `#664d03` — Chocolate *(token)*
|
|
212
|
+
- `#f8d7da` — Soft Pink *(token)*
|
|
213
|
+
- *…+2 more in `raw-css.json` (`desktop.allColors`).*
|
|
214
|
+
|
|
215
|
+
### Gradients & Decorative Fills
|
|
216
|
+
|
|
217
|
+
- `linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))` — (--bs-gradient)
|
|
218
|
+
- `linear-gradient(rgb(255, 255, 255), rgb(221, 221, 221))` — (nav)
|
|
219
|
+
|
|
220
|
+
### CSS Custom Properties (Design Tokens)
|
|
221
|
+
|
|
222
|
+
**Font Weight Token**
|
|
223
|
+
- `--bs-body-font-weight`: `400`
|
|
224
|
+
|
|
225
|
+
**Border Radius Token**
|
|
226
|
+
- `--bs-border-radius-2xl`: `2rem`
|
|
227
|
+
- `--bs-border-radius-sm`: `0.25rem`
|
|
228
|
+
- `--bs-border-radius`: `0.375rem`
|
|
229
|
+
- `--bs-border-radius-xxl`: `2rem`
|
|
230
|
+
|
|
231
|
+
**Shadow Token**
|
|
232
|
+
- `--bs-box-shadow`: `0 0.5rem 1rem rgba(0, 0, 0, 0.15)`
|
|
233
|
+
- `--bs-box-shadow-inset`: `inset 0 1px 2px rgba(0, 0, 0, 0.075)`
|
|
234
|
+
- `--bs-box-shadow-lg`: `0 1rem 3rem rgba(0, 0, 0, 0.175)`
|
|
235
|
+
- `--bs-box-shadow-sm`: `0 0.125rem 0.25rem rgba(0, 0, 0, 0.075)`
|
|
236
|
+
|
|
237
|
+
**Spacing Token**
|
|
238
|
+
- `--bs-font-monospace`: `SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace`
|
|
239
|
+
- `--bs-navbar-padding-y`: `0.5rem`
|
|
240
|
+
- `--bs-navbar-brand-padding-y`: `0.3125rem`
|
|
241
|
+
- `--bs-navbar-padding-x`: `0`
|
|
242
|
+
|
|
243
|
+
**Font Size Token**
|
|
244
|
+
- `--bs-body-font-size`: `1rem`
|
|
245
|
+
- `--bs-navbar-brand-font-size`: `1.25rem`
|
|
246
|
+
- `--bs-navbar-toggler-font-size`: `1.25rem`
|
|
247
|
+
|
|
248
|
+
**Motion Token**
|
|
249
|
+
- `--bs-navbar-toggler-transition`: `box-shadow 0.15s ease-in-out`
|
|
250
|
+
|
|
251
|
+
**Other tokens**
|
|
252
|
+
- `--bs-link-hover-color-rgb`: `10,88,202`
|
|
253
|
+
- `--fa-font-duotone-thin`: `normal 100 1em/1 'Font Awesome 7 Duotone'`
|
|
254
|
+
- `--bs-warning-bg-subtle`: `#fff3cd`
|
|
255
|
+
- `--fa-font-etch-solid`: `normal 900 1em/1 'Font Awesome 7 Etch'`
|
|
256
|
+
- `--bs-danger-text-emphasis`: `#58151c`
|
|
257
|
+
- `--bs-info-text-emphasis`: `#055160`
|
|
258
|
+
- `--fa-font-whiteboard-semibold`: `normal 600 1em/1 'Font Awesome 7 Whiteboard'`
|
|
259
|
+
- `--bs-code-color`: `#d63384`
|
|
260
|
+
|
|
261
|
+
## 3. Typography Rules
|
|
262
|
+
|
|
263
|
+
### Font Families
|
|
264
|
+
- **Primary**: `OpenSans`
|
|
265
|
+
- **Secondary**: `OpenSansCond`
|
|
266
|
+
|
|
267
|
+
### Custom Fonts Loaded
|
|
268
|
+
- **OpenSans** weight normal (normal)
|
|
269
|
+
- **OpenSans** weight bold (normal)
|
|
270
|
+
- **OpenSansCond** weight normal (normal)
|
|
271
|
+
- **OpenSansCond** weight bold (normal)
|
|
272
|
+
|
|
273
|
+
### Typography Hierarchy
|
|
274
|
+
|
|
275
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
276
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
277
|
+
| Display Hero | OpenSansCond | 35px | 700 | 1.2 | normal | Main headline (h1) |
|
|
278
|
+
| Button Large | OpenSans | 28px | 400 | 1.14 | normal | Button label (28px) |
|
|
279
|
+
| Body | OpenSans | 14px | 400 | 1.5 | normal | Standard reading text |
|
|
280
|
+
|
|
281
|
+
### Full Font Size Scale
|
|
282
|
+
|
|
283
|
+
Sizes detected in the design (descending): `35px`, `28px`, `24.50px`, `19.60px`, `17.50px`, `14px`, `12.25px`
|
|
284
|
+
|
|
285
|
+
> 4 size(s) detected outside the sampled hierarchy (24.5px, 19.6px, 17.5px, 12.25px). 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
|
+
**Ghost**
|
|
292
|
+
- Background: `transparent`
|
|
293
|
+
- Text: `#212529` `{colors.ink}`
|
|
294
|
+
- Padding: 3.5px 14px
|
|
295
|
+
- Radius: 0px
|
|
296
|
+
- Font: 14px weight 400
|
|
297
|
+
- Use: Subtle action, toolbar, nav button
|
|
298
|
+
|
|
299
|
+
**Primary Brand**
|
|
300
|
+
- Background: `#004488` `{colors.primary}`
|
|
301
|
+
- Text: `#ffffff` `{colors.on-primary}`
|
|
302
|
+
- Padding: 5.25px 10.5px
|
|
303
|
+
- Radius: 0px 5.25px 5.25px 0px
|
|
304
|
+
- Border: 1px solid rgb(0, 68, 136)
|
|
305
|
+
- Font: 14px weight 400
|
|
306
|
+
- Use: Primary CTA / brand action
|
|
307
|
+
|
|
308
|
+
### Inputs & Forms
|
|
309
|
+
|
|
310
|
+
**Text Input**
|
|
311
|
+
- Background: `#ffffff` `{colors.on-primary}`
|
|
312
|
+
- Text: `#212529` `{colors.ink}`
|
|
313
|
+
- Padding: 5.25px 10.5px
|
|
314
|
+
- Radius: 0px
|
|
315
|
+
- Border: 1px solid rgb(222, 226, 230)
|
|
316
|
+
- Font: 14px weight 400
|
|
317
|
+
- Use: Text fields, search inputs
|
|
318
|
+
- Focus: border: `1px solid rgb(220, 225, 231)`, borderColor: `rgb(220, 225, 231)`, boxShadow: `rgba(13, 110, 253, 0.008) 0px 0px 0px 0.0855841px`
|
|
319
|
+
|
|
320
|
+
### Navigation
|
|
321
|
+
|
|
322
|
+
**Main Nav**
|
|
323
|
+
- Background: `#f8f9fa` `{colors.surface-2}`
|
|
324
|
+
- Padding: 7px
|
|
325
|
+
- Radius: none
|
|
326
|
+
- Font: 14px weight 400
|
|
327
|
+
- Use: Fixed/sticky flex nav — N/A items
|
|
328
|
+
|
|
329
|
+
### Alerts
|
|
330
|
+
|
|
331
|
+
**Alert Banner**
|
|
332
|
+
- Background: `#cfe2ff`
|
|
333
|
+
- Text: `#052c65`
|
|
334
|
+
- Padding: 14px
|
|
335
|
+
- Radius: 5.25px
|
|
336
|
+
- Border: 1px solid rgb(158, 197, 254)
|
|
337
|
+
- Font: 12.25px weight 400
|
|
338
|
+
- Use: System alert, banner notification, toast
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
## 4b. Component Behaviors (State Matrix)
|
|
342
|
+
|
|
343
|
+
### Interaction State Narrative
|
|
344
|
+
|
|
345
|
+
- **Input**:
|
|
346
|
+
- **focus:** shadow added, border changes
|
|
347
|
+
- **Link**:
|
|
348
|
+
- **hover:** text #0d6efd → #0a58ca, border changes
|
|
349
|
+
|
|
350
|
+
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
|
|
351
|
+
|
|
352
|
+
```yaml
|
|
353
|
+
component-behaviors:
|
|
354
|
+
button:
|
|
355
|
+
default:
|
|
356
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
357
|
+
fg: "rgb(33, 37, 41)"
|
|
358
|
+
input:
|
|
359
|
+
default:
|
|
360
|
+
bg: "rgb(255, 255, 255)"
|
|
361
|
+
fg: "rgb(33, 37, 41)"
|
|
362
|
+
border: "1px solid rgb(222, 226, 230)"
|
|
363
|
+
focus:
|
|
364
|
+
bg: "rgb(255, 255, 255)"
|
|
365
|
+
fg: "rgb(33, 37, 41)"
|
|
366
|
+
border: "1px solid rgb(220, 225, 231)"
|
|
367
|
+
shadow: "rgba(13, 110, 253, 0.008) 0px 0px 0px 0.0855841px"
|
|
368
|
+
link:
|
|
369
|
+
default:
|
|
370
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
371
|
+
fg: "rgb(13, 110, 253)"
|
|
372
|
+
hover:
|
|
373
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
374
|
+
fg: "rgb(10, 88, 202)"
|
|
375
|
+
navLink:
|
|
376
|
+
default:
|
|
377
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
378
|
+
fg: "rgb(33, 37, 41)"
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
## 4c. Component Vocabulary (Closed System)
|
|
385
|
+
|
|
386
|
+
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
|
|
387
|
+
|
|
388
|
+
### Buttons
|
|
389
|
+
- **2 shape(s)** in this system: `Ghost`, `Primary Brand`
|
|
390
|
+
- **DO NOT introduce new buttons variants** without justification
|
|
391
|
+
|
|
392
|
+
### Inputs & Forms
|
|
393
|
+
- **1 shape(s)** in this system: `Text Input`
|
|
394
|
+
- **DO NOT introduce new inputs & forms variants** without justification
|
|
395
|
+
|
|
396
|
+
### Navigation
|
|
397
|
+
- **1 shape(s)** in this system: `Main Nav`
|
|
398
|
+
- **DO NOT introduce new navigation variants** without justification
|
|
399
|
+
|
|
400
|
+
### Alerts
|
|
401
|
+
- **1 shape(s)** in this system: `Alert Banner`
|
|
402
|
+
- **DO NOT introduce new alerts variants** without justification
|
|
403
|
+
|
|
404
|
+
## 5. Layout Principles
|
|
405
|
+
|
|
406
|
+
### Layout Type
|
|
407
|
+
**top-nav + content**
|
|
408
|
+
|
|
409
|
+
### Grid
|
|
410
|
+
Single column, centered content
|
|
411
|
+
|
|
412
|
+
### Max Width
|
|
413
|
+
1200px
|
|
414
|
+
|
|
415
|
+
### Spacing System
|
|
416
|
+
Compact spacing — information density prioritized
|
|
417
|
+
|
|
418
|
+
| Token | Value |
|
|
419
|
+
|-------|-------|
|
|
420
|
+
| xxs | 2px |
|
|
421
|
+
| xs | 4px |
|
|
422
|
+
| sm | 7px |
|
|
423
|
+
| md | 11px |
|
|
424
|
+
| base | 14px |
|
|
425
|
+
| lg | 21px |
|
|
426
|
+
| xl | 32px |
|
|
427
|
+
| 2xl | 48px |
|
|
428
|
+
| 3xl | 64px |
|
|
429
|
+
|
|
430
|
+
### Border Radius Scale
|
|
431
|
+
| Name | Value | Use |
|
|
432
|
+
|------|-------|-----|
|
|
433
|
+
| None | 0px | No rounding |
|
|
434
|
+
| Xs | 5.25px | Tiny corners (badges, micro elements) |
|
|
435
|
+
| Sm | 7px | Buttons, inputs, small elements |
|
|
436
|
+
| Md | 7px | Cards, containers |
|
|
437
|
+
| Lg | 7px | Large rounded elements, pill segments |
|
|
438
|
+
| Xl | 7px | Category strips, featured containers |
|
|
439
|
+
| Full | 9999px | Pills, avatars, circular elements |
|
|
440
|
+
|
|
441
|
+
### Shape Language
|
|
442
|
+
|
|
443
|
+
| Component | Border Radius |
|
|
444
|
+
|-----------|---------------|
|
|
445
|
+
| Buttons | `0px` |
|
|
446
|
+
| Inputs & Forms | `0px` |
|
|
447
|
+
| Navigation | `none` |
|
|
448
|
+
| Alerts | `5.25px` |
|
|
449
|
+
| Page Body | `0px` |
|
|
450
|
+
| Primary Input | `0px` |
|
|
451
|
+
|
|
452
|
+
**Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.
|
|
453
|
+
|
|
454
|
+
**Full Radius Spectrum**: 0px, 5.25px, 6px, 7px (from `allBorderRadii` scan)
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
## 5b. Spacing Rhythm Names
|
|
458
|
+
|
|
459
|
+
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
|
|
460
|
+
|
|
461
|
+
| Name | Value | Use case |
|
|
462
|
+
|------|-------|----------|
|
|
463
|
+
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
|
|
464
|
+
| **section** | `32px` | Between major bands (color change, content shift) |
|
|
465
|
+
| **subsection** | `21px` | Within a section, between content groups |
|
|
466
|
+
| **card** | `11px` | Card padding, list-item spacing |
|
|
467
|
+
| **compact** | `7px` | Form fields, tight clusters, badge padding |
|
|
468
|
+
| **micro** | `4px` | Icon-text gap, tag inner padding |
|
|
469
|
+
|
|
470
|
+
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
|
|
471
|
+
|
|
472
|
+
## 5c. Widget & Structure Library
|
|
473
|
+
|
|
474
|
+
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
|
|
475
|
+
|
|
476
|
+
**4/8 structural patterns detected.**
|
|
477
|
+
|
|
478
|
+
### Hero Pattern
|
|
479
|
+
|
|
480
|
+
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
|
|
481
|
+
- **Viewport coverage:** 567px tall (not full-viewport)
|
|
482
|
+
- **Heading:** "Browse by Career Interest Types" — 35px left-aligned
|
|
483
|
+
- **Subheading:** "Career interest types are broad types of work you enjoy. Select an interest to discover occupations that support the interest type."
|
|
484
|
+
- **CTAs:** none detected in hero (unusual — agent should verify)
|
|
485
|
+
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. No imagery needed for hero — text-driven.
|
|
486
|
+
|
|
487
|
+
### Navigation Pattern
|
|
488
|
+
|
|
489
|
+
- **Position:** static (scrolls with page)
|
|
490
|
+
- **Layout:** unknown — Layout not classified
|
|
491
|
+
- **Height:** 49px
|
|
492
|
+
- **Logo:** ✓ present
|
|
493
|
+
- **Nav links:** 7 primary items
|
|
494
|
+
- **CTAs in nav:** 0 (no buttons — links only)
|
|
495
|
+
- **Clone instruction:** Build a static unknown navigation. Link-only — no button styling needed.
|
|
496
|
+
|
|
497
|
+
### Card Grid Pattern
|
|
498
|
+
|
|
499
|
+
- **Card count:** 3 cards detected
|
|
500
|
+
- **Columns (desktop):** 4-up grid
|
|
501
|
+
- **Card dimensions:** 367×88px (aspect 4.17:1)
|
|
502
|
+
- **Gap:** 0px between cards
|
|
503
|
+
- **Content:** ✗ no image + icon
|
|
504
|
+
- **Clone instruction:** Build a 4-column grid (desktop) with cards at ~4.17:1 aspect ratio. Text/icon-only cards (no photography).
|
|
505
|
+
|
|
506
|
+
### Footer Pattern
|
|
507
|
+
|
|
508
|
+
- **Columns:** 3
|
|
509
|
+
- **Links:** 17 total
|
|
510
|
+
- **Height:** 102px
|
|
511
|
+
- **Includes:** ✗ no newsletter | ✓ social icons |
|
|
512
|
+
- **Clone instruction:** Build a 3-column footer with ~6 links per column, social media links.
|
|
513
|
+
|
|
514
|
+
## 6. Depth & Elevation
|
|
515
|
+
|
|
516
|
+
| Level | Treatment | Use |
|
|
517
|
+
|-------|-----------|-----|
|
|
518
|
+
| Flat (Level 0) | No shadow | Page background, content blocks |
|
|
519
|
+
|
|
520
|
+
**Shadow Philosophy**: Flat design — no shadows used. Borders and spacing define structure.
|
|
521
|
+
|
|
522
|
+
## 7. Motion & Interaction
|
|
523
|
+
|
|
524
|
+
### Dominant Easing Curves
|
|
525
|
+
|
|
526
|
+
| Curve | Semantic Name |
|
|
527
|
+
|-------|---------------|
|
|
528
|
+
| `ease` | CSS ease — Default |
|
|
529
|
+
| `ease-in-out` | Ease In-Out — Symmetric |
|
|
530
|
+
| `ease-in` | Ease In — Accelerating |
|
|
531
|
+
|
|
532
|
+
### Duration Scale
|
|
533
|
+
|
|
534
|
+
| Value | Tier | Typical Use |
|
|
535
|
+
|-------|------|-------------|
|
|
536
|
+
| `150ms` | Fast | Hover states, micro-interactions |
|
|
537
|
+
| `300ms` | Normal | Panel open/close, navigation |
|
|
538
|
+
|
|
539
|
+
### Copy-Paste Transition Snippets
|
|
540
|
+
|
|
541
|
+
**Border**
|
|
542
|
+
```css
|
|
543
|
+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
**Color / Background**
|
|
547
|
+
```css
|
|
548
|
+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in...;
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
**Shadow**
|
|
552
|
+
```css
|
|
553
|
+
transition: box-shadow 0.15s ease-in-out;
|
|
554
|
+
```
|
|
555
|
+
|
|
556
|
+
**Color / Background**
|
|
557
|
+
```css
|
|
558
|
+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
### Keyframe Animation Catalog
|
|
562
|
+
|
|
563
|
+
| Animation Name | Type | Animated Props | Use Hint |
|
|
564
|
+
|----------------|------|----------------|----------|
|
|
565
|
+
| `fa-beat` | Scale | transform | UI transition |
|
|
566
|
+
| `fa-bounce` | Scale | transform | Playful feedback |
|
|
567
|
+
| `fa-fade` | Fade | opacity | UI transition |
|
|
568
|
+
| `fa-beat-fade` | Fade + Move | opacity, transform | UI transition |
|
|
569
|
+
| `fa-flip` | Rotate / Spin | transform | UI transition |
|
|
570
|
+
| `fa-shake` | Rotate / Spin | transform | Error feedback |
|
|
571
|
+
| `fa-spin` | Rotate / Spin | transform | Loading indicator |
|
|
572
|
+
| `progress-bar-stripes` | Custom | background-position-x | UI transition |
|
|
573
|
+
| `spinner-border` | Rotate / Spin | transform | Loading indicator |
|
|
574
|
+
| `spinner-grow` | Fade + Move | transform, opacity | Loading indicator |
|
|
575
|
+
| `placeholder-glow` | Fade | opacity | Attention / status |
|
|
576
|
+
| `placeholder-wave` | Custom | -webkit-mask-position-x, -webkit-mask-position-y | UI transition |
|
|
577
|
+
|
|
578
|
+
### Motion Fingerprint
|
|
579
|
+
|
|
580
|
+
- **Speed Character**: Deliberate & Calm (median duration: `300ms`)
|
|
581
|
+
- **Dominant Easing**: custom cubic-bezier curves
|
|
582
|
+
- **Animation Library**: 12 unique animations (12 total including variants)
|
|
583
|
+
|
|
584
|
+
> This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
|
|
585
|
+
|
|
586
|
+
## 8. Do's and Don'ts
|
|
587
|
+
|
|
588
|
+
### Do
|
|
589
|
+
- Use Warm Brown (`#212529`) for text — not pure black, it's warmer and more readable
|
|
590
|
+
- Use OpenSans as the primary typeface — it defines the brand personality
|
|
591
|
+
- Use #004488 (`#004488`) as the primary accent — it's the brand's signature interactive color
|
|
592
|
+
- Style form inputs with a `1px solid rgb(222, 226, 230)` border — use border-based inputs, not floating labels or underline-only
|
|
593
|
+
- Maintain nav height at 49px — consistent vertical space for the navigation bar
|
|
594
|
+
- Respect the 4px–32px spacing range — the design uses a wide scale for visual breathing room
|
|
595
|
+
- Keep the hero centered and text-driven — no decorative media, typography carries the message
|
|
596
|
+
- Each card uses an icon (not photo) — the visual language is illustrative, not photographic
|
|
597
|
+
- Use a 4-column grid on desktop — density matters for this content type
|
|
598
|
+
|
|
599
|
+
### Don't
|
|
600
|
+
- Don't use pure black (`#000000`) for text — the near-black adds warmth
|
|
601
|
+
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
|
|
602
|
+
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
|
|
603
|
+
- Don't remove the input border — the border is the primary affordance indicator for form fields
|
|
604
|
+
- Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
|
|
605
|
+
- Don't add hero illustrations or photos — they'll break the typographic restraint
|
|
606
|
+
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
|
|
607
|
+
- Don't put a CTA button in the nav — this design uses links only at the top
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
## 7b. Enforceable Brand Rules
|
|
611
|
+
|
|
612
|
+
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
|
|
613
|
+
|
|
614
|
+
```yaml
|
|
615
|
+
rules:
|
|
616
|
+
- id: brand-canvas-001
|
|
617
|
+
type: do
|
|
618
|
+
rule: "Always use the page background `rgb(255, 255, 255)` as the base canvas"
|
|
619
|
+
why: "Every component is designed to composit against this exact tone"
|
|
620
|
+
test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
|
|
621
|
+
- id: brand-accent-001
|
|
622
|
+
type: do
|
|
623
|
+
rule: "Reserve `rgb(0, 68, 136)` for primary CTAs and brand-mark signals only"
|
|
624
|
+
why: "Single chromatic assertion device — overuse dilutes meaning"
|
|
625
|
+
test: "querySelectorAll('[style*=\"rgb(0, 68, 136)\"]').length <= 3 per fold"
|
|
626
|
+
- id: brand-depth-001
|
|
627
|
+
type: dont
|
|
628
|
+
rule: "Do NOT introduce drop shadows on cards or sections"
|
|
629
|
+
why: "Containment is achieved via borders, not elevation — adding shadows breaks the depth contract"
|
|
630
|
+
test: "getComputedStyle(card).boxShadow === 'none'"
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
## 9. Responsive Behavior
|
|
634
|
+
|
|
635
|
+
### Breakpoints
|
|
636
|
+
| Name | Width | Key Changes |
|
|
637
|
+
|------|-------|-------------|
|
|
638
|
+
| Mobile Large | 576px | Expanded mobile layout |
|
|
639
|
+
| Tablet | 768px | Multi-column grids begin |
|
|
640
|
+
| Tablet | 992px | Multi-column grids begin |
|
|
641
|
+
| Desktop | 1200px | Full feature layout |
|
|
642
|
+
| Large Desktop | 1400px | Maximum content width |
|
|
643
|
+
|
|
644
|
+
### Token Diff — Desktop vs Mobile
|
|
645
|
+
|
|
646
|
+
| Element | Property | Desktop | Mobile |
|
|
647
|
+
|---------|----------|---------|--------|
|
|
648
|
+
| heading | font-size | `35px` | `25.1px` |
|
|
649
|
+
| heading | line-height | `42px` | `30.12px` |
|
|
650
|
+
| nav | height | `49px` | `49.25px` |
|
|
651
|
+
|
|
652
|
+
### Collapsing Strategy
|
|
653
|
+
- Headlines: 35px → 25.1px on mobile
|
|
654
|
+
- Navigation: horizontal links → hamburger menu on mobile
|
|
655
|
+
- Cards: multi-column → stacked vertical on mobile
|
|
656
|
+
- Footer: multi-column → stacked single column on mobile
|
|
657
|
+
|
|
658
|
+
### Touch Targets
|
|
659
|
+
- Buttons: 3.5px 14px padding
|
|
660
|
+
- Navigation: adequate spacing between items
|
|
661
|
+
- Interactive elements: minimum 44px touch target recommended
|
|
662
|
+
|
|
663
|
+
### Collapsing Narrative
|
|
664
|
+
|
|
665
|
+
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
|
|
666
|
+
|
|
667
|
+
- **Navigation collapses to hamburger** — 7 links visible on desktop, 0 on mobile (the rest hide behind a menu toggle).
|
|
668
|
+
- **Card grid: 4-up → 1-up** — cards stack as viewport narrows, becoming a vertical list on mobile.
|
|
669
|
+
- **Footer columns collapse:** 3 columns (desktop) → 1 column (mobile).
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
## 7c. Visual Effects & Dynamic Behavior
|
|
673
|
+
|
|
674
|
+
*The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
|
|
675
|
+
|
|
676
|
+
- **CSS-variable animations** (3) — animated custom properties.
|
|
677
|
+
|
|
678
|
+
> **Motion fingerprint**: standard CSS transitions only
|
|
679
|
+
|
|
680
|
+
## 9b. Visual Tone & Photography
|
|
681
|
+
|
|
682
|
+
**Tone:** Mixed photography + illustration
|
|
683
|
+
|
|
684
|
+
A balanced mix of photographic content and vector graphics. Photos likely carry product/lifestyle context while SVG handles icons, logos, and decorative accents.
|
|
685
|
+
|
|
686
|
+
**Canonical Brand Image (OG):**
|
|
687
|
+
- https://www.onetonline.org/shared/image/promo/online.jpg
|
|
688
|
+
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
|
|
689
|
+
|
|
690
|
+
**Hero Image (above-fold dominant visual):**
|
|
691
|
+
- Aspect: 5:1 (ultra-wide cinematic)
|
|
692
|
+
- Rendered size: 400×80px
|
|
693
|
+
- Alt text: "O*NET OnLine"
|
|
694
|
+
- *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
|
|
695
|
+
|
|
696
|
+
**Aspect Ratio Distribution:**
|
|
697
|
+
- Landscape (1.15–2.3): 0 (0%)
|
|
698
|
+
- Portrait (<0.87): 0 (0%)
|
|
699
|
+
- Square (0.87–1.15): 0 (0%)
|
|
700
|
+
- Ultra-wide (>2.3): 1 (100%)
|
|
701
|
+
|
|
702
|
+
**Media Format Mix:**
|
|
703
|
+
- SVG: 1 (icons, illustrations, decorative geometry)
|
|
704
|
+
|
|
705
|
+
**Average rendered image size:** 400×80px
|
|
706
|
+
**Above-fold image count:** 1 / 1
|
|
707
|
+
|
|
708
|
+
**Imagery Guidance for clones:**
|
|
709
|
+
- Mix photography and illustration intentionally: photos for product/context, vectors for icons + decorative accents.
|
|
710
|
+
- Respect the format split — replacing JPGs with illustrations (or vice versa) will shift the brand tone.
|
|
711
|
+
|
|
712
|
+
## 10. Agent Prompt Guide
|
|
713
|
+
|
|
714
|
+
### Quick Reference
|
|
715
|
+
- Background: Pure White (`#ffffff`)
|
|
716
|
+
- Primary text: Warm Brown (`#212529`)
|
|
717
|
+
- Accent: #004488 (`#004488`)
|
|
718
|
+
- Border: Light Gray (`#dee2e6`)
|
|
719
|
+
- Font: OpenSans
|
|
720
|
+
- Body: 14px weight 400
|
|
721
|
+
|
|
722
|
+
### Example Component Prompts
|
|
723
|
+
- "Create a hero section on Pure White background (#ffffff). Headline at 35px OpenSans weight 700, line-height 1.2, color #212529."
|
|
724
|
+
- "Create the primary CTA button: `#004488` background, `#ffffff` text, 0px 5.25px 5.25px 0px border-radius, 5.25px 10.5px padding, 700 weight, OpenSans font."
|
|
725
|
+
- "Build navigation: relative on `#ffffff`. OpenSans 14px weight 400 for links."
|
|
726
|
+
|
|
727
|
+
### Iteration Guide
|
|
728
|
+
1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
|
|
729
|
+
2. **Typography**: All type in OpenSans, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
|
|
730
|
+
3. **Accent**: #004488 (`#004488`) is the sole interactive color. On hover → #0d6efd (`#0d6efd`). Use CSS transitions, not opacity/brightness filters.
|
|
731
|
+
4. **Focus**: Render focus rings in Translucent #0d6efd (25%) (`rgba(13, 110, 253, 0.25)`) — never hide focus outlines. The ring color is distinct from the accent to avoid ambiguity.
|
|
732
|
+
5. **Shape**: CTAs at `0px 5.25px 5.25px 0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
|
|
733
|
+
6. **Spacing**: Use the `--ca-space-*` token scale (4px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
|
|
734
|
+
7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
|
|
735
|
+
|
|
736
|
+
## 11. CSS Design Tokens Raw Export
|
|
737
|
+
|
|
738
|
+
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
|
|
739
|
+
|
|
740
|
+
```css
|
|
741
|
+
/* Colors */
|
|
742
|
+
:root {
|
|
743
|
+
--ca-on-primary: #ffffff;
|
|
744
|
+
--ca-surface-2: #f8f9fa;
|
|
745
|
+
--ca-ink: #212529;
|
|
746
|
+
--ca-ink-subtle: #2b2f32;
|
|
747
|
+
--ca-primary: #004488;
|
|
748
|
+
--ca-primary-focus: #0d6efd;
|
|
749
|
+
--ca-hairline: #dee2e6;
|
|
750
|
+
--ca-semantic-error: #58151c;
|
|
751
|
+
--ca-semantic-success: #198754;
|
|
752
|
+
--ca-semantic-warning: #fff3cd;
|
|
753
|
+
--ca-semantic-info: #055160;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/* Typography */
|
|
757
|
+
:root {
|
|
758
|
+
--ca-font-primary: "OpenSansCond", system-ui, sans-serif;
|
|
759
|
+
--ca-text-display: 35px;
|
|
760
|
+
--ca-text-body: 14px;
|
|
761
|
+
--ca-text-button: 28px;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/* Spacing & Radius */
|
|
765
|
+
:root {
|
|
766
|
+
--ca-space-xxs: 2px;
|
|
767
|
+
--ca-space-xs: 4px;
|
|
768
|
+
--ca-space-sm: 7px;
|
|
769
|
+
--ca-space-md: 11px;
|
|
770
|
+
--ca-space-base: 14px;
|
|
771
|
+
--ca-space-lg: 21px;
|
|
772
|
+
--ca-space-xl: 32px;
|
|
773
|
+
--ca-space-2xl: 48px;
|
|
774
|
+
--ca-space-3xl: 64px;
|
|
775
|
+
--ca-radius-none: 0px;
|
|
776
|
+
--ca-radius-xs: 5.25px;
|
|
777
|
+
--ca-radius-sm: 7px;
|
|
778
|
+
--ca-radius-md: 7px;
|
|
779
|
+
--ca-radius-lg: 7px;
|
|
780
|
+
--ca-radius-xl: 7px;
|
|
781
|
+
--ca-radius-full: 9999px;
|
|
782
|
+
}
|
|
783
|
+
```
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
## 13. Page Structure Skeleton
|
|
787
|
+
|
|
788
|
+
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
|
|
789
|
+
|
|
790
|
+
```yaml
|
|
791
|
+
page-skeleton:
|
|
792
|
+
- section: feature-section
|
|
793
|
+
tag: div
|
|
794
|
+
classes: ["grid-parent"]
|
|
795
|
+
height: 931px
|
|
796
|
+
width: 1100px
|
|
797
|
+
layout: block
|
|
798
|
+
children: 2
|
|
799
|
+
tone: dark
|
|
800
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
801
|
+
- section: feature-section
|
|
802
|
+
tag: div
|
|
803
|
+
classes: ["container-fluid"]
|
|
804
|
+
height: 931px
|
|
805
|
+
width: 1100px
|
|
806
|
+
layout: block
|
|
807
|
+
children: 1
|
|
808
|
+
tone: dark
|
|
809
|
+
contains: chart/canvas (reproduce as live data-viz, not a flat image)
|
|
810
|
+
padding: "0px 10.5px"
|
|
811
|
+
```
|
|
812
|
+
|
|
813
|
+
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
## 14. Copy Library (Real Content from Source)
|
|
817
|
+
|
|
818
|
+
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
|
|
819
|
+
|
|
820
|
+
```yaml
|
|
821
|
+
copy:
|
|
822
|
+
ctas:
|
|
823
|
+
- "Go"
|
|
824
|
+
- "Yes, it was helpful"
|
|
825
|
+
navigation:
|
|
826
|
+
- "Help"
|
|
827
|
+
- "OnLine Help"
|
|
828
|
+
- "About O*NET"
|
|
829
|
+
- "OnLine Desk Aid"
|
|
830
|
+
- "Job-Coding Guide"
|
|
831
|
+
- "Job Seeker Help"
|
|
832
|
+
- "Related Sites"
|
|
833
|
+
- "Home"
|
|
834
|
+
- "Find Occupations"
|
|
835
|
+
- "Bright Outlook"
|
|
836
|
+
```
|
|
837
|
+
|
|
838
|
+
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
## 15. Asset Inventory (Image Roles & Ratios)
|
|
842
|
+
|
|
843
|
+
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
|
|
844
|
+
|
|
845
|
+
```yaml
|
|
846
|
+
assets:
|
|
847
|
+
```
|
|
848
|
+
|
|
849
|
+
**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`.
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
## 16. Component HTML Templates
|
|
853
|
+
|
|
854
|
+
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
|
|
855
|
+
|
|
856
|
+
### Button (primary action)
|
|
857
|
+
```html
|
|
858
|
+
<button class="btn btn-primary">
|
|
859
|
+
Go
|
|
860
|
+
</button>
|
|
861
|
+
```
|
|
862
|
+
_Source pattern detected: padding `5.25px 10.5px` · radius `0px 5.25px 5.25px 0px` · weight `400`_
|
|
863
|
+
|
|
864
|
+
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
## 12. Known Extraction Gaps
|
|
868
|
+
|
|
869
|
+
*Auto-detected limitations of this extraction — understand before building:*
|
|
870
|
+
|
|
871
|
+
- **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.
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
---
|
|
875
|
+
## Extraction Completeness: 70/100 (C)
|
|
876
|
+
|
|
877
|
+
| Category | Score | Max | Detail |
|
|
878
|
+
|----------|-------|-----|--------|
|
|
879
|
+
| Colors & Palette | 21 | 25 | 15 named colors |
|
|
880
|
+
| Typography | 8 | 20 | 3 roles defined |
|
|
881
|
+
| Components | 16 | 20 | 4 specs extracted |
|
|
882
|
+
| Motion & Interaction | 12 | 15 | Keyframes present |
|
|
883
|
+
| CSS Custom Properties | 9 | 10 | 178 vars |
|
|
884
|
+
| Responsive Breakpoints | 5 | 5 | 5 breakpoints |
|
|
885
|
+
| Variable Fonts | 0 | 5 | None detected |
|
|
886
|
+
|
|
887
|
+
## 12. Known Gaps & Confidence
|
|
888
|
+
|
|
889
|
+
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.
|
|
890
|
+
|
|
891
|
+
*✅ No critical extraction gaps detected — high-confidence reproduction expected.*
|
|
892
|
+
|
|
893
|
+
### Per-section confidence
|
|
894
|
+
|
|
895
|
+
| Section | Confidence | Reason |
|
|
896
|
+
|---------|------------|--------|
|
|
897
|
+
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
|
|
898
|
+
| §2 Colors | High | 178 CSS vars (semantic naming requires ≥20 for high) |
|
|
899
|
+
| §3 Typography | Medium | 3 typography roles inferred |
|
|
900
|
+
| §4 Components | Medium | 4 component variants captured |
|
|
901
|
+
| §7 Motion | High | Keyframes + transitions |
|
|
902
|
+
| §8 Do's/Don'ts | High | 17 rules generated; design-decisions.json has evidence per rule |
|
|
903
|
+
| §9 Responsive | High | 5 breakpoints detected |
|
|
904
|
+
| §9b Photography | High | 1 images, hero present |
|
|
905
|
+
|
|
906
|
+
---
|
|
907
|
+
*Generated by Prism — automated Playwright extraction + design analysis.*
|
|
908
|
+
*Source: https://www.onetonline.org/explore/interests/ | 2026-06-02T00:50:12.377Z*
|
|
909
|
+
*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.*
|