@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,724 @@
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>Tesla — reference components</title>
7
+ <meta
8
+ name="description"
9
+ content="Reference fixture for design-systems/tesla. Radical
10
+ subtraction: pure-white canvas, single Electric Blue accent,
11
+ Universal Sans typography capped at 40px, 0.33s universal
12
+ transitions, and viewport-scale whitespace as the dominant
13
+ composition device."
14
+ />
15
+
16
+ <style>
17
+ :root {
18
+ --bg: #ffffff;
19
+ --surface: #f4f4f4;
20
+ --surface-warm: var(--surface);
21
+
22
+ --fg: #171a20;
23
+ --fg-2: #393c41;
24
+ --muted: #5c5e62;
25
+ --meta: #8e8e8e;
26
+
27
+ --border: #d0d1d2;
28
+ --border-soft: #eeeeee;
29
+
30
+ --accent: #3e6ae1;
31
+ --accent-on: #ffffff;
32
+ --accent-hover: color-mix(in oklab, var(--accent), black 8%);
33
+ --accent-active: color-mix(in oklab, var(--accent), black 14%);
34
+
35
+ --success: #16a34a;
36
+ --warn: #eab308;
37
+ --danger: #dc2626;
38
+
39
+ --font-display: "Universal Sans Display", -apple-system, Arial, sans-serif;
40
+ --font-body: "Universal Sans Text", -apple-system, Arial, sans-serif;
41
+ --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
42
+
43
+ --text-xs: 11px;
44
+ --text-sm: 12px;
45
+ --text-base: 14px;
46
+ --text-lg: 16px;
47
+ --text-xl: 17px;
48
+ --text-2xl: 22px;
49
+ --text-3xl: 28px;
50
+ --text-4xl: 40px;
51
+
52
+ --leading-body: 1.43;
53
+ --leading-tight: 1.20;
54
+
55
+ --tracking-display: normal;
56
+
57
+ --space-1: 4px;
58
+ --space-2: 8px;
59
+ --space-3: 12px;
60
+ --space-4: 16px;
61
+ --space-5: 20px;
62
+ --space-6: 24px;
63
+ --space-8: 32px;
64
+ --space-12: 48px;
65
+
66
+ --section-y-desktop: 120px;
67
+ --section-y-tablet: 72px;
68
+ --section-y-phone: 48px;
69
+
70
+ --radius-sm: 4px;
71
+ --radius-md: 12px;
72
+ --radius-lg: 12px;
73
+ --radius-pill: 9999px;
74
+
75
+ --elev-flat: none;
76
+ --elev-ring: 0 0 0 1px var(--border);
77
+ --elev-raised: 0 2px 8px rgba(0, 0, 0, 0.05);
78
+
79
+ --focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 70%);
80
+
81
+ --motion-fast: 250ms;
82
+ --motion-base: 330ms;
83
+ --ease-standard: cubic-bezier(0.5, 0, 0, 0.75);
84
+
85
+ --container-max: 1383px;
86
+ --container-gutter-desktop: 24px;
87
+ --container-gutter-tablet: 16px;
88
+ --container-gutter-phone: 12px;
89
+ }
90
+
91
+ /* ─── Reset (minimal) ───────────────────────────────────────── */
92
+ *, *::before, *::after { box-sizing: border-box; }
93
+ html, body { margin: 0; padding: 0; }
94
+ body {
95
+ background: var(--bg);
96
+ color: var(--fg-2);
97
+ font-family: var(--font-body);
98
+ font-size: var(--text-base);
99
+ line-height: var(--leading-body);
100
+ font-weight: 400;
101
+ -webkit-font-smoothing: antialiased;
102
+ -moz-osx-font-smoothing: grayscale;
103
+ }
104
+
105
+ /* ─── Layout primitives ─────────────────────────────────────── */
106
+ .container {
107
+ max-width: var(--container-max);
108
+ margin-inline: auto;
109
+ padding-inline: var(--container-gutter-desktop);
110
+ }
111
+ section { padding-block: var(--section-y-desktop); }
112
+ /* Tesla separates chapters by surface change, not borders
113
+ (DESIGN.md §7 — "Don't add borders to cards or containers"). */
114
+ .band-light { background: var(--bg); color: var(--fg-2); }
115
+ .band-soft { background: var(--surface); color: var(--fg-2); }
116
+ @media (max-width: 1023px) {
117
+ .container { padding-inline: var(--container-gutter-tablet); }
118
+ section { padding-block: var(--section-y-tablet); }
119
+ }
120
+ @media (max-width: 639px) {
121
+ .container { padding-inline: var(--container-gutter-phone); }
122
+ section { padding-block: var(--section-y-phone); }
123
+ }
124
+
125
+ /* ─── Typography — weight 400/500 only; no bold ever ──────── */
126
+ h1, h2, h3 {
127
+ font-family: var(--font-display);
128
+ margin: 0;
129
+ color: var(--fg);
130
+ line-height: var(--leading-tight);
131
+ letter-spacing: var(--tracking-display);
132
+ }
133
+ h1 { font-size: var(--text-4xl); font-weight: 500; }
134
+ h2 { font-size: var(--text-3xl); font-weight: 500; }
135
+ h3 { font-size: var(--text-xl); font-weight: 500; }
136
+ p { margin: 0; }
137
+
138
+ .lead {
139
+ font-size: var(--text-2xl);
140
+ line-height: 1.35;
141
+ color: var(--fg);
142
+ font-weight: 400;
143
+ max-width: 52ch;
144
+ }
145
+ .body-muted { color: var(--muted); }
146
+ .body-meta { color: var(--meta); font-size: var(--text-sm); }
147
+ .body-sm { font-size: var(--text-sm); }
148
+
149
+ /* `.eyebrow` — tiny uppercase label. Tesla's marketing site
150
+ avoids text-transforms in the main nav and CTAs (DESIGN.md §3
151
+ Principles + §7 "Don't use uppercase text transforms"), so
152
+ the eyebrow is reserved exclusively for the small "Reference
153
+ fixture · tesla" stage-label above hero / section titles —
154
+ not a recurring component. */
155
+ .eyebrow {
156
+ font-family: var(--font-body);
157
+ font-size: var(--text-xs);
158
+ font-weight: 500;
159
+ line-height: 1;
160
+ color: var(--muted);
161
+ text-transform: uppercase;
162
+ letter-spacing: 0.08em;
163
+ }
164
+
165
+ .stack-3 > * + * { margin-block-start: var(--space-3); }
166
+ .stack-4 > * + * { margin-block-start: var(--space-4); }
167
+ .stack-6 > * + * { margin-block-start: var(--space-6); }
168
+ .stack-8 > * + * { margin-block-start: var(--space-8); }
169
+
170
+ /* ─── Buttons ─────────────────────────────────────────────────
171
+ * Tesla's CTA family is uniform: 200×40 minimum, 4px radius,
172
+ * weight 500 14px label, content centered via flexbox. The
173
+ * primary fills with Electric Blue; the secondary is a white
174
+ * fill on white surfaces (high-contrast against hero
175
+ * photography). DESIGN.md §4 documents the precise transition
176
+ * string `border-color 0.33s, background-color 0.33s, color
177
+ * 0.33s, box-shadow 0.25s` — we map that to var(--motion-base)
178
+ * / var(--motion-fast) so the timing is bound to tokens. No
179
+ * scale or translate on interaction (DESIGN.md §7). */
180
+ .btn {
181
+ display: inline-flex;
182
+ align-items: center;
183
+ justify-content: center;
184
+ gap: var(--space-2);
185
+ min-height: 40px;
186
+ min-width: 200px;
187
+ padding: 4px 16px;
188
+ border: 3px solid transparent;
189
+ border-radius: var(--radius-sm);
190
+ font-family: var(--font-body);
191
+ font-size: var(--text-base);
192
+ font-weight: 500;
193
+ line-height: 1.2;
194
+ cursor: pointer;
195
+ text-decoration: none;
196
+ transition:
197
+ background-color var(--motion-base) var(--ease-standard),
198
+ border-color var(--motion-base) var(--ease-standard),
199
+ color var(--motion-base) var(--ease-standard),
200
+ box-shadow var(--motion-fast) var(--ease-standard);
201
+ }
202
+ .btn:focus-visible {
203
+ outline: none;
204
+ box-shadow: var(--focus-ring);
205
+ }
206
+
207
+ .btn-primary {
208
+ background: var(--accent);
209
+ color: var(--accent-on);
210
+ }
211
+ .btn-primary:hover { background: var(--accent-hover); }
212
+ .btn-primary:active { background: var(--accent-active); }
213
+
214
+ .btn-secondary {
215
+ background: var(--bg);
216
+ color: var(--fg-2);
217
+ border-color: var(--border);
218
+ }
219
+ .btn-secondary:hover {
220
+ background: var(--surface);
221
+ border-color: var(--meta);
222
+ }
223
+
224
+ /* ─── Nav link / text link ───────────────────────────────────
225
+ * Tertiary "Learn / Order / Experience" tier from DESIGN.md §4
226
+ * — 14px Pewter, no decoration at rest, underline on hover via
227
+ * the documented box-shadow transition. */
228
+ .text-link {
229
+ color: var(--muted);
230
+ font-size: var(--text-base);
231
+ font-weight: 400;
232
+ text-decoration: none;
233
+ transition:
234
+ box-shadow var(--motion-base) var(--ease-standard),
235
+ color var(--motion-base) var(--ease-standard);
236
+ }
237
+ .text-link:hover {
238
+ color: var(--fg);
239
+ text-decoration: underline;
240
+ text-underline-offset: 4px;
241
+ }
242
+
243
+ /* ─── Inputs ────────────────────────────────────────────────
244
+ * DESIGN.md §4: transparent background, Carbon Dark text,
245
+ * Silver Fog placeholder. The fixture binds a faint --border
246
+ * box so the input is visible against the pale section
247
+ * background; focus tightens to --accent and adds the soft blue
248
+ * halo. Density is quiet — photography is supposed to dominate
249
+ * the page, not form chrome. */
250
+ .field {
251
+ display: flex;
252
+ flex-direction: column;
253
+ gap: var(--space-2);
254
+ }
255
+ .field label {
256
+ font-size: var(--text-base);
257
+ font-weight: 500;
258
+ color: var(--fg);
259
+ }
260
+ .field input {
261
+ padding: 10px 12px;
262
+ border-radius: var(--radius-sm);
263
+ border: 1px solid var(--border);
264
+ background: var(--bg);
265
+ color: var(--fg);
266
+ font-family: var(--font-body);
267
+ font-size: var(--text-base);
268
+ line-height: 1.4;
269
+ outline: none;
270
+ transition:
271
+ border-color var(--motion-fast) var(--ease-standard),
272
+ box-shadow var(--motion-fast) var(--ease-standard);
273
+ }
274
+ .field input::placeholder { color: var(--meta); }
275
+ .field input:hover { border-color: var(--muted); }
276
+ .field input:focus-visible {
277
+ border-color: var(--accent);
278
+ box-shadow: var(--focus-ring);
279
+ }
280
+ .field-help {
281
+ font-size: var(--text-sm);
282
+ color: var(--muted);
283
+ }
284
+
285
+ /* ─── Cards ─────────────────────────────────────────────────
286
+ * Vehicle card mirrors DESIGN.md §4: transparent background, no
287
+ * border, no shadow, content top-aligned. Categorically the
288
+ * "no chrome" card — interaction lives in the text links
289
+ * beneath the model name. */
290
+ .vehicle-card {
291
+ background: transparent;
292
+ border: none;
293
+ box-shadow: var(--elev-flat);
294
+ padding: var(--space-4);
295
+ display: flex;
296
+ flex-direction: column;
297
+ align-items: center;
298
+ gap: var(--space-3);
299
+ text-align: center;
300
+ }
301
+ .vehicle-card .vehicle-image {
302
+ width: 100%;
303
+ aspect-ratio: 16 / 10;
304
+ border-radius: var(--radius-md);
305
+ background:
306
+ radial-gradient(80% 50% at 50% 75%, color-mix(in oklab, var(--accent), transparent 70%), transparent 70%),
307
+ var(--surface);
308
+ display: flex;
309
+ align-items: center;
310
+ justify-content: center;
311
+ color: var(--muted);
312
+ }
313
+ .vehicle-card .vehicle-image svg { width: 56%; height: auto; }
314
+ .vehicle-card .vehicle-name {
315
+ font-family: var(--font-display);
316
+ font-size: var(--text-xl);
317
+ font-weight: 500;
318
+ color: var(--fg);
319
+ margin: 0;
320
+ }
321
+ .vehicle-card .vehicle-links {
322
+ display: flex;
323
+ gap: var(--space-6);
324
+ }
325
+
326
+ /* ─── Badges ────────────────────────────────────────────────
327
+ * Used sparingly. Tesla's marketing site has no semantic chips,
328
+ * so we keep .badge present in the fixture for completeness
329
+ * (system-status indicator on the hero side panel) but bind it
330
+ * to the muted neutral tier by default. */
331
+ .badge {
332
+ display: inline-flex;
333
+ align-items: center;
334
+ gap: var(--space-2);
335
+ padding: 4px var(--space-3);
336
+ border-radius: var(--radius-pill);
337
+ font-family: var(--font-body);
338
+ font-size: var(--text-xs);
339
+ font-weight: 500;
340
+ line-height: 1.4;
341
+ }
342
+ .badge-success {
343
+ color: var(--success);
344
+ background: color-mix(in oklab, var(--success), transparent 90%);
345
+ }
346
+ .badge-dot {
347
+ width: 6px;
348
+ height: 6px;
349
+ border-radius: 50%;
350
+ background: currentColor;
351
+ }
352
+
353
+ /* ─── Links (inline) ────────────────────────────────────────
354
+ * Tesla's body links lean on the muted Pewter tier with the
355
+ * same hover treatment as .text-link — there's no separate
356
+ * "inline" tone. We keep the global `a` rule pointed at
357
+ * --muted so inline reading copy matches DESIGN.md §4. */
358
+ a {
359
+ color: var(--muted);
360
+ text-decoration: none;
361
+ transition: color var(--motion-base) var(--ease-standard);
362
+ }
363
+ a:hover {
364
+ color: var(--fg);
365
+ text-decoration: underline;
366
+ text-underline-offset: 4px;
367
+ }
368
+
369
+ /* ─── Kbd ─────────────────────────────────────────────────── */
370
+ kbd {
371
+ font-family: var(--font-mono);
372
+ font-size: var(--text-xs);
373
+ font-weight: 500;
374
+ padding: 2px 6px;
375
+ border-radius: var(--radius-sm);
376
+ border: 1px solid var(--border);
377
+ background: var(--bg);
378
+ color: var(--fg);
379
+ }
380
+
381
+ /* ─── Distinctive: floating nav strip ───────────────────────
382
+ * DESIGN.md §4 — Tesla nav is "TESLA wordmark (spaced uppercase)
383
+ * on the left, five category buttons center-aligned" floating
384
+ * above the hero with no shadow, no border. The frosted-glass
385
+ * scroll state uses rgba(255,255,255,0.75) backdrop (DESIGN.md
386
+ * §6 Level 1 "Frost"); we implement that as the resting state
387
+ * so the fixture documents the canonical chrome. */
388
+ .nav {
389
+ position: sticky;
390
+ top: 0;
391
+ z-index: 10;
392
+ background: rgba(255, 255, 255, 0.75);
393
+ -webkit-backdrop-filter: saturate(180%) blur(20px);
394
+ backdrop-filter: saturate(180%) blur(20px);
395
+ }
396
+ .nav-inner {
397
+ max-width: var(--container-max);
398
+ margin-inline: auto;
399
+ padding-inline: var(--container-gutter-desktop);
400
+ height: 56px;
401
+ display: flex;
402
+ align-items: center;
403
+ justify-content: space-between;
404
+ gap: var(--space-6);
405
+ }
406
+ .nav-brand {
407
+ font-family: var(--font-display);
408
+ font-size: var(--text-base);
409
+ font-weight: 500;
410
+ color: var(--fg);
411
+ letter-spacing: 0.4em;
412
+ }
413
+ .nav-links {
414
+ display: flex;
415
+ gap: var(--space-2);
416
+ list-style: none;
417
+ padding: 0;
418
+ margin: 0;
419
+ }
420
+ .nav-links a {
421
+ display: inline-flex;
422
+ align-items: center;
423
+ height: 32px;
424
+ padding: 4px 16px;
425
+ border-radius: var(--radius-sm);
426
+ font-size: var(--text-base);
427
+ font-weight: 500;
428
+ color: var(--fg);
429
+ transition:
430
+ color var(--motion-base) var(--ease-standard),
431
+ background-color var(--motion-base) var(--ease-standard);
432
+ }
433
+ .nav-links a:hover {
434
+ text-decoration: none;
435
+ background: var(--surface);
436
+ }
437
+ @media (max-width: 639px) {
438
+ .nav-inner { gap: var(--space-3); padding-inline: var(--container-gutter-phone); height: 48px; }
439
+ .nav-links { gap: var(--space-1); }
440
+ .nav-links a { padding: 4px 8px; }
441
+ }
442
+
443
+ /* ─── Section-specific layout ───────────────────────────────
444
+ * Tesla heroes are full-viewport gallery moments — we lean into
445
+ * a 1:1 stacked composition with model name → subtitle → CTA
446
+ * pair (DESIGN.md §7 Do: "Center CTAs horizontally below model
447
+ * names — the vertical rhythm is model → subtitle → buttons").
448
+ * The right column is a quiet status card so the fixture
449
+ * exercises the secondary surface tier and badge. */
450
+ .hero-stage {
451
+ display: grid;
452
+ grid-template-columns: 1.4fr 1fr;
453
+ gap: var(--space-12);
454
+ align-items: center;
455
+ min-height: 60vh;
456
+ }
457
+ @media (max-width: 1023px) {
458
+ .hero-stage { grid-template-columns: 1fr; gap: var(--space-8); min-height: 0; }
459
+ }
460
+ .hero-canvas {
461
+ position: relative;
462
+ border-radius: var(--radius-md);
463
+ aspect-ratio: 16 / 10;
464
+ overflow: hidden;
465
+ background:
466
+ radial-gradient(70% 50% at 70% 30%, color-mix(in oklab, var(--fg), transparent 70%), transparent 60%),
467
+ linear-gradient(180deg, var(--surface) 0%, color-mix(in oklab, var(--surface), var(--accent) 6%) 100%);
468
+ }
469
+ .hero-canvas-label {
470
+ position: absolute;
471
+ top: var(--space-4);
472
+ left: var(--space-4);
473
+ font-family: var(--font-body);
474
+ font-size: var(--text-sm);
475
+ color: var(--muted);
476
+ }
477
+ .hero-actions {
478
+ display: flex;
479
+ flex-wrap: wrap;
480
+ gap: var(--space-3);
481
+ margin-block-start: var(--space-6);
482
+ }
483
+ .hero-meta {
484
+ display: flex;
485
+ flex-direction: column;
486
+ gap: var(--space-3);
487
+ padding: var(--space-5);
488
+ border: 1px solid var(--border);
489
+ border-radius: var(--radius-md);
490
+ background: var(--bg);
491
+ }
492
+
493
+ /* Features: three centered "vehicle" cards. Tesla's nav-panel
494
+ pattern from DESIGN.md §4 — 3 columns, transparent cards,
495
+ model name + text-link pair. */
496
+ .features-grid {
497
+ display: grid;
498
+ grid-template-columns: repeat(3, 1fr);
499
+ gap: var(--space-8);
500
+ }
501
+ @media (max-width: 1023px) {
502
+ .features-grid { grid-template-columns: 1fr 1fr; }
503
+ }
504
+ @media (max-width: 639px) {
505
+ .features-grid { grid-template-columns: 1fr; }
506
+ }
507
+
508
+ .form-row {
509
+ display: grid;
510
+ grid-template-columns: 1fr 1fr;
511
+ gap: var(--space-12);
512
+ align-items: start;
513
+ }
514
+ @media (max-width: 1023px) {
515
+ .form-row { grid-template-columns: 1fr; gap: var(--space-8); }
516
+ }
517
+ .form {
518
+ display: flex;
519
+ flex-direction: column;
520
+ gap: var(--space-4);
521
+ max-width: 420px;
522
+ }
523
+ .form-actions {
524
+ display: flex;
525
+ flex-wrap: wrap;
526
+ gap: var(--space-3);
527
+ margin-block-start: var(--space-2);
528
+ }
529
+ .icon { width: 16px; height: 16px; flex-shrink: 0; }
530
+ .row-between {
531
+ display: flex;
532
+ align-items: center;
533
+ justify-content: space-between;
534
+ gap: var(--space-3);
535
+ }
536
+ </style>
537
+ </head>
538
+ <body>
539
+ <!-- ════════════════════════════════════════════════════════════
540
+ NAV — TESLA wordmark left (spaced letters), five centered
541
+ category buttons, three icon-like links right. Floats over
542
+ the hero with a frosted-glass backdrop (DESIGN.md §4 §6).
543
+ ═══════════════════════════════════════════════════════════════ -->
544
+ <header class="nav" data-od-id="nav">
545
+ <div class="nav-inner">
546
+ <span class="nav-brand">TESLA</span>
547
+ <nav aria-label="Primary">
548
+ <ul class="nav-links">
549
+ <li><a href="#hero">Vehicles</a></li>
550
+ <li><a href="#features">Energy</a></li>
551
+ <li><a href="#form">Charging</a></li>
552
+ </ul>
553
+ </nav>
554
+ </div>
555
+ </header>
556
+
557
+ <main>
558
+ <!-- ════════════════════════════════════════════════════════════
559
+ HERO — exercises: h1 (40px display, normal tracking),
560
+ .lead (22px promo tier), .btn-primary (Electric Blue) paired
561
+ with .btn-secondary (white), kbd, .badge-success. Stacked
562
+ composition with the rhythm DESIGN.md §7 prescribes:
563
+ model name → subtitle → CTA pair. Right column carries the
564
+ system-status card so the fixture exercises --surface,
565
+ --border, and the badge tier without polluting the hero
566
+ with chrome.
567
+ ═══════════════════════════════════════════════════════════════ -->
568
+ <section class="band-light" data-od-id="hero" id="hero">
569
+ <div class="container">
570
+ <div class="hero-stage">
571
+ <div class="stack-6">
572
+ <p class="eyebrow">Reference fixture · tesla</p>
573
+ <h1>Model Reference</h1>
574
+ <p class="lead">
575
+ Accelerating the world's transition to sustainable
576
+ energy — distilled into fifty-six tokens, one accent
577
+ color, and the white space between every section.
578
+ </p>
579
+ <div class="hero-actions">
580
+ <a href="./tokens.css" class="btn btn-primary">Order Now</a>
581
+ <a href="./DESIGN.md" class="btn btn-secondary">View Inventory</a>
582
+ </div>
583
+ </div>
584
+
585
+ <aside class="hero-canvas" aria-label="Hero photography placeholder">
586
+ <span class="hero-canvas-label">Photography canvas · 100vh</span>
587
+ </aside>
588
+ </div>
589
+ </div>
590
+ </section>
591
+
592
+ <!-- ════════════════════════════════════════════════════════════
593
+ FEATURES — band switches to Light Ash (--surface), three
594
+ transparent "vehicle" cards that mirror the DESIGN.md §4
595
+ nav-panel pattern: image placeholder, centered model name
596
+ in Universal Sans Display, two text links beneath. No
597
+ shadow, no border, no card background — interaction lives
598
+ in the .text-link tier only.
599
+ ═══════════════════════════════════════════════════════════════ -->
600
+ <section class="band-soft" data-od-id="features" id="features">
601
+ <div class="container">
602
+ <div class="stack-3" style="max-width: 640px">
603
+ <p class="eyebrow">The lineup</p>
604
+ <h2>Three vehicles. One typography stack. Zero shadows.</h2>
605
+ </div>
606
+
607
+ <div class="features-grid" style="margin-block-start: var(--space-12)">
608
+ <article class="vehicle-card">
609
+ <div class="vehicle-image" aria-hidden="true">
610
+ <svg viewBox="0 0 200 80" fill="none"
611
+ stroke="currentColor" stroke-width="1.5"
612
+ stroke-linecap="round" stroke-linejoin="round">
613
+ <path d="M14 56h172l-14-22-26-12H46l-22 14L14 56z" />
614
+ <circle cx="58" cy="60" r="10" fill="var(--bg)" />
615
+ <circle cx="148" cy="60" r="10" fill="var(--bg)" />
616
+ </svg>
617
+ </div>
618
+ <h3 class="vehicle-name">Model S</h3>
619
+ <div class="vehicle-links">
620
+ <a href="./tokens.css" class="text-link">Learn</a>
621
+ <a href="./DESIGN.md" class="text-link">Order</a>
622
+ </div>
623
+ </article>
624
+
625
+ <article class="vehicle-card">
626
+ <div class="vehicle-image" aria-hidden="true">
627
+ <svg viewBox="0 0 200 80" fill="none"
628
+ stroke="currentColor" stroke-width="1.5"
629
+ stroke-linecap="round" stroke-linejoin="round">
630
+ <path d="M14 56h172l-12-28-30-14H50l-24 18L14 56z" />
631
+ <circle cx="58" cy="60" r="10" fill="var(--bg)" />
632
+ <circle cx="148" cy="60" r="10" fill="var(--bg)" />
633
+ </svg>
634
+ </div>
635
+ <h3 class="vehicle-name">Model 3</h3>
636
+ <div class="vehicle-links">
637
+ <a href="./tokens.css" class="text-link">Learn</a>
638
+ <a href="./DESIGN.md" class="text-link">Order</a>
639
+ </div>
640
+ </article>
641
+
642
+ <article class="vehicle-card">
643
+ <div class="vehicle-image" aria-hidden="true">
644
+ <svg viewBox="0 0 200 80" fill="none"
645
+ stroke="currentColor" stroke-width="1.5"
646
+ stroke-linecap="round" stroke-linejoin="round">
647
+ <path d="M14 56h172l-10-26-28-16H48l-22 18L14 56z" />
648
+ <circle cx="58" cy="60" r="10" fill="var(--bg)" />
649
+ <circle cx="148" cy="60" r="10" fill="var(--bg)" />
650
+ </svg>
651
+ </div>
652
+ <h3 class="vehicle-name">Model Y</h3>
653
+ <div class="vehicle-links">
654
+ <a href="./tokens.css" class="text-link">Learn</a>
655
+ <a href="./DESIGN.md" class="text-link">Order</a>
656
+ </div>
657
+ </article>
658
+ </div>
659
+ </div>
660
+ </section>
661
+
662
+ <!-- ════════════════════════════════════════════════════════════
663
+ FORM — exercises: .field, input :focus-visible (border
664
+ tightens to --accent + the soft Electric Blue halo),
665
+ .btn-primary (the same 200×40 CTA from the hero — no new
666
+ token introduced), .btn-secondary, .field-help. Band
667
+ returns to white so the form reads as a calm transactional
668
+ moment rather than a hero.
669
+ ═══════════════════════════════════════════════════════════════ -->
670
+ <section class="band-light" data-od-id="form" id="form">
671
+ <div class="container">
672
+ <div class="form-row">
673
+ <div class="stack-4">
674
+ <p class="eyebrow">Schedule a drive</p>
675
+ <h2>Quiet form. Loud product.</h2>
676
+ <p class="body-muted" style="max-width: 52ch">
677
+ Inputs inherit the same token block — a hairline Pale
678
+ Silver edge, Carbon Dark text, the focus halo at three
679
+ pixels of soft Electric Blue. Press
680
+ <kbd>↵</kbd> to confirm; the rest of the page stays
681
+ out of the way.
682
+ </p>
683
+ <div class="row-between" style="max-width: 360px">
684
+ <span class="body-sm">Test-drive availability</span>
685
+ <span class="badge badge-success">
686
+ <span class="badge-dot" aria-hidden="true"></span>
687
+ Open
688
+ </span>
689
+ </div>
690
+ </div>
691
+
692
+ <form class="form" onsubmit="event.preventDefault();">
693
+ <div class="field">
694
+ <label for="email">Work email</label>
695
+ <input
696
+ id="email"
697
+ type="email"
698
+ placeholder="you@tesla.com"
699
+ autocomplete="email"
700
+ required
701
+ />
702
+ <p class="field-help">
703
+ We'll only contact you to confirm the appointment.
704
+ </p>
705
+ </div>
706
+ <div class="form-actions">
707
+ <button type="submit" class="btn btn-primary">
708
+ Schedule a Drive
709
+ <svg class="icon" viewBox="0 0 24 24" fill="none"
710
+ stroke="currentColor" stroke-width="1.75"
711
+ stroke-linecap="round" stroke-linejoin="round"
712
+ aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg>
713
+ </button>
714
+ <button type="button" class="btn btn-secondary">
715
+ View Inventory
716
+ </button>
717
+ </div>
718
+ </form>
719
+ </div>
720
+ </div>
721
+ </section>
722
+ </main>
723
+ </body>
724
+ </html>