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,616 @@
1
+ ---
2
+ version: alpha
3
+ name: Replicate
4
+ description: |
5
+ Replicate's marketing surfaces pair the warm-cream developer-tools aesthetic
6
+ of an indie ML playground with a confident hot-orange brand accent and a
7
+ signature display typeface (rb-freigeist-neue) sized aggressively large at
8
+ 72px+. The system reads as "AI lab notebook crossed with print magazine":
9
+ cream and bone surfaces, dark ink type, monospace code wells, irregular
10
+ hand-drawn-feeling diagrams, and a rich orange used scarcely on the most
11
+ consequential CTA. Photography of contributors and example outputs is
12
+ square-ish with mid-radius corners; everything else is borderless or hairline.
13
+
14
+ colors:
15
+ primary: "#ea2804"
16
+ primary-deep: "#c01f00"
17
+ on-primary: "#ffffff"
18
+ ink: "#202020"
19
+ body: "#3a3a3a"
20
+ charcoal: "#575757"
21
+ mute: "#646464"
22
+ ash: "#8d8d8d"
23
+ stone: "#bbbbbb"
24
+ on-dark: "#fcfcfc"
25
+ on-dark-mute: "rgba(252,252,252,0.72)"
26
+ canvas: "#f9f7f3"
27
+ surface-bone: "#f3f0e8"
28
+ surface-card: "#ffffff"
29
+ surface-dark: "#202020"
30
+ surface-deep: "#000000"
31
+ hairline: "rgba(32,32,32,0.12)"
32
+ hairline-strong: "#202020"
33
+ divider-dark: "rgba(255,255,255,0.2)"
34
+ hero-warm: "#ea2804"
35
+ hero-glow: "#ff6a3d"
36
+ hero-pink: "#f4a8a0"
37
+ badge-success: "#2b9a66"
38
+ link: "#ea2804"
39
+ ring-focus: "rgba(59,130,246,0.5)"
40
+ github-dark: "#24292e"
41
+
42
+ typography:
43
+ display-xxl:
44
+ fontFamily: rb-freigeist-neue
45
+ fontSize: 128px
46
+ fontWeight: 700
47
+ lineHeight: 1.0
48
+ letterSpacing: -3px
49
+ display-xl:
50
+ fontFamily: rb-freigeist-neue
51
+ fontSize: 72px
52
+ fontWeight: 700
53
+ lineHeight: 1.0
54
+ letterSpacing: -1.8px
55
+ display-lg:
56
+ fontFamily: rb-freigeist-neue
57
+ fontSize: 48px
58
+ fontWeight: 700
59
+ lineHeight: 1.0
60
+ letterSpacing: -1px
61
+ display-md:
62
+ fontFamily: rb-freigeist-neue
63
+ fontSize: 30px
64
+ fontWeight: 600
65
+ lineHeight: 1.2
66
+ letterSpacing: -0.5px
67
+ heading-lg:
68
+ fontFamily: basier-square
69
+ fontSize: 38.4px
70
+ fontWeight: 600
71
+ lineHeight: 0.83
72
+ letterSpacing: -0.5px
73
+ heading-md:
74
+ fontFamily: basier-square
75
+ fontSize: 24px
76
+ fontWeight: 600
77
+ lineHeight: 1.33
78
+ letterSpacing: -0.35px
79
+ heading-sm:
80
+ fontFamily: basier-square
81
+ fontSize: 20px
82
+ fontWeight: 600
83
+ lineHeight: 1.4
84
+ letterSpacing: -0.3px
85
+ subtitle:
86
+ fontFamily: rb-freigeist-neue
87
+ fontSize: 18px
88
+ fontWeight: 600
89
+ lineHeight: 1.56
90
+ letterSpacing: 0
91
+ body-lg:
92
+ fontFamily: basier-square
93
+ fontSize: 18px
94
+ fontWeight: 400
95
+ lineHeight: 1.56
96
+ letterSpacing: 0
97
+ body-md:
98
+ fontFamily: basier-square
99
+ fontSize: 16px
100
+ fontWeight: 400
101
+ lineHeight: 1.5
102
+ letterSpacing: 0
103
+ body-sm:
104
+ fontFamily: basier-square
105
+ fontSize: 14px
106
+ fontWeight: 400
107
+ lineHeight: 1.43
108
+ letterSpacing: 0
109
+ button-md:
110
+ fontFamily: basier-square
111
+ fontSize: 16px
112
+ fontWeight: 600
113
+ lineHeight: 1.0
114
+ letterSpacing: 0
115
+ button-sm:
116
+ fontFamily: basier-square
117
+ fontSize: 14px
118
+ fontWeight: 600
119
+ lineHeight: 1.0
120
+ letterSpacing: 0
121
+ caption:
122
+ fontFamily: basier-square
123
+ fontSize: 12px
124
+ fontWeight: 400
125
+ lineHeight: 1.33
126
+ letterSpacing: 0
127
+ caption-tight:
128
+ fontFamily: basier-square
129
+ fontSize: 14px
130
+ fontWeight: 600
131
+ lineHeight: 1.43
132
+ letterSpacing: -0.35px
133
+ code-md:
134
+ fontFamily: jetbrains-mono
135
+ fontSize: 14px
136
+ fontWeight: 400
137
+ lineHeight: 1.43
138
+ letterSpacing: 0
139
+ code-sm:
140
+ fontFamily: jetbrains-mono
141
+ fontSize: 11px
142
+ fontWeight: 400
143
+ lineHeight: 1.5
144
+ letterSpacing: 0
145
+
146
+ rounded:
147
+ none: 0px
148
+ xs: 4px
149
+ sm: 6px
150
+ md: 10px
151
+ lg: 16px
152
+ full: 9999px
153
+
154
+ spacing:
155
+ xxs: 2px
156
+ xs: 4px
157
+ sm: 8px
158
+ md: 12px
159
+ lg: 16px
160
+ xl: 24px
161
+ xxl: 32px
162
+ xxxl: 48px
163
+ section: 96px
164
+ band: 160px
165
+
166
+ components:
167
+ button-primary:
168
+ backgroundColor: "{colors.primary}"
169
+ textColor: "{colors.on-primary}"
170
+ typography: "{typography.button-md}"
171
+ rounded: "{rounded.full}"
172
+ padding: 12px 24px
173
+ height: 44px
174
+ button-primary-pressed:
175
+ backgroundColor: "{colors.primary-deep}"
176
+ textColor: "{colors.on-primary}"
177
+ typography: "{typography.button-md}"
178
+ rounded: "{rounded.full}"
179
+ button-dark:
180
+ backgroundColor: "{colors.surface-dark}"
181
+ textColor: "{colors.on-dark}"
182
+ typography: "{typography.button-md}"
183
+ rounded: "{rounded.full}"
184
+ padding: 12px 24px
185
+ height: 44px
186
+ button-outline:
187
+ backgroundColor: "{colors.surface-card}"
188
+ textColor: "{colors.ink}"
189
+ typography: "{typography.button-md}"
190
+ rounded: "{rounded.full}"
191
+ padding: 11px 23px
192
+ height: 44px
193
+ button-ghost:
194
+ backgroundColor: "{colors.canvas}"
195
+ textColor: "{colors.ink}"
196
+ typography: "{typography.button-md}"
197
+ rounded: "{rounded.full}"
198
+ padding: 8px 16px
199
+ height: 36px
200
+ button-icon:
201
+ backgroundColor: "{colors.surface-card}"
202
+ textColor: "{colors.ink}"
203
+ rounded: "{rounded.full}"
204
+ size: 36px
205
+ text-input:
206
+ backgroundColor: "{colors.surface-card}"
207
+ textColor: "{colors.ink}"
208
+ typography: "{typography.body-md}"
209
+ rounded: "{rounded.full}"
210
+ padding: 12px 20px
211
+ height: 44px
212
+ hero-band:
213
+ backgroundColor: "{colors.hero-warm}"
214
+ textColor: "{colors.on-dark}"
215
+ typography: "{typography.display-xl}"
216
+ rounded: "{rounded.none}"
217
+ padding: 96px 32px
218
+ model-card:
219
+ backgroundColor: "{colors.surface-card}"
220
+ textColor: "{colors.ink}"
221
+ typography: "{typography.body-md}"
222
+ rounded: "{rounded.md}"
223
+ padding: 16px
224
+ collection-tile:
225
+ backgroundColor: "{colors.canvas}"
226
+ textColor: "{colors.ink}"
227
+ typography: "{typography.heading-md}"
228
+ rounded: "{rounded.md}"
229
+ padding: 24px
230
+ pricing-tier:
231
+ backgroundColor: "{colors.surface-card}"
232
+ textColor: "{colors.ink}"
233
+ typography: "{typography.body-md}"
234
+ rounded: "{rounded.lg}"
235
+ padding: 32px
236
+ pricing-tier-featured:
237
+ backgroundColor: "{colors.surface-dark}"
238
+ textColor: "{colors.on-dark}"
239
+ typography: "{typography.body-md}"
240
+ rounded: "{rounded.lg}"
241
+ padding: 32px
242
+ code-block:
243
+ backgroundColor: "{colors.surface-dark}"
244
+ textColor: "{colors.on-dark}"
245
+ typography: "{typography.code-md}"
246
+ rounded: "{rounded.md}"
247
+ padding: 24px
248
+ code-tab:
249
+ backgroundColor: "{colors.surface-deep}"
250
+ textColor: "{colors.on-dark-mute}"
251
+ typography: "{typography.code-sm}"
252
+ rounded: "{rounded.xs}"
253
+ padding: 6px 12px
254
+ badge-status:
255
+ backgroundColor: "{colors.badge-success}"
256
+ textColor: "{colors.on-dark}"
257
+ typography: "{typography.caption}"
258
+ rounded: "{rounded.full}"
259
+ padding: 4px 10px
260
+ badge-tag:
261
+ backgroundColor: "{colors.canvas}"
262
+ textColor: "{colors.ink}"
263
+ typography: "{typography.caption}"
264
+ rounded: "{rounded.full}"
265
+ padding: 4px 10px
266
+ nav-bar:
267
+ backgroundColor: "{colors.canvas}"
268
+ textColor: "{colors.ink}"
269
+ typography: "{typography.button-sm}"
270
+ rounded: "{rounded.none}"
271
+ height: 60px
272
+ sub-nav-pill:
273
+ backgroundColor: "{colors.surface-card}"
274
+ textColor: "{colors.ink}"
275
+ typography: "{typography.button-sm}"
276
+ rounded: "{rounded.full}"
277
+ padding: 6px 14px
278
+ contributor-avatar:
279
+ backgroundColor: "{colors.surface-card}"
280
+ textColor: "{colors.ink}"
281
+ rounded: "{rounded.full}"
282
+ size: 40px
283
+ footer:
284
+ backgroundColor: "{colors.surface-deep}"
285
+ textColor: "{colors.on-dark}"
286
+ typography: "{typography.body-sm}"
287
+ rounded: "{rounded.none}"
288
+ padding: 64px 32px
289
+ ---
290
+
291
+ ## Overview
292
+
293
+ Replicate is a developer-tools platform with the soul of an art zine. The
294
+ public marketing surfaces sit on a warm cream canvas (`{colors.canvas}` —
295
+ `#f9f7f3`) rather than the white-or-near-black default of typical AI
296
+ infrastructure sites, and that single decision colours everything else:
297
+ photography reads as editorial, code wells read as printed pull-quotes, and
298
+ the brand orange (`{colors.primary}` — `#ea2804`) feels like a stamp rather
299
+ than a notification.
300
+
301
+ The typography is the load-bearing decoration. **rb-freigeist-neue** — a
302
+ heavy, slightly condensed grotesque — appears at sizes up to 128px in hero
303
+ bands, with a tight `lineHeight: 1.0` and negative letter-spacing that lets
304
+ multi-line headlines pack into geometric blocks. The companion family,
305
+ **basier-square**, takes care of body, button labels, and metadata in the
306
+ 14–18px range. **JetBrains Mono** carries every code well, command, and
307
+ example. Three families, three jobs, no overlap.
308
+
309
+ Page rhythm cycles between a default cream canvas, a bold full-bleed orange
310
+ hero band, and a `{colors.surface-dark}` (`#202020`) section that hosts the
311
+ code stories — the "how it works" walkthrough. Curves are intentional and
312
+ soft: every interactive surface (buttons, inputs, tags, avatars) uses
313
+ `{rounded.full}`, while content cards and code wells step up to `{rounded.md}`
314
+ or `{rounded.lg}`. There are no sharp corners on Replicate; the system reads
315
+ as friendly precision.
316
+
317
+ **Key Characteristics:**
318
+ - A warm cream canvas (`{colors.canvas}` — `#f9f7f3`) replaces the typical white background, paired with `{colors.surface-bone}` for inset cards.
319
+ - Hot orange (`{colors.primary}` — `#ea2804`) is reserved for the primary CTA, the hero band, and inline link colour. Never decorative.
320
+ - Display headlines run massive — `{typography.display-xxl}` at 128px in hero bands and `{typography.display-xl}` at 72px on section openers — with tight `lineHeight: 1.0` and negative letter-spacing.
321
+ - Three-family typography stack: `rb-freigeist-neue` for display, `basier-square` for UI/body, `jetbrains-mono` for code.
322
+ - Every interactive element is fully rounded (`{rounded.full}` 9999px) — buttons, inputs, badges, avatars — while content cards step to `{rounded.md}` 10px.
323
+ - Dark code wells (`{colors.surface-dark}` background) sit inside the cream canvas as full-bleed reading surfaces, mimicking print pull-quotes.
324
+ - Section rhythm: cream → orange hero → cream → dark code-story band → cream → black footer.
325
+
326
+ ## Colors
327
+
328
+ ### Brand & Accent
329
+ - **Replicate Orange** (`{colors.primary}` — `#ea2804`): the brand accent. Reserved for the primary CTA, hero band background, and inline link colour. Treat as a stamp — one orange element per viewport at most.
330
+ - **Orange Pressed** (`{colors.primary-deep}` — `#c01f00`): the active/pressed state of `{colors.primary}` — used on `{component.button-primary-pressed}`.
331
+ - **Hero Glow** (`{colors.hero-glow}` — `#ff6a3d`): the lighter orange that appears in the radial atmospheric mesh behind the hero copy.
332
+ - **Hero Pink** (`{colors.hero-pink}` — `#f4a8a0`): a warm pink wash that softens the bottom edge of the hero band before it transitions to cream.
333
+ - **On-Primary** (`{colors.on-primary}` — `#ffffff`): label colour on top of `{colors.primary}` surfaces.
334
+
335
+ ### Surface
336
+ - **Canvas** (`{colors.canvas}` — `#f9f7f3`): the default page background. Warm cream, never pure white.
337
+ - **Surface Bone** (`{colors.surface-bone}` — `#f3f0e8`): a half-step deeper cream used for inset card groups and feature bands.
338
+ - **Surface Card** (`{colors.surface-card}` — `#ffffff`): pure white for individual model cards, search inputs, and pricing tiers — the only place white appears.
339
+ - **Surface Dark** (`{colors.surface-dark}` — `#202020`): code wells, featured pricing tier, and the "how it works" walkthrough band.
340
+ - **Surface Deep** (`{colors.surface-deep}` — `#000000`): footer canvas and the inset code-tab strip inside `{component.code-block}`.
341
+ - **Hairline** (`{colors.hairline}` — `rgba(32,32,32,0.12)`): low-contrast 1px dividers on cream surfaces.
342
+ - **Hairline Strong** (`{colors.hairline-strong}` — `#202020`): button outlines, focused inputs, and structural separators.
343
+
344
+ ### Text
345
+ - **Ink** (`{colors.ink}` — `#202020`): primary text colour. Notably warmer than `#000000`, matching the cream canvas.
346
+ - **Body** (`{colors.body}` — `#3a3a3a`): long-form body copy where ink would feel too heavy at 18px+ line lengths.
347
+ - **Charcoal** (`{colors.charcoal}` — `#575757`): captions, metadata, secondary nav.
348
+ - **Mute** (`{colors.mute}` — `#646464`): supporting text and inactive labels.
349
+ - **Ash** (`{colors.ash}` — `#8d8d8d`): tertiary text, placeholder copy.
350
+ - **Stone** (`{colors.stone}` — `#bbbbbb`): disabled foreground, neutral icon outlines.
351
+ - **On-Dark** (`{colors.on-dark}` — `#fcfcfc`): primary text on `{colors.surface-dark}` and `{colors.surface-deep}`.
352
+ - **On-Dark Mute** (`{colors.on-dark-mute}` — `rgba(252,252,252,0.72)`): secondary text in dark regions; preserves the off-white feel without pure white pop.
353
+
354
+ ### Semantic
355
+ - **Success** (`{colors.badge-success}` — `#2b9a66`): inline success badges and "running" status pills on model cards.
356
+ - **Link** (`{colors.link}` — `#ea2804`): inline link colour — same as primary orange, intentionally pulling links into the brand accent.
357
+ - **Focus Ring** (`{colors.ring-focus}` — `rgba(59,130,246,0.5)`): the default focus ring on interactive elements.
358
+ - **GitHub Dark** (`{colors.github-dark}` — `#24292e`): the GitHub-branded button surface (kept off-brand-on-purpose to match GitHub's own tokens).
359
+
360
+ ## Typography
361
+
362
+ ### Font Family
363
+
364
+ Replicate ships a deliberate three-family stack:
365
+
366
+ - **rb-freigeist-neue** — proprietary heavy grotesque used for all display sizes (30px+). Carries the editorial-magazine personality through tight `lineHeight: 1.0` and negative letter-spacing.
367
+ - **basier-square** — proprietary humanist sans-serif used for body, button labels, captions, and metadata.
368
+ - **jetbrains-mono** — open-source monospace used in every code well and inline command.
369
+
370
+ When proprietary families cannot be licensed, **Bricolage Grotesque** or **Migra** are credible substitutes for rb-freigeist-neue, and **Geist** or **Inter** can stand in for basier-square. JetBrains Mono is open-source and should always be used directly.
371
+
372
+ ### Hierarchy
373
+
374
+ | Token | Size | Weight | Line Height | Letter Spacing | Use |
375
+ |---|---|---|---|---|---|
376
+ | `{typography.display-xxl}` | 128px | 700 | 1.0 | -3px | The single hero "Run AI" / "Imagine what you can build" headline. One per page. |
377
+ | `{typography.display-xl}` | 72px | 700 | 1.0 | -1.8px | Section openers ("How it works", "Scale on Replicate"). |
378
+ | `{typography.display-lg}` | 48px | 700 | 1.0 | -1px | Sub-section titles, pricing tier names. |
379
+ | `{typography.display-md}` | 30px | 600 | 1.2 | -0.5px | Feature card titles. |
380
+ | `{typography.heading-lg}` | 38.4px | 600 | 0.83 | -0.5px | Tightly-stacked basier-square headlines, used in pricing and enterprise hero. |
381
+ | `{typography.heading-md}` | 24px | 600 | 1.33 | -0.35px | Card titles, model detail headers. |
382
+ | `{typography.heading-sm}` | 20px | 600 | 1.4 | -0.3px | List section headers. |
383
+ | `{typography.subtitle}` | 18px | 600 | 1.56 | 0 | Lead paragraphs in display sections. |
384
+ | `{typography.body-lg}` | 18px | 400 | 1.56 | 0 | Marketing prose. |
385
+ | `{typography.body-md}` | 16px | 400 | 1.5 | 0 | Default body. |
386
+ | `{typography.body-sm}` | 14px | 400 | 1.43 | 0 | Captions, metadata. |
387
+ | `{typography.button-md}` | 16px | 600 | 1.0 | 0 | Default button label. |
388
+ | `{typography.button-sm}` | 14px | 600 | 1.0 | 0 | Compact button label, sub-nav pills. |
389
+ | `{typography.caption}` | 12px | 400 | 1.33 | 0 | Footer disclosure, copyright. |
390
+ | `{typography.caption-tight}` | 14px | 600 | 1.43 | -0.35px | Emphatic small caption used in pricing tier rows. |
391
+ | `{typography.code-md}` | 14px | 400 | 1.43 | 0 | Code blocks and inline code. |
392
+ | `{typography.code-sm}` | 11px | 400 | 1.5 | 0 | Code-tab labels and small inline tokens. |
393
+
394
+ ### Principles
395
+ - Display sizes hold `lineHeight: 1.0` (or 0.83 on `{typography.heading-lg}`) so multi-line stacks read as single typographic blocks.
396
+ - Negative letter-spacing scales with size — bigger types tighten more (-3px at 128px down to -0.3px at 20px). Body type stays at 0.
397
+ - Body weight sits at 400 across `{typography.body-lg}` and `{typography.body-md}` — never bumped to 500 for emphasis. Emphasis comes from family change (basier-square → rb-freigeist-neue) rather than weight.
398
+ - Code is never set in basier-square, even at small sizes — JetBrains Mono carries every literal command, every model slug, every API call.
399
+
400
+ ### Note on Font Substitutes
401
+
402
+ When the proprietary families are unavailable, clamp display `lineHeight` to 1.0 explicitly and apply a -3% letter-spacing on display-xxl / display-xl to match the original tightness. Substitutes typically render with looser tracking by default.
403
+
404
+ ## Layout
405
+
406
+ ### Spacing System
407
+ - **Base unit**: 4px, with the working scale on multiples of 4 / 8 / 16.
408
+ - **Tokens**: `{spacing.xxs}` 2px · `{spacing.xs}` 4px · `{spacing.sm}` 8px · `{spacing.md}` 12px · `{spacing.lg}` 16px · `{spacing.xl}` 24px · `{spacing.xxl}` 32px · `{spacing.xxxl}` 48px · `{spacing.section}` 96px · `{spacing.band}` 160px.
409
+ - Section padding: `{spacing.section}` (96px) vertical between full-width bands; `{spacing.band}` (160px) when a band needs extra editorial breathing room (the hero, the closing "Imagine what you can build" stripe).
410
+ - Card internal padding: `{spacing.lg}` (16px) on `{component.model-card}`, `{spacing.xxl}` (32px) on `{component.pricing-tier}`.
411
+
412
+ ### Grid & Container
413
+ - **Max content width** ≈ 1280px on body sections, 1440px on hero bands which run full-bleed.
414
+ - **Model grid** on collections: 4 columns at desktop, 3 at tablet large, 2 at tablet, 1 at mobile.
415
+ - **Pricing**: 3-tier grid centred at desktop, stacking vertically below 1024px; the centre tier flips to `{component.pricing-tier-featured}` (dark inversion) as the recommended option.
416
+ - **Code-story sections**: a 2-up split — narrative copy left, code well right — collapsing to stacked at < 1024px.
417
+
418
+ ### Whitespace Philosophy
419
+ - Whitespace on cream is generous and editorial — sections breathe at 96px and key bands open at 160px so the typography can scale up without feeling cramped.
420
+ - Inside cards, the system tightens to 16–32px so model thumbnails, statuses, and metadata sit in a compact list-of-cards rhythm.
421
+ - Hairline `{colors.hairline}` dividers replace shadow on cream surfaces; on dark surfaces, `{colors.divider-dark}` carries the equivalent role.
422
+
423
+ ## Elevation & Depth
424
+
425
+ | Level | Treatment | Use |
426
+ |---|---|---|
427
+ | 0 — flat | No shadow, no border | Default cream canvas, full-bleed bands. |
428
+ | 1 — outline | 1px solid `{colors.hairline}` or `{colors.hairline-strong}` | Model cards, pricing tiers, collection tiles. |
429
+ | 2 — bone inset | Surface colour shift to `{colors.surface-bone}` inside a `{colors.canvas}` band | Feature group containers, "How it works" walkthrough. |
430
+ | 3 — dark inversion | Card swaps to `{colors.surface-dark}` against cream | Code wells, featured pricing tier, "Scale on Replicate" hero card. |
431
+ | 4 — soft drop | `0 8px 24px rgba(32,32,32,0.08)` | Hover-anchored model thumbnails (visual only — not interaction-state-documented). |
432
+
433
+ Drop shadows exist in the extracted tokens but are restrained — used sparingly to lift photography thumbnails one step off the cream canvas. The dominant elevation language is colour-blocking.
434
+
435
+ ### Decorative Depth
436
+ - **Hero atmospheric mesh** — the orange-to-pink gradient backing the home hero is a layered radial mesh: `{colors.primary}` core → `{colors.hero-glow}` mid-stop → `{colors.hero-pink}` outer wash. Reserved for the home hero band only.
437
+ - **Code-story dark band** — the "How it works" section uses `{colors.surface-dark}` full-bleed with a single hairline `{colors.divider-dark}` separating narrative copy and code well.
438
+ - **Contributor mosaic** — the home page features a horizontally-scrolling band of circular avatars (`{component.contributor-avatar}`) over a textured cream canvas; this is the only place avatars appear at the brand level.
439
+
440
+ ## Shapes
441
+
442
+ ### Border Radius Scale
443
+
444
+ | Token | Value | Use |
445
+ |---|---|---|
446
+ | `{rounded.none}` | 0px | Hero bands, full-bleed sections, footer. |
447
+ | `{rounded.xs}` | 4px | Code tabs, inline tags inside code wells. |
448
+ | `{rounded.sm}` | 6px | Mid-radius callouts, small inset chips. |
449
+ | `{rounded.md}` | 10px | Model cards, collection tiles, code wells. |
450
+ | `{rounded.lg}` | 16px | Pricing tiers, larger feature cards. |
451
+ | `{rounded.full}` | 9999px | Buttons, inputs, badges, avatars, pills. |
452
+
453
+ ### Photography Geometry
454
+ - Model thumbnails: square (1:1) with `{rounded.md}` corners, full-bleed image to the card edge.
455
+ - Hero example outputs: 4:3 or 16:9 with `{rounded.md}` corners.
456
+ - Contributor avatars: circular (`{rounded.full}`), 40px on home, 32px in card metadata.
457
+ - The hero band uses a stylised black-ink illustration (the "tinkerer at the workbench") as its photography stand-in — kept inside the orange band rather than overlaid on cream.
458
+
459
+ ## Components
460
+
461
+ ### Buttons
462
+
463
+ **`button-primary`** — orange CTA
464
+ - Background `{colors.primary}`, label `{colors.on-primary}`, type `{typography.button-md}`, padding `12px 24px`, `rounded: {rounded.full}`, height 44px.
465
+ - The single most important action on a page (e.g. "Sign in with GitHub", "Try a model").
466
+ - Pressed state lives in `button-primary-pressed` (background `{colors.primary-deep}`).
467
+
468
+ **`button-dark`** — dark CTA
469
+ - Background `{colors.surface-dark}`, label `{colors.on-dark}`, type `{typography.button-md}`, `rounded: {rounded.full}`.
470
+ - Equal-weight secondary action paired with `{component.button-primary}`, or the primary action on cream when orange would be too loud.
471
+
472
+ **`button-outline`** — outlined CTA
473
+ - Background `{colors.surface-card}`, label `{colors.ink}`, 1px solid `{colors.hairline-strong}`, type `{typography.button-md}`, `rounded: {rounded.full}`.
474
+ - Tertiary action; appears alongside primary/dark for "View docs", "Read more".
475
+
476
+ **`button-ghost`** — inline button
477
+ - Background `{colors.canvas}`, label `{colors.ink}`, no border, type `{typography.button-md}`, `rounded: {rounded.full}`, padding `8px 16px`.
478
+ - Sub-actions inside cards and inline with body copy.
479
+
480
+ **`button-icon`** — icon button
481
+ - Background `{colors.surface-card}`, label `{colors.ink}`, 1px solid `{colors.hairline}`, `rounded: {rounded.full}`, 36×36px circular.
482
+ - Carousel arrows, copy-to-clipboard, GitHub link icon.
483
+
484
+ ### Cards & Containers
485
+
486
+ **`model-card`** — model listing card
487
+ - Background `{colors.surface-card}`, text `{colors.ink}`, type `{typography.body-md}`, `rounded: {rounded.md}`, padding `{spacing.lg}` (16px).
488
+ - Square thumbnail on top, model owner + name beneath in `{typography.body-sm}`, single-line description in `{colors.charcoal}`, status pill `{component.badge-status}` bottom-left.
489
+
490
+ **`collection-tile`** — collection-of-models tile
491
+ - Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.heading-md}`, `rounded: {rounded.md}`, padding `{spacing.xl}` (24px).
492
+ - Cream-on-cream tile inside a `{colors.surface-bone}` band, used for browsing model categories.
493
+
494
+ **`pricing-tier`** — pricing tier card
495
+ - Background `{colors.surface-card}`, text `{colors.ink}`, type `{typography.body-md}`, `rounded: {rounded.lg}`, padding `{spacing.xxl}` (32px).
496
+ - 3-up grid; tier name in `{typography.display-lg}` ("Free", "Pro", "Enterprise"), price in `{typography.display-md}`.
497
+
498
+ **`pricing-tier-featured`** — featured pricing tier
499
+ - Background `{colors.surface-dark}`, text `{colors.on-dark}`, type `{typography.body-md}`, `rounded: {rounded.lg}`, padding `{spacing.xxl}`.
500
+ - Centre tier flipped to dark inversion to mark "recommended".
501
+
502
+ **`code-block`** — code well
503
+ - Background `{colors.surface-dark}`, text `{colors.on-dark}`, type `{typography.code-md}`, `rounded: {rounded.md}`, padding `{spacing.xl}` (24px).
504
+ - Tab strip on top using `{component.code-tab}` for switching between languages (Python, Node.js, cURL, HTTP).
505
+
506
+ **`code-tab`** — code tab chip
507
+ - Background `{colors.surface-deep}`, text `{colors.on-dark-mute}`, type `{typography.code-sm}`, `rounded: {rounded.xs}`, padding `6px 12px`.
508
+ - Active tab swaps text colour to `{colors.on-dark}` and adds a 2px bottom underline in `{colors.primary}`.
509
+
510
+ **`hero-band`** — full-bleed hero
511
+ - Background `{colors.hero-warm}` with the atmospheric mesh detailed in Elevation, text `{colors.on-dark}`, type `{typography.display-xxl}` for the title.
512
+ - Used only on the home page; secondary pages open with cream + `{typography.display-xl}`.
513
+
514
+ ### Inputs & Forms
515
+
516
+ **`text-input`** — default input
517
+ - Background `{colors.surface-card}`, text `{colors.ink}`, type `{typography.body-md}`, 1px solid `{colors.hairline}`, `rounded: {rounded.full}`, padding `12px 20px`, height 44px.
518
+ - Pill-shaped search and email fields. Focus state adds a `{colors.ring-focus}` 3px ring.
519
+
520
+ ### Navigation
521
+
522
+ **`nav-bar`** — top nav (desktop)
523
+ - Background `{colors.canvas}`, type `{typography.button-sm}`, height 60px, single hairline `{colors.hairline}` bottom border.
524
+ - Left: wordmark logo. Centre: top-level nav ("Explore", "Pricing", "Docs", "Blog"). Right: GitHub icon + "Sign in" link + `{component.button-primary}`.
525
+
526
+ **`nav-bar`** (mobile)
527
+ - Same height 60px, collapses centre nav into a hamburger icon. Logo stays left, sign-in CTA stays right.
528
+
529
+ **`sub-nav-pill`** — sub-nav chip
530
+ - Pill chips set in a horizontal row above content (e.g. "All", "Featured", "Image generation", "Audio"), `{component.sub-nav-pill}` styling.
531
+
532
+ ### Signature Components
533
+
534
+ **`badge-status`** — model status badge
535
+ - Background `{colors.badge-success}`, label `{colors.on-dark}`, type `{typography.caption}`, `rounded: {rounded.full}`, padding `4px 10px`.
536
+ - Anchored on the bottom-left of model cards to indicate "running" or "deployed".
537
+
538
+ **`badge-tag`** — neutral tag
539
+ - Background `{colors.canvas}`, label `{colors.ink}`, 1px solid `{colors.hairline}`, type `{typography.caption}`, `rounded: {rounded.full}`, padding `4px 10px`.
540
+ - Capability tags ("text-to-image", "video", "audio") on model cards.
541
+
542
+ **`contributor-avatar`** — community contributor
543
+ - Background `{colors.surface-card}` placeholder behind 1:1 photography, `rounded: {rounded.full}`, 40×40px (32px in metadata contexts).
544
+ - Used in the home-page contributor mosaic.
545
+
546
+ **`footer`** — global footer
547
+ - Background `{colors.surface-deep}`, text `{colors.on-dark}`, type `{typography.body-sm}`, `rounded: {rounded.none}`, padding `64px 32px`.
548
+ - Multi-column quick-links grid above a copyright row separated by `{colors.divider-dark}`.
549
+
550
+ ## Do's and Don'ts
551
+
552
+ ### Do
553
+ - Use `{colors.canvas}` (cream) as the default page background. White (`{colors.surface-card}`) appears only on individual cards, inputs, and the hero illustration backdrop.
554
+ - Reserve `{colors.primary}` for the primary CTA, the home hero band, and inline links — three roles, nothing else.
555
+ - Set every interactive element to `{rounded.full}` — buttons, inputs, badges, avatars, pills.
556
+ - Step content cards up to `{rounded.md}` (10px) or `{rounded.lg}` (16px) — never sharp corners.
557
+ - Open hero bands with `{typography.display-xxl}` (128px) and `{typography.display-xl}` (72px) at `lineHeight: 1.0` with negative letter-spacing.
558
+ - Use `rb-freigeist-neue` for all display, `basier-square` for UI/body, `jetbrains-mono` for code. Keep the lanes strict.
559
+ - Render code in `{component.code-block}` with a `{colors.surface-dark}` background — code is print, not an inline grey box.
560
+ - Pair photography with `{rounded.md}` corners and full-bleed crop inside cards.
561
+
562
+ ### Don't
563
+ - Don't replace cream with pure white at the page level. The brand temperature comes from `{colors.canvas}`.
564
+ - Don't introduce a secondary brand colour. Orange is the only accent; semantic green and focus blue are functional, not decorative.
565
+ - Don't loosen display `lineHeight` past 1.0. Tight stacking is structural.
566
+ - Don't bump body weight to 500 for emphasis — change family (`basier-square` → `rb-freigeist-neue`) instead.
567
+ - Don't apply `{rounded.full}` to content cards. Pill-shaped cards break the rhythm.
568
+ - Don't put code in a light grey box. Code wells are always `{colors.surface-dark}` or `{colors.surface-deep}`.
569
+ - Don't use orange on body text or large surfaces — it loses its stamp quality immediately.
570
+ - Don't add drop shadows on cream surfaces. Elevation is colour-blocking; shadows are reserved for floating thumbnails.
571
+
572
+ ## Responsive Behavior
573
+
574
+ ### Breakpoints
575
+
576
+ | Name | Width | Key Changes |
577
+ |---|---|---|
578
+ | Desktop XL | ≥ 1440px | Full max-width 1280 body, hero band runs full-bleed, 4-up model grid. |
579
+ | Desktop | 1280–1439px | Container shrinks; padding `{spacing.xl}` (24px) sides. |
580
+ | Tablet Large | 1024–1279px | Model grid 3-up, code-story splits remain 2-up. |
581
+ | Tablet | 768–1023px | Model grid 2-up, code-story stacks (narrative on top, code below), pricing stacks vertically. |
582
+ | Mobile Large | 426–767px | Model grid 1-up at 480px+, nav collapses to hamburger, hero `{typography.display-xxl}` clamps to 64px. |
583
+ | Mobile | ≤ 425px | All grids 1-up, hero clamps to 48px, section padding `{spacing.section}` collapses to 64px. |
584
+
585
+ ### Touch Targets
586
+ - All buttons ship at minimum 44px tall on mobile; default `{component.button-primary}` is 44px tall — comfortably clearing WCAG AAA.
587
+ - `{component.button-icon}` (36px) is bumped to 44px on mobile via increased padding.
588
+ - `{component.sub-nav-pill}` stays at 36px on desktop and grows to 40px on mobile via vertical padding adjustment.
589
+
590
+ ### Collapsing Strategy
591
+ - Top-level nav collapses to hamburger at < 1024px; the wordmark and `{component.button-primary}` stay anchored.
592
+ - Hero `{typography.display-xxl}` clamps: 128px → 96px → 64px → 48px across the breakpoint ladder.
593
+ - Pricing 3-up grid stacks vertically at < 1024px with the featured tier remaining centre-stacked.
594
+ - Code-story splits switch from side-by-side to stacked at < 1024px, code well always second.
595
+ - Sub-nav pills convert from a wrap row to a horizontal scroll-rail at < 768px.
596
+
597
+ ### Image Behavior
598
+ - Model thumbnails serve at 1.5× and 2× DPR; below 768px the system swaps to a 600×600 export instead of 1200×1200.
599
+ - Hero atmospheric mesh is rendered as a CSS gradient — no asset cost, no breakpoint variation.
600
+ - Code-block contents wrap softly at < 1024px (no horizontal scroll); long lines break with a continuation marker.
601
+
602
+ ## Iteration Guide
603
+
604
+ 1. Focus on ONE component at a time. Most interactive elements share `{rounded.full}` and the `{colors.canvas}` / `{colors.surface-card}` pair — only the role-specific tokens (`{colors.primary}`, `{component.code-block}`) shift between variants.
605
+ 2. Reference component names and tokens directly (`{colors.primary}`, `{component.button-primary-pressed}`, `{rounded.lg}`) — do not paraphrase.
606
+ 3. Run `npx @google/design.md lint DESIGN.md` after edits; orphaned-tokens warnings will catch unused entries.
607
+ 4. Add new variants as separate entries (`-pressed`, `-disabled`, `-featured`) — do not bury them in prose.
608
+ 5. Default body type to `{typography.body-md}`; reach for `{typography.subtitle}` only on hero subtitles.
609
+ 6. Keep `{colors.primary}` scarce — if more than one orange element appears per viewport, ask whether one should drop to `{colors.surface-dark}` instead.
610
+
611
+ ## Known Gaps
612
+
613
+ - Active/pressed visual states are documented for `button-primary-pressed` only; other components rely on the focus-ring (`{colors.ring-focus}`) for interactive feedback, which is not extracted as a per-component variant.
614
+ - The model playground / try-this-model interactive surfaces (logged-in feature) are out of scope; only the public marketing canvas is documented.
615
+ - Dashboard / billing / API key management surfaces are not extracted — those live behind authentication.
616
+ - The home hero illustration ("the tinkerer at the workbench") is treated as decorative artwork, not a system component; replicating it requires bespoke illustration rather than tokens.
@@ -0,0 +1,5 @@
1
+ # Replicate Inspired Design System
2
+
3
+ Design system details have been moved to: https://getdesign.md/replicate/design-md
4
+
5
+ You can also view previews, dark mode examples, and download options on getdesign.md.