@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,265 @@
1
+ /* ─────────────────────────────────────────────────────────────────────────
2
+ * design-systems/cal/tokens.css
3
+ *
4
+ * Structured token bindings for "Design System Inspired by Cal.com" —
5
+ * open-source scheduling infrastructure rendered as a grayscale photograph.
6
+ * Pure-white canvas, near-black charcoal text, one reserved link-blue, and
7
+ * a multi-layer shadow stack that replaces CSS borders with ring-shadows.
8
+ *
9
+ * This file pre-compiles the values described in `DESIGN.md` into the
10
+ * shared schema. Agents generating an artifact for cal should paste the
11
+ * `:root` block verbatim into the first `<style>` of the artifact, then
12
+ * reference everything via `var(--*)`.
13
+ *
14
+ * Brand-specific schema decisions (each bends a schema convention to
15
+ * match Cal.com's voice rather than the cross-brand default):
16
+ *
17
+ * 1. `--fg` is `#242424` (Charcoal), NOT `#000000`. DESIGN.md §2 names
18
+ * it the "signature near-black, warmer than pure black" — the
19
+ * micro-warmth is what keeps the canvas from feeling harsh, the
20
+ * same role `#171717` plays for Vercel. `--fg-2` independently
21
+ * binds to `#111111` (Midnight) because Cal uses it for highest-
22
+ * contrast nav links and deep emphasis; `--muted` lands on
23
+ * `#898989` (Mid Gray) for descriptions, the third documented
24
+ * tier in the grayscale palette.
25
+ *
26
+ * 2. `--accent` is `#0099ff` (Link Blue), the ONLY non-grayscale
27
+ * value in the brand. DESIGN.md §2 calls it "the only blue in
28
+ * the system, reserved strictly for hyperlinks" — color is a
29
+ * "foreign substance" deliberately quarantined to text links and
30
+ * focus rings. Primary CTAs use `--fg` (Charcoal) as the button
31
+ * background, mirroring Cal.com's signature dark-on-white button.
32
+ * Keeping the link-blue in `--accent` (not promoting Charcoal to
33
+ * double-duty) preserves the lint's "≤2 accent uses per screen"
34
+ * semantic and matches where blue actually appears in product.
35
+ *
36
+ * 3. `--border` is `rgba(34, 42, 53, 0.08)` — the literal Cal.com
37
+ * ring-shadow alpha, NOT a solid hex. DESIGN.md §1 + §6 calls
38
+ * out the shadow-as-border technique: surfaces use `0 0 0 1px`
39
+ * ring shadows instead of CSS borders, "avoiding CSS border
40
+ * entirely". Binding `--border` to the same alpha lets
41
+ * `--elev-ring` reproduce the Cal hairline by default, and lets
42
+ * `border: 1px solid var(--border)` match exactly when a true
43
+ * border is structurally needed. `--border-soft` drops to 0.05
44
+ * alpha (the same value used in the diffused-shadow layer of
45
+ * the card stack) for inner separators that shouldn't compete.
46
+ *
47
+ * 4. `--surface-warm` aliases to `--surface` and `--meta` aliases to
48
+ * `--muted`. Cal.com is intentionally monochrome — there is no
49
+ * warm surface tier and no fourth gray below `--muted`. Following
50
+ * the schema, an unused tier collapses via `var()` instead of
51
+ * introducing a fabricated value.
52
+ *
53
+ * 5. `--elev-raised` is the full multi-layer Cal card stack
54
+ * (`0 1px 5px -4px rgba(19,19,22,0.7), 0 0 0 1px rgba(34,42,53,0.08),
55
+ * 0 4px 8px rgba(34,42,53,0.05)`), reproduced VERBATIM from
56
+ * DESIGN.md §6 Level 2. The composition is the workhorse: a sharp
57
+ * contact shadow at the bottom edge (the `-4px` spread lifts the
58
+ * blur off the top), a ring-shadow that paints the hairline edge,
59
+ * and a soft diffused ambient at 5% alpha. Drop any layer and
60
+ * the card stops looking "built" — it floats.
61
+ *
62
+ * 6. The type scale tops out at 64px (`--text-4xl`) per DESIGN.md §3
63
+ * "Display Hero: Cal Sans 64px / 600 / 1.10". `--leading-tight`
64
+ * is 1.1 to match. `--tracking-display` is `0` (not negative)
65
+ * because Cal Sans was DESIGNED with extremely tight default
66
+ * letter-spacing at large sizes — DESIGN.md §3 lists letter-
67
+ * spacing 0px at 64/48/24 and warns that adding negative tracking
68
+ * at small sizes cramps the font. Positive tracking compensation
69
+ * for sub-24px Cal Sans usage stays a component-local concern.
70
+ *
71
+ * 7. `--font-display` leads with `Cal Sans` (the custom geometric
72
+ * display face by Mark Davis, open-source via Google Fonts),
73
+ * falling back to Inter so artifacts render legibly when Cal
74
+ * Sans is not loaded. `--font-body` is Inter ("rock-solid"
75
+ * body face per DESIGN.md §3). `--font-mono` leads with
76
+ * Roboto Mono per the documented code-block font.
77
+ *
78
+ * 8. Section rhythm is generous: `96px` desktop, `64px` tablet,
79
+ * `48px` phone (`--section-y-*`). DESIGN.md §5 demands "80px–96px
80
+ * vertical between major sections (generous)" and DESIGN.md §7
81
+ * forbids dropping below 48px on any breakpoint — "the generous
82
+ * whitespace is core to the premium monochrome aesthetic".
83
+ * Container caps at `1200px` (the documented max content width).
84
+ *
85
+ * Source contracts:
86
+ * - Standard token names: design-systems/_schema/tokens.schema.ts
87
+ * - A2 fallback parity: design-systems/_schema/defaults.css
88
+ * - Lint enforcement: apps/daemon/src/lint-artifact.ts
89
+ * ─────────────────────────────────────────────────────────────────── */
90
+
91
+ :root {
92
+ /* ─── Surface ─────────────────────────────────────────────────────
93
+ * Cal.com's canvas is achromatic and uniform — pure white page, pure
94
+ * white cards, no warm tier anywhere. `--surface-warm` aliases to
95
+ * `--surface` because the brand explicitly forbids background tinting
96
+ * (DESIGN.md §2: "boldness through monochrome"); depth comes from the
97
+ * multi-layer shadow stack, not from surface-color variation. */
98
+ --bg: #ffffff; /* Pure White — the dominant canvas */
99
+ --surface: #ffffff; /* White card surface — depth via shadow, not color */
100
+ --surface-warm: var(--surface); /* alias — Cal.com has no warm tier */
101
+
102
+ /* ─── Foreground ──────────────────────────────────────────────────
103
+ * Three grayscale tiers from DESIGN.md §2 palette: Charcoal (#242424,
104
+ * the warmer-than-black signature), Midnight (#111111, deepest text
105
+ * for nav and high-contrast emphasis), and Mid Gray (#898989, the
106
+ * documented secondary / muted tier). `--meta` collapses to `--muted`
107
+ * because Cal has no fourth tier — there is no tertiary gray below
108
+ * Mid Gray in the brand spec. */
109
+ --fg: #242424; /* Charcoal — primary text, button bg, signature near-black */
110
+ --fg-2: #111111; /* Midnight — deepest text, nav, high-contrast emphasis */
111
+ --muted: #898989; /* Mid Gray — descriptions, secondary labels, muted content */
112
+ --meta: var(--muted); /* alias — Cal has only three grayscale tiers */
113
+
114
+ /* ─── Border ──────────────────────────────────────────────────────
115
+ * Shadow-as-border is THE signature: `rgba(34, 42, 53, 0.08)` at 1px
116
+ * spread replaces CSS borders throughout (DESIGN.md §1 + §6). Binding
117
+ * `--border` to the alpha (not a solid hex) lets `--elev-ring`
118
+ * reproduce the Cal hairline by default, and lets `border: 1px solid
119
+ * var(--border)` paint the same value when a real border is
120
+ * structurally required. `--border-soft` drops to 0.05 (the diffused-
121
+ * shadow layer alpha) for inner row separators that must not compete
122
+ * with the card edge. */
123
+ --border: rgba(34, 42, 53, 0.08); /* signature ring-shadow alpha — used as border */
124
+ --border-soft: rgba(34, 42, 53, 0.05); /* inner separator — quieter than the card edge */
125
+
126
+ /* ─── Accent ──────────────────────────────────────────────────────
127
+ * Link Blue (#0099ff) — the ONLY chromatic color in the entire
128
+ * system. DESIGN.md §2: "reserved strictly for hyperlinks". Cal's
129
+ * marketing site treats color as "a foreign substance"; primary CTAs
130
+ * use `--fg` (Charcoal) as the button background, not `--accent`,
131
+ * which keeps the blue exclusively where it appears in product:
132
+ * inline text links and the focus-ring tint. */
133
+ --accent: #0099ff; /* Link Blue — only non-grayscale color, link-only */
134
+ --accent-on: #ffffff; /* white label on the rare blue surface */
135
+ --accent-hover: color-mix(in oklab, var(--accent), black 8%);
136
+ --accent-active: color-mix(in oklab, var(--accent), black 14%);
137
+
138
+ /* ─── Semantic ────────────────────────────────────────────────────
139
+ * Cal.com's marketing surface rarely renders state. We inherit the
140
+ * schema defaults (no grayscale-shift) — the product UI does show
141
+ * greens and blues in scheduling screenshots, but per DESIGN.md §2
142
+ * those colors belong to the product image, not the marketing frame. */
143
+ --success: #16a34a;
144
+ --warn: #eab308;
145
+ --danger: #dc2626;
146
+
147
+ /* ─── Typography ──────────────────────────────────────────────────
148
+ * Cal Sans + Inter — the documented two-face pairing (DESIGN.md §3).
149
+ * Cal Sans is exclusively for headings (24px+) with extremely tight
150
+ * default letter-spacing; Inter is "rock-solid" body. The font stacks
151
+ * fall through to system-installed faces so artifacts render legibly
152
+ * even when Cal Sans / Inter are not loaded. */
153
+ --font-display: "Cal Sans", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
154
+ --font-body: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
155
+ --font-mono: "Roboto Mono", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
156
+
157
+ /* Type scale (px) — derived from DESIGN.md §3 hierarchy table. The
158
+ * scale tops out at 64px (display hero, Cal Sans 600 / 1.10) and
159
+ * keeps the documented 48 / 24 / 20 / 16 / 14 / 12 anchors. The
160
+ * `--text-2xl` step at 32px bridges the 24→48 gap so cross-brand
161
+ * components reading `--text-2xl` get a sensible section-title size
162
+ * even though DESIGN.md does not list 32px explicitly. */
163
+ --text-xs: 12px; /* caption / micro / Cal Sans label */
164
+ --text-sm: 14px; /* caption / nav micro / Roboto Mono code */
165
+ --text-base: 16px; /* body / UI label / card title */
166
+ --text-lg: 20px; /* sub-heading (Cal Sans 600 / 1.20 / +0.2px) */
167
+ --text-xl: 24px; /* feature heading (Cal Sans 600 / 1.30) */
168
+ --text-2xl: 32px; /* bridge tier (24→48) for cross-brand consumers */
169
+ --text-3xl: 48px; /* section heading (Cal Sans 600 / 1.10) */
170
+ --text-4xl: 64px; /* display hero (Cal Sans 600 / 1.10) */
171
+
172
+ /* `--leading-tight` is 1.1 to match DESIGN.md's "Cal Sans display
173
+ * 1.10" and "Section Heading 1.10" rows. `--leading-body` is 1.5,
174
+ * the documented Inter body-text leading. `--tracking-display` is
175
+ * `0` — Cal Sans is DESIGNED with extremely tight default letter-
176
+ * spacing at large sizes, and DESIGN.md §3 lists tracking 0px at
177
+ * 64 / 48 / 24px. Negative tracking at display would over-cramp it. */
178
+ --leading-body: 1.5;
179
+ --leading-tight: 1.1;
180
+ --tracking-display: 0;
181
+
182
+ /* ─── Spacing ─────────────────────────────────────────────────────
183
+ * 4px-grid base scale matching the schema defaults. Cal.com's DESIGN
184
+ * §5 spacing scale (1/2/3/4/6/8/12/16/20/24/28 sub-tiers) covers many
185
+ * micro-padding values that are too fine for the shared schema; those
186
+ * stay component-local. The 4/8/12/16/20/24/32/48 tier here covers
187
+ * the structural rhythm — the deliberate jump from 28px to 80px in
188
+ * DESIGN.md is preserved by the `--section-y-*` tier below. */
189
+ --space-1: 4px;
190
+ --space-2: 8px;
191
+ --space-3: 12px;
192
+ --space-4: 16px;
193
+ --space-5: 20px;
194
+ --space-6: 24px;
195
+ --space-8: 32px;
196
+ --space-12: 48px;
197
+
198
+ /* Section rhythm — DESIGN.md §5: "80px–96px vertical between major
199
+ * sections (generous)" + §7 forbids dropping below 48px on mobile.
200
+ * We anchor at the upper end (96px desktop), step down to 64px on
201
+ * tablet, and bottom out at the 48px mobile floor. The whitespace
202
+ * is the design — DESIGN.md §5 calls it "lavish section spacing". */
203
+ --section-y-desktop: 96px;
204
+ --section-y-tablet: 64px;
205
+ --section-y-phone: 48px;
206
+
207
+ /* ─── Radius ──────────────────────────────────────────────────────
208
+ * DESIGN.md §5 documents an unusually wide radius scale (2/4/6/8/12/
209
+ * 16/29/100/1000/9999). We bind the four schema tiers to: 8 (the
210
+ * "standard interactive element" radius for buttons / inputs /
211
+ * images), 12 (medium containers), 16 (large section containers),
212
+ * 9999 (pill for badges and rounded actions). The intermediate
213
+ * 29px / 100px tiers are component-specific and stay inline. */
214
+ --radius-sm: 8px; /* buttons, inputs, standard interactive */
215
+ --radius-md: 12px; /* cards, medium containers */
216
+ --radius-lg: 16px; /* large section containers */
217
+ --radius-pill: 9999px; /* pill badges, fully rounded actions */
218
+
219
+ /* ─── Elevation ───────────────────────────────────────────────────
220
+ * Cal.com's depth system is shadow-LED via multi-layer compositing
221
+ * (DESIGN.md §6: "11 shadow definitions"). Three sanctioned levels:
222
+ *
223
+ * --elev-flat no shadow (page canvas, basic text containers)
224
+ * --elev-ring the signature 1px ring-as-border (most surfaces)
225
+ * --elev-raised the workhorse card stack (Level 2 in DESIGN.md §6)
226
+ *
227
+ * `--elev-raised` is reproduced VERBATIM from DESIGN.md §6 Level 2:
228
+ * contact: 0 1px 5px -4px rgba(19,19,22,0.7) — sharp bottom edge
229
+ * ring: 0 0 0 1px rgba(34,42,53,0.08) — hairline border
230
+ * ambient: 0 4px 8px rgba(34,42,53,0.05) — soft diffused depth
231
+ * Drop any layer and the card loses the "physical card on a table"
232
+ * quality that DESIGN.md §6 calls out as the system's signature. */
233
+ --elev-flat: none;
234
+ --elev-ring: 0 0 0 1px var(--border);
235
+ --elev-raised:
236
+ 0 1px 5px -4px rgba(19, 19, 22, 0.7),
237
+ 0 0 0 1px rgba(34, 42, 53, 0.08),
238
+ 0 4px 8px rgba(34, 42, 53, 0.05);
239
+
240
+ /* ─── Focus ring ──────────────────────────────────────────────────
241
+ * The schema default (a soft alpha glow at `--accent`) reproduces
242
+ * Cal.com's focus aesthetic well — DESIGN.md §2 names the focus
243
+ * indicator as "Focus Ring: #3b82f6 at 50% opacity", and our Link
244
+ * Blue accent tinted to ~30% alpha sits in the same family without
245
+ * introducing a brand-foreign hue. */
246
+ --focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 70%);
247
+
248
+ /* ─── Motion ──────────────────────────────────────────────────────
249
+ * Two durations + one easing curve. Cal.com's transitions are quick
250
+ * and unobtrusive — DESIGN.md §4 describes hover as a simple opacity
251
+ * reduction, never a long-form choreographed entrance. */
252
+ --motion-fast: 150ms;
253
+ --motion-base: 200ms;
254
+ --ease-standard: cubic-bezier(0.2, 0, 0, 1);
255
+
256
+ /* ─── Layout ──────────────────────────────────────────────────────
257
+ * 1200px max content width per DESIGN.md §5: "~1200px content
258
+ * container, centered". Gutters narrow on mobile so body copy stays
259
+ * comfortable on small screens — Cal.com does not edge-bleed text
260
+ * at any breakpoint. */
261
+ --container-max: 1200px;
262
+ --container-gutter-desktop: 24px;
263
+ --container-gutter-tablet: 16px;
264
+ --container-gutter-phone: 12px;
265
+ }
@@ -0,0 +1,157 @@
1
+ # Design System Inspired by Canva
2
+
3
+ > Category: Design & Creative
4
+ > Visual creation platform. Vivid purple-blue gradient, generous spacing, friendly geometry.
5
+
6
+ ## 1. Visual Theme & Atmosphere
7
+
8
+ Canva is the friendly face of design tools — the brand makes a point of looking inviting where Adobe looks intimidating. The page is built on a clean white canvas (`#ffffff`) with a signature **purple-to-blue gradient** (`#7d2ae8` → `#00c4cc`) used in the brand mark, hero buttons, and Pro/Magic moments. Surfaces are generously padded, edges are gently rounded (8–16px), and shadows are soft and cool-toned.
9
+
10
+ Typography uses **Canva Sans** (a custom geometric sans) for chrome and prose, with rounded letterforms that share DNA with brands like Airbnb and Asana. Weight contrast does the heavy lifting — 800 for hero display, 700 for section heads, 400 for body — while size hierarchy is more compressed than typical product brands so cards and templates read at a glance.
11
+
12
+ The shape system is ultra-soft: 12px on most cards, 16–20px on larger panels, 9999px on chips. Buttons are rectangles with a subtle elevation shadow (`0 2px 8px rgba(0,0,0,0.06)`) that grows on hover. Iconography is filled and rounded, never line-only — Canva's icons speak the same shape language as its UI.
13
+
14
+ **Key Characteristics:**
15
+ - White canvas with a violet-to-cyan gradient (`#7d2ae8` → `#00c4cc`)
16
+ - Canva Sans (rounded geometric) for everything; weight contrast over color
17
+ - 12–20px radii everywhere; 9999px pills for chips and tags
18
+ - Soft cool-toned shadows that grow on hover
19
+ - Filled rounded iconography — never outlined
20
+ - Vibrant secondary palette (coral, mint, tangerine) for category tags
21
+ - Pro/Magic moments lit by a static gradient — no animation
22
+
23
+ ## 2. Color Palette & Roles
24
+
25
+ ### Brand Gradient
26
+ - **Canva Purple** (`#7d2ae8`): Brand primary; gradient origin.
27
+ - **Canva Cyan** (`#00c4cc`): Brand secondary; gradient terminus.
28
+ - **Canva Pink** (`#ff5757`): Tertiary brand accent (Magic Studio).
29
+
30
+ ### Surface
31
+ - **Canvas** (`#ffffff`): Primary background.
32
+ - **Surface Subtle** (`#f4f5f7`): Section break, sidebar.
33
+ - **Surface Inset** (`#e8eaed`): Disabled, inset block.
34
+ - **Surface Cool** (`#eef0fc`): Hover tint on purple-themed cards.
35
+
36
+ ### Ink & Text
37
+ - **Ink Primary** (`#0e1318`): Primary text.
38
+ - **Ink Secondary** (`#3c4043`): Body prose.
39
+ - **Ink Muted** (`#5f6368`): Captions, descriptions.
40
+ - **Ink Faint** (`#9aa0a6`): Placeholder, disabled label.
41
+
42
+ ### Semantic
43
+ - **Success** (`#00b894`): Saved, exported.
44
+ - **Warning** (`#ffb020`): Storage limit, advisory.
45
+ - **Error** (`#ff5757`): Validation, destructive.
46
+ - **Info** (`#0d99ff`): Tip, link.
47
+
48
+ ### Category Accents (Template Tags)
49
+ - **Coral** (`#ff7059`): Social posts.
50
+ - **Tangerine** (`#ff9633`): Marketing.
51
+ - **Mint** (`#48c997`): Education.
52
+ - **Sky** (`#3ea6ff`): Business.
53
+ - **Lavender** (`#9b87f5`): Personal.
54
+
55
+ ### Border
56
+ - **Border Default** (`#e1e3e6`): Standard hairline.
57
+ - **Border Strong** (`#c7cdd3`): Emphasized border, hover state.
58
+
59
+ ## 3. Typography Rules
60
+
61
+ ### Font Family
62
+ - **Display / UI / Body**: `Canva Sans`, with fallback: `'YS Text', system-ui, -apple-system, sans-serif`
63
+ - **Editorial (rare)**: `Canva Sans Display`, with fallback: `'Canva Sans', sans-serif`
64
+ - **Code (devtools only)**: `JetBrains Mono`, with fallback: `ui-monospace, Menlo, Consolas, monospace`
65
+
66
+ ### Hierarchy
67
+
68
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
69
+ |------|------|------|--------|-------------|----------------|-------|
70
+ | Hero | Canva Sans | 64px (4rem) | 800 | 1.05 | -0.02em | Marketing hero, "Design anything." |
71
+ | H1 | Canva Sans | 36px (2.25rem) | 700 | 1.15 | -0.01em | Page heading |
72
+ | H2 | Canva Sans | 24px (1.5rem) | 700 | 1.2 | -0.005em | Section heading |
73
+ | H3 | Canva Sans | 18px (1.125rem) | 600 | 1.3 | normal | Sub-section, card title |
74
+ | Body Large | Canva Sans | 16px (1rem) | 400 | 1.55 | normal | Lede, marketing body |
75
+ | Body | Canva Sans | 14px (0.875rem) | 400 | 1.5 | normal | Standard UI prose |
76
+ | Caption | Canva Sans | 12px (0.75rem) | 500 | 1.4 | 0.005em | Metadata, hint text |
77
+ | Button | Canva Sans | 14px (0.875rem) | 600 | 1.2 | normal | Default button label |
78
+ | Tag | Canva Sans | 11px (0.6875rem) | 600 | 1.2 | 0.04em | Uppercase category chip |
79
+
80
+ ### Principles
81
+ - **Weight contrast over color contrast**: hierarchy steps via 800→700→600→400; the surface stays neutral.
82
+ - **Tight line-height for cards**: card titles use 1.15–1.2 so a 3-line title still fits a 4:3 thumbnail.
83
+ - **No display serif**: Canva is sans-only across all surfaces; serifs appear only as user-selectable template fonts inside the editor.
84
+
85
+ ## 4. Component Stylings
86
+
87
+ ### Buttons
88
+
89
+ **Primary (Gradient)**
90
+ - Background: `linear-gradient(135deg, #7d2ae8, #00c4cc)`
91
+ - Text: `#ffffff`
92
+ - Padding: 12px 20px
93
+ - Radius: 8px
94
+ - Shadow: `0 2px 8px rgba(125, 42, 232, 0.2)`
95
+ - Hover: shadow grows to `0 4px 14px rgba(125, 42, 232, 0.3)`
96
+ - Use: hero CTAs, "Try Canva Pro"
97
+
98
+ **Primary (Solid Purple)**
99
+ - Background: `#7d2ae8`
100
+ - Text: `#ffffff`
101
+ - Padding: 12px 20px
102
+ - Radius: 8px
103
+ - Hover: `#6815d4`
104
+
105
+ **Secondary**
106
+ - Background: `#ffffff`
107
+ - Text: `#0e1318`
108
+ - Border: 1px solid `#e1e3e6`
109
+ - Radius: 8px
110
+ - Hover: background `#f4f5f7`, border `#c7cdd3`
111
+
112
+ **Subtle / Tertiary**
113
+ - Background: `rgba(125, 42, 232, 0.08)`
114
+ - Text: `#7d2ae8`
115
+ - Hover: background `rgba(125, 42, 232, 0.14)`
116
+
117
+ ### Cards / Template Tiles
118
+ - Background: `#ffffff`
119
+ - Border: 1px solid `#e1e3e6`
120
+ - Radius: 12px
121
+ - Shadow at rest: `0 1px 3px rgba(0,0,0,0.04)`
122
+ - Shadow on hover: `0 8px 24px rgba(0,0,0,0.08)`, lift 2px
123
+ - Aspect ratio: thumbnail respects template (1:1, 4:3, 9:16)
124
+
125
+ ### Inputs
126
+ - Background: `#ffffff`
127
+ - Border: 1px solid `#e1e3e6`
128
+ - Radius: 8px
129
+ - Padding: 10px 14px
130
+ - Focus: border `#7d2ae8`, ring `0 0 0 3px rgba(125, 42, 232, 0.16)`
131
+
132
+ ### Chips / Tags
133
+ - Background: category-tinted soft.
134
+ - Text: matching strong category color.
135
+ - Padding: 4px 10px
136
+ - Radius: 9999px
137
+ - Font: 11px / 600 / uppercase
138
+
139
+ ### Pro Badge
140
+ - Background: `linear-gradient(135deg, #7d2ae8, #ff5757)`
141
+ - Text: `#ffffff`
142
+ - Padding: 2px 8px
143
+ - Radius: 9999px
144
+ - Font: 10px / 700 / uppercase
145
+
146
+ ## 5. Spacing & Layout
147
+
148
+ - **Base unit**: 4px. Scale: 4, 8, 12, 16, 24, 32, 48, 64, 96.
149
+ - **Container**: max 1320px, 32px gutter.
150
+ - **Sidebar (editor)**: 320px wide; collapses to 56px icons.
151
+ - **Card grid gap**: 16px on mobile, 24px on desktop.
152
+
153
+ ## 6. Motion
154
+
155
+ - **Duration**: 180ms for hover; 280ms for menu open; 420ms for editor sidebar collapse.
156
+ - **Easing**: `cubic-bezier(0.4, 0, 0.2, 1)` (Material-style).
157
+ - **Card lift**: translateY(-2px) + shadow grow on hover, single transition.