@aexol/spectral 0.7.0 → 0.7.1

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 (459) hide show
  1. package/dist/agent/index.js +76 -301
  2. package/dist/cli.js +11 -0
  3. package/dist/designer/data/systems/agentic/DESIGN.md +71 -0
  4. package/dist/designer/data/systems/agentic/components.html +154 -0
  5. package/dist/designer/data/systems/agentic/tokens.css +63 -0
  6. package/dist/designer/data/systems/airbnb/DESIGN.md +393 -0
  7. package/dist/designer/data/systems/airbnb/components.html +1373 -0
  8. package/dist/designer/data/systems/airbnb/tokens.css +261 -0
  9. package/dist/designer/data/systems/airtable/DESIGN.md +92 -0
  10. package/dist/designer/data/systems/airtable/components.html +489 -0
  11. package/dist/designer/data/systems/airtable/tokens.css +261 -0
  12. package/dist/designer/data/systems/ant/DESIGN.md +71 -0
  13. package/dist/designer/data/systems/ant/components.html +154 -0
  14. package/dist/designer/data/systems/ant/tokens.css +63 -0
  15. package/dist/designer/data/systems/apple/DESIGN.md +250 -0
  16. package/dist/designer/data/systems/apple/components.html +749 -0
  17. package/dist/designer/data/systems/apple/tokens.css +286 -0
  18. package/dist/designer/data/systems/application/DESIGN.md +71 -0
  19. package/dist/designer/data/systems/application/components.html +154 -0
  20. package/dist/designer/data/systems/application/tokens.css +63 -0
  21. package/dist/designer/data/systems/arc/DESIGN.md +152 -0
  22. package/dist/designer/data/systems/arc/components.html +432 -0
  23. package/dist/designer/data/systems/arc/tokens.css +137 -0
  24. package/dist/designer/data/systems/artistic/DESIGN.md +71 -0
  25. package/dist/designer/data/systems/artistic/components.html +136 -0
  26. package/dist/designer/data/systems/artistic/tokens.css +63 -0
  27. package/dist/designer/data/systems/atelier-zero/DESIGN.md +316 -0
  28. package/dist/designer/data/systems/atelier-zero/components.html +136 -0
  29. package/dist/designer/data/systems/atelier-zero/tokens.css +63 -0
  30. package/dist/designer/data/systems/bento/DESIGN.md +71 -0
  31. package/dist/designer/data/systems/bento/components.html +136 -0
  32. package/dist/designer/data/systems/bento/tokens.css +63 -0
  33. package/dist/designer/data/systems/binance/DESIGN.md +348 -0
  34. package/dist/designer/data/systems/binance/components.html +550 -0
  35. package/dist/designer/data/systems/binance/tokens.css +255 -0
  36. package/dist/designer/data/systems/bmw/DESIGN.md +183 -0
  37. package/dist/designer/data/systems/bmw/components.html +551 -0
  38. package/dist/designer/data/systems/bmw/tokens.css +179 -0
  39. package/dist/designer/data/systems/bmw-m/DESIGN.md +246 -0
  40. package/dist/designer/data/systems/bmw-m/components.html +342 -0
  41. package/dist/designer/data/systems/bmw-m/tokens.css +64 -0
  42. package/dist/designer/data/systems/bold/DESIGN.md +71 -0
  43. package/dist/designer/data/systems/bold/components.html +136 -0
  44. package/dist/designer/data/systems/bold/tokens.css +63 -0
  45. package/dist/designer/data/systems/brutalism/DESIGN.md +71 -0
  46. package/dist/designer/data/systems/brutalism/components.html +154 -0
  47. package/dist/designer/data/systems/brutalism/tokens.css +63 -0
  48. package/dist/designer/data/systems/bugatti/DESIGN.md +271 -0
  49. package/dist/designer/data/systems/bugatti/components.html +342 -0
  50. package/dist/designer/data/systems/bugatti/tokens.css +64 -0
  51. package/dist/designer/data/systems/cafe/DESIGN.md +71 -0
  52. package/dist/designer/data/systems/cafe/components.html +136 -0
  53. package/dist/designer/data/systems/cafe/tokens.css +63 -0
  54. package/dist/designer/data/systems/cal/DESIGN.md +262 -0
  55. package/dist/designer/data/systems/cal/components.html +376 -0
  56. package/dist/designer/data/systems/cal/tokens.css +265 -0
  57. package/dist/designer/data/systems/canva/DESIGN.md +157 -0
  58. package/dist/designer/data/systems/canva/components.html +461 -0
  59. package/dist/designer/data/systems/canva/tokens.css +147 -0
  60. package/dist/designer/data/systems/cisco/DESIGN.md +201 -0
  61. package/dist/designer/data/systems/cisco/components.html +342 -0
  62. package/dist/designer/data/systems/cisco/tokens.css +64 -0
  63. package/dist/designer/data/systems/claude/DESIGN.md +315 -0
  64. package/dist/designer/data/systems/claude/components.html +483 -0
  65. package/dist/designer/data/systems/claude/tokens.css +130 -0
  66. package/dist/designer/data/systems/clay/DESIGN.md +307 -0
  67. package/dist/designer/data/systems/clay/components.html +136 -0
  68. package/dist/designer/data/systems/clay/tokens.css +63 -0
  69. package/dist/designer/data/systems/claymorphism/DESIGN.md +71 -0
  70. package/dist/designer/data/systems/claymorphism/components.html +136 -0
  71. package/dist/designer/data/systems/claymorphism/tokens.css +63 -0
  72. package/dist/designer/data/systems/clean/DESIGN.md +71 -0
  73. package/dist/designer/data/systems/clean/components.html +136 -0
  74. package/dist/designer/data/systems/clean/tokens.css +63 -0
  75. package/dist/designer/data/systems/clickhouse/DESIGN.md +284 -0
  76. package/dist/designer/data/systems/clickhouse/components.html +506 -0
  77. package/dist/designer/data/systems/clickhouse/tokens.css +135 -0
  78. package/dist/designer/data/systems/cohere/DESIGN.md +269 -0
  79. package/dist/designer/data/systems/cohere/components.html +353 -0
  80. package/dist/designer/data/systems/cohere/tokens.css +126 -0
  81. package/dist/designer/data/systems/coinbase/DESIGN.md +132 -0
  82. package/dist/designer/data/systems/coinbase/components.html +501 -0
  83. package/dist/designer/data/systems/coinbase/tokens.css +257 -0
  84. package/dist/designer/data/systems/colorful/DESIGN.md +71 -0
  85. package/dist/designer/data/systems/colorful/components.html +136 -0
  86. package/dist/designer/data/systems/colorful/tokens.css +63 -0
  87. package/dist/designer/data/systems/composio/DESIGN.md +310 -0
  88. package/dist/designer/data/systems/composio/components.html +342 -0
  89. package/dist/designer/data/systems/composio/tokens.css +64 -0
  90. package/dist/designer/data/systems/contemporary/DESIGN.md +71 -0
  91. package/dist/designer/data/systems/contemporary/components.html +136 -0
  92. package/dist/designer/data/systems/contemporary/tokens.css +63 -0
  93. package/dist/designer/data/systems/corporate/DESIGN.md +71 -0
  94. package/dist/designer/data/systems/corporate/components.html +136 -0
  95. package/dist/designer/data/systems/corporate/tokens.css +63 -0
  96. package/dist/designer/data/systems/cosmic/DESIGN.md +71 -0
  97. package/dist/designer/data/systems/cosmic/components.html +136 -0
  98. package/dist/designer/data/systems/cosmic/tokens.css +63 -0
  99. package/dist/designer/data/systems/creative/DESIGN.md +71 -0
  100. package/dist/designer/data/systems/creative/components.html +136 -0
  101. package/dist/designer/data/systems/creative/tokens.css +63 -0
  102. package/dist/designer/data/systems/cursor/DESIGN.md +312 -0
  103. package/dist/designer/data/systems/cursor/components.html +654 -0
  104. package/dist/designer/data/systems/cursor/tokens.css +218 -0
  105. package/dist/designer/data/systems/dashboard/DESIGN.md +71 -0
  106. package/dist/designer/data/systems/dashboard/components.html +154 -0
  107. package/dist/designer/data/systems/dashboard/tokens.css +63 -0
  108. package/dist/designer/data/systems/default/DESIGN.md +62 -0
  109. package/dist/designer/data/systems/default/components.html +523 -0
  110. package/dist/designer/data/systems/default/tokens.css +200 -0
  111. package/dist/designer/data/systems/discord/DESIGN.md +162 -0
  112. package/dist/designer/data/systems/discord/components.html +359 -0
  113. package/dist/designer/data/systems/discord/tokens.css +125 -0
  114. package/dist/designer/data/systems/dithered/DESIGN.md +71 -0
  115. package/dist/designer/data/systems/dithered/components.html +136 -0
  116. package/dist/designer/data/systems/dithered/tokens.css +63 -0
  117. package/dist/designer/data/systems/doodle/DESIGN.md +71 -0
  118. package/dist/designer/data/systems/doodle/components.html +136 -0
  119. package/dist/designer/data/systems/doodle/tokens.css +63 -0
  120. package/dist/designer/data/systems/dramatic/DESIGN.md +71 -0
  121. package/dist/designer/data/systems/dramatic/components.html +136 -0
  122. package/dist/designer/data/systems/dramatic/tokens.css +63 -0
  123. package/dist/designer/data/systems/duolingo/DESIGN.md +154 -0
  124. package/dist/designer/data/systems/duolingo/components.html +532 -0
  125. package/dist/designer/data/systems/duolingo/tokens.css +130 -0
  126. package/dist/designer/data/systems/editorial/DESIGN.md +71 -0
  127. package/dist/designer/data/systems/editorial/components.html +154 -0
  128. package/dist/designer/data/systems/editorial/tokens.css +63 -0
  129. package/dist/designer/data/systems/elegant/DESIGN.md +71 -0
  130. package/dist/designer/data/systems/elegant/components.html +136 -0
  131. package/dist/designer/data/systems/elegant/tokens.css +63 -0
  132. package/dist/designer/data/systems/elevenlabs/DESIGN.md +268 -0
  133. package/dist/designer/data/systems/elevenlabs/components.html +342 -0
  134. package/dist/designer/data/systems/elevenlabs/tokens.css +127 -0
  135. package/dist/designer/data/systems/energetic/DESIGN.md +72 -0
  136. package/dist/designer/data/systems/energetic/components.html +136 -0
  137. package/dist/designer/data/systems/energetic/tokens.css +63 -0
  138. package/dist/designer/data/systems/enterprise/DESIGN.md +71 -0
  139. package/dist/designer/data/systems/enterprise/components.html +154 -0
  140. package/dist/designer/data/systems/enterprise/tokens.css +63 -0
  141. package/dist/designer/data/systems/expo/DESIGN.md +284 -0
  142. package/dist/designer/data/systems/expo/components.html +342 -0
  143. package/dist/designer/data/systems/expo/tokens.css +64 -0
  144. package/dist/designer/data/systems/expressive/DESIGN.md +71 -0
  145. package/dist/designer/data/systems/expressive/components.html +136 -0
  146. package/dist/designer/data/systems/expressive/tokens.css +63 -0
  147. package/dist/designer/data/systems/fantasy/DESIGN.md +71 -0
  148. package/dist/designer/data/systems/fantasy/components.html +136 -0
  149. package/dist/designer/data/systems/fantasy/tokens.css +63 -0
  150. package/dist/designer/data/systems/ferrari/DESIGN.md +317 -0
  151. package/dist/designer/data/systems/ferrari/components.html +342 -0
  152. package/dist/designer/data/systems/ferrari/tokens.css +64 -0
  153. package/dist/designer/data/systems/figma/DESIGN.md +223 -0
  154. package/dist/designer/data/systems/figma/components.html +344 -0
  155. package/dist/designer/data/systems/figma/tokens.css +126 -0
  156. package/dist/designer/data/systems/flat/DESIGN.md +71 -0
  157. package/dist/designer/data/systems/flat/components.html +136 -0
  158. package/dist/designer/data/systems/flat/tokens.css +63 -0
  159. package/dist/designer/data/systems/framer/DESIGN.md +249 -0
  160. package/dist/designer/data/systems/framer/components.html +438 -0
  161. package/dist/designer/data/systems/framer/tokens.css +238 -0
  162. package/dist/designer/data/systems/friendly/DESIGN.md +71 -0
  163. package/dist/designer/data/systems/friendly/components.html +136 -0
  164. package/dist/designer/data/systems/friendly/tokens.css +63 -0
  165. package/dist/designer/data/systems/futuristic/DESIGN.md +71 -0
  166. package/dist/designer/data/systems/futuristic/components.html +136 -0
  167. package/dist/designer/data/systems/futuristic/tokens.css +63 -0
  168. package/dist/designer/data/systems/github/DESIGN.md +155 -0
  169. package/dist/designer/data/systems/github/components.html +383 -0
  170. package/dist/designer/data/systems/github/tokens.css +125 -0
  171. package/dist/designer/data/systems/glassmorphism/DESIGN.md +71 -0
  172. package/dist/designer/data/systems/glassmorphism/components.html +154 -0
  173. package/dist/designer/data/systems/glassmorphism/tokens.css +63 -0
  174. package/dist/designer/data/systems/gradient/DESIGN.md +71 -0
  175. package/dist/designer/data/systems/gradient/components.html +154 -0
  176. package/dist/designer/data/systems/gradient/tokens.css +63 -0
  177. package/dist/designer/data/systems/hashicorp/DESIGN.md +281 -0
  178. package/dist/designer/data/systems/hashicorp/components.html +502 -0
  179. package/dist/designer/data/systems/hashicorp/tokens.css +272 -0
  180. package/dist/designer/data/systems/hud/DESIGN.md +173 -0
  181. package/dist/designer/data/systems/hud/components.html +136 -0
  182. package/dist/designer/data/systems/hud/tokens.css +63 -0
  183. package/dist/designer/data/systems/huggingface/DESIGN.md +149 -0
  184. package/dist/designer/data/systems/huggingface/components.html +346 -0
  185. package/dist/designer/data/systems/huggingface/tokens.css +125 -0
  186. package/dist/designer/data/systems/ibm/DESIGN.md +335 -0
  187. package/dist/designer/data/systems/ibm/components.html +342 -0
  188. package/dist/designer/data/systems/ibm/tokens.css +64 -0
  189. package/dist/designer/data/systems/intercom/DESIGN.md +149 -0
  190. package/dist/designer/data/systems/intercom/components.html +557 -0
  191. package/dist/designer/data/systems/intercom/tokens.css +150 -0
  192. package/dist/designer/data/systems/kami/DESIGN.md +410 -0
  193. package/dist/designer/data/systems/kami/components.html +601 -0
  194. package/dist/designer/data/systems/kami/tokens.css +272 -0
  195. package/dist/designer/data/systems/kraken/DESIGN.md +128 -0
  196. package/dist/designer/data/systems/kraken/components.html +342 -0
  197. package/dist/designer/data/systems/kraken/tokens.css +64 -0
  198. package/dist/designer/data/systems/lamborghini/DESIGN.md +291 -0
  199. package/dist/designer/data/systems/lamborghini/components.html +342 -0
  200. package/dist/designer/data/systems/lamborghini/tokens.css +64 -0
  201. package/dist/designer/data/systems/levels/DESIGN.md +71 -0
  202. package/dist/designer/data/systems/levels/components.html +154 -0
  203. package/dist/designer/data/systems/levels/tokens.css +63 -0
  204. package/dist/designer/data/systems/linear-app/DESIGN.md +370 -0
  205. package/dist/designer/data/systems/linear-app/components.html +370 -0
  206. package/dist/designer/data/systems/linear-app/tokens.css +130 -0
  207. package/dist/designer/data/systems/lingo/DESIGN.md +71 -0
  208. package/dist/designer/data/systems/lingo/components.html +154 -0
  209. package/dist/designer/data/systems/lingo/tokens.css +63 -0
  210. package/dist/designer/data/systems/loom/DESIGN.md +201 -0
  211. package/dist/designer/data/systems/loom/components.html +446 -0
  212. package/dist/designer/data/systems/loom/tokens.css +138 -0
  213. package/dist/designer/data/systems/lovable/DESIGN.md +301 -0
  214. package/dist/designer/data/systems/lovable/components.html +441 -0
  215. package/dist/designer/data/systems/lovable/tokens.css +258 -0
  216. package/dist/designer/data/systems/luxury/DESIGN.md +71 -0
  217. package/dist/designer/data/systems/luxury/components.html +154 -0
  218. package/dist/designer/data/systems/luxury/tokens.css +63 -0
  219. package/dist/designer/data/systems/mastercard/DESIGN.md +368 -0
  220. package/dist/designer/data/systems/mastercard/components.html +342 -0
  221. package/dist/designer/data/systems/mastercard/tokens.css +64 -0
  222. package/dist/designer/data/systems/material/DESIGN.md +71 -0
  223. package/dist/designer/data/systems/material/components.html +154 -0
  224. package/dist/designer/data/systems/material/tokens.css +63 -0
  225. package/dist/designer/data/systems/meta/DESIGN.md +369 -0
  226. package/dist/designer/data/systems/meta/components.html +398 -0
  227. package/dist/designer/data/systems/meta/tokens.css +263 -0
  228. package/dist/designer/data/systems/minimal/DESIGN.md +71 -0
  229. package/dist/designer/data/systems/minimal/components.html +154 -0
  230. package/dist/designer/data/systems/minimal/tokens.css +63 -0
  231. package/dist/designer/data/systems/minimax/DESIGN.md +260 -0
  232. package/dist/designer/data/systems/minimax/components.html +590 -0
  233. package/dist/designer/data/systems/minimax/tokens.css +148 -0
  234. package/dist/designer/data/systems/mintlify/DESIGN.md +329 -0
  235. package/dist/designer/data/systems/mintlify/components.html +737 -0
  236. package/dist/designer/data/systems/mintlify/tokens.css +256 -0
  237. package/dist/designer/data/systems/miro/DESIGN.md +111 -0
  238. package/dist/designer/data/systems/miro/components.html +342 -0
  239. package/dist/designer/data/systems/miro/tokens.css +64 -0
  240. package/dist/designer/data/systems/mission-control/DESIGN.md +474 -0
  241. package/dist/designer/data/systems/mission-control/components.html +136 -0
  242. package/dist/designer/data/systems/mission-control/tokens.css +63 -0
  243. package/dist/designer/data/systems/mistral-ai/DESIGN.md +264 -0
  244. package/dist/designer/data/systems/mistral-ai/components.html +338 -0
  245. package/dist/designer/data/systems/mistral-ai/tokens.css +125 -0
  246. package/dist/designer/data/systems/modern/DESIGN.md +71 -0
  247. package/dist/designer/data/systems/modern/components.html +154 -0
  248. package/dist/designer/data/systems/modern/tokens.css +63 -0
  249. package/dist/designer/data/systems/mongodb/DESIGN.md +269 -0
  250. package/dist/designer/data/systems/mongodb/components.html +462 -0
  251. package/dist/designer/data/systems/mongodb/tokens.css +176 -0
  252. package/dist/designer/data/systems/mono/DESIGN.md +71 -0
  253. package/dist/designer/data/systems/mono/components.html +136 -0
  254. package/dist/designer/data/systems/mono/tokens.css +63 -0
  255. package/dist/designer/data/systems/neobrutalism/DESIGN.md +71 -0
  256. package/dist/designer/data/systems/neobrutalism/components.html +136 -0
  257. package/dist/designer/data/systems/neobrutalism/tokens.css +63 -0
  258. package/dist/designer/data/systems/neon/DESIGN.md +71 -0
  259. package/dist/designer/data/systems/neon/components.html +136 -0
  260. package/dist/designer/data/systems/neon/tokens.css +63 -0
  261. package/dist/designer/data/systems/neumorphism/DESIGN.md +71 -0
  262. package/dist/designer/data/systems/neumorphism/components.html +136 -0
  263. package/dist/designer/data/systems/neumorphism/tokens.css +63 -0
  264. package/dist/designer/data/systems/nike/DESIGN.md +366 -0
  265. package/dist/designer/data/systems/nike/components.html +512 -0
  266. package/dist/designer/data/systems/nike/tokens.css +304 -0
  267. package/dist/designer/data/systems/notion/DESIGN.md +312 -0
  268. package/dist/designer/data/systems/notion/components.html +413 -0
  269. package/dist/designer/data/systems/notion/tokens.css +130 -0
  270. package/dist/designer/data/systems/nvidia/DESIGN.md +296 -0
  271. package/dist/designer/data/systems/nvidia/components.html +414 -0
  272. package/dist/designer/data/systems/nvidia/tokens.css +133 -0
  273. package/dist/designer/data/systems/ollama/DESIGN.md +270 -0
  274. package/dist/designer/data/systems/ollama/components.html +700 -0
  275. package/dist/designer/data/systems/ollama/tokens.css +242 -0
  276. package/dist/designer/data/systems/openai/DESIGN.md +140 -0
  277. package/dist/designer/data/systems/openai/components.html +382 -0
  278. package/dist/designer/data/systems/openai/tokens.css +133 -0
  279. package/dist/designer/data/systems/opencode-ai/DESIGN.md +284 -0
  280. package/dist/designer/data/systems/opencode-ai/components.html +389 -0
  281. package/dist/designer/data/systems/opencode-ai/tokens.css +126 -0
  282. package/dist/designer/data/systems/pacman/DESIGN.md +71 -0
  283. package/dist/designer/data/systems/pacman/components.html +342 -0
  284. package/dist/designer/data/systems/pacman/tokens.css +64 -0
  285. package/dist/designer/data/systems/paper/DESIGN.md +71 -0
  286. package/dist/designer/data/systems/paper/components.html +136 -0
  287. package/dist/designer/data/systems/paper/tokens.css +63 -0
  288. package/dist/designer/data/systems/perplexity/DESIGN.md +286 -0
  289. package/dist/designer/data/systems/perplexity/components.html +455 -0
  290. package/dist/designer/data/systems/perplexity/tokens.css +151 -0
  291. package/dist/designer/data/systems/perspective/DESIGN.md +71 -0
  292. package/dist/designer/data/systems/perspective/components.html +136 -0
  293. package/dist/designer/data/systems/perspective/tokens.css +63 -0
  294. package/dist/designer/data/systems/pinterest/DESIGN.md +233 -0
  295. package/dist/designer/data/systems/pinterest/components.html +865 -0
  296. package/dist/designer/data/systems/pinterest/tokens.css +262 -0
  297. package/dist/designer/data/systems/playstation/DESIGN.md +367 -0
  298. package/dist/designer/data/systems/playstation/components.html +414 -0
  299. package/dist/designer/data/systems/playstation/tokens.css +150 -0
  300. package/dist/designer/data/systems/posthog/DESIGN.md +259 -0
  301. package/dist/designer/data/systems/posthog/components.html +827 -0
  302. package/dist/designer/data/systems/posthog/tokens.css +272 -0
  303. package/dist/designer/data/systems/premium/DESIGN.md +71 -0
  304. package/dist/designer/data/systems/premium/components.html +154 -0
  305. package/dist/designer/data/systems/premium/tokens.css +63 -0
  306. package/dist/designer/data/systems/professional/DESIGN.md +71 -0
  307. package/dist/designer/data/systems/professional/components.html +136 -0
  308. package/dist/designer/data/systems/professional/tokens.css +63 -0
  309. package/dist/designer/data/systems/publication/DESIGN.md +71 -0
  310. package/dist/designer/data/systems/publication/components.html +154 -0
  311. package/dist/designer/data/systems/publication/tokens.css +63 -0
  312. package/dist/designer/data/systems/raycast/DESIGN.md +271 -0
  313. package/dist/designer/data/systems/raycast/components.html +507 -0
  314. package/dist/designer/data/systems/raycast/tokens.css +143 -0
  315. package/dist/designer/data/systems/refined/DESIGN.md +71 -0
  316. package/dist/designer/data/systems/refined/components.html +136 -0
  317. package/dist/designer/data/systems/refined/tokens.css +63 -0
  318. package/dist/designer/data/systems/renault/DESIGN.md +314 -0
  319. package/dist/designer/data/systems/renault/components.html +154 -0
  320. package/dist/designer/data/systems/renault/tokens.css +63 -0
  321. package/dist/designer/data/systems/replicate/DESIGN.md +264 -0
  322. package/dist/designer/data/systems/replicate/components.html +340 -0
  323. package/dist/designer/data/systems/replicate/tokens.css +125 -0
  324. package/dist/designer/data/systems/resend/DESIGN.md +306 -0
  325. package/dist/designer/data/systems/resend/components.html +839 -0
  326. package/dist/designer/data/systems/resend/tokens.css +353 -0
  327. package/dist/designer/data/systems/retro/DESIGN.md +71 -0
  328. package/dist/designer/data/systems/retro/components.html +136 -0
  329. package/dist/designer/data/systems/retro/tokens.css +63 -0
  330. package/dist/designer/data/systems/revolut/DESIGN.md +188 -0
  331. package/dist/designer/data/systems/revolut/components.html +342 -0
  332. package/dist/designer/data/systems/revolut/tokens.css +64 -0
  333. package/dist/designer/data/systems/runwayml/DESIGN.md +247 -0
  334. package/dist/designer/data/systems/runwayml/components.html +638 -0
  335. package/dist/designer/data/systems/runwayml/tokens.css +204 -0
  336. package/dist/designer/data/systems/sanity/DESIGN.md +360 -0
  337. package/dist/designer/data/systems/sanity/components.html +342 -0
  338. package/dist/designer/data/systems/sanity/tokens.css +64 -0
  339. package/dist/designer/data/systems/sentry/DESIGN.md +265 -0
  340. package/dist/designer/data/systems/sentry/components.html +387 -0
  341. package/dist/designer/data/systems/sentry/tokens.css +219 -0
  342. package/dist/designer/data/systems/shadcn/DESIGN.md +71 -0
  343. package/dist/designer/data/systems/shadcn/components.html +732 -0
  344. package/dist/designer/data/systems/shadcn/tokens.css +255 -0
  345. package/dist/designer/data/systems/shopify/DESIGN.md +353 -0
  346. package/dist/designer/data/systems/shopify/components.html +342 -0
  347. package/dist/designer/data/systems/shopify/tokens.css +141 -0
  348. package/dist/designer/data/systems/simple/DESIGN.md +71 -0
  349. package/dist/designer/data/systems/simple/components.html +136 -0
  350. package/dist/designer/data/systems/simple/tokens.css +63 -0
  351. package/dist/designer/data/systems/skeumorphism/DESIGN.md +71 -0
  352. package/dist/designer/data/systems/skeumorphism/components.html +136 -0
  353. package/dist/designer/data/systems/skeumorphism/tokens.css +63 -0
  354. package/dist/designer/data/systems/slack/DESIGN.md +363 -0
  355. package/dist/designer/data/systems/slack/components.html +387 -0
  356. package/dist/designer/data/systems/slack/tokens.css +127 -0
  357. package/dist/designer/data/systems/sleek/DESIGN.md +71 -0
  358. package/dist/designer/data/systems/sleek/components.html +136 -0
  359. package/dist/designer/data/systems/sleek/tokens.css +63 -0
  360. package/dist/designer/data/systems/spacex/DESIGN.md +197 -0
  361. package/dist/designer/data/systems/spacex/components.html +496 -0
  362. package/dist/designer/data/systems/spacex/tokens.css +154 -0
  363. package/dist/designer/data/systems/spacious/DESIGN.md +71 -0
  364. package/dist/designer/data/systems/spacious/components.html +136 -0
  365. package/dist/designer/data/systems/spacious/tokens.css +63 -0
  366. package/dist/designer/data/systems/spotify/DESIGN.md +249 -0
  367. package/dist/designer/data/systems/spotify/components.html +365 -0
  368. package/dist/designer/data/systems/spotify/tokens.css +127 -0
  369. package/dist/designer/data/systems/starbucks/DESIGN.md +583 -0
  370. package/dist/designer/data/systems/starbucks/components.html +493 -0
  371. package/dist/designer/data/systems/starbucks/tokens.css +182 -0
  372. package/dist/designer/data/systems/storytelling/DESIGN.md +71 -0
  373. package/dist/designer/data/systems/storytelling/components.html +136 -0
  374. package/dist/designer/data/systems/storytelling/tokens.css +63 -0
  375. package/dist/designer/data/systems/stripe/DESIGN.md +325 -0
  376. package/dist/designer/data/systems/stripe/components.html +1018 -0
  377. package/dist/designer/data/systems/stripe/tokens.css +295 -0
  378. package/dist/designer/data/systems/supabase/DESIGN.md +258 -0
  379. package/dist/designer/data/systems/supabase/components.html +741 -0
  380. package/dist/designer/data/systems/supabase/tokens.css +294 -0
  381. package/dist/designer/data/systems/superhuman/DESIGN.md +255 -0
  382. package/dist/designer/data/systems/superhuman/components.html +537 -0
  383. package/dist/designer/data/systems/superhuman/tokens.css +160 -0
  384. package/dist/designer/data/systems/tesla/DESIGN.md +289 -0
  385. package/dist/designer/data/systems/tesla/components.html +724 -0
  386. package/dist/designer/data/systems/tesla/tokens.css +285 -0
  387. package/dist/designer/data/systems/tetris/DESIGN.md +71 -0
  388. package/dist/designer/data/systems/tetris/components.html +342 -0
  389. package/dist/designer/data/systems/tetris/tokens.css +64 -0
  390. package/dist/designer/data/systems/theverge/DESIGN.md +342 -0
  391. package/dist/designer/data/systems/theverge/components.html +342 -0
  392. package/dist/designer/data/systems/theverge/tokens.css +64 -0
  393. package/dist/designer/data/systems/together-ai/DESIGN.md +266 -0
  394. package/dist/designer/data/systems/together-ai/components.html +422 -0
  395. package/dist/designer/data/systems/together-ai/tokens.css +127 -0
  396. package/dist/designer/data/systems/totality-festival/DESIGN.md +206 -0
  397. package/dist/designer/data/systems/totality-festival/components.html +136 -0
  398. package/dist/designer/data/systems/totality-festival/tokens.css +63 -0
  399. package/dist/designer/data/systems/trading-terminal/DESIGN.md +178 -0
  400. package/dist/designer/data/systems/trading-terminal/components.html +154 -0
  401. package/dist/designer/data/systems/trading-terminal/tokens.css +63 -0
  402. package/dist/designer/data/systems/uber/DESIGN.md +298 -0
  403. package/dist/designer/data/systems/uber/components.html +347 -0
  404. package/dist/designer/data/systems/uber/tokens.css +131 -0
  405. package/dist/designer/data/systems/urdu/DESIGN.md +1002 -0
  406. package/dist/designer/data/systems/urdu/components.html +136 -0
  407. package/dist/designer/data/systems/urdu/tokens.css +63 -0
  408. package/dist/designer/data/systems/vercel/DESIGN.md +313 -0
  409. package/dist/designer/data/systems/vercel/components.html +839 -0
  410. package/dist/designer/data/systems/vercel/tokens.css +270 -0
  411. package/dist/designer/data/systems/vibrant/DESIGN.md +71 -0
  412. package/dist/designer/data/systems/vibrant/components.html +136 -0
  413. package/dist/designer/data/systems/vibrant/tokens.css +63 -0
  414. package/dist/designer/data/systems/vintage/DESIGN.md +71 -0
  415. package/dist/designer/data/systems/vintage/components.html +136 -0
  416. package/dist/designer/data/systems/vintage/tokens.css +63 -0
  417. package/dist/designer/data/systems/vodafone/DESIGN.md +426 -0
  418. package/dist/designer/data/systems/vodafone/components.html +342 -0
  419. package/dist/designer/data/systems/vodafone/tokens.css +64 -0
  420. package/dist/designer/data/systems/voltagent/DESIGN.md +326 -0
  421. package/dist/designer/data/systems/voltagent/components.html +154 -0
  422. package/dist/designer/data/systems/voltagent/tokens.css +63 -0
  423. package/dist/designer/data/systems/warm-editorial/DESIGN.md +65 -0
  424. package/dist/designer/data/systems/warm-editorial/components.html +136 -0
  425. package/dist/designer/data/systems/warm-editorial/tokens.css +63 -0
  426. package/dist/designer/data/systems/warp/DESIGN.md +256 -0
  427. package/dist/designer/data/systems/warp/components.html +411 -0
  428. package/dist/designer/data/systems/warp/tokens.css +156 -0
  429. package/dist/designer/data/systems/webex/DESIGN.md +207 -0
  430. package/dist/designer/data/systems/webex/components.html +342 -0
  431. package/dist/designer/data/systems/webex/tokens.css +64 -0
  432. package/dist/designer/data/systems/webflow/DESIGN.md +95 -0
  433. package/dist/designer/data/systems/webflow/components.html +413 -0
  434. package/dist/designer/data/systems/webflow/tokens.css +191 -0
  435. package/dist/designer/data/systems/wechat/DESIGN.md +302 -0
  436. package/dist/designer/data/systems/wechat/components.html +507 -0
  437. package/dist/designer/data/systems/wechat/tokens.css +176 -0
  438. package/dist/designer/data/systems/wired/DESIGN.md +281 -0
  439. package/dist/designer/data/systems/wired/components.html +342 -0
  440. package/dist/designer/data/systems/wired/tokens.css +64 -0
  441. package/dist/designer/data/systems/wise/DESIGN.md +176 -0
  442. package/dist/designer/data/systems/wise/components.html +365 -0
  443. package/dist/designer/data/systems/wise/tokens.css +141 -0
  444. package/dist/designer/data/systems/x-ai/DESIGN.md +260 -0
  445. package/dist/designer/data/systems/x-ai/components.html +460 -0
  446. package/dist/designer/data/systems/x-ai/tokens.css +268 -0
  447. package/dist/designer/data/systems/xiaohongshu/DESIGN.md +402 -0
  448. package/dist/designer/data/systems/xiaohongshu/components.html +865 -0
  449. package/dist/designer/data/systems/xiaohongshu/tokens.css +193 -0
  450. package/dist/designer/data/systems/zapier/DESIGN.md +331 -0
  451. package/dist/designer/data/systems/zapier/components.html +342 -0
  452. package/dist/designer/data/systems/zapier/tokens.css +64 -0
  453. package/dist/designer/guidelines.js +176 -0
  454. package/dist/designer/index.js +236 -0
  455. package/dist/designer/skills.js +1675 -0
  456. package/dist/designer/systems.js +216 -0
  457. package/dist/server/pi-bridge.js +155 -5
  458. package/dist/server/session-stream.js +45 -1
  459. package/package.json +1 -1
@@ -0,0 +1,839 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>Resend — reference components</title>
7
+ <meta
8
+ name="description"
9
+ content="Reference fixture for design-systems/resend. Every visible
10
+ value comes from tokens.css; the page itself follows Resend's
11
+ rules — void-black canvas, near-white text, frost-blue borders
12
+ instead of gray, one accent at a time (Resend Orange), ABC
13
+ Favorit with -0.05em display tracking, Inter for body, Commit
14
+ Mono for code."
15
+ />
16
+
17
+ <style>
18
+ /* :root paste — sourced verbatim from design-systems/resend/tokens.css. */
19
+ :root {
20
+ --bg: #000000;
21
+ --surface: #000000;
22
+ --surface-warm: var(--surface);
23
+
24
+ --fg: #f0f0f0;
25
+ --fg-2: #a1a4a5;
26
+ --muted: #5c5c5c;
27
+ --meta: #464a4d;
28
+
29
+ --border: rgba(214, 235, 253, 0.19);
30
+ --border-soft: rgba(217, 237, 254, 0.145);
31
+
32
+ --accent: #ff801f;
33
+ --accent-on: #000000;
34
+ --accent-hover: color-mix(in oklab, var(--accent), white 10%);
35
+ --accent-active: color-mix(in oklab, var(--accent), black 12%);
36
+
37
+ --success: #11ff99;
38
+ --warn: #ffc53d;
39
+ --danger: #ff2047;
40
+
41
+ --font-display: "ABC Favorit", "Inter", -apple-system, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
42
+ --font-body: "Inter", -apple-system, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
43
+ --font-mono: "Commit Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
44
+
45
+ --text-xs: 12px;
46
+ --text-sm: 14px;
47
+ --text-base: 16px;
48
+ --text-lg: 20px;
49
+ --text-xl: 24px;
50
+ --text-2xl: 36px;
51
+ --text-3xl: 56px;
52
+ --text-4xl: 96px;
53
+
54
+ --leading-body: 1.5;
55
+ --leading-tight: 1.0;
56
+ --tracking-display: -0.05em;
57
+
58
+ --space-1: 4px;
59
+ --space-2: 8px;
60
+ --space-3: 12px;
61
+ --space-4: 16px;
62
+ --space-5: 20px;
63
+ --space-6: 24px;
64
+ --space-8: 32px;
65
+ --space-12: 48px;
66
+
67
+ --section-y-desktop: 120px;
68
+ --section-y-tablet: 80px;
69
+ --section-y-phone: 48px;
70
+
71
+ --radius-sm: 4px;
72
+ --radius-md: 8px;
73
+ --radius-lg: 16px;
74
+ --radius-pill: 9999px;
75
+
76
+ --elev-flat: none;
77
+ --elev-ring: 0 0 0 1px var(--border);
78
+ --elev-raised:
79
+ 0 0 0 1px rgba(176, 199, 217, 0.145),
80
+ 0 1px 3px rgba(0, 0, 0, 0.4),
81
+ 0 1px 2px -1px rgba(0, 0, 0, 0.4);
82
+
83
+ --focus-ring: 0 0 0 2px var(--accent);
84
+
85
+ --motion-fast: 150ms;
86
+ --motion-base: 200ms;
87
+ --ease-standard: cubic-bezier(0.2, 0, 0, 1);
88
+
89
+ --container-max: 1200px;
90
+ --container-gutter-desktop: 32px;
91
+ --container-gutter-tablet: 24px;
92
+ --container-gutter-phone: 16px;
93
+ }
94
+
95
+ /* ─── Reset (minimal) ─────────────────────────────────────── */
96
+ *, *::before, *::after { box-sizing: border-box; }
97
+ html, body { margin: 0; padding: 0; }
98
+ body {
99
+ background: var(--bg);
100
+ color: var(--fg);
101
+ font-family: var(--font-body);
102
+ font-size: var(--text-base);
103
+ line-height: var(--leading-body);
104
+ font-weight: 400;
105
+ /* OpenType ligatures + ABC Favorit / Domaine stylistic sets per
106
+ DESIGN.md §3: ss01 / ss03 / ss04 / ss11 are part of the
107
+ typographic identity. Browsers without those faces simply
108
+ ignore the directives — no fallback ugliness. */
109
+ font-feature-settings: "liga" 1, "ss01" 1, "ss04" 1, "ss11" 1;
110
+ -webkit-font-smoothing: antialiased;
111
+ text-rendering: optimizeLegibility;
112
+ }
113
+
114
+ /* ─── Layout primitives ─────────────────────────────────── */
115
+ .container {
116
+ max-width: var(--container-max);
117
+ margin-inline: auto;
118
+ padding-inline: var(--container-gutter-desktop);
119
+ }
120
+ section {
121
+ padding-block: var(--section-y-desktop);
122
+ }
123
+ section + section {
124
+ /* Single frost hairline between major sections — DESIGN.md §4
125
+ "Sticky dark header with frost border bottom"; we extend
126
+ the same idea to inter-section dividers so the page reads
127
+ as a stack of gallery rooms rather than a continuous wash. */
128
+ border-top: 1px solid var(--border);
129
+ }
130
+ @media (max-width: 1023px) {
131
+ .container { padding-inline: var(--container-gutter-tablet); }
132
+ section { padding-block: var(--section-y-tablet); }
133
+ }
134
+ @media (max-width: 639px) {
135
+ .container { padding-inline: var(--container-gutter-phone); }
136
+ section { padding-block: var(--section-y-phone); }
137
+ }
138
+
139
+ /* ─── Typography ────────────────────────────────────────────
140
+ * Three-font hierarchy: display uses ABC Favorit (var(--font-
141
+ * display)) with aggressive negative tracking; body uses
142
+ * Inter (var(--font-body)); code uses Commit Mono (var(--font-
143
+ * mono)). Hierarchy comes from size + tracking, not weight —
144
+ * DESIGN.md §3 keeps weight at 400 / 500 / 600 only. */
145
+ h1, h2, h3, h4 {
146
+ font-family: var(--font-display);
147
+ line-height: var(--leading-tight);
148
+ margin: 0;
149
+ color: var(--fg);
150
+ }
151
+ h1 {
152
+ font-size: var(--text-4xl);
153
+ font-weight: 400;
154
+ letter-spacing: var(--tracking-display);
155
+ }
156
+ h2 {
157
+ font-size: var(--text-3xl);
158
+ font-weight: 400;
159
+ /* DESIGN.md §3 Section Heading line-height 1.20 — overrides
160
+ the shared --leading-tight (1.0) used by the 96px hero. */
161
+ line-height: 1.20;
162
+ letter-spacing: var(--tracking-display);
163
+ }
164
+ h3 {
165
+ font-size: var(--text-xl);
166
+ font-weight: 500;
167
+ /* DESIGN.md §3 Feature Title (24px Inter weight 500, line-
168
+ height 1.50). Feature titles use Inter, not the display
169
+ face — opt out of var(--font-display) inline. */
170
+ font-family: var(--font-body);
171
+ line-height: 1.5;
172
+ letter-spacing: normal;
173
+ }
174
+ h4 {
175
+ font-size: var(--text-lg);
176
+ font-weight: 400;
177
+ line-height: 1.3;
178
+ }
179
+ p { margin: 0; }
180
+
181
+ .lede {
182
+ font-family: var(--font-display);
183
+ font-size: var(--text-lg);
184
+ line-height: 1.3;
185
+ color: var(--fg-2);
186
+ letter-spacing: normal;
187
+ }
188
+ .body-muted { color: var(--fg-2); }
189
+ .body-meta { color: var(--muted); font-size: var(--text-sm); }
190
+ .body-sm { font-size: var(--text-sm); }
191
+
192
+ /* Eyebrow uses Commit Mono uppercase with positive tracking —
193
+ the documented nav-link pattern from DESIGN.md §3:
194
+ "ABC Favorit nav links use +0.35px letter-spacing — the only
195
+ positive tracking in the system." We extend the same airy
196
+ tracking to mono eyebrows so they read as a technical label
197
+ rather than a heading. */
198
+ .eyebrow {
199
+ font-family: var(--font-mono);
200
+ font-size: var(--text-xs);
201
+ font-weight: 500;
202
+ line-height: 1;
203
+ color: var(--muted);
204
+ text-transform: uppercase;
205
+ letter-spacing: 0.08em;
206
+ }
207
+
208
+ .stack-3 > * + * { margin-block-start: var(--space-3); }
209
+ .stack-4 > * + * { margin-block-start: var(--space-4); }
210
+ .stack-6 > * + * { margin-block-start: var(--space-6); }
211
+
212
+ /* ─── Buttons ───────────────────────────────────────────────
213
+ * DESIGN.md §4 documents three primary patterns:
214
+ * .btn-pill transparent fill + frost border + pill radius
215
+ * .btn-pill-white white solid fill + black label + pill radius
216
+ * .btn-ghost transparent, no border, sharp 4px radius
217
+ * The hero CTA pair below pairs a white-pill (max contrast)
218
+ * with a frost-pill (subtle) — Resend's signature CTA shape. */
219
+ .btn {
220
+ display: inline-flex;
221
+ align-items: center;
222
+ gap: var(--space-2);
223
+ padding: 8px 18px;
224
+ border: none;
225
+ border-radius: var(--radius-sm);
226
+ font-family: var(--font-body);
227
+ font-size: var(--text-sm);
228
+ font-weight: 500;
229
+ line-height: 1.43;
230
+ cursor: pointer;
231
+ text-decoration: none;
232
+ background: transparent;
233
+ color: inherit;
234
+ transition:
235
+ background-color var(--motion-fast) var(--ease-standard),
236
+ color var(--motion-fast) var(--ease-standard),
237
+ box-shadow var(--motion-fast) var(--ease-standard);
238
+ }
239
+ .btn:focus-visible {
240
+ outline: none;
241
+ box-shadow: var(--focus-ring);
242
+ }
243
+ .btn-pill {
244
+ border-radius: var(--radius-pill);
245
+ padding: 8px 18px;
246
+ background: transparent;
247
+ color: var(--fg);
248
+ box-shadow: 0 0 0 1px var(--border);
249
+ }
250
+ .btn-pill:hover {
251
+ /* White-glass hover from DESIGN.md §4: rgba(255,255,255,0.28).
252
+ Expressed via color-mix so it stays token-clean. */
253
+ background: color-mix(in oklab, var(--fg), transparent 72%);
254
+ box-shadow: 0 0 0 1px color-mix(in oklab, var(--fg), transparent 60%);
255
+ }
256
+ .btn-pill-white {
257
+ border-radius: var(--radius-pill);
258
+ padding: 8px 18px;
259
+ background: #ffffff;
260
+ color: #000000;
261
+ }
262
+ .btn-pill-white:hover {
263
+ background: color-mix(in oklab, #ffffff, var(--accent) 6%);
264
+ }
265
+ .btn-ghost {
266
+ background: transparent;
267
+ color: var(--fg-2);
268
+ padding-inline: var(--space-3);
269
+ }
270
+ .btn-ghost:hover {
271
+ color: var(--fg);
272
+ background: color-mix(in oklab, var(--fg), transparent 92%);
273
+ }
274
+
275
+ /* ─── Inputs ────────────────────────────────────────────────
276
+ * DESIGN.md §4: "Radius: 4px. Focus: shadow-based ring."
277
+ * Inputs use the frost-border via box-shadow so the focus
278
+ * state can swap the shadow to the accent ring without a
279
+ * layout shift. */
280
+ .field {
281
+ display: flex;
282
+ flex-direction: column;
283
+ gap: var(--space-2);
284
+ }
285
+ .field label {
286
+ font-size: var(--text-sm);
287
+ font-weight: 500;
288
+ color: var(--fg);
289
+ font-family: var(--font-body);
290
+ }
291
+ .field input {
292
+ padding: 10px 14px;
293
+ border: none;
294
+ border-radius: var(--radius-sm);
295
+ background: var(--surface);
296
+ color: var(--fg);
297
+ font-family: inherit;
298
+ font-size: var(--text-sm);
299
+ line-height: 1.43;
300
+ outline: none;
301
+ box-shadow: 0 0 0 1px var(--border);
302
+ transition: box-shadow var(--motion-fast) var(--ease-standard);
303
+ }
304
+ .field input::placeholder { color: var(--muted); }
305
+ .field input:hover {
306
+ box-shadow: 0 0 0 1px color-mix(in oklab, var(--border), white 30%);
307
+ }
308
+ .field input:focus-visible {
309
+ box-shadow: var(--focus-ring);
310
+ }
311
+ .field-help {
312
+ font-size: var(--text-xs);
313
+ color: var(--muted);
314
+ }
315
+
316
+ /* ─── Cards ─────────────────────────────────────────────────
317
+ * DESIGN.md §4: "Background: transparent or very subtle dark
318
+ * tint. Border: 1px solid rgba(214, 235, 253, 0.19)." Radius
319
+ * 16px (--radius-lg) for feature cards. Depth comes from the
320
+ * frost border alone — no opaque blur shadow, which would
321
+ * vanish into the void. */
322
+ .card {
323
+ background: var(--surface);
324
+ border: 1px solid var(--border);
325
+ border-radius: var(--radius-lg);
326
+ padding: var(--space-6);
327
+ display: flex;
328
+ flex-direction: column;
329
+ gap: var(--space-3);
330
+ transition:
331
+ border-color var(--motion-base) var(--ease-standard),
332
+ background-color var(--motion-base) var(--ease-standard);
333
+ }
334
+ .card:hover {
335
+ /* Intensify the frost edge on hover — luminance step, not
336
+ a shadow drop. Faintly tint the background with the same
337
+ cool blue at near-zero opacity so the card warms up. */
338
+ border-color: color-mix(in oklab, var(--border), white 30%);
339
+ background: color-mix(in oklab, var(--bg), white 2%);
340
+ }
341
+
342
+ /* ─── Badges ────────────────────────────────────────────────
343
+ * DESIGN.md §4 "Multi-color Accent Badges": background at
344
+ * 12–42% opacity of the accent, text at full opacity.
345
+ * `.badge-accent` uses the orange accent; `.badge-success` /
346
+ * `.badge-danger` reach the semantic tokens. Pill radius
347
+ * (9999px) is the brand-default badge shape. */
348
+ .badge {
349
+ display: inline-flex;
350
+ align-items: center;
351
+ gap: var(--space-1);
352
+ padding: 4px 12px;
353
+ border-radius: var(--radius-pill);
354
+ font-size: var(--text-xs);
355
+ font-weight: 500;
356
+ line-height: 1.5;
357
+ font-family: var(--font-body);
358
+ }
359
+ .badge-accent {
360
+ color: var(--accent);
361
+ background: color-mix(in oklab, var(--accent), transparent 80%);
362
+ }
363
+ .badge-muted {
364
+ color: var(--fg-2);
365
+ background: transparent;
366
+ box-shadow: 0 0 0 1px var(--border);
367
+ }
368
+ .badge-success {
369
+ color: var(--success);
370
+ background: color-mix(in oklab, var(--success), transparent 85%);
371
+ }
372
+ .badge-dot {
373
+ width: 6px;
374
+ height: 6px;
375
+ border-radius: 50%;
376
+ background: currentColor;
377
+ }
378
+
379
+ /* ─── Links ─────────────────────────────────────────────────
380
+ * Resend's link voice from DESIGN.md §2: link highlights are
381
+ * the pure-white moment. We pair an underline that thickens
382
+ * on hover with `--fg` (near-white) for body links — leaving
383
+ * the orange accent for explicit CTA badges only, so the ≤2
384
+ * accent uses per screen rule holds even in copy-dense
385
+ * sections. */
386
+ a {
387
+ color: var(--fg);
388
+ text-decoration: underline;
389
+ text-decoration-color: var(--border);
390
+ text-underline-offset: 3px;
391
+ text-decoration-thickness: 1px;
392
+ transition: text-decoration-color var(--motion-fast) var(--ease-standard);
393
+ }
394
+ a:hover {
395
+ text-decoration-color: var(--fg);
396
+ }
397
+ a.link-accent {
398
+ color: var(--accent);
399
+ text-decoration-color: color-mix(in oklab, var(--accent), transparent 50%);
400
+ }
401
+ a.link-accent:hover { text-decoration-color: var(--accent); }
402
+ a:focus-visible {
403
+ outline: none;
404
+ border-radius: 2px;
405
+ box-shadow: var(--focus-ring);
406
+ }
407
+
408
+ /* ─── Kbd ───────────────────────────────────────────────────
409
+ * Commit Mono, frost shadow-border edge. The mono face is
410
+ * the "developer console voice" connecting marketing copy
411
+ * to the product surface. */
412
+ kbd {
413
+ font-family: var(--font-mono);
414
+ font-size: var(--text-xs);
415
+ padding: 2px 8px;
416
+ border-radius: var(--radius-sm);
417
+ background: var(--surface);
418
+ color: var(--fg-2);
419
+ box-shadow: 0 0 0 1px var(--border);
420
+ }
421
+
422
+ /* ─── Distinctive: Code preview panel ───────────────────────
423
+ * DESIGN.md §4 "Code Preview Panels": dark code blocks using
424
+ * Commit Mono, frost borders, syntax-highlighted with multi-
425
+ * color accent tokens. The 24px radius is the brand "Section"
426
+ * radius (panel tier); reached inline because the schema's
427
+ * --radius-lg caps at 16px and adding a fifth radius slot
428
+ * would require a C-extension. */
429
+ .code-panel {
430
+ border: 1px solid var(--border);
431
+ border-radius: 24px;
432
+ background: var(--surface);
433
+ overflow: hidden;
434
+ box-shadow: var(--elev-raised);
435
+ }
436
+ .code-panel-head {
437
+ display: flex;
438
+ align-items: center;
439
+ gap: var(--space-2);
440
+ padding: var(--space-3) var(--space-4);
441
+ border-bottom: 1px solid var(--border-soft);
442
+ font-family: var(--font-mono);
443
+ font-size: var(--text-xs);
444
+ color: var(--muted);
445
+ }
446
+ .code-panel-dot {
447
+ width: 8px;
448
+ height: 8px;
449
+ border-radius: 50%;
450
+ background: color-mix(in oklab, var(--fg), transparent 80%);
451
+ }
452
+ .code-panel-title { margin-inline-start: auto; }
453
+ .code-panel pre {
454
+ margin: 0;
455
+ padding: var(--space-5) var(--space-6);
456
+ font-family: var(--font-mono);
457
+ font-size: var(--text-sm);
458
+ line-height: 1.6;
459
+ color: var(--fg);
460
+ overflow-x: auto;
461
+ }
462
+ .code-panel .tok-key { color: var(--accent); }
463
+ .code-panel .tok-str { color: var(--success); }
464
+ .code-panel .tok-fn { color: var(--warn); }
465
+ .code-panel .tok-com { color: var(--meta); font-style: italic; }
466
+
467
+ /* ─── Section-specific layout ─────────────────────────────── */
468
+ .hero {
469
+ text-align: left;
470
+ position: relative;
471
+ overflow: hidden;
472
+ }
473
+ /* Atmospheric warm gradient glow behind the hero — DESIGN.md
474
+ §6 "Decorative Depth: subtle warm gradient glows behind hero
475
+ content (orange/amber tints)". A radial wash of the accent
476
+ at very low opacity, blurred heavily — token-clean because
477
+ it mixes var(--accent) over var(--bg) rather than
478
+ introducing a raw hex. */
479
+ .hero::before {
480
+ content: "";
481
+ position: absolute;
482
+ inset: -20% -10% auto -10%;
483
+ height: 80%;
484
+ background: radial-gradient(
485
+ ellipse at 20% 30%,
486
+ color-mix(in oklab, var(--accent), var(--bg) 70%) 0%,
487
+ color-mix(in oklab, var(--accent), var(--bg) 90%) 35%,
488
+ var(--bg) 70%
489
+ );
490
+ filter: blur(80px);
491
+ opacity: 0.5;
492
+ z-index: 0;
493
+ pointer-events: none;
494
+ }
495
+ .hero > * { position: relative; z-index: 1; }
496
+ .hero .eyebrow { margin-block-end: var(--space-6); }
497
+ .hero h1 { max-width: 16ch; }
498
+ .hero .lede {
499
+ max-width: 52ch;
500
+ margin-block-start: var(--space-6);
501
+ }
502
+ .hero-actions {
503
+ display: flex;
504
+ gap: var(--space-3);
505
+ margin-block-start: var(--space-8);
506
+ align-items: center;
507
+ flex-wrap: wrap;
508
+ }
509
+ .hero-meta {
510
+ display: inline-flex;
511
+ align-items: center;
512
+ gap: var(--space-3);
513
+ margin-block-start: var(--space-6);
514
+ color: var(--muted);
515
+ font-size: var(--text-sm);
516
+ flex-wrap: wrap;
517
+ }
518
+
519
+ .features-grid {
520
+ display: grid;
521
+ grid-template-columns: repeat(3, 1fr);
522
+ gap: var(--space-5);
523
+ margin-block-start: var(--space-12);
524
+ }
525
+ @media (max-width: 1023px) {
526
+ .features-grid { grid-template-columns: 1fr 1fr; }
527
+ }
528
+ @media (max-width: 639px) {
529
+ .features-grid { grid-template-columns: 1fr; }
530
+ }
531
+ .feature-card .feature-icon {
532
+ width: 32px;
533
+ height: 32px;
534
+ border-radius: var(--radius-md);
535
+ background: color-mix(in oklab, var(--accent), transparent 85%);
536
+ color: var(--accent);
537
+ display: inline-flex;
538
+ align-items: center;
539
+ justify-content: center;
540
+ }
541
+
542
+ .form-row {
543
+ display: grid;
544
+ grid-template-columns: 1.1fr 1fr;
545
+ gap: var(--space-12);
546
+ align-items: start;
547
+ margin-block-start: var(--space-8);
548
+ }
549
+ @media (max-width: 1023px) {
550
+ .form-row { grid-template-columns: 1fr; gap: var(--space-8); }
551
+ }
552
+ .form {
553
+ display: flex;
554
+ flex-direction: column;
555
+ gap: var(--space-4);
556
+ max-width: 460px;
557
+ padding: var(--space-6);
558
+ background: var(--surface);
559
+ border: 1px solid var(--border);
560
+ border-radius: var(--radius-lg);
561
+ }
562
+ .form-actions {
563
+ display: flex;
564
+ gap: var(--space-3);
565
+ margin-block-start: var(--space-2);
566
+ align-items: center;
567
+ }
568
+
569
+ .row-between {
570
+ display: flex;
571
+ align-items: center;
572
+ justify-content: space-between;
573
+ gap: var(--space-3);
574
+ }
575
+ .icon { width: 16px; height: 16px; flex-shrink: 0; }
576
+ </style>
577
+ </head>
578
+ <body>
579
+ <main class="container">
580
+ <!-- ════════════════════════════════════════════════════════════
581
+ HERO — exercises: atmospheric warm gradient (DESIGN.md §6
582
+ "subtle warm gradient glows behind hero content"), h1 at
583
+ 96px ABC Favorit with -0.05em tracking, .lede in --fg-2,
584
+ white-pill CTA (max contrast), frost-pill CTA (subtle),
585
+ kbd shortcut, muted-pill status badge. Single-column
586
+ layout — Resend heroes float a tight content island in
587
+ vast dark space.
588
+ ═══════════════════════════════════════════════════════════════ -->
589
+ <section class="hero" data-od-id="hero">
590
+ <p class="eyebrow">Reference fixture · Resend</p>
591
+ <h1>Email for developers, not marketing teams.</h1>
592
+ <p class="lede">
593
+ A token block distilled from Resend's published design
594
+ system — ABC Favorit with -0.05em display tracking, frost
595
+ borders instead of gray hairlines, one accent at a time.
596
+ The fixture you are reading paints from the same
597
+ <code style="font-family: var(--font-mono); font-size: 0.95em">:root</code>
598
+ block agents inline into every Resend artifact.
599
+ </p>
600
+ <div class="hero-actions">
601
+ <a href="./tokens.css" class="btn btn-pill-white">
602
+ Send your first email
603
+ <svg
604
+ class="icon"
605
+ viewBox="0 0 24 24"
606
+ fill="none"
607
+ stroke="currentColor"
608
+ stroke-width="1.75"
609
+ stroke-linecap="round"
610
+ stroke-linejoin="round"
611
+ aria-hidden="true"
612
+ >
613
+ <path d="M5 12h14M13 6l6 6-6 6" />
614
+ </svg>
615
+ </a>
616
+ <a href="./DESIGN.md" class="btn btn-pill">Read the spec</a>
617
+ <a href="#code" class="btn btn-ghost">See the SDK</a>
618
+ </div>
619
+ <p class="hero-meta">
620
+ <span class="badge badge-success">
621
+ <span class="badge-dot" aria-hidden="true"></span>
622
+ v0.1 · stable
623
+ </span>
624
+ <span>Press <kbd>⌘</kbd> <kbd>K</kbd> to search the docs.</span>
625
+ </p>
626
+ </section>
627
+
628
+ <!-- ════════════════════════════════════════════════════════════
629
+ FEATURES — exercises: .card with frost border (no opaque
630
+ shadow on void), h3 at 24px Inter weight 500, .body-muted,
631
+ .badge-accent at 20% accent tint, .feature-icon glyph
632
+ tile, .features-grid three-up collapsing to one. Three
633
+ cards demonstrate the three product surfaces: SDK / API
634
+ / Domain — each gets exactly one accent tint per card so
635
+ the ≤2 accent uses per screen rule still reads at scale.
636
+ ═══════════════════════════════════════════════════════════════ -->
637
+ <section data-od-id="features">
638
+ <div class="stack-3">
639
+ <p class="eyebrow">What this fixture exercises</p>
640
+ <h2 style="max-width: 18ch">
641
+ Built for the way you actually ship.
642
+ </h2>
643
+ <p class="body-muted" style="margin-block-start: var(--space-4); max-width: 56ch">
644
+ Every component below pulls from
645
+ <code style="font-family: var(--font-mono); font-size: 0.95em">var(--*)</code>
646
+ — no raw hex outside the documented brand palette, no
647
+ off-token type. Frost borders carry every container edge;
648
+ the orange accent appears at most twice per viewport.
649
+ </p>
650
+ </div>
651
+
652
+ <div class="features-grid">
653
+ <article class="card feature-card">
654
+ <span class="feature-icon" aria-hidden="true">
655
+ <svg
656
+ class="icon"
657
+ viewBox="0 0 24 24"
658
+ fill="none"
659
+ stroke="currentColor"
660
+ stroke-width="1.75"
661
+ stroke-linecap="round"
662
+ stroke-linejoin="round"
663
+ >
664
+ <path d="M4 6h16v12H4z" />
665
+ <path d="M4 6l8 7 8-7" />
666
+ </svg>
667
+ </span>
668
+ <h3>One SDK, every runtime.</h3>
669
+ <p class="body-muted body-sm">
670
+ Node, Python, Ruby, Go, PHP, Rust, Java — same surface,
671
+ same idempotent send. Drop the SDK into an edge worker
672
+ and the API contract doesn't shift.
673
+ </p>
674
+ <a href="./tokens.css" class="link-accent body-sm">Inspect tokens &rarr;</a>
675
+ </article>
676
+
677
+ <article class="card feature-card">
678
+ <span class="feature-icon" aria-hidden="true">
679
+ <svg
680
+ class="icon"
681
+ viewBox="0 0 24 24"
682
+ fill="none"
683
+ stroke="currentColor"
684
+ stroke-width="1.75"
685
+ stroke-linecap="round"
686
+ stroke-linejoin="round"
687
+ >
688
+ <path d="M3 12h4l3-7 4 14 3-7h4" />
689
+ </svg>
690
+ </span>
691
+ <h3>Frost borders, no shadows.</h3>
692
+ <p class="body-muted body-sm">
693
+ <code style="font-family: var(--font-mono); font-size: 0.95em">border: 1px solid rgba(214,235,253,.19)</code>
694
+ replaces every gray hairline. On pure black, blur
695
+ shadows vanish — the icy line catches what little
696
+ light there is and reads as a crystalline edge.
697
+ </p>
698
+ <a href="./DESIGN.md" class="link-accent body-sm">Read the rule &rarr;</a>
699
+ </article>
700
+
701
+ <article class="card feature-card">
702
+ <span class="feature-icon" aria-hidden="true">
703
+ <svg
704
+ class="icon"
705
+ viewBox="0 0 24 24"
706
+ fill="none"
707
+ stroke="currentColor"
708
+ stroke-width="1.75"
709
+ stroke-linecap="round"
710
+ stroke-linejoin="round"
711
+ >
712
+ <path d="M4 7h16M4 12h10M4 17h16" />
713
+ </svg>
714
+ </span>
715
+ <h3>Three fonts, three roles.</h3>
716
+ <p class="body-muted body-sm">
717
+ ABC Favorit announces, Inter reads, Commit Mono
718
+ instructs. Display tracking compresses to
719
+ <code style="font-family: var(--font-mono); font-size: 0.95em">-0.05em</code>
720
+ so headlines feel engineered, never decorative.
721
+ </p>
722
+ <a href="./tokens.css" class="link-accent body-sm">Inspect typography &rarr;</a>
723
+ </article>
724
+ </div>
725
+ </section>
726
+
727
+ <!-- ════════════════════════════════════════════════════════════
728
+ CODE PANEL — Resend's distinctive surface: a Commit Mono
729
+ code block inside a frost-bordered 24px-radius panel.
730
+ Syntax highlighting reaches the multi-color accent tokens
731
+ (orange for keys, green for strings, yellow for fn names,
732
+ dark gray for comments) — this is the ONE place per
733
+ viewport where multiple accent colors are sanctioned by
734
+ DESIGN.md §4 "Code Preview Panels".
735
+ ═══════════════════════════════════════════════════════════════ -->
736
+ <section data-od-id="code" id="code">
737
+ <p class="eyebrow">The SDK in two lines</p>
738
+ <h2 style="margin-block-start: var(--space-3); max-width: 22ch">
739
+ <code style="font-family: var(--font-mono); font-size: 0.78em">resend.emails.send</code>, and you're done.
740
+ </h2>
741
+ <p class="body-muted" style="margin-block-start: var(--space-4); max-width: 56ch">
742
+ The code panel is the one surface where Resend's multi-
743
+ color accent scale is sanctioned: orange for keys, green
744
+ for strings, yellow for function names, dark gray for
745
+ comments. Everywhere else, the orange accent holds the
746
+ chromatic moment alone.
747
+ </p>
748
+
749
+ <div class="code-panel" style="margin-block-start: var(--space-8); max-width: 760px">
750
+ <div class="code-panel-head">
751
+ <span class="code-panel-dot" aria-hidden="true"></span>
752
+ <span class="code-panel-dot" aria-hidden="true"></span>
753
+ <span class="code-panel-dot" aria-hidden="true"></span>
754
+ <span class="code-panel-title">send.ts</span>
755
+ </div>
756
+ <pre><span class="tok-com">// send your first transactional email</span>
757
+ <span class="tok-key">import</span> { Resend } <span class="tok-key">from</span> <span class="tok-str">"resend"</span>;
758
+
759
+ <span class="tok-key">const</span> resend = <span class="tok-key">new</span> <span class="tok-fn">Resend</span>(<span class="tok-str">"re_xxxxx"</span>);
760
+
761
+ <span class="tok-key">await</span> resend.emails.<span class="tok-fn">send</span>({
762
+ from: <span class="tok-str">"onboarding@resend.dev"</span>,
763
+ to: <span class="tok-str">"delivered@resend.dev"</span>,
764
+ subject: <span class="tok-str">"Hello from Resend"</span>,
765
+ html: <span class="tok-str">"&lt;p&gt;Shipped.&lt;/p&gt;"</span>,
766
+ });</pre>
767
+ </div>
768
+ </section>
769
+
770
+ <!-- ════════════════════════════════════════════════════════════
771
+ FORM — exercises: .field with frost shadow-border inputs,
772
+ focus-visible swap to the 2px accent ring, .btn-pill-white
773
+ and .btn-pill reuse. Form sits inside its own frost-
774
+ bordered card so the input edges read as recessed within
775
+ the form surface.
776
+ ═══════════════════════════════════════════════════════════════ -->
777
+ <section data-od-id="form">
778
+ <p class="eyebrow">Form components</p>
779
+ <h2 style="margin-block-start: var(--space-3); max-width: 28ch">
780
+ Inputs inherit the same tokens.
781
+ </h2>
782
+
783
+ <div class="form-row">
784
+ <div class="stack-4">
785
+ <p class="body-muted" style="max-width: 48ch">
786
+ Focus rings, edges, placeholder color — all derive from
787
+ <code style="font-family: var(--font-mono); font-size: 0.95em">--accent</code>
788
+ and <code style="font-family: var(--font-mono); font-size: 0.95em">--border</code>.
789
+ The submit button reuses
790
+ <code style="font-family: var(--font-mono); font-size: 0.95em">.btn-pill-white</code>
791
+ unchanged — white fill, black label, 9999px radius.
792
+ </p>
793
+ <p class="body-muted body-sm">
794
+ No new token is introduced for this section. The form
795
+ card uses the standard frost border + 16px radius;
796
+ input shadow-borders read as recessed beneath the
797
+ card's outer frost line.
798
+ </p>
799
+ <p class="body-meta">
800
+ Full reference at <a href="./tokens.css">tokens.css</a> ·
801
+ spec at <a href="./DESIGN.md">DESIGN.md</a>.
802
+ </p>
803
+ </div>
804
+
805
+ <form class="form" onsubmit="event.preventDefault();">
806
+ <div class="row-between">
807
+ <p class="eyebrow">Join the beta</p>
808
+ <span class="badge badge-muted">
809
+ <span class="badge-dot" aria-hidden="true" style="color: var(--success)"></span>
810
+ Open
811
+ </span>
812
+ </div>
813
+ <div class="field">
814
+ <label for="email">Work email</label>
815
+ <input
816
+ id="email"
817
+ type="email"
818
+ placeholder="you@team.dev"
819
+ autocomplete="email"
820
+ required
821
+ />
822
+ <p class="field-help">
823
+ We'll send the API key and nothing else.
824
+ </p>
825
+ </div>
826
+ <div class="form-actions">
827
+ <button type="submit" class="btn btn-pill-white">
828
+ Get the API key
829
+ </button>
830
+ <button type="button" class="btn btn-pill">
831
+ Read the docs
832
+ </button>
833
+ </div>
834
+ </form>
835
+ </div>
836
+ </section>
837
+ </main>
838
+ </body>
839
+ </html>