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,1301 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: alpha
|
|
3
|
+
name: linear.app
|
|
4
|
+
description: "Dark-canvas product system built on #08090a with #5e6ad2 as the single brand accent. Type anchored in Inter Variable at 64px / weight 510. Extracted automatically from https://linear.app/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
|
|
5
|
+
narrative: |
|
|
6
|
+
linear.app is built on a near-black canvas (rgb(8, 9, 10)).
|
|
7
|
+
The system uses rgb(94, 106, 210) as the accent for primary actions and brand signals.
|
|
8
|
+
Fully-rounded CTAs (9999px) signal a friendly, tactile interaction model alongside Inter Variable as the primary typeface.
|
|
9
|
+
Inter Variable is paired with SF Pro Display for secondary roles.
|
|
10
|
+
A layered elevation system (13 distinct shadows) building a clear front-to-back hierarchy.
|
|
11
|
+
Motion is a first-class concern — 82 keyframe animations plus transition-driven interactions.
|
|
12
|
+
|
|
13
|
+
colors:
|
|
14
|
+
canvas: "#08090a"
|
|
15
|
+
surface-2: "#23252a"
|
|
16
|
+
ink: "#f7f8f8"
|
|
17
|
+
ink-muted: "#8a8f98"
|
|
18
|
+
ink-subtle: "#8a8f98"
|
|
19
|
+
primary: "#5e6ad2"
|
|
20
|
+
on-primary: "#111111"
|
|
21
|
+
primary-hover: "#828fff"
|
|
22
|
+
hairline: "#62666d"
|
|
23
|
+
primary-focus: "#5e69d1"
|
|
24
|
+
|
|
25
|
+
typography:
|
|
26
|
+
display-xl:
|
|
27
|
+
fontFamily: "Inter Variable"
|
|
28
|
+
fontSize: 72px
|
|
29
|
+
fontWeight: 510
|
|
30
|
+
lineHeight: 1
|
|
31
|
+
letterSpacing: -1.584px
|
|
32
|
+
display-lg:
|
|
33
|
+
fontFamily: "Inter Variable"
|
|
34
|
+
fontSize: 64px
|
|
35
|
+
fontWeight: 510
|
|
36
|
+
lineHeight: 1
|
|
37
|
+
letterSpacing: -1.408px
|
|
38
|
+
display-md:
|
|
39
|
+
fontFamily: "Inter Variable"
|
|
40
|
+
fontSize: 20px
|
|
41
|
+
fontWeight: 590
|
|
42
|
+
lineHeight: 1.33
|
|
43
|
+
letterSpacing: -0.24px
|
|
44
|
+
headline:
|
|
45
|
+
fontFamily: "Inter Variable"
|
|
46
|
+
fontSize: 16px
|
|
47
|
+
fontWeight: 590
|
|
48
|
+
lineHeight: 1.5
|
|
49
|
+
letterSpacing: 0
|
|
50
|
+
body:
|
|
51
|
+
fontFamily: "Inter Variable"
|
|
52
|
+
fontSize: 16px
|
|
53
|
+
fontWeight: 400
|
|
54
|
+
lineHeight: 1.5
|
|
55
|
+
letterSpacing: 0
|
|
56
|
+
body-sm:
|
|
57
|
+
fontFamily: "Inter Variable"
|
|
58
|
+
fontSize: 14px
|
|
59
|
+
fontWeight: 510
|
|
60
|
+
lineHeight: 1.5
|
|
61
|
+
letterSpacing: 0
|
|
62
|
+
caption:
|
|
63
|
+
fontFamily: "Inter Variable"
|
|
64
|
+
fontSize: 12px
|
|
65
|
+
fontWeight: 400
|
|
66
|
+
lineHeight: 1.4
|
|
67
|
+
letterSpacing: 0
|
|
68
|
+
button:
|
|
69
|
+
fontFamily: "Inter Variable"
|
|
70
|
+
fontSize: 13.3333px
|
|
71
|
+
fontWeight: 400
|
|
72
|
+
lineHeight: normal
|
|
73
|
+
letterSpacing: 0
|
|
74
|
+
mono:
|
|
75
|
+
fontFamily: "Berkeley Mono"
|
|
76
|
+
fontSize: 14px
|
|
77
|
+
fontWeight: 400
|
|
78
|
+
lineHeight: 1.71
|
|
79
|
+
letterSpacing: 0
|
|
80
|
+
|
|
81
|
+
rounded:
|
|
82
|
+
none: 0px
|
|
83
|
+
xs: 4px
|
|
84
|
+
sm: 8px
|
|
85
|
+
md: 12px
|
|
86
|
+
lg: 20px
|
|
87
|
+
xl: 32px
|
|
88
|
+
pill: 9999px
|
|
89
|
+
|
|
90
|
+
spacing:
|
|
91
|
+
xxs: 2px
|
|
92
|
+
xs: 6px
|
|
93
|
+
sm: 12px
|
|
94
|
+
md: 14px
|
|
95
|
+
lg: 24px
|
|
96
|
+
xl: 32px
|
|
97
|
+
xxl: 64px
|
|
98
|
+
section: 80px
|
|
99
|
+
|
|
100
|
+
components:
|
|
101
|
+
button-pill:
|
|
102
|
+
backgroundColor: "transparent"
|
|
103
|
+
textColor: "{colors.ink-subtle}"
|
|
104
|
+
typography: "{typography.button}"
|
|
105
|
+
rounded: "{rounded.pill}"
|
|
106
|
+
padding: 0px 12px
|
|
107
|
+
button-ghost:
|
|
108
|
+
backgroundColor: "transparent"
|
|
109
|
+
textColor: "#ffffff"
|
|
110
|
+
typography: "{typography.button}"
|
|
111
|
+
rounded: "{rounded.xs}"
|
|
112
|
+
padding: 0px 4px
|
|
113
|
+
button-icon-button:
|
|
114
|
+
backgroundColor: "transparent"
|
|
115
|
+
textColor: "{colors.hairline}"
|
|
116
|
+
typography: "{typography.button}"
|
|
117
|
+
rounded: "{rounded.xs}"
|
|
118
|
+
card-standard-card:
|
|
119
|
+
backgroundColor: "#0f1011"
|
|
120
|
+
typography: "{typography.headline}"
|
|
121
|
+
rounded: "{rounded.sm}"
|
|
122
|
+
padding: 0px 24px 28px
|
|
123
|
+
input-text-input:
|
|
124
|
+
backgroundColor: "#ffffff"
|
|
125
|
+
textColor: "#d0d6e0"
|
|
126
|
+
typography: "{typography.button}"
|
|
127
|
+
rounded: "{rounded.xs}"
|
|
128
|
+
padding: 12px 14px
|
|
129
|
+
code-block-inline-code--pre:
|
|
130
|
+
backgroundColor: "#ffffff"
|
|
131
|
+
textColor: "#d0d6e0"
|
|
132
|
+
typography: "{typography.caption}"
|
|
133
|
+
rounded: "{rounded.xs}"
|
|
134
|
+
padding: 1.225px 6px
|
|
135
|
+
|
|
136
|
+
extracted_at: "2026-06-07T02:28:59.575Z"
|
|
137
|
+
completeness: 91
|
|
138
|
+
scoreVersion: "v2"
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
# Design System — linear.app
|
|
143
|
+
> Extracted automatically by Prism from https://linear.app
|
|
144
|
+
> Date: 2026-06-07
|
|
145
|
+
> Viewport: Desktop 1440x900 + Mobile 390x844
|
|
146
|
+
> 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).
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
## 0. Design DNA
|
|
150
|
+
|
|
151
|
+
**Density**: sparse | **Motion**: expressive | **Weight**: medium | **Aesthetic**: dark-premium
|
|
152
|
+
|
|
153
|
+
| Dimension | Value | Signal |
|
|
154
|
+
|---|---|---|
|
|
155
|
+
| Canvas | dark | `#08090a` |
|
|
156
|
+
| Type posture | sans-led (Inter Variable) | display type |
|
|
157
|
+
| Color assertion | dual-accent | #5e6ad2 |
|
|
158
|
+
| Whitespace | sparse | section rhythm 72px |
|
|
159
|
+
| Interaction | expressive | 82 keyframes, 13 transitions |
|
|
160
|
+
| Radius language | 8px-rounded | from token scale |
|
|
161
|
+
|
|
162
|
+
**Prism fingerprint**: `dark-canvas · sans-display · dual-accent · 8px-rounded · expressive-motion`
|
|
163
|
+
|
|
164
|
+
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
|
|
165
|
+
>
|
|
166
|
+
> - **Canvas**: `rgb(8, 9, 10)` is the page background. Every component composits against this.
|
|
167
|
+
> - **Accent**: `rgb(94, 106, 210)` for primary CTAs ONLY. Never decorative.
|
|
168
|
+
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
|
|
169
|
+
> - **Section rhythm**: 72px between major bands. Card padding: 24px.
|
|
170
|
+
> - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
|
|
171
|
+
>
|
|
172
|
+
> **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
|
|
173
|
+
|
|
174
|
+
## 1. Visual Theme & Atmosphere
|
|
175
|
+
|
|
176
|
+
linear.app commits fully to dark-mode as the native medium, not as a toggled alternative. The canvas is an inky black surface (`#08090a`) where elevation is communicated through subtle white-opacity gradations rather than traditional shadows — semi-transparent white borders act as the primary depth indicator, like wireframes etched in moonlight.
|
|
177
|
+
|
|
178
|
+
Typography is anchored in **Inter Variable**, deployed with OpenType features enabled globally (`"cv01", "ss03"`). These aren't decorative — they're load-bearing: without them, the typeface reverts to its generic state and the design loses its specific texture. The weight scale rejects the standard 100/200/.../900 ladder in favor of custom values (max **680** in this system) — a deliberate signal that this design system is precisely tuned, not assembled from defaults. Negative letter-spacing at display sizes (-1.408px at 64px) compresses headlines into engineered blocks, dense and authoritative.
|
|
179
|
+
|
|
180
|
+
Body text reads in Off-Cream (`#f7f8f8`) (contrast ratio 12.1:1, well above WCAG AA). **Indigo** (`#5e6ad2`) 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 (13 distinct) — each combines several blurred layers at varying offsets to build a clear front-to-back hierarchy.
|
|
181
|
+
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.
|
|
182
|
+
|
|
183
|
+
**Key Characteristics:**
|
|
184
|
+
- Background: Jet Black (`#08090a`)
|
|
185
|
+
- Primary typeface: Inter Variable
|
|
186
|
+
- Primary text: Off-Cream (`#f7f8f8`)
|
|
187
|
+
- Accent: Indigo (`#5e6ad2`)
|
|
188
|
+
- Display: 64px weight 510, letter-spacing -1.408px
|
|
189
|
+
- Shadow system: 13 distinct elevation levels
|
|
190
|
+
- Custom fonts loaded: Inter Variable, Berkeley Mono
|
|
191
|
+
|
|
192
|
+
## 2. Color Palette & Roles
|
|
193
|
+
|
|
194
|
+
### Background & Surface
|
|
195
|
+
- **Bg Primary** (`#08090a`): Page background (primary)
|
|
196
|
+
- **Bg Level 3** (`#191a1b`): Surface / elevated background (CSS var)
|
|
197
|
+
- **Bg Marketing** (`#010102`): Surface / elevated background (CSS var)
|
|
198
|
+
- **Bg Panel** (`#0f1011`): Surface / elevated background (CSS var)
|
|
199
|
+
- **Bg Tint** (`#141516`): Surface / elevated background (CSS var)
|
|
200
|
+
|
|
201
|
+
### Text & Content
|
|
202
|
+
- **Text Primary** (`#f7f8f8`): Primary body text
|
|
203
|
+
- **Text Tertiary** (`#8a8f98`): Text (CSS var)
|
|
204
|
+
- **Text Secondary** (`#d0d6e0`): Text (CSS var)
|
|
205
|
+
- **Cool Gray** (`#9c9da1`): Secondary text
|
|
206
|
+
- **Yellow** (`#f0bf00`): Secondary text
|
|
207
|
+
|
|
208
|
+
### Accent & Interactive
|
|
209
|
+
- **Accent Hover** (`#828fff`): Accent / interactive (CSS var)
|
|
210
|
+
- **Indigo** (`#5e6ad2`): Accent / interactive (CSS var)
|
|
211
|
+
- **Accent** (`#7170ff`): Accent / interactive (CSS var)
|
|
212
|
+
- **Accent Tint** (`#18182f`): Accent / interactive (CSS var)
|
|
213
|
+
- **Link Hover** (`#ffffff`): Accent / interactive (CSS var)
|
|
214
|
+
- **Teal** (`#00b8cc`): Interactive / accent
|
|
215
|
+
- **Red** (`#eb5757`): Interactive / accent
|
|
216
|
+
|
|
217
|
+
### Border & Divider
|
|
218
|
+
- **Border Secondary** (`#34343a`): Border (CSS var)
|
|
219
|
+
- **Border Tertiary** (`#3e3e44`): Border (CSS var)
|
|
220
|
+
- **Border Primary** (`#23252a`): Border (CSS var)
|
|
221
|
+
- **Jet Black** (`#101112`): Borders / dividers
|
|
222
|
+
- **Jet Black** (`#121414`): Borders / dividers
|
|
223
|
+
- **Warm Brown** (`#24282c`): Borders / dividers
|
|
224
|
+
|
|
225
|
+
### Full Extracted Palette
|
|
226
|
+
**63 colors rendered on the page** + **99** more declared in design tokens (CSS custom properties — not necessarily painted). (23 categorized above + 139 additional below.)
|
|
227
|
+
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
|
|
228
|
+
|
|
229
|
+
- `#000000` — Black
|
|
230
|
+
- `#e5e5e6` — Light Gray
|
|
231
|
+
- `#62666d` — Text Quaternary
|
|
232
|
+
- `#090a0b` — Jet Black
|
|
233
|
+
- `#e2e4e6` — Light Gray
|
|
234
|
+
- `#585a5c` — Slate
|
|
235
|
+
- `#e2e4e7` — Light Gray
|
|
236
|
+
- `#121314` — Jet Black
|
|
237
|
+
- `#161718` — Near Black
|
|
238
|
+
- `#2e2e32` — Charcoal
|
|
239
|
+
- `#27a644` — Green
|
|
240
|
+
- `#02b8cc` — #02b8cc
|
|
241
|
+
- `#323334` — Charcoal
|
|
242
|
+
- `#383b3f` — Dark Gray
|
|
243
|
+
- `#e4e5e9` — Light Gray
|
|
244
|
+
- `#8b5cf6` — #8b5cf6
|
|
245
|
+
- `#6366f1` — Brand Indigo
|
|
246
|
+
- `#10b981` — Emerald
|
|
247
|
+
- `#f2c94c` — #f2c94c
|
|
248
|
+
- `#06b6d4` — Sky Bright
|
|
249
|
+
- `#232534` — Charcoal
|
|
250
|
+
- `#6d78d5` — Indigo
|
|
251
|
+
- `#d4a600` — #d4a600
|
|
252
|
+
- `#5b5c5a` — Slate
|
|
253
|
+
- `#e3484e` — Vermillion
|
|
254
|
+
- `#993b3b` — #993b3b
|
|
255
|
+
- `#008d2c` — Forest Green
|
|
256
|
+
- `#21b3ff` — Sky Bright
|
|
257
|
+
- `#4ea7fc` — Blue
|
|
258
|
+
- `#0f3338` — Navy Blue
|
|
259
|
+
- `#422222` — Warm Brown
|
|
260
|
+
- `#3b3b3b` — Dark Gray
|
|
261
|
+
- *…+107 more in `raw-css.json` (`desktop.allColors`).*
|
|
262
|
+
|
|
263
|
+
### Gradients & Decorative Fills
|
|
264
|
+
|
|
265
|
+
- `linear-gradient(rgba(11, 11, 11, 0.8) 0px, oklab(0.149576 0.00000680983 0.00000298768 / 0.761905) 10…` — (header)
|
|
266
|
+
|
|
267
|
+
### CSS Custom Properties (Design Tokens)
|
|
268
|
+
|
|
269
|
+
**Shadow Token**
|
|
270
|
+
- `--btn-overlay-shadow-hover`: `none`
|
|
271
|
+
- `--shadow-low`: `0px 2px 4px rgba(0,0,0,0.1)`
|
|
272
|
+
- `--btn-overlay-shadow`: `none`
|
|
273
|
+
- `--shadow-medium`: `0px 4px 24px rgba(0,0,0,0.2)`
|
|
274
|
+
|
|
275
|
+
**Font Size Token**
|
|
276
|
+
- `--font-size-title1`: `2.25rem`
|
|
277
|
+
- `--diff-view-editor-font-size`: ``
|
|
278
|
+
- `--font-size-miniPlus`: `0.75rem`
|
|
279
|
+
- `--font-size-microPlus`: `0.6875rem`
|
|
280
|
+
|
|
281
|
+
**Spacing Token**
|
|
282
|
+
- `--title-3-letter-spacing`: `-0.012em`
|
|
283
|
+
- `--text-regular-letter-spacing`: `-0.011em`
|
|
284
|
+
- `--editor-block-spacing-small`: `calc(0.375 * 1rem)`
|
|
285
|
+
- `--page-padding-block`: `64px`
|
|
286
|
+
|
|
287
|
+
**Text Color**
|
|
288
|
+
- `--color-text-tertiary`: `#8a8f98`
|
|
289
|
+
- `--color-text-primary`: `#f7f8f8`
|
|
290
|
+
- `--color-text-secondary`: `#d0d6e0`
|
|
291
|
+
- `--color-text-quaternary`: `#62666d`
|
|
292
|
+
|
|
293
|
+
**Motion Token**
|
|
294
|
+
- `--speed-quickTransition`: `0.1s`
|
|
295
|
+
- `--speed-regularTransition`: `0.25s`
|
|
296
|
+
|
|
297
|
+
**Border**
|
|
298
|
+
- `--color-border-translucent`: `rgba(255,255,255,0.05)`
|
|
299
|
+
- `--color-border-secondary`: `#34343a`
|
|
300
|
+
- `--color-border-tertiary`: `#3e3e44`
|
|
301
|
+
- `--color-border-primary`: `#23252a`
|
|
302
|
+
|
|
303
|
+
**Background**
|
|
304
|
+
- `--color-bg-level-3`: `#191a1b`
|
|
305
|
+
- `--color-bg-marketing`: `#010102`
|
|
306
|
+
- `--color-bg-panel`: `#0f1011`
|
|
307
|
+
- `--color-bg-tint`: `#141516`
|
|
308
|
+
|
|
309
|
+
**Border Radius Token**
|
|
310
|
+
- `--radius-rounded`: `9999px`
|
|
311
|
+
- `--radius-circle`: `50%`
|
|
312
|
+
- `--radius-8`: `8px`
|
|
313
|
+
- `--radius-12`: `12px`
|
|
314
|
+
|
|
315
|
+
**Primary Brand Color**
|
|
316
|
+
- `--color-accent-hover`: `#828fff`
|
|
317
|
+
- `--color-brand-bg`: `#5e6ad2`
|
|
318
|
+
- `--color-accent`: `#7170ff`
|
|
319
|
+
- `--color-accent-tint`: `#18182f`
|
|
320
|
+
|
|
321
|
+
**Success**
|
|
322
|
+
- `--color-green`: `#27a644`
|
|
323
|
+
|
|
324
|
+
**Font Weight Token**
|
|
325
|
+
- `--font-weight-medium`: `510`
|
|
326
|
+
- `--font-weight-normal`: `400`
|
|
327
|
+
- `--font-weight-bold`: `680`
|
|
328
|
+
- `--dp-font-weight-medium`: `500`
|
|
329
|
+
|
|
330
|
+
**Error / Destructive**
|
|
331
|
+
- `--color-red`: `#eb5757`
|
|
332
|
+
|
|
333
|
+
**Warning**
|
|
334
|
+
- `--color-yellow`: `#f0bf00`
|
|
335
|
+
|
|
336
|
+
**Other tokens**
|
|
337
|
+
- `--font-variations`: `"opsz" auto`
|
|
338
|
+
- `--text-micro-size`: `0.75rem`
|
|
339
|
+
- `--text-regular-size`: `0.9375rem`
|
|
340
|
+
- `--color-white`: `#fff`
|
|
341
|
+
- `--text-small-line-height`: `calc(21 / 14)`
|
|
342
|
+
- `--text-small-size`: `0.875rem`
|
|
343
|
+
- `--editor-text-color`: `#e4e5e9`
|
|
344
|
+
- `--action-menu-item-bg-focus`: ``
|
|
345
|
+
|
|
346
|
+
## 3. Typography Rules
|
|
347
|
+
|
|
348
|
+
### Font Families
|
|
349
|
+
- **Primary**: `Inter Variable`
|
|
350
|
+
- **Secondary**: `Berkeley Mono`
|
|
351
|
+
|
|
352
|
+
### Custom Fonts Loaded
|
|
353
|
+
- **Inter Variable** weight 100 900 (normal)
|
|
354
|
+
- **Berkeley Mono** weight 100 900 (normal)
|
|
355
|
+
|
|
356
|
+
### Typography Hierarchy
|
|
357
|
+
|
|
358
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
359
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
360
|
+
| Display Hero | Inter Variable | 72px | 510 | 1 | -1.584px | Main headline (h2) |
|
|
361
|
+
| Section Heading | Inter Variable | 64px | 510 | 1 | -1.408px | Section titles (h1) |
|
|
362
|
+
| Sub-heading | Inter Variable | 20px | 590 | 1.33 | -0.24px | Third-level heading (h3) |
|
|
363
|
+
| Label Heading | Inter Variable | 16px | 590 | 1.5 | normal | Small heading (H4) |
|
|
364
|
+
| Body | Inter Variable | 16px | 400 | 1.5 | normal | Standard reading text |
|
|
365
|
+
| Link | Inter Variable | 14px | 510 | 1.5 | normal | Link (14px) — Decoration: none |
|
|
366
|
+
| Input | Berkeley Mono | 14px | 400 | 1.71 | normal | Form input (14px) |
|
|
367
|
+
| Button | Inter Variable | 13.3333px | 400 | normal | normal | Button label (13.3333px) |
|
|
368
|
+
| Button | Inter Variable | 13px | 400 | 1.5 | normal | Button label (13px) |
|
|
369
|
+
| Button | Inter Variable | 13px | 510 | normal | normal | Button label (13px) |
|
|
370
|
+
| Caption / Badge | Inter Variable | 12px | 400 | 1.4 | normal | small text (12px) |
|
|
371
|
+
| Caption / Badge | Inter Variable | 12px | 510 | normal | normal | small text (12px) |
|
|
372
|
+
|
|
373
|
+
### Font Weight Scale
|
|
374
|
+
|
|
375
|
+
CSS custom properties define 6 explicit weight steps:
|
|
376
|
+
- `--font-weight-light`: `300` — Light
|
|
377
|
+
- `--font-weight-normal`: `400` — Regular
|
|
378
|
+
- `--dp-font-weight-medium`: `500` — Medium
|
|
379
|
+
- `--font-weight-medium`: `510` — Medium (custom, ~500)
|
|
380
|
+
- `--font-weight-semibold`: `590` — SemiBold (custom, ~600)
|
|
381
|
+
- `--font-weight-bold`: `680` — Bold (custom, ~700)
|
|
382
|
+
|
|
383
|
+
### Full Font Size Scale
|
|
384
|
+
|
|
385
|
+
Sizes detected in the design (descending): `64px`, `48px`, `32px`, `24px`, `20px`, `18px`, `17px`, `16px`, `15px`, `14px`, `13.33px`, `13px`, `12.25px`, `12px`, `11px`, `10px`
|
|
386
|
+
|
|
387
|
+
> 9 size(s) detected outside the sampled hierarchy (48px, 32px, 24px, 18px, 17px, 15px, 12.25px, 11px, 10px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
|
|
388
|
+
|
|
389
|
+
### OpenType & Variable Font Features
|
|
390
|
+
|
|
391
|
+
The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:
|
|
392
|
+
|
|
393
|
+
- **stylistic sets** (`ss0X`) — alternate letterforms enabled (often for brand-specific glyph variants)
|
|
394
|
+
|
|
395
|
+
**Clone instruction:** Enable these in your CSS:
|
|
396
|
+
```css
|
|
397
|
+
body {
|
|
398
|
+
font-feature-settings: "cv01", "ss03", "ss01";
|
|
399
|
+
}
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
## 4. Component Stylings
|
|
403
|
+
|
|
404
|
+
### Buttons
|
|
405
|
+
|
|
406
|
+
**Pill**
|
|
407
|
+
- Background: `transparent`
|
|
408
|
+
- Text: `#8a8f98` `{colors.ink-subtle}`
|
|
409
|
+
- Padding: 0px 12px
|
|
410
|
+
- Radius: 9999px
|
|
411
|
+
- Font: 13px weight 400
|
|
412
|
+
- Use: Status pills, tags, chips
|
|
413
|
+
- Focus: backgroundColor: `rgba(255, 255, 255, 0.075)`, color: `rgb(243, 244, 245)`, border: `0px none rgb(243, 244, 245)`
|
|
414
|
+
|
|
415
|
+
**Ghost**
|
|
416
|
+
- Background: `transparent`
|
|
417
|
+
- Text: `#ffffff`
|
|
418
|
+
- Padding: 0px 4px
|
|
419
|
+
- Radius: 4px
|
|
420
|
+
- Font: 13.3333px weight 400
|
|
421
|
+
- Use: Subtle action, toolbar, nav button
|
|
422
|
+
- Focus: backgroundColor: `rgba(255, 255, 255, 0.075)`, color: `rgb(243, 244, 245)`, border: `0px none rgb(243, 244, 245)`
|
|
423
|
+
|
|
424
|
+
**Icon Button**
|
|
425
|
+
- Background: `transparent`
|
|
426
|
+
- Text: `#62666d` `{colors.hairline}`
|
|
427
|
+
- Padding: 0px
|
|
428
|
+
- Radius: 6px
|
|
429
|
+
- Font: 13.3333px weight 400
|
|
430
|
+
- Use: Toolbar/UI icons
|
|
431
|
+
- Focus: backgroundColor: `rgba(255, 255, 255, 0.075)`, color: `rgb(243, 244, 245)`, border: `0px none rgb(243, 244, 245)`
|
|
432
|
+
|
|
433
|
+
**Icon Button**
|
|
434
|
+
- Background: `rgba(255, 255, 255, 0.02)`
|
|
435
|
+
- Text: `#e2e4e7`
|
|
436
|
+
- Padding: 0px
|
|
437
|
+
- Radius: 6px
|
|
438
|
+
- Border: 1px solid rgb(36, 40, 44)
|
|
439
|
+
- Font: 13.3333px weight 400
|
|
440
|
+
- Use: Toolbar/UI icons
|
|
441
|
+
- Focus: backgroundColor: `rgba(255, 255, 255, 0.075)`, color: `rgb(243, 244, 245)`, border: `0px none rgb(243, 244, 245)`
|
|
442
|
+
|
|
443
|
+
**Ghost**
|
|
444
|
+
- Background: `transparent`
|
|
445
|
+
- Text: `#d0d6e0`
|
|
446
|
+
- Padding: 0px 6px
|
|
447
|
+
- Radius: 6px
|
|
448
|
+
- Font: 13px weight 510
|
|
449
|
+
- Use: Subtle action, toolbar, nav button
|
|
450
|
+
- Focus: backgroundColor: `rgba(255, 255, 255, 0.075)`, color: `rgb(243, 244, 245)`, border: `0px none rgb(243, 244, 245)`
|
|
451
|
+
|
|
452
|
+
**Primary Brand**
|
|
453
|
+
- Background: `#5e6ad2` `{colors.primary}`
|
|
454
|
+
- Text: `#ffffff`
|
|
455
|
+
- Padding: 0px 16px
|
|
456
|
+
- Radius: 0px
|
|
457
|
+
- Font: 14px weight 510
|
|
458
|
+
- Use: Primary CTA / brand action
|
|
459
|
+
- Focus: backgroundColor: `rgba(255, 255, 255, 0.075)`, color: `rgb(243, 244, 245)`, border: `0px none rgb(243, 244, 245)`
|
|
460
|
+
|
|
461
|
+
**Pill**
|
|
462
|
+
- Background: `#e5e5e6`
|
|
463
|
+
- Text: `#08090a` `{colors.canvas}`
|
|
464
|
+
- Padding: 0px 12px
|
|
465
|
+
- Radius: 9999px
|
|
466
|
+
- Border: 1px solid rgb(229, 229, 230)
|
|
467
|
+
- Shadow: `rgba(0, 0, 0, 0) 0px 8px 2px 0px, rgba(0, 0, 0, 0.01) 0px 5px 2px 0px, rgba(0, 0...`
|
|
468
|
+
- Font: 13px weight 510
|
|
469
|
+
- Use: Status pills, tags, chips
|
|
470
|
+
- Focus: backgroundColor: `rgba(255, 255, 255, 0.075)`, color: `rgb(243, 244, 245)`, border: `0px none rgb(243, 244, 245)`
|
|
471
|
+
|
|
472
|
+
### Cards & Containers
|
|
473
|
+
|
|
474
|
+
**Standard Card**
|
|
475
|
+
- Background: `#0f1011`
|
|
476
|
+
- Padding: 0px 24px 28px
|
|
477
|
+
- Radius: 8px
|
|
478
|
+
- Border: 1px solid rgba(255, 255, 255, 0.05)
|
|
479
|
+
- Use: Content containers, listing items
|
|
480
|
+
|
|
481
|
+
### Inputs & Forms
|
|
482
|
+
|
|
483
|
+
**Text Input**
|
|
484
|
+
- Background: `rgba(255, 255, 255, 0.02)`
|
|
485
|
+
- Text: `#d0d6e0`
|
|
486
|
+
- Padding: 12px 14px
|
|
487
|
+
- Radius: 6px
|
|
488
|
+
- Border: 1px solid rgba(255, 255, 255, 0.08)
|
|
489
|
+
- Shadow: `rgba(0, 0, 0, 0.2) 0px 0px 0px 1px`
|
|
490
|
+
- Font: 13.3333px weight 400
|
|
491
|
+
- Use: Text fields, search inputs
|
|
492
|
+
|
|
493
|
+
### Code Blocks
|
|
494
|
+
|
|
495
|
+
**Inline Code / Pre**
|
|
496
|
+
- Background: `rgba(255, 255, 255, 0.05)`
|
|
497
|
+
- Text: `#d0d6e0`
|
|
498
|
+
- Padding: 1.225px 6px
|
|
499
|
+
- Radius: 4px
|
|
500
|
+
- Border: 1px solid rgba(255, 255, 255, 0.08)
|
|
501
|
+
- Font: 12.25px weight 400 — "Berkeley Mono"
|
|
502
|
+
- Use: Code samples, CLI commands, syntax highlighting blocks
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
## 4b. Component Behaviors (State Matrix)
|
|
506
|
+
|
|
507
|
+
### Interaction State Narrative
|
|
508
|
+
|
|
509
|
+
- **Button**:
|
|
510
|
+
- **focus:** bg transparent → rgba(255, 255, 255, 0.075), text #8a8f98 → #f3f4f5, border changes
|
|
511
|
+
- **FooterLink**:
|
|
512
|
+
- **hover:** text #f7f8f8 → #dfe1e3, border changes
|
|
513
|
+
|
|
514
|
+
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
|
|
515
|
+
|
|
516
|
+
```yaml
|
|
517
|
+
component-behaviors:
|
|
518
|
+
button:
|
|
519
|
+
default:
|
|
520
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
521
|
+
fg: "rgb(138, 143, 152)"
|
|
522
|
+
focus:
|
|
523
|
+
bg: "rgba(255, 255, 255, 0.075)"
|
|
524
|
+
fg: "rgb(243, 244, 245)"
|
|
525
|
+
input:
|
|
526
|
+
default:
|
|
527
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
528
|
+
fg: "rgb(247, 248, 248)"
|
|
529
|
+
link:
|
|
530
|
+
default:
|
|
531
|
+
bg: "rgb(94, 106, 210)"
|
|
532
|
+
fg: "rgb(255, 255, 255)"
|
|
533
|
+
navLink:
|
|
534
|
+
default:
|
|
535
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
536
|
+
fg: "rgb(247, 248, 248)"
|
|
537
|
+
footerLink:
|
|
538
|
+
default:
|
|
539
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
540
|
+
fg: "rgb(247, 248, 248)"
|
|
541
|
+
hover:
|
|
542
|
+
bg: "rgba(0, 0, 0, 0)"
|
|
543
|
+
fg: "rgb(223, 225, 227)"
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
## 4c. Component Vocabulary (Closed System)
|
|
550
|
+
|
|
551
|
+
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
|
|
552
|
+
|
|
553
|
+
### Buttons
|
|
554
|
+
- **4 shape(s)** in this system: `Pill`, `Ghost`, `Icon Button`, `Primary Brand`
|
|
555
|
+
- **DO NOT introduce new buttons variants** without justification
|
|
556
|
+
|
|
557
|
+
### Cards & Containers
|
|
558
|
+
- **1 shape(s)** in this system: `Standard Card`
|
|
559
|
+
- **DO NOT introduce new cards & containers variants** without justification
|
|
560
|
+
|
|
561
|
+
### Inputs & Forms
|
|
562
|
+
- **1 shape(s)** in this system: `Text Input`
|
|
563
|
+
- **DO NOT introduce new inputs & forms variants** without justification
|
|
564
|
+
|
|
565
|
+
### Code Blocks
|
|
566
|
+
- **1 shape(s)** in this system: `Inline Code / Pre`
|
|
567
|
+
- **DO NOT introduce new code blocks variants** without justification
|
|
568
|
+
|
|
569
|
+
## 5. Layout Principles
|
|
570
|
+
|
|
571
|
+
### Layout Type
|
|
572
|
+
**top-nav + content**
|
|
573
|
+
|
|
574
|
+
### Grid
|
|
575
|
+
Flexbox column
|
|
576
|
+
|
|
577
|
+
### Max Width
|
|
578
|
+
100%
|
|
579
|
+
|
|
580
|
+
### Spacing System
|
|
581
|
+
Compact spacing — information density prioritized
|
|
582
|
+
|
|
583
|
+
| Token | Value |
|
|
584
|
+
|-------|-------|
|
|
585
|
+
| xxs | 2px |
|
|
586
|
+
| xs | 6px |
|
|
587
|
+
| sm | 12px |
|
|
588
|
+
| md | 14px |
|
|
589
|
+
| base | 16px |
|
|
590
|
+
| lg | 24px |
|
|
591
|
+
| xl | 32px |
|
|
592
|
+
| 2xl | 72px |
|
|
593
|
+
| 3xl | 64px |
|
|
594
|
+
|
|
595
|
+
### Border Radius Scale
|
|
596
|
+
| Name | Value | Use |
|
|
597
|
+
|------|-------|-----|
|
|
598
|
+
| None | 0px | No rounding |
|
|
599
|
+
| Xs | 4px | Tiny corners (badges, micro elements) |
|
|
600
|
+
| Sm | 8px | Buttons, inputs, small elements |
|
|
601
|
+
| Md | 12px | Cards, containers |
|
|
602
|
+
| Lg | 20px | Large rounded elements, pill segments |
|
|
603
|
+
| Xl | 32px | Category strips, featured containers |
|
|
604
|
+
| Full | 9999px | Pills, avatars, circular elements |
|
|
605
|
+
|
|
606
|
+
### Shape Language
|
|
607
|
+
|
|
608
|
+
| Component | Border Radius |
|
|
609
|
+
|-----------|---------------|
|
|
610
|
+
| Buttons | `9999px` |
|
|
611
|
+
| Cards & Containers | `8px` |
|
|
612
|
+
| Inputs & Forms | `6px` |
|
|
613
|
+
| Code Blocks | `4px` |
|
|
614
|
+
| Page Body | `0px` |
|
|
615
|
+
| Navigation | `0px` |
|
|
616
|
+
| Primary Input | `6px` |
|
|
617
|
+
|
|
618
|
+
**Shape Personality**: Sharp + Pill Contrast — Angular precision with pill-shaped accents (status badges, tags). Creates strong visual hierarchy.
|
|
619
|
+
|
|
620
|
+
**Full Radius Spectrum**: 0px, 1px, 2px, 4px, 6px, 7px, 8px, 12px (from `allBorderRadii` scan)
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
## 5b. Spacing Rhythm Names
|
|
624
|
+
|
|
625
|
+
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
|
|
626
|
+
|
|
627
|
+
| Name | Value | Use case |
|
|
628
|
+
|------|-------|----------|
|
|
629
|
+
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
|
|
630
|
+
| **section** | `32px` | Between major bands (color change, content shift) |
|
|
631
|
+
| **subsection** | `24px` | Within a section, between content groups |
|
|
632
|
+
| **card** | `14px` | Card padding, list-item spacing |
|
|
633
|
+
| **compact** | `12px` | Form fields, tight clusters, badge padding |
|
|
634
|
+
| **micro** | `6px` | Icon-text gap, tag inner padding |
|
|
635
|
+
|
|
636
|
+
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
|
|
637
|
+
|
|
638
|
+
## 5c. Widget & Structure Library
|
|
639
|
+
|
|
640
|
+
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
|
|
641
|
+
|
|
642
|
+
**5/8 structural patterns detected.**
|
|
643
|
+
|
|
644
|
+
### Hero Pattern
|
|
645
|
+
|
|
646
|
+
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
|
|
647
|
+
- **Viewport coverage:** full-viewport hero (≥70% screen height)
|
|
648
|
+
- **Heading:** "The product development system for teams and agentsThe product developmentsystem for teams and agent" — 64px left-aligned
|
|
649
|
+
- **Subheading:** "Purpose-built for planning and building products. Designed for the AI era."
|
|
650
|
+
- **Media:** present, positioned top
|
|
651
|
+
- **CTAs:** 8 (primary: "Faster app launch")
|
|
652
|
+
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. Place media top of text.
|
|
653
|
+
|
|
654
|
+
### Navigation Pattern
|
|
655
|
+
|
|
656
|
+
- **Position:** static (scrolls with page)
|
|
657
|
+
- **Layout:** logo-left-links-right — Logo at far left, primary navigation links right-aligned
|
|
658
|
+
- **Height:** 72px
|
|
659
|
+
- **Logo:** ✓ present
|
|
660
|
+
- **Nav links:** 5 primary items
|
|
661
|
+
- **CTAs in nav:** 1
|
|
662
|
+
- **Clone instruction:** Build a static logo left links right navigation. Reserve 1 slot for primary CTA.
|
|
663
|
+
|
|
664
|
+
### Card Grid Pattern
|
|
665
|
+
|
|
666
|
+
- **Card count:** 4 cards detected
|
|
667
|
+
- **Columns (desktop):** 1-up grid
|
|
668
|
+
- **Card dimensions:** 1432×764px (aspect 1.87:1)
|
|
669
|
+
- **Gap:** 0px between cards
|
|
670
|
+
- **Content:** ✓ image
|
|
671
|
+
- **Image position:** top
|
|
672
|
+
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~1.87:1 aspect ratio. Each card has an image at the top.
|
|
673
|
+
|
|
674
|
+
### Testimonial Pattern
|
|
675
|
+
|
|
676
|
+
- **Count:** 9 testimonial blocks
|
|
677
|
+
- **Layout:** grid
|
|
678
|
+
- **Avg quote length:** 154 chars (medium quote)
|
|
679
|
+
- **Includes:** ✗ no avatars | ✗ no logos | ✗ no ratings
|
|
680
|
+
- **Clone instruction:** Build a grid of 9 testimonials.
|
|
681
|
+
|
|
682
|
+
### Footer Pattern
|
|
683
|
+
|
|
684
|
+
- **Columns:** 5
|
|
685
|
+
- **Links:** 37 total
|
|
686
|
+
- **Height:** 464px
|
|
687
|
+
- **Includes:** ✗ no newsletter | ✓ social icons |
|
|
688
|
+
- **Clone instruction:** Build a 5-column footer with ~7 links per column, social media links.
|
|
689
|
+
|
|
690
|
+
## 6. Depth & Elevation
|
|
691
|
+
|
|
692
|
+
| Level | Treatment | Use |
|
|
693
|
+
|-------|-----------|-----|
|
|
694
|
+
| Flat (Level 0) | No shadow | Page background, content blocks |
|
|
695
|
+
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0) 0px 8px 2px 0px`,<br>`rgba(0, 0, 0, 0.01) 0px 5px 2px 0px`,<br>`rgba(0, 0, 0, 0.04) 0px 3px 2px 0px`,<br>`rgba(0, 0, 0, 0.07) 0px 1px 1px 0px`,<br>`rgba(0, 0, 0, 0.08) 0px 0px 1px 0px` | Cards, elevated surfaces |
|
|
696
|
+
| Layered (Level 2) | <br>`rgba(94, 106, 210, 0.008) 0px 0px 0px 9.05908px` | Cards, elevated surfaces |
|
|
697
|
+
| Layered (Level 3) | <br>`rgba(0, 0, 0, 0.1) 0px 0px 0px 2px` | Cards, elevated surfaces |
|
|
698
|
+
| Layered (Level 4) | <br>`rgba(0, 0, 0, 0.2) 0px 0px 0px 1px` | Cards, elevated surfaces |
|
|
699
|
+
|
|
700
|
+
**Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
|
|
701
|
+
|
|
702
|
+
## 7. Motion & Interaction
|
|
703
|
+
|
|
704
|
+
### Easing System
|
|
705
|
+
|
|
706
|
+
| CSS Variable | Curve | Semantic Name |
|
|
707
|
+
|--------------|-------|---------------|
|
|
708
|
+
| `--ease-in-out-quart` | `cubic-bezier(0.77,0,0.175,1)` | Quart In-Out — Precise Symmetric |
|
|
709
|
+
| `--ease-in-out-circ` | `cubic-bezier(0.785,0.135,0.15,0.86)` | Ease Out — Decelerating |
|
|
710
|
+
| `--ease-out-circ` | `cubic-bezier(0.075,0.82,0.165,1)` | Circ Out — Fast Exit |
|
|
711
|
+
| `--ease-out-quint` | `cubic-bezier(0.23,1,0.32,1)` | Quint Out — Strong Ease |
|
|
712
|
+
| `--ease-in-quint` | `cubic-bezier(0.755,0.05,0.855,0.06)` | Ease In — Accelerating |
|
|
713
|
+
| `--ease-out-expo` | `cubic-bezier(0.19,1,0.22,1)` | Expo Out — Snappy Deceleration |
|
|
714
|
+
| `--ease-in-out-quad` | `cubic-bezier(0.455,0.03,0.515,0.955)` | Quad In-Out — Balanced |
|
|
715
|
+
| `--ease-in-expo` | `cubic-bezier(0.95,0.05,0.795,0.035)` | Expo In — Maximum Acceleration |
|
|
716
|
+
| `--ease-in-cubic` | `cubic-bezier(0.55,0.055,0.675,0.19)` | Cubic In — Slow Start |
|
|
717
|
+
| `--ease-out-quad` | `cubic-bezier(0.25,0.46,0.45,0.94)` | Quad Out — Smooth Ease |
|
|
718
|
+
| `--ease-out-quart` | `cubic-bezier(0.165,0.84,0.44,1)` | Quart Out — Energetic Ease |
|
|
719
|
+
| `--ease-in-circ` | `cubic-bezier(0.6,0.04,0.98,0.335)` | Custom Ease — Balanced |
|
|
720
|
+
|
|
721
|
+
### Duration Scale
|
|
722
|
+
|
|
723
|
+
| CSS Variable | Value | Tier |
|
|
724
|
+
|--------------|-------|------|
|
|
725
|
+
| `--speed-highlightFadeOut` | `0.15s` | Fast |
|
|
726
|
+
| `--speed-quickTransition` | `0.1s` | Fast |
|
|
727
|
+
| `--speed-highlightFadeIn` | `0s` | Instant |
|
|
728
|
+
| `--speed-regularTransition` | `0.25s` | Normal |
|
|
729
|
+
|
|
730
|
+
### Copy-Paste Transition Snippets
|
|
731
|
+
|
|
732
|
+
**Border**
|
|
733
|
+
```css
|
|
734
|
+
transition: border-color 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
735
|
+
```
|
|
736
|
+
|
|
737
|
+
**Color / Background**
|
|
738
|
+
```css
|
|
739
|
+
transition: color 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
**Border**
|
|
743
|
+
```css
|
|
744
|
+
transition: border 0.16s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.16s cubic-bezier(0.25, 0.46, 0.45, 0.94), color...;
|
|
745
|
+
```
|
|
746
|
+
|
|
747
|
+
**All Props**
|
|
748
|
+
```css
|
|
749
|
+
transition: 0.16s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
750
|
+
```
|
|
751
|
+
|
|
752
|
+
### Keyframe Animation Catalog
|
|
753
|
+
|
|
754
|
+
| Animation Name | Type | Animated Props | Use Hint |
|
|
755
|
+
|----------------|------|----------------|----------|
|
|
756
|
+
| `grid-dot-0-0-upDown` | Fade | opacity | UI transition |
|
|
757
|
+
| `grid-dot-0-0-pong` | Fade | opacity | UI transition |
|
|
758
|
+
| `grid-dot-0-0-agent` | Fade | opacity | UI transition |
|
|
759
|
+
| `swipe-out-left` | Fade + Move | transform, opacity | Swipe gesture dismiss |
|
|
760
|
+
| `swipe-out-right` | Fade + Move | transform, opacity | Swipe gesture dismiss |
|
|
761
|
+
| `swipe-out-up` | Fade + Move | transform, opacity | Swipe gesture dismiss |
|
|
762
|
+
| `swipe-out-down` | Fade + Move | transform, opacity | Swipe gesture dismiss |
|
|
763
|
+
| `sonner-fade-in` | Fade + Move | opacity, transform | Element entrance |
|
|
764
|
+
| `sonner-fade-out` | Fade + Move | opacity, transform | Element exit |
|
|
765
|
+
| `sonner-spin` | Fade | opacity | Loading indicator |
|
|
766
|
+
|
|
767
|
+
### Motion Fingerprint
|
|
768
|
+
|
|
769
|
+
- **Speed Character**: Balanced Pacing (median duration: `160ms`)
|
|
770
|
+
- **Dominant Easing**: quad ease-out (smooth)
|
|
771
|
+
- **Animation Library**: 10 unique animations (82 total including variants)
|
|
772
|
+
|
|
773
|
+
> This design moves with balanced pacing timing using quad ease-out (smooth), creating a UI that feels natural and fluid.
|
|
774
|
+
|
|
775
|
+
## 8. Do's and Don'ts
|
|
776
|
+
|
|
777
|
+
### Do
|
|
778
|
+
- Use dark background (`#08090a`) as the foundation — this is a dark-mode-native design
|
|
779
|
+
- Use Inter Variable as the primary typeface — it defines the brand personality
|
|
780
|
+
- Use weight 680 for the heaviest text — this design uses a custom heavy weight, not the standard 700 (bold)
|
|
781
|
+
- Use negative letter-spacing (-1.408px) at display sizes for compressed, editorial headlines
|
|
782
|
+
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
|
|
783
|
+
- Use full-pill radius (9999px) only for specific elements (avatars, pills, toggles)
|
|
784
|
+
- Use Indigo (`#5e6ad2`) as the primary accent — it's the brand's signature interactive color
|
|
785
|
+
- Use pill-shaped radius (9999px) for primary CTA buttons — the brand uses fully-rounded, pill CTAs
|
|
786
|
+
- Use 8px border-radius on cards — consistent with the grid card corners
|
|
787
|
+
- Style form inputs with a `1px solid rgba(255, 255, 255, 0.08)` border — use border-based inputs, not floating labels or underline-only
|
|
788
|
+
- Maintain nav height at 72px — consistent vertical space for the navigation bar
|
|
789
|
+
- Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
|
|
790
|
+
- Include exactly 8 CTAs in the hero (primary + secondary) — this design pattern is multi-action, not single-purpose
|
|
791
|
+
- Each card includes a top image — imagery is part of the card identity, not optional
|
|
792
|
+
- Lay out testimonials in a grid (9+ items) — quantity signals scale and trust
|
|
793
|
+
- Build a content-dense footer (5 columns, ~37 links) — this site treats the footer as a sitemap, not an afterthought
|
|
794
|
+
|
|
795
|
+
### Don't
|
|
796
|
+
- Don't use light backgrounds — the dark canvas is the native medium
|
|
797
|
+
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
|
|
798
|
+
- Don't substitute weight 680 with the standard 700 — the custom value is part of the brand's type personality
|
|
799
|
+
- Don't increase letter-spacing on headings — the type is designed to run tight at scale
|
|
800
|
+
- Don't invent new shadow values — use only the extracted shadow levels
|
|
801
|
+
- Don't apply pill radius on rectangular buttons or cards — it's reserved for specific interactive elements
|
|
802
|
+
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
|
|
803
|
+
- Don't use rectangular buttons for primary actions — the rounded pill shape is the brand standard
|
|
804
|
+
- Don't remove the input border — the border is the primary affordance indicator for form fields
|
|
805
|
+
- Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
|
|
806
|
+
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
## 7b. Enforceable Brand Rules
|
|
810
|
+
|
|
811
|
+
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
|
|
812
|
+
|
|
813
|
+
```yaml
|
|
814
|
+
rules:
|
|
815
|
+
- id: brand-canvas-001
|
|
816
|
+
type: do
|
|
817
|
+
rule: "Always use the page background `rgb(8, 9, 10)` as the base canvas"
|
|
818
|
+
why: "Every component is designed to composit against this exact tone"
|
|
819
|
+
test: "document.body.style.backgroundColor === 'rgb(8, 9, 10)'"
|
|
820
|
+
- id: brand-accent-001
|
|
821
|
+
type: do
|
|
822
|
+
rule: "Reserve `rgb(94, 106, 210)` for primary CTAs and brand-mark signals only"
|
|
823
|
+
why: "Single chromatic assertion device — overuse dilutes meaning"
|
|
824
|
+
test: "querySelectorAll('[style*=\"rgb(94, 106, 210)\"]').length <= 3 per fold"
|
|
825
|
+
```
|
|
826
|
+
|
|
827
|
+
## 9. Responsive Behavior
|
|
828
|
+
|
|
829
|
+
### Breakpoints
|
|
830
|
+
| Name | Width | Key Changes |
|
|
831
|
+
|------|-------|-------------|
|
|
832
|
+
| Mobile Large | 600px | Expanded mobile layout |
|
|
833
|
+
| Mobile Large | 640px | Expanded mobile layout |
|
|
834
|
+
| Tablet | 768px | Multi-column grids begin |
|
|
835
|
+
| Tablet | 1024px | Multi-column grids begin |
|
|
836
|
+
| Desktop | 1280px | Full feature layout |
|
|
837
|
+
|
|
838
|
+
### Token Diff — Desktop vs Mobile
|
|
839
|
+
|
|
840
|
+
| Element | Property | Desktop | Mobile |
|
|
841
|
+
|---------|----------|---------|--------|
|
|
842
|
+
| heading | font-size | `64px` | `38px` |
|
|
843
|
+
| heading | line-height | `64px` | `41.8px` |
|
|
844
|
+
| heading | letter-spacing | `-1.408px` | `-0.836px` |
|
|
845
|
+
| nav | flex-direction | `row` | `column` |
|
|
846
|
+
| button | width | `73px` | `auto` |
|
|
847
|
+
|
|
848
|
+
### Collapsing Strategy
|
|
849
|
+
- Headlines: 64px → 38px on mobile
|
|
850
|
+
- Navigation: horizontal links → hamburger menu on mobile
|
|
851
|
+
- Cards: multi-column → stacked vertical on mobile
|
|
852
|
+
- Footer: multi-column → stacked single column on mobile
|
|
853
|
+
|
|
854
|
+
### Touch Targets
|
|
855
|
+
- Buttons: 0px 12px padding
|
|
856
|
+
- Navigation: adequate spacing between items
|
|
857
|
+
- Interactive elements: minimum 44px touch target recommended
|
|
858
|
+
|
|
859
|
+
### Collapsing Narrative
|
|
860
|
+
|
|
861
|
+
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
|
|
862
|
+
|
|
863
|
+
- **Hero CTAs:** 8 on desktop → 3 on mobile (secondary CTAs dropped on small screens).
|
|
864
|
+
- **Navigation collapses to hamburger** — 5 links visible on desktop, 1 on mobile (the rest hide behind a menu toggle).
|
|
865
|
+
- **Footer columns collapse:** 5 columns (desktop) → 2 columns (mobile).
|
|
866
|
+
|
|
867
|
+
## 9b. Visual Tone & Photography
|
|
868
|
+
|
|
869
|
+
**Tone:** Illustration-driven
|
|
870
|
+
|
|
871
|
+
The site relies primarily on illustrations, vector art, and decorative SVG elements rather than photography. Use commissioned illustrations, icon sets, or generated graphics for clones — stock photos will feel off-brand.
|
|
872
|
+
|
|
873
|
+
**Canonical Brand Image (OG):**
|
|
874
|
+
- https://linear.app/static/og/homepage.jpg
|
|
875
|
+
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
|
|
876
|
+
|
|
877
|
+
**Hero Image (above-fold dominant visual):**
|
|
878
|
+
- Aspect: 1.79:1 (landscape (16:9-ish))
|
|
879
|
+
- Rendered size: 1440×804px
|
|
880
|
+
- *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
|
|
881
|
+
|
|
882
|
+
**Aspect Ratio Distribution:**
|
|
883
|
+
- Landscape (1.15–2.3): 2 (100%)
|
|
884
|
+
- Portrait (<0.87): 0 (0%)
|
|
885
|
+
- Square (0.87–1.15): 0 (0%)
|
|
886
|
+
|
|
887
|
+
**Media Format Mix:**
|
|
888
|
+
- SVG: 5 (icons, illustrations, decorative geometry)
|
|
889
|
+
|
|
890
|
+
**Average rendered image size:** 1428×786px
|
|
891
|
+
**Above-fold image count:** 2 / 2
|
|
892
|
+
|
|
893
|
+
**Decorative Patterns Detected:**
|
|
894
|
+
- 1 multi-stop linear gradient (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
|
|
895
|
+
- 3 radial gradients — circular color blooms used for spotlight/glow effects
|
|
896
|
+
- 5 large decorative SVG shapes (≥200×200px, non-icon) — likely blob/illustration accents
|
|
897
|
+
- 1 background pattern (non-photo url() backgrounds) — textures/illustrations as backdrops
|
|
898
|
+
- **Glassmorphism** detected (`backdrop-filter: blur`) — layered transparent surfaces with blur, modern OS-like aesthetic
|
|
899
|
+
- **Noise/grain texture** detected — adds tactile film grain to flat backgrounds
|
|
900
|
+
|
|
901
|
+
**Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
|
|
902
|
+
|
|
903
|
+
**Imagery Guidance for clones:**
|
|
904
|
+
- Use vector illustration as the primary visual language — photos will read as off-brand.
|
|
905
|
+
- Maintain consistent illustration style (line weight, color palette) across the site.
|
|
906
|
+
|
|
907
|
+
## 10. Agent Prompt Guide
|
|
908
|
+
|
|
909
|
+
### Quick Reference
|
|
910
|
+
- Background: Jet Black (`#08090a`)
|
|
911
|
+
- Primary text: Off-Cream (`#f7f8f8`)
|
|
912
|
+
- Accent: Indigo (`#5e6ad2`)
|
|
913
|
+
- Border: Dim Gray (`#62666d`)
|
|
914
|
+
- Font: Inter Variable
|
|
915
|
+
- Body: 16px weight 400
|
|
916
|
+
|
|
917
|
+
### Example Component Prompts
|
|
918
|
+
- "Create a hero section on Jet Black background (#08090a). Headline at 64px Inter Variable weight 510, line-height 1, letter-spacing -1.408px, color #f7f8f8."
|
|
919
|
+
- "Create the primary CTA button: `#5e6ad2` background, `#8a8f98` text, 9999px border-radius, 0px 12px padding, 590 weight, Inter Variable font."
|
|
920
|
+
- "Design a card on `#0f1011` background. Border: 1px solid rgba(255, 255, 255, 0.05). Radius: 8px. Shadow: none. Padding: 0px 24px 28px."
|
|
921
|
+
- "Build navigation: static on `#08090a`. Inter Variable 16px weight 400 for links."
|
|
922
|
+
|
|
923
|
+
### Iteration Guide
|
|
924
|
+
1. **Canvas**: Set the dark canvas to Jet Black (`#08090a`) — every component is composited against this exact base.
|
|
925
|
+
2. **Typography**: All type in Inter Variable, weight range 300–680. Never exceed 680 — heavier weights break the brand's tonal restraint.
|
|
926
|
+
3. **Accent**: Indigo (`#5e6ad2`) is the sole interactive color. On hover → Indigo (`rgba(94, 106, 210, 0.15)`). Use CSS transitions, not opacity/brightness filters.
|
|
927
|
+
4. **Focus**: Render focus rings in Indigo (`#5e69d1`) — never hide focus outlines. The ring color is distinct from the accent to avoid ambiguity.
|
|
928
|
+
5. **Motion**: All transitions use `cubic-bezier(0.25,0.46,0.45,0.94)`. Timing: 100ms for micro-interactions, 150ms for layout changes. Never use linear for UI transitions — preserve the brand's easing personality.
|
|
929
|
+
6. **Shape**: CTAs at `9999px`, cards at `8px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
|
|
930
|
+
7. **Spacing**: Use the `--ca-space-*` token scale (6px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
|
|
931
|
+
8. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
|
|
932
|
+
|
|
933
|
+
## 11. CSS Design Tokens Raw Export
|
|
934
|
+
|
|
935
|
+
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
|
|
936
|
+
|
|
937
|
+
```css
|
|
938
|
+
/* Colors */
|
|
939
|
+
:root {
|
|
940
|
+
--ca-canvas: #08090a;
|
|
941
|
+
--ca-surface-2: #23252a;
|
|
942
|
+
--ca-ink: #f7f8f8;
|
|
943
|
+
--ca-ink-subtle: #8a8f98;
|
|
944
|
+
--ca-primary: #5e6ad2;
|
|
945
|
+
--ca-on-primary: #111111;
|
|
946
|
+
--ca-primary-hover: #828fff;
|
|
947
|
+
--ca-hairline: #62666d;
|
|
948
|
+
--ca-primary-focus: #5e69d1;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/* Typography */
|
|
952
|
+
:root {
|
|
953
|
+
--ca-font-primary: "Inter Variable", system-ui, sans-serif;
|
|
954
|
+
--ca-text-display: 72px;
|
|
955
|
+
--ca-text-heading: 64px;
|
|
956
|
+
--ca-text-body: 16px;
|
|
957
|
+
--ca-text-small: 14px;
|
|
958
|
+
--ca-text-caption: 12px;
|
|
959
|
+
--ca-text-button: 13.3333px;
|
|
960
|
+
--ca-text-mono: 14px;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/* Spacing & Radius */
|
|
964
|
+
:root {
|
|
965
|
+
--ca-space-xxs: 2px;
|
|
966
|
+
--ca-space-xs: 6px;
|
|
967
|
+
--ca-space-sm: 12px;
|
|
968
|
+
--ca-space-md: 14px;
|
|
969
|
+
--ca-space-base: 16px;
|
|
970
|
+
--ca-space-lg: 24px;
|
|
971
|
+
--ca-space-xl: 32px;
|
|
972
|
+
--ca-space-2xl: 72px;
|
|
973
|
+
--ca-space-3xl: 64px;
|
|
974
|
+
--ca-radius-none: 0px;
|
|
975
|
+
--ca-radius-xs: 4px;
|
|
976
|
+
--ca-radius-sm: 8px;
|
|
977
|
+
--ca-radius-md: 12px;
|
|
978
|
+
--ca-radius-lg: 20px;
|
|
979
|
+
--ca-radius-xl: 32px;
|
|
980
|
+
--ca-radius-full: 9999px;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/* Motion */
|
|
984
|
+
:root {
|
|
985
|
+
--ca-speed-highlightFadeOut: 0.15s;
|
|
986
|
+
--ca-ease-in-out-quart: cubic-bezier(0.77,0,0.175,1);
|
|
987
|
+
--ca-ease-in-out-circ: cubic-bezier(0.785,0.135,0.15,0.86);
|
|
988
|
+
--ca-speed-quickTransition: 0.1s;
|
|
989
|
+
--ca-ease-out-circ: cubic-bezier(0.075,0.82,0.165,1);
|
|
990
|
+
--ca-ease-out-quint: cubic-bezier(0.23,1,0.32,1);
|
|
991
|
+
--ca-ease-in-quint: cubic-bezier(0.755,0.05,0.855,0.06);
|
|
992
|
+
--ca-speed-highlightFadeIn: 0s;
|
|
993
|
+
--ca-ease-out-expo: cubic-bezier(0.19,1,0.22,1);
|
|
994
|
+
--ca-speed-regularTransition: 0.25s;
|
|
995
|
+
}
|
|
996
|
+
```
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
## 13. Page Structure Skeleton
|
|
1000
|
+
|
|
1001
|
+
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
|
|
1002
|
+
|
|
1003
|
+
```yaml
|
|
1004
|
+
page-skeleton:
|
|
1005
|
+
- section: unknown
|
|
1006
|
+
tag: div
|
|
1007
|
+
height: 10781px
|
|
1008
|
+
width: full-bleed
|
|
1009
|
+
layout: block
|
|
1010
|
+
children: 7
|
|
1011
|
+
bg: "rgb(8, 9, 10)"
|
|
1012
|
+
- section: main-content
|
|
1013
|
+
tag: main
|
|
1014
|
+
height: 10317px
|
|
1015
|
+
width: full-bleed
|
|
1016
|
+
layout: flex-column justify=normal
|
|
1017
|
+
children: 2
|
|
1018
|
+
padding: "72px 0px 0px"
|
|
1019
|
+
- section: unknown
|
|
1020
|
+
tag: div
|
|
1021
|
+
height: 10781px
|
|
1022
|
+
width: full-bleed
|
|
1023
|
+
layout: flex-column justify=normal
|
|
1024
|
+
children: 3
|
|
1025
|
+
- section: hero
|
|
1026
|
+
tag: div
|
|
1027
|
+
height: 186px
|
|
1028
|
+
width: 1344px
|
|
1029
|
+
layout: block
|
|
1030
|
+
children: 4
|
|
1031
|
+
padding: "0px 32px"
|
|
1032
|
+
- section: unknown
|
|
1033
|
+
tag: div
|
|
1034
|
+
height: 768px
|
|
1035
|
+
width: full-bleed
|
|
1036
|
+
layout: block
|
|
1037
|
+
children: 4
|
|
1038
|
+
padding: "0px 0px 48px"
|
|
1039
|
+
- section: navigation
|
|
1040
|
+
tag: nav
|
|
1041
|
+
height: 704px
|
|
1042
|
+
width: 232px
|
|
1043
|
+
layout: block
|
|
1044
|
+
children: 3
|
|
1045
|
+
padding: "8px 14px 14px 8px"
|
|
1046
|
+
- section: sidebar
|
|
1047
|
+
tag: div
|
|
1048
|
+
height: 702px
|
|
1049
|
+
width: 1070px
|
|
1050
|
+
layout: grid: 2-col gap=normal
|
|
1051
|
+
children: 2
|
|
1052
|
+
- section: section-13
|
|
1053
|
+
tag: section
|
|
1054
|
+
height: 1207px
|
|
1055
|
+
width: 1344px
|
|
1056
|
+
layout: block
|
|
1057
|
+
children: 3
|
|
1058
|
+
padding: "96px 0px 128px"
|
|
1059
|
+
- section: unknown
|
|
1060
|
+
tag: div
|
|
1061
|
+
height: 626px
|
|
1062
|
+
width: 1478px
|
|
1063
|
+
layout: block
|
|
1064
|
+
children: 2
|
|
1065
|
+
padding: "8px"
|
|
1066
|
+
- section: section-14
|
|
1067
|
+
tag: section
|
|
1068
|
+
height: 1199px
|
|
1069
|
+
width: 1344px
|
|
1070
|
+
layout: block
|
|
1071
|
+
children: 3
|
|
1072
|
+
padding: "96px 0px 128px"
|
|
1073
|
+
- section: unknown
|
|
1074
|
+
tag: div
|
|
1075
|
+
height: 618px
|
|
1076
|
+
width: 1344px
|
|
1077
|
+
layout: block
|
|
1078
|
+
children: 1
|
|
1079
|
+
padding: "8px"
|
|
1080
|
+
- section: section-15
|
|
1081
|
+
tag: section
|
|
1082
|
+
height: 1155px
|
|
1083
|
+
width: 1344px
|
|
1084
|
+
layout: block
|
|
1085
|
+
children: 3
|
|
1086
|
+
padding: "96px 0px 128px"
|
|
1087
|
+
- section: unknown
|
|
1088
|
+
tag: div
|
|
1089
|
+
height: 546px
|
|
1090
|
+
width: 1344px
|
|
1091
|
+
layout: block
|
|
1092
|
+
children: 1
|
|
1093
|
+
padding: "8px"
|
|
1094
|
+
- section: section-16
|
|
1095
|
+
tag: section
|
|
1096
|
+
height: 1073px
|
|
1097
|
+
width: 1344px
|
|
1098
|
+
layout: block
|
|
1099
|
+
children: 2
|
|
1100
|
+
padding: "96px 0px 128px"
|
|
1101
|
+
- section: unknown
|
|
1102
|
+
tag: div
|
|
1103
|
+
classes: ["hide-mobile"]
|
|
1104
|
+
height: 584px
|
|
1105
|
+
width: 1344px
|
|
1106
|
+
layout: block
|
|
1107
|
+
children: 1
|
|
1108
|
+
padding: "8px"
|
|
1109
|
+
- section: section-17
|
|
1110
|
+
tag: section
|
|
1111
|
+
height: 1179px
|
|
1112
|
+
width: 1344px
|
|
1113
|
+
layout: block
|
|
1114
|
+
children: 3
|
|
1115
|
+
padding: "96px 0px 128px"
|
|
1116
|
+
- section: unknown
|
|
1117
|
+
tag: div
|
|
1118
|
+
height: 598px
|
|
1119
|
+
width: 1458px
|
|
1120
|
+
layout: block
|
|
1121
|
+
children: 2
|
|
1122
|
+
padding: "8px"
|
|
1123
|
+
- section: section-18
|
|
1124
|
+
tag: section
|
|
1125
|
+
classes: ["hide-laptop"]
|
|
1126
|
+
height: 564px
|
|
1127
|
+
width: 1344px
|
|
1128
|
+
layout: block
|
|
1129
|
+
children: 3
|
|
1130
|
+
- section: footer
|
|
1131
|
+
tag: section
|
|
1132
|
+
height: 228px
|
|
1133
|
+
width: 1344px
|
|
1134
|
+
layout: flex-column justify=center
|
|
1135
|
+
children: 2
|
|
1136
|
+
- section: footer
|
|
1137
|
+
tag: footer
|
|
1138
|
+
height: 464px
|
|
1139
|
+
width: full-bleed
|
|
1140
|
+
layout: block
|
|
1141
|
+
children: 1
|
|
1142
|
+
bg: "rgb(8, 9, 10)"
|
|
1143
|
+
- section: footer
|
|
1144
|
+
tag: div
|
|
1145
|
+
height: 463px
|
|
1146
|
+
width: 1436px
|
|
1147
|
+
layout: block
|
|
1148
|
+
children: 1
|
|
1149
|
+
- section: footer
|
|
1150
|
+
tag: div
|
|
1151
|
+
height: 252px
|
|
1152
|
+
width: 224px
|
|
1153
|
+
layout: block
|
|
1154
|
+
children: 2
|
|
1155
|
+
padding: "0px 32px"
|
|
1156
|
+
- section: footer
|
|
1157
|
+
tag: div
|
|
1158
|
+
height: 252px
|
|
1159
|
+
width: 224px
|
|
1160
|
+
layout: block
|
|
1161
|
+
children: 2
|
|
1162
|
+
padding: "0px 32px"
|
|
1163
|
+
- section: footer
|
|
1164
|
+
tag: div
|
|
1165
|
+
height: 252px
|
|
1166
|
+
width: 224px
|
|
1167
|
+
layout: block
|
|
1168
|
+
children: 2
|
|
1169
|
+
padding: "0px 32px"
|
|
1170
|
+
- section: footer
|
|
1171
|
+
tag: div
|
|
1172
|
+
height: 252px
|
|
1173
|
+
width: 224px
|
|
1174
|
+
layout: block
|
|
1175
|
+
children: 2
|
|
1176
|
+
padding: "0px 32px"
|
|
1177
|
+
```
|
|
1178
|
+
|
|
1179
|
+
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
## 14. Copy Library (Real Content from Source)
|
|
1183
|
+
|
|
1184
|
+
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
|
|
1185
|
+
|
|
1186
|
+
```yaml
|
|
1187
|
+
copy:
|
|
1188
|
+
section-headings:
|
|
1189
|
+
- "A new species of product tool. Purpose-built for modern teams with AI workflows at its core, Linear"
|
|
1190
|
+
- "Make product operations self-driving"
|
|
1191
|
+
- "Changelog"
|
|
1192
|
+
- "Built for the future. Available today."
|
|
1193
|
+
sub-headings:
|
|
1194
|
+
- "Faster app launch"
|
|
1195
|
+
- "Product"
|
|
1196
|
+
ctas:
|
|
1197
|
+
- "Product"
|
|
1198
|
+
- "Linear"
|
|
1199
|
+
- "Inbox"
|
|
1200
|
+
- "Workspace"
|
|
1201
|
+
- "Faster app launch"
|
|
1202
|
+
navigation:
|
|
1203
|
+
- "Customers"
|
|
1204
|
+
- "Pricing"
|
|
1205
|
+
- "Now"
|
|
1206
|
+
- "Contact"
|
|
1207
|
+
- "Docs"
|
|
1208
|
+
- "Open app"
|
|
1209
|
+
- "Log in"
|
|
1210
|
+
- "Sign up"
|
|
1211
|
+
footer-links:
|
|
1212
|
+
- "Intake"
|
|
1213
|
+
- "Privacy"
|
|
1214
|
+
```
|
|
1215
|
+
|
|
1216
|
+
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
## 15. Asset Inventory (Image Roles & Ratios)
|
|
1220
|
+
|
|
1221
|
+
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
|
|
1222
|
+
|
|
1223
|
+
```yaml
|
|
1224
|
+
assets:
|
|
1225
|
+
hero:
|
|
1226
|
+
count: 1
|
|
1227
|
+
avg-ratio: 1.84
|
|
1228
|
+
common-aspect: "~16:9 landscape"
|
|
1229
|
+
thumbnail:
|
|
1230
|
+
count: 24
|
|
1231
|
+
avg-ratio: 1.00
|
|
1232
|
+
common-aspect: "~1:1 square"
|
|
1233
|
+
sample-alts:
|
|
1234
|
+
- "Avatar of Karri"
|
|
1235
|
+
- "Avatar of Karri"
|
|
1236
|
+
```
|
|
1237
|
+
|
|
1238
|
+
**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`.
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
## 16. Component HTML Templates
|
|
1242
|
+
|
|
1243
|
+
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
|
|
1244
|
+
|
|
1245
|
+
### Button (primary action)
|
|
1246
|
+
```html
|
|
1247
|
+
<button class="btn btn-primary">
|
|
1248
|
+
Product
|
|
1249
|
+
</button>
|
|
1250
|
+
```
|
|
1251
|
+
_Source pattern detected: padding `0px 12px` · radius `9999px` · weight `400`_
|
|
1252
|
+
|
|
1253
|
+
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
## 12. Known Extraction Gaps
|
|
1257
|
+
|
|
1258
|
+
*Auto-detected limitations of this extraction — understand before building:*
|
|
1259
|
+
|
|
1260
|
+
- **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.
|
|
1261
|
+
- **1 parasitic shadow(s) detected** — colored box-shadows (not near-black) found in allShadows. These likely originate from browser extensions or third-party injected widgets (e.g. Grammarly, chat overlays), not from the site's own design system. Discard them when building.
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
---
|
|
1265
|
+
## Extraction Completeness: 91/100 (A)
|
|
1266
|
+
|
|
1267
|
+
| Category | Score | Max | Detail |
|
|
1268
|
+
|----------|-------|-----|--------|
|
|
1269
|
+
| Colors & Palette | 25 | 25 | 23 named colors |
|
|
1270
|
+
| Typography | 20 | 20 | 12 roles defined |
|
|
1271
|
+
| Components | 16 | 20 | 4 specs extracted |
|
|
1272
|
+
| Motion & Interaction | 15 | 15 | Keyframes present, easing vars |
|
|
1273
|
+
| CSS Custom Properties | 10 | 10 | 630 vars |
|
|
1274
|
+
| Responsive Breakpoints | 5 | 5 | 5 breakpoints |
|
|
1275
|
+
| Variable Fonts | 0 | 5 | None detected |
|
|
1276
|
+
|
|
1277
|
+
## 12. Known Gaps & Confidence
|
|
1278
|
+
|
|
1279
|
+
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.
|
|
1280
|
+
|
|
1281
|
+
| Category | What's missing | Fallback strategy |
|
|
1282
|
+
|----------|----------------|-------------------|
|
|
1283
|
+
| **Dark mode** | No dark-mode CSS variables or media queries detected | Light mode is canonical; do not generate dark-mode variants unless explicitly requested |
|
|
1284
|
+
|
|
1285
|
+
### Per-section confidence
|
|
1286
|
+
|
|
1287
|
+
| Section | Confidence | Reason |
|
|
1288
|
+
|---------|------------|--------|
|
|
1289
|
+
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
|
|
1290
|
+
| §2 Colors | High | 630 CSS vars (semantic naming requires ≥20 for high) |
|
|
1291
|
+
| §3 Typography | High | 12 typography roles inferred |
|
|
1292
|
+
| §4 Components | Medium | 4 component variants captured |
|
|
1293
|
+
| §7 Motion | High | Keyframes + transitions |
|
|
1294
|
+
| §8 Do's/Don'ts | High | 27 rules generated; design-decisions.json has evidence per rule |
|
|
1295
|
+
| §9 Responsive | High | 5 breakpoints detected |
|
|
1296
|
+
| §9b Photography | High | 2 images, hero present |
|
|
1297
|
+
|
|
1298
|
+
---
|
|
1299
|
+
*Generated by Prism — automated Playwright extraction + design analysis.*
|
|
1300
|
+
*Source: https://linear.app | 2026-06-07T02:28:59.676Z*
|
|
1301
|
+
*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.*
|