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,585 @@
1
+ ---
2
+ version: alpha
3
+ name: Resend
4
+ description: |
5
+ Resend's marketing surfaces sit on a near-pure black canvas with off-white
6
+ text and a single signature color — the deep editorial-serif Domaine
7
+ Display headline mark — that gives an otherwise utilitarian developer-tool
8
+ brand its print-magazine confidence. The system pairs Domaine Display
9
+ (oversized 76px–96px serif, ss01/ss04/ss11 features on) with ABC Favorit
10
+ for body and Inter for UI. Surfaces rely on subtle 6–9% opacity gradient
11
+ glows, hairline 1px borders made from translucent white, and a strict
12
+ rounded-12px container vocabulary. There is no decorative chrome — just
13
+ type, code, and atmospheric depth.
14
+
15
+ colors:
16
+ primary: "#fcfdff"
17
+ primary-on: "#000000"
18
+ ink: "#fcfdff"
19
+ body: "rgba(252,253,255,0.86)"
20
+ charcoal: "rgba(252,253,255,0.7)"
21
+ mute: "#a1a4a5"
22
+ ash: "#888e90"
23
+ stone: "#464a4d"
24
+ on-light: "#000000"
25
+ on-light-mute: "rgba(0,0,51,0.7)"
26
+ canvas: "#000000"
27
+ surface-card: "#0a0a0c"
28
+ surface-elevated: "#101012"
29
+ surface-deep: "#06060a"
30
+ hairline: "rgba(255,255,255,0.06)"
31
+ hairline-strong: "rgba(255,255,255,0.14)"
32
+ divider-soft: "rgba(255,255,255,0.04)"
33
+ accent-orange: "#ff801f"
34
+ accent-orange-glow: "rgba(255,89,0,0.22)"
35
+ accent-yellow: "#ffc53d"
36
+ accent-blue: "#3b9eff"
37
+ accent-blue-glow: "rgba(0,117,255,0.34)"
38
+ accent-green: "#11ff99"
39
+ accent-green-glow: "rgba(34,255,153,0.18)"
40
+ accent-red: "#ff2047"
41
+ accent-red-glow: "rgba(255,32,71,0.34)"
42
+ link: "#3b9eff"
43
+ surface-light: "#f1f7fe"
44
+
45
+ typography:
46
+ display-xxl:
47
+ fontFamily: Domaine Display
48
+ fontSize: 96px
49
+ fontWeight: 400
50
+ lineHeight: 1.0
51
+ letterSpacing: -0.96px
52
+ fontFeature: "ss01, ss04, ss11"
53
+ display-xl:
54
+ fontFamily: Domaine Display
55
+ fontSize: 76.8px
56
+ fontWeight: 400
57
+ lineHeight: 1.0
58
+ letterSpacing: -0.768px
59
+ fontFeature: "ss01, ss04, ss11"
60
+ display-lg:
61
+ fontFamily: ABC Favorit
62
+ fontSize: 56px
63
+ fontWeight: 400
64
+ lineHeight: 1.2
65
+ letterSpacing: -2.8px
66
+ fontFeature: "ss01, ss04, ss11"
67
+ heading-md:
68
+ fontFamily: Inter
69
+ fontSize: 24px
70
+ fontWeight: 500
71
+ lineHeight: 1.5
72
+ letterSpacing: -0.4px
73
+ heading-sm:
74
+ fontFamily: Inter
75
+ fontSize: 20px
76
+ fontWeight: 500
77
+ lineHeight: 1.3
78
+ letterSpacing: -0.3px
79
+ subtitle:
80
+ fontFamily: ABC Favorit
81
+ fontSize: 20px
82
+ fontWeight: 400
83
+ lineHeight: 1.3
84
+ fontFeature: "ss01, ss04, ss11"
85
+ body-lg:
86
+ fontFamily: Inter
87
+ fontSize: 18px
88
+ fontWeight: 400
89
+ lineHeight: 1.5
90
+ body-md:
91
+ fontFamily: ABC Favorit
92
+ fontSize: 16px
93
+ fontWeight: 400
94
+ lineHeight: 1.5
95
+ letterSpacing: -0.8px
96
+ fontFeature: "ss01, ss04, ss11"
97
+ body-sm:
98
+ fontFamily: Inter
99
+ fontSize: 14px
100
+ fontWeight: 400
101
+ lineHeight: 1.43
102
+ button-md:
103
+ fontFamily: Inter
104
+ fontSize: 14px
105
+ fontWeight: 500
106
+ lineHeight: 1.43
107
+ button-sm:
108
+ fontFamily: ABC Favorit
109
+ fontSize: 14px
110
+ fontWeight: 500
111
+ lineHeight: 1.43
112
+ letterSpacing: 0.35px
113
+ fontFeature: "ss01, ss03, ss04"
114
+ caption:
115
+ fontFamily: Inter
116
+ fontSize: 12px
117
+ fontWeight: 400
118
+ lineHeight: 1.5
119
+ caption-emph:
120
+ fontFamily: Helvetica
121
+ fontSize: 14px
122
+ fontWeight: 600
123
+ lineHeight: 1.0
124
+ code-md:
125
+ fontFamily: Geist Mono
126
+ fontSize: 13px
127
+ fontWeight: 400
128
+ lineHeight: 1.6
129
+
130
+ rounded:
131
+ none: 0px
132
+ xs: 4px
133
+ sm: 6px
134
+ md: 8px
135
+ lg: 12px
136
+ xl: 16px
137
+ full: 9999px
138
+
139
+ spacing:
140
+ xxs: 2px
141
+ xs: 4px
142
+ sm: 8px
143
+ md: 12px
144
+ lg: 16px
145
+ xl: 24px
146
+ xxl: 32px
147
+ xxxl: 48px
148
+ section: 96px
149
+ band: 128px
150
+
151
+ components:
152
+ button-primary:
153
+ backgroundColor: "{colors.primary}"
154
+ textColor: "{colors.primary-on}"
155
+ typography: "{typography.button-md}"
156
+ rounded: "{rounded.md}"
157
+ padding: 8px 16px
158
+ height: 36px
159
+ button-primary-pressed:
160
+ backgroundColor: "{colors.surface-light}"
161
+ textColor: "{colors.primary-on}"
162
+ typography: "{typography.button-md}"
163
+ rounded: "{rounded.md}"
164
+ button-ghost:
165
+ backgroundColor: "{colors.surface-elevated}"
166
+ textColor: "{colors.ink}"
167
+ typography: "{typography.button-md}"
168
+ rounded: "{rounded.md}"
169
+ padding: 8px 16px
170
+ height: 36px
171
+ button-outline:
172
+ backgroundColor: "{colors.canvas}"
173
+ textColor: "{colors.ink}"
174
+ typography: "{typography.button-md}"
175
+ rounded: "{rounded.md}"
176
+ padding: 7px 15px
177
+ height: 36px
178
+ text-input:
179
+ backgroundColor: "{colors.surface-card}"
180
+ textColor: "{colors.ink}"
181
+ typography: "{typography.body-sm}"
182
+ rounded: "{rounded.md}"
183
+ padding: 10px 14px
184
+ height: 40px
185
+ hero-stripe:
186
+ backgroundColor: "{colors.canvas}"
187
+ textColor: "{colors.ink}"
188
+ typography: "{typography.display-xxl}"
189
+ rounded: "{rounded.none}"
190
+ padding: 96px 32px
191
+ feature-card:
192
+ backgroundColor: "{colors.surface-card}"
193
+ textColor: "{colors.ink}"
194
+ typography: "{typography.body-md}"
195
+ rounded: "{rounded.lg}"
196
+ padding: 32px
197
+ feature-card-bordered:
198
+ backgroundColor: "{colors.surface-card}"
199
+ textColor: "{colors.ink}"
200
+ typography: "{typography.body-md}"
201
+ rounded: "{rounded.lg}"
202
+ padding: 32px
203
+ pricing-tier:
204
+ backgroundColor: "{colors.surface-card}"
205
+ textColor: "{colors.ink}"
206
+ typography: "{typography.body-md}"
207
+ rounded: "{rounded.lg}"
208
+ padding: 32px
209
+ pricing-tier-featured:
210
+ backgroundColor: "{colors.surface-elevated}"
211
+ textColor: "{colors.ink}"
212
+ typography: "{typography.body-md}"
213
+ rounded: "{rounded.lg}"
214
+ padding: 32px
215
+ code-window:
216
+ backgroundColor: "{colors.surface-deep}"
217
+ textColor: "{colors.body}"
218
+ typography: "{typography.code-md}"
219
+ rounded: "{rounded.lg}"
220
+ padding: 24px
221
+ code-tab:
222
+ backgroundColor: "{colors.surface-card}"
223
+ textColor: "{colors.charcoal}"
224
+ typography: "{typography.code-md}"
225
+ rounded: "{rounded.sm}"
226
+ padding: 6px 12px
227
+ email-mockup:
228
+ backgroundColor: "{colors.surface-card}"
229
+ textColor: "{colors.ink}"
230
+ typography: "{typography.body-md}"
231
+ rounded: "{rounded.lg}"
232
+ padding: 0
233
+ badge-pill:
234
+ backgroundColor: "{colors.surface-elevated}"
235
+ textColor: "{colors.body}"
236
+ typography: "{typography.caption}"
237
+ rounded: "{rounded.full}"
238
+ padding: 4px 10px
239
+ status-dot:
240
+ backgroundColor: "{colors.accent-green}"
241
+ rounded: "{rounded.full}"
242
+ size: 8px
243
+ nav-bar:
244
+ backgroundColor: "{colors.canvas}"
245
+ textColor: "{colors.body}"
246
+ typography: "{typography.button-sm}"
247
+ rounded: "{rounded.none}"
248
+ height: 64px
249
+ sub-nav-pill:
250
+ backgroundColor: "{colors.surface-elevated}"
251
+ textColor: "{colors.body}"
252
+ typography: "{typography.button-sm}"
253
+ rounded: "{rounded.full}"
254
+ padding: 6px 14px
255
+ contributor-avatar:
256
+ backgroundColor: "{colors.surface-card}"
257
+ rounded: "{rounded.full}"
258
+ size: 32px
259
+ footer:
260
+ backgroundColor: "{colors.canvas}"
261
+ textColor: "{colors.charcoal}"
262
+ typography: "{typography.body-sm}"
263
+ rounded: "{rounded.none}"
264
+ padding: 64px 32px
265
+ ---
266
+
267
+ ## Overview
268
+
269
+ Resend looks like a developer tool with the typography of an editorial.
270
+ Every page opens on `{colors.canvas}` (`#000000`), and the loudest element on
271
+ the canvas is not a button or a brand stamp — it's a 96px Domaine Display
272
+ serif headline ("Email for developers", "Email reimagined") with the
273
+ `ss01 / ss04 / ss11` stylistic alternates engaged. That single typographic
274
+ decision sets the brand tone: confident, considered, slightly literary, and
275
+ priced on quality rather than novelty.
276
+
277
+ The supporting cast is technical. Body copy switches to **ABC Favorit** for
278
+ marketing prose and **Inter** for UI labels, while code blocks render in
279
+ **Geist Mono** inside `{component.code-window}` shells with hairline traffic-
280
+ light dots. Surface depth is built almost entirely from translucent white —
281
+ 6% borders, 14% strong borders, 4% dividers — over a deep `{colors.surface-deep}`
282
+ layer that sits just below the canvas black. There are no gradients painted
283
+ across full bands, just **soft atmospheric glows** (orange, blue, green, red,
284
+ yellow) anchored at the top of select sections, all at low opacity.
285
+
286
+ Page rhythm cycles in a single dark register: hero stripe → atmospheric
287
+ section → code window section → email mockup section → pricing or feature
288
+ grid → black footer. The brand never warms to a light surface; even
289
+ secondary email mockups are rendered as compact white cards inside the dark
290
+ canvas, framed like print insets in a black-bordered magazine page.
291
+
292
+ **Key Characteristics:**
293
+ - Pure black canvas (`{colors.canvas}` — `#000000`) on every public page; off-white text (`{colors.ink}` — `#fcfdff`) carries the full read.
294
+ - A serif-led type system: **Domaine Display** at 76–96px for hero headlines, **ABC Favorit** for marketing body, **Inter** for UI, **Geist Mono** for code.
295
+ - Six accent glow colours used only as low-opacity atmospheric washes (`{colors.accent-orange}`, `{colors.accent-blue}`, `{colors.accent-green}`, `{colors.accent-red}`, `{colors.accent-yellow}`) — never as buttons or solid surfaces.
296
+ - Strict container vocabulary: `{rounded.lg}` (12px) for feature cards, code wells, and email mockups; `{rounded.md}` (8px) for buttons; `{rounded.full}` for pills and avatars.
297
+ - Translucent white borders (`{colors.hairline}` 6% / `{colors.hairline-strong}` 14%) replace shadows entirely — the system has no traditional drop-shadow elevation language.
298
+ - `{component.button-primary}` is a small white rectangle with black text — counterintuitive contrast that becomes the page's brightest pixel and works as a single visual anchor.
299
+
300
+ ## Colors
301
+
302
+ ### Brand & Accent
303
+ - **Primary White** (`{colors.primary}` — `#fcfdff`): the brand's de facto accent. Reserved for `{component.button-primary}` (white pill on black canvas), Domaine display headlines, and the active text colour. White is the loudest possible colour on this canvas — that's the signature.
304
+ - **Primary On** (`{colors.primary-on}` — `#000000`): label colour on top of `{colors.primary}` surfaces. Black text on white pill is the brand's CTA pattern.
305
+ - **Surface Light** (`{colors.surface-light}` — `#f1f7fe`): a subtle blue-tinted off-white used as the active/pressed state of `{component.button-primary}`.
306
+
307
+ ### Surface
308
+ - **Canvas** (`{colors.canvas}` — `#000000`): the default page background. True black, never near-black.
309
+ - **Surface Card** (`{colors.surface-card}` — `#0a0a0c`): the standard inset card surface, just lighter than canvas to register a step up in elevation.
310
+ - **Surface Elevated** (`{colors.surface-elevated}` — `#101012`): a second elevation step used on featured pricing tiers and ghost button surfaces.
311
+ - **Surface Deep** (`{colors.surface-deep}` — `#06060a`): code window background — slightly cooler and darker than the canvas itself, suggesting depth via temperature.
312
+ - **Hairline** (`{colors.hairline}` — `rgba(255,255,255,0.06)`): the soft 1px translucent-white divider used between rows and around feature cards.
313
+ - **Hairline Strong** (`{colors.hairline-strong}` — `rgba(255,255,255,0.14)`): the structural 1px border on cards, code wells, and form inputs.
314
+ - **Divider Soft** (`{colors.divider-soft}` — `rgba(255,255,255,0.04)`): low-contrast dividers between footer columns.
315
+
316
+ ### Text
317
+ - **Ink** (`{colors.ink}` — `#fcfdff`): primary text colour on the dark canvas. Faintly blue-cool to feel like printed paper rather than pure white pop.
318
+ - **Body** (`{colors.body}` — `rgba(252,253,255,0.86)`): long-form body text where pure ink would feel too sharp.
319
+ - **Charcoal** (`{colors.charcoal}` — `rgba(252,253,255,0.7)`): captions, secondary nav labels.
320
+ - **Mute** (`{colors.mute}` — `#a1a4a5`): supporting text and inactive labels.
321
+ - **Ash** (`{colors.ash}` — `#888e90`): tertiary text, footer copy.
322
+ - **Stone** (`{colors.stone}` — `#464a4d`): disabled foreground.
323
+ - **On-Light** (`{colors.on-light}` — `#000000`): label colour inside the rare email-mockup white cards.
324
+ - **On-Light Mute** (`{colors.on-light-mute}` — `rgba(0,0,51,0.7)`): secondary text inside email mockups.
325
+
326
+ ### Semantic
327
+ - **Accent Orange** (`{colors.accent-orange}` — `#ff801f`) + glow (`{colors.accent-orange-glow}` — `rgba(255,89,0,0.22)`): atmospheric warm wash anchored to "Email reimagined" / customer story sections. Solid orange never appears as a button or surface — only the glow.
328
+ - **Accent Yellow** (`{colors.accent-yellow}` — `#ffc53d`): used in inline highlight strokes and "first-class developer experience" key callouts.
329
+ - **Accent Blue** (`{colors.accent-blue}` — `#3b9eff`) + glow (`{colors.accent-blue-glow}` — `rgba(0,117,255,0.34)`): inline link colour and the cool atmospheric wash on the "Integrate this weekend" section.
330
+ - **Accent Green** (`{colors.accent-green}` — `#11ff99`) + glow (`{colors.accent-green-glow}` — `rgba(34,255,153,0.18)`): success status dots and the "delivery confirmed" feature glow.
331
+ - **Accent Red** (`{colors.accent-red}` — `#ff2047`) + glow (`{colors.accent-red-glow}` — `rgba(255,32,71,0.34)`): inline error red and the "reach humans, not spam folders" attention wash.
332
+ - **Link** (`{colors.link}` — `#3b9eff`): inline link colour — same as accent blue.
333
+
334
+ ## Typography
335
+
336
+ ### Font Family
337
+
338
+ Resend ships a four-family stack:
339
+
340
+ - **Domaine Display** — proprietary editorial serif used exclusively for hero headlines at 76px+, with `ss01 / ss04 / ss11` stylistic sets engaged for a slightly tighter, more print-magazine look.
341
+ - **ABC Favorit** — proprietary humanist sans-serif used for marketing body copy, hero subtitles, and pill labels. Carries `ss01 / ss03 / ss04` features for tabular figures and alternate glyphs.
342
+ - **Inter** — open-source sans-serif used for UI: button labels, captions, card body text, nav links.
343
+ - **Geist Mono** — open-source monospace used in code wells.
344
+
345
+ When proprietary families cannot be licensed, **Söhne** or **Tiempos Headline** stand in for Domaine Display, and **Geist** or **Inter Tight** can replace ABC Favorit. Inter and Geist Mono are open-source and should be used directly.
346
+
347
+ ### Hierarchy
348
+
349
+ | Token | Size | Weight | Line Height | Letter Spacing | Use |
350
+ |---|---|---|---|---|---|
351
+ | `{typography.display-xxl}` | 96px | 400 | 1.0 | -0.96px | Home hero ("Email for developers"). One per page. |
352
+ | `{typography.display-xl}` | 76.8px | 400 | 1.0 | -0.768px | Section openers ("Email reimagined", "Available today"). |
353
+ | `{typography.display-lg}` | 56px | 400 | 1.2 | -2.8px | ABC Favorit display sub-titles. |
354
+ | `{typography.heading-md}` | 24px | 500 | 1.5 | -0.4px | Card titles, section sub-titles. |
355
+ | `{typography.heading-sm}` | 20px | 500 | 1.3 | -0.3px | List headers. |
356
+ | `{typography.subtitle}` | 20px | 400 | 1.3 | 0 | Hero subtitles. |
357
+ | `{typography.body-lg}` | 18px | 400 | 1.5 | 0 | Marketing prose. |
358
+ | `{typography.body-md}` | 16px | 400 | 1.5 | -0.8px | ABC Favorit body. |
359
+ | `{typography.body-sm}` | 14px | 400 | 1.43 | 0 | Captions, metadata. |
360
+ | `{typography.button-md}` | 14px | 500 | 1.43 | 0 | Default button label. |
361
+ | `{typography.button-sm}` | 14px | 500 | 1.43 | 0.35px | Pill labels, inline links. |
362
+ | `{typography.caption}` | 12px | 400 | 1.5 | 0 | Footer disclosure, copyright. |
363
+ | `{typography.caption-emph}` | 14px | 600 | 1.0 | 0 | Emphatic small caption — Helvetica fallback. |
364
+ | `{typography.code-md}` | 13px | 400 | 1.6 | 0 | Code blocks, inline code. |
365
+
366
+ ### Principles
367
+ - Display sizes always run at `lineHeight: 1.0` with negative letter-spacing — the Domaine Display headlines pack into solid typographic blocks rather than open prose lines.
368
+ - Body weight stays at 400 across `{typography.body-lg}` and `{typography.body-md}`. The serif/sans family change carries hierarchy, not weight bumps.
369
+ - ABC Favorit always runs with `ss01 / ss04 / ss11` engaged; Inter never carries OpenType features. Code in Geist Mono never carries ligatures.
370
+ - Inline links use `{typography.button-sm}` with positive letter-spacing (`0.35px`) and ABC Favorit — the small spacing nudge gives interactive prose its precision.
371
+
372
+ ### Note on Font Substitutes
373
+
374
+ When Domaine Display is unavailable, clamp `lineHeight` to 1.0 explicitly and apply `font-feature-settings: "ss01", "liga"` on the substitute serif to mimic the alternate glyphs. Söhne or Tiempos Headline will read closest. ABC Favorit substitutes (Geist, Inter Tight) typically default to looser tracking — apply -0.5% letter-spacing on body sizes to compensate.
375
+
376
+ ## Layout
377
+
378
+ ### Spacing System
379
+ - **Base unit**: 4px, with the working scale on multiples of 4 / 8 / 16.
380
+ - **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}` 128px.
381
+ - Section padding: `{spacing.section}` (96px) vertical between bands; `{spacing.band}` (128px) on the hero stripe and closing footer transition.
382
+ - Card internal padding: `{spacing.xxl}` (32px) on `{component.feature-card}`, `{component.pricing-tier}`, and `{component.code-window}`.
383
+
384
+ ### Grid & Container
385
+ - **Max content width** ≈ 1200px on body sections.
386
+ - **Feature grid**: 3 columns at desktop, 2 at tablet, 1 at mobile.
387
+ - **Pricing**: 3-tier grid centred at desktop; centre tier promotes to `{component.pricing-tier-featured}` (one-step-elevated surface).
388
+ - **Code-story splits**: a 2-up split — narrative copy left, `{component.code-window}` right — collapsing to stacked at < 1024px.
389
+ - **Email mockup band**: a single white card (640px max width) centred in the dark canvas with generous vertical padding to read like a print magazine inset.
390
+
391
+ ### Whitespace Philosophy
392
+ - Whitespace is editorial and generous — full-bleed sections breathe at 96–128px so Domaine Display headlines have room to register at scale.
393
+ - Inside cards, padding stays at 32px so feature copy and code wells have a consistent rhythm with the outer grid.
394
+ - Hairline `{colors.hairline}` and `{colors.hairline-strong}` carry the role drop shadows would in a brighter system; the dark canvas suppresses traditional shadow depth entirely.
395
+
396
+ ## Elevation & Depth
397
+
398
+ | Level | Treatment | Use |
399
+ |---|---|---|
400
+ | 0 — flat | No shadow, no border | Default canvas, full-bleed bands. |
401
+ | 1 — surface card | `{colors.surface-card}` (`#0a0a0c`) + 1px `{colors.hairline-strong}` | Feature cards, pricing tiers, form inputs. |
402
+ | 2 — elevated | `{colors.surface-elevated}` (`#101012`) + 1px `{colors.hairline-strong}` | Featured pricing tier, ghost button. |
403
+ | 3 — code well | `{colors.surface-deep}` (`#06060a`) + 1px `{colors.hairline-strong}` | Code window, terminal shells. |
404
+ | 4 — atmospheric glow | Low-opacity radial gradient (`{colors.accent-*-glow}`) anchored at section top | Section openers ("Integrate this weekend", "Email reimagined"). |
405
+
406
+ The system has **no traditional drop shadow language**. Every surface either gets a translucent-white hairline border or sits inside an atmospheric glow. The dark canvas absorbs shadow naturally; surfaces register depth via temperature and luminance shifts rather than blur.
407
+
408
+ ### Decorative Depth
409
+ - **Atmospheric section glows** — six accent colours each with a paired glow token (orange, yellow, blue, green, red, plus a deep slate for "everything in your context"). Each section opens with a single radial wash anchored at the top edge of the section, falling off to canvas black within ~600px vertical distance. Never two glows in the same section.
410
+ - **Email card insets** — the "Beyond experience" mockup band lifts a single white email card off the black canvas, giving it the only true light-on-dark contrast in the system. The card uses no shadow; the contrast itself is the elevation.
411
+ - **Code window traffic lights** — `{component.code-window}` shells include a row of three coloured dots (red `{colors.accent-red}`, yellow `{colors.accent-yellow}`, green `{colors.accent-green}`) at the top — the only place all three semantic colours appear together as solid surfaces.
412
+
413
+ ## Shapes
414
+
415
+ ### Border Radius Scale
416
+
417
+ | Token | Value | Use |
418
+ |---|---|---|
419
+ | `{rounded.none}` | 0px | Hero stripe, full-bleed bands, footer. |
420
+ | `{rounded.xs}` | 4px | Inline tags inside code wells. |
421
+ | `{rounded.sm}` | 6px | Code tabs, mid-size chips. |
422
+ | `{rounded.md}` | 8px | Buttons, form inputs. |
423
+ | `{rounded.lg}` | 12px | Feature cards, pricing tiers, code wells, email mockups. |
424
+ | `{rounded.xl}` | 16px | Larger feature panels. |
425
+ | `{rounded.full}` | 9999px | Pills, status dots, contributor avatars. |
426
+
427
+ ### Photography Geometry
428
+ - The system uses almost no photography. Visual interest comes from typography + atmospheric glows + code wells + the white email-card insets.
429
+ - When portraits appear (testimonial avatars), they are circular (`{rounded.full}`) at 32px, sitting inline with body copy.
430
+ - Email mockup cards run at 4:5 portrait aspect with `{rounded.lg}` corners.
431
+
432
+ ## Components
433
+
434
+ ### Buttons
435
+
436
+ **`button-primary`** — white CTA
437
+ - Background `{colors.primary}`, label `{colors.primary-on}`, type `{typography.button-md}`, padding `8px 16px`, `rounded: {rounded.md}`, height 36px.
438
+ - The brightest pixel on the canvas. Used for "Get started", "Sign up", "Try Resend".
439
+ - Pressed state lives in `button-primary-pressed` (background `{colors.surface-light}`).
440
+
441
+ **`button-ghost`** — translucent CTA
442
+ - Background `{colors.surface-elevated}`, label `{colors.ink}`, 1px `{colors.hairline-strong}`, type `{typography.button-md}`, `rounded: {rounded.md}`, height 36px.
443
+ - Equal-weight secondary action paired with `{component.button-primary}`.
444
+
445
+ **`button-outline`** — outlined CTA
446
+ - Background `{colors.canvas}`, label `{colors.ink}`, 1px `{colors.hairline-strong}`, type `{typography.button-md}`, `rounded: {rounded.md}`, height 36px.
447
+ - Tertiary action; appears on its own next to inline links.
448
+
449
+ ### Cards & Containers
450
+
451
+ **`hero-stripe`** — full-bleed hero
452
+ - Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.display-xxl}` for the headline, padding `96px 32px`, `rounded: {rounded.none}`.
453
+ - Used only on the home page hero band; carries the 96px Domaine Display headline and a single `{component.button-primary}` CTA. No photography, no atmospheric glow inside the hero itself — the glow appears on the section that follows.
454
+
455
+ **`feature-card`** — feature highlight card
456
+ - Background `{colors.surface-card}`, text `{colors.ink}`, type `{typography.body-md}`, `rounded: {rounded.lg}`, padding `{spacing.xxl}` (32px).
457
+ - Used in the home grid: "Despite emails using React", "So beyond editing", etc. No outline by default — relies on canvas black contrast.
458
+
459
+ **`feature-card-bordered`** — outlined feature card
460
+ - Background `{colors.surface-card}`, text `{colors.ink}`, 1px `{colors.hairline-strong}`, type `{typography.body-md}`, `rounded: {rounded.lg}`, padding `{spacing.xxl}`.
461
+ - Used when feature cards sit close together and need explicit separation.
462
+
463
+ **`pricing-tier`** — pricing tier card
464
+ - Background `{colors.surface-card}`, text `{colors.ink}`, 1px `{colors.hairline-strong}`, type `{typography.body-md}`, `rounded: {rounded.lg}`, padding `{spacing.xxl}` (32px).
465
+ - Tier name in `{typography.heading-md}` + price in `{typography.display-lg}` (ABC Favorit, 56px).
466
+
467
+ **`pricing-tier-featured`** — recommended tier
468
+ - Background `{colors.surface-elevated}`, text `{colors.ink}`, 1px `{colors.hairline-strong}`, type `{typography.body-md}`, `rounded: {rounded.lg}`, padding `{spacing.xxl}`.
469
+ - Centre tier elevated by surface luminance, not by colour.
470
+
471
+ **`code-window`** — code well
472
+ - Background `{colors.surface-deep}`, text `{colors.body}`, type `{typography.code-md}`, 1px `{colors.hairline-strong}`, `rounded: {rounded.lg}`, padding `{spacing.xl}` (24px).
473
+ - Includes a 3-dot traffic-light row at top using `{colors.accent-red}` / `{colors.accent-yellow}` / `{colors.accent-green}` for chrome, plus a tab strip below it.
474
+
475
+ **`code-tab`** — code language tab
476
+ - Background `{colors.surface-card}`, text `{colors.charcoal}`, type `{typography.code-md}`, `rounded: {rounded.sm}`, padding `6px 12px`.
477
+ - Active tab bumps text to `{colors.ink}` and adds a subtle `{colors.hairline-strong}` underline.
478
+
479
+ **`email-mockup`** — email-card inset
480
+ - Background `{colors.surface-card}` (or the rare `#ffffff` when rendered as a light-island inset), text `{colors.ink}` (or `{colors.on-light}` for white insets), type `{typography.body-md}`, `rounded: {rounded.lg}`, padding 0.
481
+ - Used in the "Beyond experience" band to demonstrate rendered email output.
482
+
483
+ ### Inputs & Forms
484
+
485
+ **`text-input`** — default input
486
+ - Background `{colors.surface-card}`, text `{colors.ink}`, type `{typography.body-sm}`, 1px `{colors.hairline-strong}`, `rounded: {rounded.md}`, padding `10px 14px`, height 40px.
487
+ - Sign-up and waitlist email fields. Focus state thickens the border to `{colors.ink}` (no separate ring colour).
488
+
489
+ ### Navigation
490
+
491
+ **`nav-bar`** — top nav (desktop)
492
+ - Background `{colors.canvas}`, text `{colors.body}`, type `{typography.button-sm}`, height 64px, single hairline `{colors.hairline}` bottom border.
493
+ - Left: wordmark logo. Centre: top-level nav ("Features", "Pricing", "Docs", "Customers"). Right: "Sign in" link + `{component.button-primary}`.
494
+
495
+ **`nav-bar`** (mobile)
496
+ - Same height 64px, collapses centre nav into a hamburger icon. Logo stays left, sign-in CTA stays right.
497
+
498
+ **`sub-nav-pill`** — pill-style sub-nav
499
+ - Pill chips set in a horizontal row above content (e.g. on the customers index), `{component.sub-nav-pill}` styling.
500
+
501
+ ### Signature Components
502
+
503
+ **`badge-pill`** — neutral pill
504
+ - Background `{colors.surface-elevated}`, text `{colors.body}`, type `{typography.caption}`, `rounded: {rounded.full}`, padding `4px 10px`.
505
+ - Inline tags ("New", "Beta", "v3.0") inside hero copy and customer story headers.
506
+
507
+ **`status-dot`** — status indicator
508
+ - Background `{colors.accent-green}`, `rounded: {rounded.full}`, 8px square.
509
+ - Inline indicator next to "Status: Operational" in the footer or system status references.
510
+
511
+ **`contributor-avatar`** — testimonial avatar
512
+ - Background `{colors.surface-card}` placeholder, `rounded: {rounded.full}`, 32×32px.
513
+ - Used inline with customer testimonials.
514
+
515
+ **`footer`** — global footer
516
+ - Background `{colors.canvas}`, text `{colors.charcoal}`, type `{typography.body-sm}`, `rounded: {rounded.none}`, padding `64px 32px`.
517
+ - Multi-column quick-links grid above a single-line copyright row separated by `{colors.divider-soft}`.
518
+
519
+ ## Do's and Don'ts
520
+
521
+ ### Do
522
+ - Use `{colors.canvas}` (true black) as the default page background. Every public page lives here.
523
+ - Reserve `{component.button-primary}` (white pill) as the only solid bright surface. One per viewport at most.
524
+ - Set hero headlines in **Domaine Display** at 76–96px with `lineHeight: 1.0` and `ss01 / ss04 / ss11` features engaged.
525
+ - Use **ABC Favorit** for marketing body, **Inter** for UI labels, **Geist Mono** for code. Keep the lanes strict.
526
+ - Build elevation from translucent-white hairlines, not drop shadows.
527
+ - Use `{colors.accent-*-glow}` tokens as low-opacity radial atmospheric washes — never as solid surfaces.
528
+ - Set buttons and inputs to `{rounded.md}` (8px); cards and code wells to `{rounded.lg}` (12px); pills and avatars to `{rounded.full}`.
529
+ - Use the white email-mockup inset sparingly — it's the only deliberately-light surface and should feel like a print pull-quote.
530
+
531
+ ### Don't
532
+ - Don't use a near-black canvas. The brand sits on `#000000`, not `#0a0a0a`.
533
+ - Don't apply solid colour to atmospheric accent tokens. `{colors.accent-orange}` is for inline highlights only — its glow form is for backdrops.
534
+ - Don't add drop shadows to feature cards or code wells. Translucent white borders carry depth on this canvas.
535
+ - Don't bump body weight to 600 for emphasis. Use family change (Inter → ABC Favorit → Domaine Display) instead.
536
+ - Don't render code outside `{component.code-window}` — even small inline code uses Geist Mono and a `{colors.surface-card}` background.
537
+ - Don't loosen Domaine Display `lineHeight` past 1.0. Tight stacking is structural to the brand.
538
+ - Don't introduce a secondary brand accent. White is the brand on black — accents are atmospheric only.
539
+ - Don't bring photography front-and-centre. The brand reads as type-and-code, not photography-led.
540
+
541
+ ## Responsive Behavior
542
+
543
+ ### Breakpoints
544
+
545
+ | Name | Width | Key Changes |
546
+ |---|---|---|
547
+ | Desktop XL | ≥ 1440px | Full max-width 1200 body, 3-up feature grid, side-by-side code-story splits. |
548
+ | Desktop | 1280–1439px | Container shrinks; xl side padding. |
549
+ | Tablet Large | 1024–1279px | Feature grid stays 3-up, code-story remains 2-up. |
550
+ | Tablet | 768–1023px | Feature grid 2-up, code-story stacks (narrative on top), pricing stacks vertically. |
551
+ | Mobile Large | 426–767px | Feature grid 1-up; nav collapses to hamburger; hero `{typography.display-xxl}` clamps to 56px. |
552
+ | Mobile | ≤ 425px | All grids 1-up, hero clamps to 44px, section padding `{spacing.section}` collapses to 64px. |
553
+
554
+ ### Touch Targets
555
+ - All buttons ship at minimum 36px tall on desktop, scaling to 44px on mobile via padding adjustment. WCAG AAA met on mobile.
556
+ - `{component.text-input}` is 40px tall — comfortable but not large. Mobile scales to 48px via padding.
557
+ - `{component.sub-nav-pill}` stays at 36px on desktop, 40px on mobile.
558
+
559
+ ### Collapsing Strategy
560
+ - Top-level nav collapses to hamburger at < 1024px; the wordmark and `{component.button-primary}` stay anchored.
561
+ - Hero `{typography.display-xxl}` clamps: 96px → 76px → 56px → 44px across the breakpoint ladder.
562
+ - Pricing 3-up stacks vertically at < 1024px with the featured tier remaining centre-stacked.
563
+ - Code-story splits switch from side-by-side to stacked at < 1024px, code well always second.
564
+ - Atmospheric glows scale with section width but maintain the same opacity — they fade naturally at small viewports.
565
+
566
+ ### Image Behavior
567
+ - Email mockup cards reflow at 1:1 aspect on mobile to remain readable.
568
+ - Atmospheric glows are CSS gradients — no asset cost, no breakpoint variation.
569
+ - Customer testimonial avatars stay 32px circular regardless of breakpoint.
570
+
571
+ ## Iteration Guide
572
+
573
+ 1. Focus on ONE component at a time. Most surfaces share `{colors.surface-card}` or `{colors.surface-elevated}` with `{rounded.lg}` — only the role-specific tokens (`{colors.primary}`, `{component.code-window}`) shift between variants.
574
+ 2. Reference component names and tokens directly (`{colors.primary}`, `{component.button-primary-pressed}`, `{rounded.lg}`) — do not paraphrase.
575
+ 3. Run `npx @google/design.md lint DESIGN.md` after edits; orphaned-tokens warnings will catch unused entries.
576
+ 4. Add new variants as separate entries (`-pressed`, `-featured`, `-disabled`) — do not bury them in prose.
577
+ 5. Default body type to `{typography.body-md}`; reach for `{typography.subtitle}` only on hero subtitles.
578
+ 6. Keep `{colors.primary}` (white) scarce — if more than one solid white surface appears per viewport, ask whether one should drop to `{component.button-ghost}` instead.
579
+
580
+ ## Known Gaps
581
+
582
+ - Pressed/active visual states are documented only for `button-primary-pressed`; other components rely on the default focus-ring (browser default) for interactive feedback.
583
+ - Logged-in dashboard surfaces (API keys, sending logs, audience management) are out of scope; only the public marketing canvas is documented.
584
+ - Email-template editor surfaces (a key product feature) are not extracted — those live behind authentication.
585
+ - The atmospheric glow rendering uses CSS radial gradients; exact stops and angles vary per section and are not standardised as tokens — render per section-specific design judgment.
@@ -0,0 +1,5 @@
1
+ # Resend Inspired Design System
2
+
3
+ Design system details have been moved to: https://getdesign.md/resend/design-md
4
+
5
+ You can also view previews, dark mode examples, and download options on getdesign.md.