getrelay 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +40 -0
  3. package/bin/relay.js +362 -0
  4. package/design-md/airbnb/DESIGN.md +545 -0
  5. package/design-md/airbnb/README.md +5 -0
  6. package/design-md/airtable/DESIGN.md +554 -0
  7. package/design-md/airtable/README.md +5 -0
  8. package/design-md/apple/DESIGN.md +562 -0
  9. package/design-md/apple/README.md +5 -0
  10. package/design-md/binance/DESIGN.md +634 -0
  11. package/design-md/binance/README.md +5 -0
  12. package/design-md/bmw/DESIGN.md +544 -0
  13. package/design-md/bmw/README.md +5 -0
  14. package/design-md/bmw-m/DESIGN.md +503 -0
  15. package/design-md/bmw-m/README.md +5 -0
  16. package/design-md/bugatti/DESIGN.md +454 -0
  17. package/design-md/bugatti/README.md +5 -0
  18. package/design-md/cal/DESIGN.md +542 -0
  19. package/design-md/cal/README.md +5 -0
  20. package/design-md/claude/DESIGN.md +589 -0
  21. package/design-md/claude/README.md +5 -0
  22. package/design-md/clay/DESIGN.md +541 -0
  23. package/design-md/clay/README.md +5 -0
  24. package/design-md/clickhouse/DESIGN.md +544 -0
  25. package/design-md/clickhouse/README.md +5 -0
  26. package/design-md/cohere/DESIGN.md +451 -0
  27. package/design-md/cohere/README.md +5 -0
  28. package/design-md/coinbase/DESIGN.md +570 -0
  29. package/design-md/coinbase/README.md +5 -0
  30. package/design-md/composio/DESIGN.md +506 -0
  31. package/design-md/composio/README.md +5 -0
  32. package/design-md/cursor/DESIGN.md +537 -0
  33. package/design-md/cursor/README.md +5 -0
  34. package/design-md/elevenlabs/DESIGN.md +504 -0
  35. package/design-md/elevenlabs/README.md +5 -0
  36. package/design-md/expo/DESIGN.md +526 -0
  37. package/design-md/expo/README.md +5 -0
  38. package/design-md/ferrari/DESIGN.md +531 -0
  39. package/design-md/ferrari/README.md +5 -0
  40. package/design-md/figma/DESIGN.md +578 -0
  41. package/design-md/figma/README.md +5 -0
  42. package/design-md/framer/DESIGN.md +544 -0
  43. package/design-md/framer/README.md +5 -0
  44. package/design-md/hashicorp/DESIGN.md +575 -0
  45. package/design-md/hashicorp/README.md +5 -0
  46. package/design-md/ibm/DESIGN.md +550 -0
  47. package/design-md/ibm/README.md +5 -0
  48. package/design-md/intercom/DESIGN.md +546 -0
  49. package/design-md/intercom/README.md +5 -0
  50. package/design-md/kraken/DESIGN.md +125 -0
  51. package/design-md/kraken/README.md +5 -0
  52. package/design-md/lamborghini/DESIGN.md +288 -0
  53. package/design-md/lamborghini/README.md +5 -0
  54. package/design-md/linear.app/DESIGN.md +548 -0
  55. package/design-md/linear.app/README.md +5 -0
  56. package/design-md/lovable/DESIGN.md +298 -0
  57. package/design-md/lovable/README.md +5 -0
  58. package/design-md/mastercard/DESIGN.md +365 -0
  59. package/design-md/mastercard/README.md +5 -0
  60. package/design-md/meta/DESIGN.md +683 -0
  61. package/design-md/meta/README.md +5 -0
  62. package/design-md/minimax/DESIGN.md +746 -0
  63. package/design-md/minimax/README.md +5 -0
  64. package/design-md/mintlify/DESIGN.md +852 -0
  65. package/design-md/mintlify/README.md +5 -0
  66. package/design-md/miro/DESIGN.md +825 -0
  67. package/design-md/miro/README.md +5 -0
  68. package/design-md/mistral.ai/DESIGN.md +773 -0
  69. package/design-md/mistral.ai/README.md +5 -0
  70. package/design-md/mongodb/DESIGN.md +767 -0
  71. package/design-md/mongodb/README.md +5 -0
  72. package/design-md/nike/DESIGN.md +575 -0
  73. package/design-md/nike/README.md +5 -0
  74. package/design-md/notion/DESIGN.md +821 -0
  75. package/design-md/notion/README.md +5 -0
  76. package/design-md/nvidia/DESIGN.md +640 -0
  77. package/design-md/nvidia/README.md +5 -0
  78. package/design-md/ollama/DESIGN.md +539 -0
  79. package/design-md/ollama/README.md +5 -0
  80. package/design-md/opencode.ai/DESIGN.md +521 -0
  81. package/design-md/opencode.ai/README.md +5 -0
  82. package/design-md/pinterest/DESIGN.md +597 -0
  83. package/design-md/pinterest/README.md +5 -0
  84. package/design-md/playstation/DESIGN.md +661 -0
  85. package/design-md/playstation/README.md +5 -0
  86. package/design-md/posthog/DESIGN.md +690 -0
  87. package/design-md/posthog/README.md +5 -0
  88. package/design-md/raycast/DESIGN.md +669 -0
  89. package/design-md/raycast/README.md +5 -0
  90. package/design-md/renault/DESIGN.md +589 -0
  91. package/design-md/renault/README.md +5 -0
  92. package/design-md/replicate/DESIGN.md +616 -0
  93. package/design-md/replicate/README.md +5 -0
  94. package/design-md/resend/DESIGN.md +585 -0
  95. package/design-md/resend/README.md +5 -0
  96. package/design-md/revolut/DESIGN.md +636 -0
  97. package/design-md/revolut/README.md +5 -0
  98. package/design-md/runwayml/DESIGN.md +244 -0
  99. package/design-md/runwayml/README.md +5 -0
  100. package/design-md/sanity/DESIGN.md +357 -0
  101. package/design-md/sanity/README.md +5 -0
  102. package/design-md/sentry/DESIGN.md +551 -0
  103. package/design-md/sentry/README.md +5 -0
  104. package/design-md/shopify/DESIGN.md +516 -0
  105. package/design-md/shopify/README.md +5 -0
  106. package/design-md/slack/DESIGN.md +482 -0
  107. package/design-md/spacex/DESIGN.md +363 -0
  108. package/design-md/spacex/README.md +5 -0
  109. package/design-md/spotify/DESIGN.md +246 -0
  110. package/design-md/spotify/README.md +5 -0
  111. package/design-md/starbucks/DESIGN.md +580 -0
  112. package/design-md/starbucks/README.md +5 -0
  113. package/design-md/stripe/DESIGN.md +487 -0
  114. package/design-md/stripe/README.md +5 -0
  115. package/design-md/supabase/DESIGN.md +462 -0
  116. package/design-md/supabase/README.md +5 -0
  117. package/design-md/superhuman/DESIGN.md +448 -0
  118. package/design-md/superhuman/README.md +5 -0
  119. package/design-md/tesla/DESIGN.md +286 -0
  120. package/design-md/tesla/README.md +5 -0
  121. package/design-md/theverge/DESIGN.md +339 -0
  122. package/design-md/theverge/README.md +5 -0
  123. package/design-md/together.ai/DESIGN.md +633 -0
  124. package/design-md/together.ai/README.md +5 -0
  125. package/design-md/uber/DESIGN.md +636 -0
  126. package/design-md/uber/README.md +5 -0
  127. package/design-md/vercel/DESIGN.md +736 -0
  128. package/design-md/vercel/README.md +5 -0
  129. package/design-md/vodafone/DESIGN.md +538 -0
  130. package/design-md/vodafone/README.md +5 -0
  131. package/design-md/voltagent/DESIGN.md +521 -0
  132. package/design-md/voltagent/README.md +5 -0
  133. package/design-md/warp/DESIGN.md +526 -0
  134. package/design-md/warp/README.md +5 -0
  135. package/design-md/webflow/DESIGN.md +588 -0
  136. package/design-md/webflow/README.md +5 -0
  137. package/design-md/wired/DESIGN.md +497 -0
  138. package/design-md/wired/README.md +5 -0
  139. package/design-md/wise/DESIGN.md +544 -0
  140. package/design-md/wise/README.md +5 -0
  141. package/design-md/x.ai/DESIGN.md +465 -0
  142. package/design-md/x.ai/README.md +5 -0
  143. package/design-md/zapier/DESIGN.md +537 -0
  144. package/design-md/zapier/README.md +5 -0
  145. package/package.json +31 -0
@@ -0,0 +1,548 @@
1
+ ---
2
+ version: alpha
3
+ name: Linear
4
+ description: "A near-black product-focused marketing canvas built around #010102 (the deepest dark surface of any tool in this collection), light gray text (#f7f8f8), and the signature Linear lavender-blue (#5e6ad2) used as the single chromatic accent. The system reads as software-craft documentation: dense, technical, and quietly luxurious. Display type is set in the Linear custom sans (SF Pro Display fallback) at 500–700 with measured negative tracking. Cards live as charcoal panels (#0f1011) with hairline borders. The accent lavender appears on the brand mark, focus rings, and a few intentional CTAs — never decoratively. Page rhythm leans on product UI screenshots framed in dark panels rather than atmospheric color."
5
+
6
+ colors:
7
+ primary: "#5e6ad2"
8
+ on-primary: "#ffffff"
9
+ primary-hover: "#828fff"
10
+ primary-focus: "#5e69d1"
11
+ ink: "#f7f8f8"
12
+ ink-muted: "#d0d6e0"
13
+ ink-subtle: "#8a8f98"
14
+ ink-tertiary: "#62666d"
15
+ canvas: "#010102"
16
+ surface-1: "#0f1011"
17
+ surface-2: "#141516"
18
+ surface-3: "#18191a"
19
+ surface-4: "#191a1b"
20
+ hairline: "#23252a"
21
+ hairline-strong: "#34343a"
22
+ hairline-tertiary: "#3e3e44"
23
+ inverse-canvas: "#ffffff"
24
+ inverse-surface-1: "#f5f6f6"
25
+ inverse-surface-2: "#f6f7f7"
26
+ inverse-ink: "#000000"
27
+ brand-secure: "#7a7fad"
28
+ semantic-success: "#27a644"
29
+ semantic-overlay: "#000000"
30
+
31
+ typography:
32
+ display-xl:
33
+ fontFamily: Linear Display
34
+ fontSize: 80px
35
+ fontWeight: 600
36
+ lineHeight: 1.05
37
+ letterSpacing: -3.0px
38
+ display-lg:
39
+ fontFamily: Linear Display
40
+ fontSize: 56px
41
+ fontWeight: 600
42
+ lineHeight: 1.10
43
+ letterSpacing: -1.8px
44
+ display-md:
45
+ fontFamily: Linear Display
46
+ fontSize: 40px
47
+ fontWeight: 600
48
+ lineHeight: 1.15
49
+ letterSpacing: -1.0px
50
+ headline:
51
+ fontFamily: Linear Display
52
+ fontSize: 28px
53
+ fontWeight: 600
54
+ lineHeight: 1.20
55
+ letterSpacing: -0.6px
56
+ card-title:
57
+ fontFamily: Linear Display
58
+ fontSize: 22px
59
+ fontWeight: 500
60
+ lineHeight: 1.25
61
+ letterSpacing: -0.4px
62
+ subhead:
63
+ fontFamily: Linear Display
64
+ fontSize: 20px
65
+ fontWeight: 400
66
+ lineHeight: 1.40
67
+ letterSpacing: -0.2px
68
+ body-lg:
69
+ fontFamily: Linear Text
70
+ fontSize: 18px
71
+ fontWeight: 400
72
+ lineHeight: 1.50
73
+ letterSpacing: -0.1px
74
+ body:
75
+ fontFamily: Linear Text
76
+ fontSize: 16px
77
+ fontWeight: 400
78
+ lineHeight: 1.50
79
+ letterSpacing: -0.05px
80
+ body-sm:
81
+ fontFamily: Linear Text
82
+ fontSize: 14px
83
+ fontWeight: 400
84
+ lineHeight: 1.50
85
+ letterSpacing: 0
86
+ caption:
87
+ fontFamily: Linear Text
88
+ fontSize: 12px
89
+ fontWeight: 400
90
+ lineHeight: 1.40
91
+ letterSpacing: 0
92
+ button:
93
+ fontFamily: Linear Text
94
+ fontSize: 14px
95
+ fontWeight: 500
96
+ lineHeight: 1.20
97
+ letterSpacing: 0
98
+ eyebrow:
99
+ fontFamily: Linear Text
100
+ fontSize: 13px
101
+ fontWeight: 500
102
+ lineHeight: 1.30
103
+ letterSpacing: 0.4px
104
+ mono:
105
+ fontFamily: Linear Mono
106
+ fontSize: 13px
107
+ fontWeight: 400
108
+ lineHeight: 1.50
109
+ letterSpacing: 0
110
+
111
+ rounded:
112
+ xs: 4px
113
+ sm: 6px
114
+ md: 8px
115
+ lg: 12px
116
+ xl: 16px
117
+ xxl: 24px
118
+ pill: 9999px
119
+ full: 9999px
120
+
121
+ spacing:
122
+ xxs: 4px
123
+ xs: 8px
124
+ sm: 12px
125
+ md: 16px
126
+ lg: 24px
127
+ xl: 32px
128
+ xxl: 48px
129
+ section: 96px
130
+
131
+ components:
132
+ button-primary:
133
+ backgroundColor: "{colors.primary}"
134
+ textColor: "{colors.on-primary}"
135
+ typography: "{typography.button}"
136
+ rounded: "{rounded.md}"
137
+ padding: 8px 14px
138
+ button-primary-pressed:
139
+ backgroundColor: "{colors.primary-focus}"
140
+ textColor: "{colors.on-primary}"
141
+ typography: "{typography.button}"
142
+ rounded: "{rounded.md}"
143
+ button-primary-hover:
144
+ backgroundColor: "{colors.primary-hover}"
145
+ textColor: "{colors.on-primary}"
146
+ typography: "{typography.button}"
147
+ rounded: "{rounded.md}"
148
+ button-secondary:
149
+ backgroundColor: "{colors.surface-1}"
150
+ textColor: "{colors.ink}"
151
+ typography: "{typography.button}"
152
+ rounded: "{rounded.md}"
153
+ padding: 8px 14px
154
+ button-tertiary:
155
+ backgroundColor: "{colors.canvas}"
156
+ textColor: "{colors.ink}"
157
+ typography: "{typography.button}"
158
+ rounded: "{rounded.md}"
159
+ padding: 8px 14px
160
+ button-inverse:
161
+ backgroundColor: "{colors.inverse-canvas}"
162
+ textColor: "{colors.inverse-ink}"
163
+ typography: "{typography.button}"
164
+ rounded: "{rounded.md}"
165
+ padding: 8px 14px
166
+ pricing-card:
167
+ backgroundColor: "{colors.surface-1}"
168
+ textColor: "{colors.ink}"
169
+ typography: "{typography.body}"
170
+ rounded: "{rounded.lg}"
171
+ padding: 24px
172
+ pricing-card-featured:
173
+ backgroundColor: "{colors.surface-2}"
174
+ textColor: "{colors.ink}"
175
+ typography: "{typography.body}"
176
+ rounded: "{rounded.lg}"
177
+ padding: 24px
178
+ feature-card:
179
+ backgroundColor: "{colors.surface-1}"
180
+ textColor: "{colors.ink}"
181
+ typography: "{typography.body}"
182
+ rounded: "{rounded.lg}"
183
+ padding: 24px
184
+ product-screenshot-card:
185
+ backgroundColor: "{colors.surface-1}"
186
+ textColor: "{colors.ink}"
187
+ typography: "{typography.body}"
188
+ rounded: "{rounded.xl}"
189
+ padding: 24px
190
+ testimonial-card:
191
+ backgroundColor: "{colors.surface-1}"
192
+ textColor: "{colors.ink}"
193
+ typography: "{typography.body-lg}"
194
+ rounded: "{rounded.lg}"
195
+ padding: 32px
196
+ customer-logo-tile:
197
+ backgroundColor: "{colors.canvas}"
198
+ textColor: "{colors.ink-subtle}"
199
+ typography: "{typography.caption}"
200
+ rounded: "{rounded.xs}"
201
+ padding: 16px
202
+ text-input:
203
+ backgroundColor: "{colors.surface-1}"
204
+ textColor: "{colors.ink}"
205
+ typography: "{typography.body}"
206
+ rounded: "{rounded.md}"
207
+ padding: 8px 12px
208
+ text-input-focused:
209
+ backgroundColor: "{colors.surface-1}"
210
+ textColor: "{colors.ink}"
211
+ typography: "{typography.body}"
212
+ rounded: "{rounded.md}"
213
+ padding: 8px 12px
214
+ pricing-tab-default:
215
+ backgroundColor: "{colors.canvas}"
216
+ textColor: "{colors.ink-subtle}"
217
+ typography: "{typography.button}"
218
+ rounded: "{rounded.pill}"
219
+ padding: 6px 14px
220
+ pricing-tab-selected:
221
+ backgroundColor: "{colors.surface-2}"
222
+ textColor: "{colors.ink}"
223
+ typography: "{typography.button}"
224
+ rounded: "{rounded.pill}"
225
+ padding: 6px 14px
226
+ cta-banner:
227
+ backgroundColor: "{colors.surface-1}"
228
+ textColor: "{colors.ink}"
229
+ typography: "{typography.headline}"
230
+ rounded: "{rounded.lg}"
231
+ padding: 48px
232
+ changelog-row:
233
+ backgroundColor: "{colors.canvas}"
234
+ textColor: "{colors.ink}"
235
+ typography: "{typography.body}"
236
+ rounded: "{rounded.xs}"
237
+ padding: 24px 0
238
+ status-badge:
239
+ backgroundColor: "{colors.surface-2}"
240
+ textColor: "{colors.ink-muted}"
241
+ typography: "{typography.caption}"
242
+ rounded: "{rounded.pill}"
243
+ padding: 2px 8px
244
+ top-nav:
245
+ backgroundColor: "{colors.canvas}"
246
+ textColor: "{colors.ink}"
247
+ typography: "{typography.body-sm}"
248
+ rounded: "{rounded.xs}"
249
+ height: 56px
250
+ footer:
251
+ backgroundColor: "{colors.canvas}"
252
+ textColor: "{colors.ink-subtle}"
253
+ typography: "{typography.caption}"
254
+ rounded: "{rounded.xs}"
255
+ padding: 64px 32px
256
+ ---
257
+
258
+ ## Overview
259
+
260
+ Linear's marketing canvas is the deepest dark surface in this collection — `{colors.canvas}` is #010102, essentially pure black with a faint blue tint. On top sits a four-step surface ladder (`{colors.surface-1}` through `{colors.surface-4}`) for cards, panels, and lifted tiles, with hairline borders running from `{colors.hairline}` (#23252a) up through `{colors.hairline-strong}` and `{colors.hairline-tertiary}`. Light gray text (`{colors.ink}` #f7f8f8) carries the body and headlines.
261
+
262
+ The single chromatic accent is **Linear lavender-blue** `{colors.primary}` (#5e6ad2) — used on the brand mark, focus rings, and the primary CTA button. A lighter hover state (`{colors.primary-hover}` #828fff) and a focus-tinted variant (`{colors.primary-focus}` #5e69d1) extend the same hue. Linear avoids saturated greens, oranges, reds, etc. on the marketing canvas — the only semantic color is `{colors.semantic-success}` (#27a644) for status pills and the rare success indicator.
263
+
264
+ Display type runs Linear's custom sans (with `SF Pro Display` fallback) at weight 500–700 with negative letter-spacing scaling from -3.0px at 80px down to 0 at body. The body family is Linear's text cut, and a Linear Mono is reserved for code snippets in product screenshots.
265
+
266
+ The page rhythm is **dense product screenshots** — Linear's marketing leads with high-fidelity captures of the product UI (issue list, project view, dashboard) framed in `{colors.surface-1}` panels with `{rounded.xl}` 16px corners. The chrome is intentionally minimal so the app screenshots can do the heavy lifting.
267
+
268
+ **Key Characteristics:**
269
+ - **Dark-canvas marketing system** — `{colors.canvas}` (#010102) is the deepest dark in this collection.
270
+ - **Lavender-blue brand accent** (`{colors.primary}` #5e6ad2) — used scarcely on brand mark, focus, and the primary CTA.
271
+ - Four-step surface ladder (canvas → surface-1 → surface-2 → surface-3 → surface-4) carries hierarchy without shadow.
272
+ - Display tracking pulls aggressively negative (-3.0px at 80px); body holds at -0.05px.
273
+ - Cards use `{rounded.lg}` 12px corners with 1px hairline borders — never pill, rarely 16px.
274
+ - **Product UI screenshots** dominate the page. The marketing chrome is a dark frame for the app.
275
+ - No second chromatic color. No atmospheric gradients. No spotlight cards.
276
+
277
+ ## Colors
278
+
279
+ > Source pages: linear.app (home), /intake, /pricing, /contact/sales, /build.
280
+
281
+ ### Brand & Accent
282
+ - **Lavender-Blue** ({colors.primary}): The signature Linear accent — primary CTA, brand mark, link emphasis.
283
+ - **Lavender Hover** ({colors.primary-hover}): Lighter lavender (#828fff) — hovered state of the primary CTA.
284
+ - **Lavender Focus** ({colors.primary-focus}): Focus-ring tint (#5e69d1) — focused inputs, focused buttons.
285
+ - **Brand Secure** ({colors.brand-secure}): Muted lavender-gray (#7a7fad) — used in "Linear Security" surfaces.
286
+
287
+ ### Surface
288
+ - **Canvas** ({colors.canvas}): Default page background — #010102, near-pure black with a faint blue tint.
289
+ - **Surface 1** ({colors.surface-1}): One step above canvas — feature cards, pricing cards, product screenshot panels.
290
+ - **Surface 2** ({colors.surface-2}): Two steps above — featured pricing card, hovered cards.
291
+ - **Surface 3** ({colors.surface-3}): Three steps above — line-tertiary backgrounds, sub-nav.
292
+ - **Surface 4** ({colors.surface-4}): Four steps above — bg-level-3, deepest lifted surface.
293
+ - **Hairline** ({colors.hairline}): 1px borders on cards and dividers.
294
+ - **Hairline Strong** ({colors.hairline-strong}): Stronger 1px borders — input focus rings.
295
+ - **Hairline Tertiary** ({colors.hairline-tertiary}): Tertiary borders for nested surfaces.
296
+ - **Inverse Canvas** ({colors.inverse-canvas}): Pure white — surface of the inverse pill CTA on a small set of section openers.
297
+ - **Inverse Surface 1** ({colors.inverse-surface-1}): One step above inverse canvas.
298
+ - **Inverse Surface 2** ({colors.inverse-surface-2}): Two steps above inverse canvas.
299
+
300
+ ### Text
301
+ - **Ink** ({colors.ink}): All headlines and emphasized body type — light gray #f7f8f8.
302
+ - **Ink Muted** ({colors.ink-muted}): Secondary type at #d0d6e0 — meta info on hero panels.
303
+ - **Ink Subtle** ({colors.ink-subtle}): Tertiary type at #8a8f98 — deselected pricing tabs, footer columns.
304
+ - **Ink Tertiary** ({colors.ink-tertiary}): Quaternary at #62666d — disabled, footnotes.
305
+
306
+ ### Semantic
307
+ - **Success Green** ({colors.semantic-success}): Status pills, success indicators. The only semantic color on marketing.
308
+ - **Overlay** ({colors.semantic-overlay}): Pure black overlay scrim for modals.
309
+
310
+ ## Typography
311
+
312
+ ### Font Family
313
+
314
+ - **Linear Display** — Linear's custom display sans; fallback `SF Pro Display, -apple-system, system-ui, Segoe UI, Roboto`. Carries display-xl through subhead.
315
+ - **Linear Text** — Linear's custom text sans (a slightly different cut tuned for body sizes); same fallback stack. Carries body sizes, button labels, captions.
316
+ - **Linear Mono** — Linear's custom mono; fallback `ui-monospace, SF Mono, Menlo`. Used for code snippets in product screenshots and for status / ID tokens.
317
+
318
+ The marketing surface treats Display and Text as one continuous voice; the family change is silent.
319
+
320
+ ### Hierarchy
321
+
322
+ | Token | Size | Weight | Line Height | Letter Spacing | Use |
323
+ |---|---|---|---|---|---|
324
+ | `{typography.display-xl}` | 80px | 600 | 1.05 | -3.0px | Largest hero headline |
325
+ | `{typography.display-lg}` | 56px | 600 | 1.10 | -1.8px | Section opener headlines |
326
+ | `{typography.display-md}` | 40px | 600 | 1.15 | -1.0px | Sub-section headlines |
327
+ | `{typography.headline}` | 28px | 600 | 1.20 | -0.6px | Pricing tier titles, CTA banner heading |
328
+ | `{typography.card-title}` | 22px | 500 | 1.25 | -0.4px | Feature card title |
329
+ | `{typography.subhead}` | 20px | 400 | 1.40 | -0.2px | Lead body, intro paragraphs |
330
+ | `{typography.body-lg}` | 18px | 400 | 1.50 | -0.1px | Hero subhead, lead paragraphs |
331
+ | `{typography.body}` | 16px | 400 | 1.50 | -0.05px | Default body |
332
+ | `{typography.body-sm}` | 14px | 400 | 1.50 | 0 | Card body, footer columns |
333
+ | `{typography.caption}` | 12px | 400 | 1.40 | 0 | Captions, meta, status |
334
+ | `{typography.button}` | 14px | 500 | 1.20 | 0 | All button labels |
335
+ | `{typography.eyebrow}` | 13px | 500 | 1.30 | 0.4px | Section eyebrow (slight positive tracking) |
336
+ | `{typography.mono}` | 13px | 400 | 1.50 | 0 | Linear Mono for code in product screenshots |
337
+
338
+ ### Principles
339
+
340
+ - **Aggressive negative tracking on display** (-3.0px at 80px ≈ 4% of size).
341
+ - **Single voice from display to body.** Display-xl at 600 → body at 400 — same family, narrower weights.
342
+ - **Eyebrow uses positive tracking** (+0.4px) — contrast against the negative-tracked display marks the eyebrow as taxonomy.
343
+ - **Mono only in code contexts.** Linear Mono lives inside product screenshots — not on marketing chrome.
344
+
345
+ ### Note on Font Substitutes
346
+
347
+ Linear's custom typeface isn't publicly distributed; the documented fallback `SF Pro Display, -apple-system, system-ui` is the recommended substitute on macOS. For cross-platform implementation, **Inter** at weight 500 / 600 / 700 is the closest free substitute. **Geist Sans** is also viable. For mono, **JetBrains Mono** or **Geist Mono** at weight 400 closely approximates Linear Mono.
348
+
349
+ ## Layout
350
+
351
+ ### Spacing System
352
+
353
+ - **Base unit**: 4px.
354
+ - **Tokens (front matter)**: `{spacing.xxs}` 4px · `{spacing.xs}` 8px · `{spacing.sm}` 12px · `{spacing.md}` 16px · `{spacing.lg}` 24px · `{spacing.xl}` 32px · `{spacing.xxl}` 48px · `{spacing.section}` 96px.
355
+ - Card interior padding: `{spacing.lg}` 24px on feature/pricing cards; `{spacing.xl}` 32px on testimonial cards; `{spacing.xxl}` 48px on CTA banners.
356
+ - Pill button padding: 8px vertical · 14px horizontal — Linear's compact button spec.
357
+ - Form input padding: 8px vertical · 12px horizontal.
358
+
359
+ ### Grid & Container
360
+
361
+ - Max content width sits around 1280px.
362
+ - Card grids are 3-up at desktop, 2-up at tablet, 1-up at mobile.
363
+ - Pricing tier grid is 3-up; comparison strip below shows checkmarks per tier.
364
+ - Product screenshot panels span full content width — they're the protagonist.
365
+
366
+ ### Whitespace Philosophy
367
+
368
+ The dark canvas IS the whitespace. Sections separate by lift onto surface-1 panels, not by gaps in white. Within a panel, generous `{spacing.lg}` 24px gaps between content blocks; `{spacing.section}` 96px between sections.
369
+
370
+ ## Elevation & Depth
371
+
372
+ | Level | Treatment | Use |
373
+ |---|---|---|
374
+ | 0 (flat) | No shadow, no border | Default for body type, hero text, footer |
375
+ | 1 (charcoal lift) | `{colors.surface-1}` background on canvas, 1px `{colors.hairline}` | Default cards, product panels |
376
+ | 2 (surface-2 lift) | `{colors.surface-2}` background, 1px `{colors.hairline-strong}` | Featured pricing card, hovered cards |
377
+ | 3 (surface-3 lift) | `{colors.surface-3}` background | Sub-nav, dropdown menus |
378
+ | 4 (focus ring) | 2px `{colors.primary-focus}` outline at 50% opacity | Focused input, focused button |
379
+
380
+ Linear's depth is carried by surface ladder + hairline borders. The brand resists drop shadows on dark almost entirely.
381
+
382
+ ### Decorative Depth
383
+
384
+ - **Product UI screenshots** dominate as decorative depth.
385
+ - **No atmospheric gradients, no spotlight cards.**
386
+ - **Subtle white edge highlight** on the top edge of lifted panels — gives the dark surface a faint "pixel rendered" feel.
387
+
388
+ ## Shapes
389
+
390
+ ### Border Radius Scale
391
+
392
+ | Token | Value | Use |
393
+ |---|---|---|
394
+ | `{rounded.xs}` | 4px | Small chips, status badges |
395
+ | `{rounded.sm}` | 6px | Inline tags |
396
+ | `{rounded.md}` | 8px | All buttons, form inputs |
397
+ | `{rounded.lg}` | 12px | Pricing cards, feature cards, testimonial cards |
398
+ | `{rounded.xl}` | 16px | Product screenshot panels |
399
+ | `{rounded.xxl}` | 24px | Oversized CTA banners (rare) |
400
+ | `{rounded.pill}` | 9999px | Pricing tab toggles, status pills |
401
+ | `{rounded.full}` | 9999px | Avatar circles |
402
+
403
+ ### Photography & Illustration Geometry
404
+
405
+ - Product UI screenshots dominate; they sit in `{rounded.xl}` 16px tiles with `{spacing.lg}` 24px outer padding.
406
+ - Customer logo tiles render at small sizes (~24px logo height) on `{colors.canvas}` with no border.
407
+ - Avatar circles in testimonial cards use `{rounded.full}` at 32–40px sizes.
408
+
409
+ ## Components
410
+
411
+ ### Buttons
412
+
413
+ **`button-primary`** — Lavender CTA. The default primary CTA across all pages.
414
+ - Background `{colors.primary}`, text `{colors.on-primary}`, type `{typography.button}`, padding 8px 14px, rounded `{rounded.md}`.
415
+ - Pressed state lives in `button-primary-pressed` (background shifts to `{colors.primary-focus}`).
416
+ - Hover state lives in `button-primary-hover` (background shifts to `{colors.primary-hover}` lighter lavender).
417
+
418
+ **`button-secondary`** — Charcoal button. Used for secondary CTAs ("Sign in", "Read changelog").
419
+ - Background `{colors.surface-1}`, text `{colors.ink}`, type `{typography.button}`, padding 8px 14px, rounded `{rounded.md}`. 1px `{colors.hairline}` border.
420
+
421
+ **`button-tertiary`** — Plain text button.
422
+ - Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.button}`, rounded `{rounded.md}`, padding 8px 14px.
423
+
424
+ **`button-inverse`** — White-on-dark inverse CTA.
425
+ - Background `{colors.inverse-canvas}`, text `{colors.inverse-ink}`, type `{typography.button}`, rounded `{rounded.md}`, padding 8px 14px.
426
+
427
+ ### Pricing Tabs
428
+
429
+ **`pricing-tab-default`** + **`pricing-tab-selected`** — Pill-toggle on `/pricing`.
430
+ - Default: `{colors.canvas}` background, `{colors.ink-subtle}` text, rounded `{rounded.pill}`, padding 6px 14px.
431
+ - Selected: `{colors.surface-2}` background, `{colors.ink}` text — selected = surface lift.
432
+
433
+ ### Cards & Containers
434
+
435
+ **`pricing-card`** — Each tier on `/pricing`.
436
+ - Background `{colors.surface-1}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.lg}`, padding 24px. 1px `{colors.hairline}` border.
437
+
438
+ **`pricing-card-featured`** — Recommended tier — surface lift to surface-2.
439
+ - Background `{colors.surface-2}`, otherwise identical structure.
440
+
441
+ **`feature-card`** — Generic feature highlight tile.
442
+ - Background `{colors.surface-1}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.lg}`, padding 24px.
443
+
444
+ **`product-screenshot-card`** — The dominant card type — frames a high-fidelity Linear app UI screenshot.
445
+ - Background `{colors.surface-1}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.xl}`, padding 24px.
446
+
447
+ **`testimonial-card`** — Customer quote with avatar + name + role.
448
+ - Background `{colors.surface-1}`, text `{colors.ink}`, type `{typography.body-lg}`, rounded `{rounded.lg}`, padding 32px.
449
+
450
+ **`customer-logo-tile`** — Small tile in the customer marquee.
451
+ - Background `{colors.canvas}`, text `{colors.ink-subtle}`, type `{typography.caption}`, rounded `{rounded.xs}`, padding 16px.
452
+
453
+ **`cta-banner`** — Closing CTA panel near page bottom.
454
+ - Background `{colors.surface-1}`, text `{colors.ink}`, type `{typography.headline}`, rounded `{rounded.lg}`, padding 48px.
455
+
456
+ ### Inputs & Forms
457
+
458
+ **`text-input`** + **`text-input-focused`** — Form fields on `/contact/sales` and signup overlays.
459
+ - Background `{colors.surface-1}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.md}`, padding 8px 12px.
460
+ - Focused state retains the same surface; the focus ring is a 2px `{colors.primary-focus}` outline at 50% opacity.
461
+
462
+ ### Status & Build Page
463
+
464
+ **`changelog-row`** — Each row in `/build` (changelog page) listing version, date, and changes.
465
+ - Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.xs}`, padding 24px 0. 1px `{colors.hairline}` bottom rule.
466
+
467
+ **`status-badge`** — Small status pill.
468
+ - Background `{colors.surface-2}`, text `{colors.ink-muted}`, type `{typography.caption}`, rounded `{rounded.pill}`, padding 2px 8px.
469
+
470
+ ### Navigation
471
+
472
+ **`top-nav`** — Sticky dark bar with the Linear wordmark left, primary nav links centered, and a `button-secondary` ("Sign in") + `button-primary` ("Get started") pair right.
473
+ - Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body-sm}`, height 56px.
474
+
475
+ ### Footer
476
+
477
+ **`footer`** — Dense link grid on `{colors.canvas}` with the Linear wordmark left.
478
+ - Background `{colors.canvas}`, text `{colors.ink-subtle}`, type `{typography.caption}`, padding 64px 32px.
479
+
480
+ ## Do's and Don'ts
481
+
482
+ ### Do
483
+
484
+ - Reserve `{colors.canvas}` (#010102) as the system's anchor surface — the faint blue tint is intentional.
485
+ - Use `{colors.primary}` lavender ONLY for: brand mark, primary CTA, focus ring, link emphasis.
486
+ - Use the four-step surface ladder for hierarchy. Avoid skipping levels.
487
+ - Pair display weight 600 with body weight 400 — Linear resists 700+ display weights.
488
+ - Apply negative letter-spacing aggressively on display.
489
+ - Use product UI screenshots as the protagonist of every section.
490
+ - Compose CTAs as `{rounded.md}` 8px corners.
491
+
492
+ ### Don't
493
+
494
+ - Don't ship a light-mode marketing page.
495
+ - Don't use lavender as a section background or card fill.
496
+ - Don't introduce a second chromatic accent (orange, pink, green for marketing).
497
+ - Don't add atmospheric gradients or spotlight cards.
498
+ - Don't pill-round CTAs.
499
+ - Don't use `#000000` true black as the canvas.
500
+ - Don't combine multiple bright accents in product screenshot mockups.
501
+
502
+ ## Responsive Behavior
503
+
504
+ ### Breakpoints
505
+
506
+ | Name | Width | Key Changes |
507
+ |---|---|---|
508
+ | Desktop-XL | 1440px | Default desktop layout |
509
+ | Desktop | 1280px | Card grid 3-up maintained |
510
+ | Tablet | 1024px | Card grid 3-up → 2-up |
511
+ | Mobile-Lg | 768px | Pricing comparison becomes accordion; nav hamburger |
512
+ | Mobile | 480px | Single-column; display-xl scales 80px → ~36px |
513
+
514
+ ### Touch Targets
515
+
516
+ - CTAs hold ≥40px tap height across viewports.
517
+ - Pricing tab pills hold ≥36px tap height; touch viewports grow to ≥44px.
518
+ - Form inputs hold ≥44px tap target on touch.
519
+
520
+ ### Collapsing Strategy
521
+
522
+ - **Top nav**: links collapse to hamburger below 768px.
523
+ - **Card grids**: 3-up → 2-up at 1024px → 1-up below 768px.
524
+ - **Pricing comparison**: per-tier accordion below 768px.
525
+ - **Display type**: `{typography.display-xl}` 80px scales toward `{typography.display-md}` 40px on mobile.
526
+
527
+ ### Image Behavior
528
+
529
+ - Product UI screenshots maintain aspect ratio and never crop.
530
+ - Customer logos in the marquee may collapse from 6-up to 3-up below 768px.
531
+
532
+ ## Iteration Guide
533
+
534
+ 1. Focus on ONE component at a time and reference it by its `components:` token name.
535
+ 2. When introducing a section, decide first which surface lift it lives on.
536
+ 3. Default body to `{typography.body}` at weight 400.
537
+ 4. Run `npx @google/design.md lint DESIGN.md` after edits.
538
+ 5. Add new variants as separate component entries.
539
+ 6. Treat lavender as scarce: brand mark, primary CTA, focus, link emphasis.
540
+ 7. Lead every section with a product UI screenshot.
541
+
542
+ ## Known Gaps
543
+
544
+ - The four-step surface ladder values are extracted directly from Linear's `--color-bg-level-3`, `--color-line-tint`, etc. CSS variables; they are Linear's canonical surface spec.
545
+ - Form-field error and validation styling is not visible on the inspected pages.
546
+ - Light mode is not documented because the marketing site does not ship a light theme.
547
+ - Linear's actual product UI uses a richer color-tag palette (red, orange, yellow, green, blue, purple) for issue priorities and project labels — those colors live in the in-product surfaces shown in mockups.
548
+ - The custom display, text, and mono families are proprietary; an open-source substitute is acceptable.
@@ -0,0 +1,5 @@
1
+ # Linear Inspired Design System
2
+
3
+ Design system details have been moved to: https://getdesign.md/linear.app/design-md
4
+
5
+ You can also view previews, dark mode examples, and download options on getdesign.md.