oh-my-design-cli 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/LICENSE +21 -0
  2. package/README.ja.md +145 -0
  3. package/README.ko.md +245 -0
  4. package/README.md +245 -0
  5. package/README.zh-TW.md +145 -0
  6. package/data/reference-tags.md +104 -0
  7. package/data/synonyms.json +79 -0
  8. package/data/vocabulary.json +516 -0
  9. package/dist/bin/oh-my-design.js +858 -0
  10. package/dist/bin/oh-my-design.js.map +1 -0
  11. package/dist/chunk-6YNSV3VY.js +35 -0
  12. package/dist/chunk-6YNSV3VY.js.map +1 -0
  13. package/dist/chunk-MHFYGZSO.js +337 -0
  14. package/dist/chunk-MHFYGZSO.js.map +1 -0
  15. package/dist/chunk-N2JG6N4Q.js +264 -0
  16. package/dist/chunk-N2JG6N4Q.js.map +1 -0
  17. package/dist/chunk-OOQQEUGX.js +46 -0
  18. package/dist/chunk-OOQQEUGX.js.map +1 -0
  19. package/dist/chunk-OR5DHENY.js +250 -0
  20. package/dist/chunk-OR5DHENY.js.map +1 -0
  21. package/dist/customizer-CM76752R.js +8 -0
  22. package/dist/customizer-CM76752R.js.map +1 -0
  23. package/dist/index.d.ts +559 -0
  24. package/dist/index.js +3113 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/init-STACB7E5.js +635 -0
  27. package/dist/init-STACB7E5.js.map +1 -0
  28. package/dist/install-skills-CM6VXFZJ.js +152 -0
  29. package/dist/install-skills-CM6VXFZJ.js.map +1 -0
  30. package/dist/learn-33LHKEJA.js +140 -0
  31. package/dist/learn-33LHKEJA.js.map +1 -0
  32. package/dist/reference-YMNAOXJQ.js +47 -0
  33. package/dist/reference-YMNAOXJQ.js.map +1 -0
  34. package/dist/reference-parser-TM3CJPNE.js +10 -0
  35. package/dist/reference-parser-TM3CJPNE.js.map +1 -0
  36. package/dist/remember-UAFA5B2O.js +78 -0
  37. package/dist/remember-UAFA5B2O.js.map +1 -0
  38. package/dist/sync-P7X4S2DK.js +404 -0
  39. package/dist/sync-P7X4S2DK.js.map +1 -0
  40. package/dist/templates/templates/design-md.hbs +44 -0
  41. package/dist/templates/templates/partials/agent-prompt-guide.hbs +28 -0
  42. package/dist/templates/templates/partials/color-palette.hbs +49 -0
  43. package/dist/templates/templates/partials/component-stylings.hbs +28 -0
  44. package/dist/templates/templates/partials/depth-elevation.hbs +31 -0
  45. package/dist/templates/templates/partials/dos-donts.hbs +13 -0
  46. package/dist/templates/templates/partials/layout.hbs +30 -0
  47. package/dist/templates/templates/partials/responsive.hbs +25 -0
  48. package/dist/templates/templates/partials/shadcn-tokens.hbs +64 -0
  49. package/dist/templates/templates/partials/typography.hbs +43 -0
  50. package/dist/templates/templates/partials/visual-theme.hbs +26 -0
  51. package/package.json +68 -0
  52. package/references/Claude-Design-Sys-Prompt.txt +421 -0
  53. package/references/airbnb/DESIGN.md +427 -0
  54. package/references/airbnb/README.md +23 -0
  55. package/references/airbnb/preview-dark.html +234 -0
  56. package/references/airbnb/preview.html +233 -0
  57. package/references/airtable/DESIGN.md +107 -0
  58. package/references/airtable/README.md +23 -0
  59. package/references/airtable/preview-dark.html +165 -0
  60. package/references/airtable/preview.html +164 -0
  61. package/references/apple/DESIGN.md +496 -0
  62. package/references/apple/README.md +24 -0
  63. package/references/apple/preview-dark.html +420 -0
  64. package/references/apple/preview.html +414 -0
  65. package/references/baemin/DESIGN.md +260 -0
  66. package/references/baemin/README.md +19 -0
  67. package/references/bmw/DESIGN.md +180 -0
  68. package/references/bmw/README.md +23 -0
  69. package/references/bmw/preview-dark.html +211 -0
  70. package/references/bmw/preview.html +210 -0
  71. package/references/cal/DESIGN.md +259 -0
  72. package/references/cal/README.md +23 -0
  73. package/references/cal/preview-dark.html +449 -0
  74. package/references/cal/preview.html +575 -0
  75. package/references/claude/DESIGN.md +455 -0
  76. package/references/claude/README.md +24 -0
  77. package/references/claude/preview-dark.html +803 -0
  78. package/references/claude/preview.html +826 -0
  79. package/references/clay/DESIGN.md +304 -0
  80. package/references/clay/README.md +23 -0
  81. package/references/clay/preview-dark.html +316 -0
  82. package/references/clay/preview.html +315 -0
  83. package/references/clickhouse/DESIGN.md +281 -0
  84. package/references/clickhouse/README.md +24 -0
  85. package/references/clickhouse/preview-dark.html +834 -0
  86. package/references/clickhouse/preview.html +786 -0
  87. package/references/cohere/DESIGN.md +266 -0
  88. package/references/cohere/README.md +24 -0
  89. package/references/cohere/preview-dark.html +803 -0
  90. package/references/cohere/preview.html +807 -0
  91. package/references/coinbase/DESIGN.md +129 -0
  92. package/references/coinbase/README.md +23 -0
  93. package/references/coinbase/preview-dark.html +164 -0
  94. package/references/coinbase/preview.html +163 -0
  95. package/references/composio/DESIGN.md +307 -0
  96. package/references/composio/README.md +24 -0
  97. package/references/composio/preview-dark.html +958 -0
  98. package/references/composio/preview.html +933 -0
  99. package/references/cursor/DESIGN.md +322 -0
  100. package/references/cursor/README.md +24 -0
  101. package/references/cursor/preview-dark.html +393 -0
  102. package/references/cursor/preview.html +383 -0
  103. package/references/dcard/DESIGN.md +302 -0
  104. package/references/dcard/README.md +12 -0
  105. package/references/dcard/_research/forum-1440px.png +0 -0
  106. package/references/dcard/_research.md +77 -0
  107. package/references/elevenlabs/DESIGN.md +265 -0
  108. package/references/elevenlabs/README.md +23 -0
  109. package/references/elevenlabs/preview-dark.html +252 -0
  110. package/references/elevenlabs/preview.html +251 -0
  111. package/references/expo/DESIGN.md +281 -0
  112. package/references/expo/README.md +24 -0
  113. package/references/expo/preview-dark.html +533 -0
  114. package/references/expo/preview.html +533 -0
  115. package/references/ferrari/DESIGN.md +314 -0
  116. package/references/ferrari/README.md +23 -0
  117. package/references/ferrari/preview-dark.html +1162 -0
  118. package/references/ferrari/preview.html +1122 -0
  119. package/references/figma/DESIGN.md +399 -0
  120. package/references/figma/README.md +24 -0
  121. package/references/figma/preview-dark.html +822 -0
  122. package/references/figma/preview.html +832 -0
  123. package/references/framer/DESIGN.md +246 -0
  124. package/references/framer/README.md +23 -0
  125. package/references/framer/preview-dark.html +902 -0
  126. package/references/framer/preview.html +883 -0
  127. package/references/freee/DESIGN.md +308 -0
  128. package/references/freee/README.md +12 -0
  129. package/references/freee/_research/vibes-storybook-1440px.png +0 -0
  130. package/references/freee/_research.md +77 -0
  131. package/references/hashicorp/DESIGN.md +278 -0
  132. package/references/hashicorp/README.md +24 -0
  133. package/references/hashicorp/preview-dark.html +1202 -0
  134. package/references/hashicorp/preview.html +1193 -0
  135. package/references/ibm/DESIGN.md +332 -0
  136. package/references/ibm/README.md +24 -0
  137. package/references/ibm/preview-dark.html +443 -0
  138. package/references/ibm/preview.html +428 -0
  139. package/references/intercom/DESIGN.md +146 -0
  140. package/references/intercom/README.md +23 -0
  141. package/references/intercom/preview-dark.html +185 -0
  142. package/references/intercom/preview.html +184 -0
  143. package/references/kakao/DESIGN.md +261 -0
  144. package/references/kakao/README.md +18 -0
  145. package/references/karrot/DESIGN.md +252 -0
  146. package/references/karrot/README.md +18 -0
  147. package/references/kraken/DESIGN.md +146 -0
  148. package/references/kraken/README.md +23 -0
  149. package/references/kraken/preview-dark.html +169 -0
  150. package/references/kraken/preview.html +168 -0
  151. package/references/lamborghini/DESIGN.md +288 -0
  152. package/references/lamborghini/README.md +23 -0
  153. package/references/lamborghini/preview-dark.html +303 -0
  154. package/references/lamborghini/preview.html +381 -0
  155. package/references/line/DESIGN.md +375 -0
  156. package/references/line/README.md +12 -0
  157. package/references/line/_research/home-1440px.png +0 -0
  158. package/references/line/_research.md +65 -0
  159. package/references/linear.app/DESIGN.md +526 -0
  160. package/references/linear.app/README.md +24 -0
  161. package/references/linear.app/preview-dark.html +383 -0
  162. package/references/linear.app/preview.html +373 -0
  163. package/references/lovable/DESIGN.md +298 -0
  164. package/references/lovable/README.md +24 -0
  165. package/references/lovable/preview-dark.html +349 -0
  166. package/references/lovable/preview.html +348 -0
  167. package/references/mercari/DESIGN.md +294 -0
  168. package/references/mercari/README.md +12 -0
  169. package/references/mercari/_research/home-1440px.png +0 -0
  170. package/references/mercari/_research.md +77 -0
  171. package/references/minimax/DESIGN.md +257 -0
  172. package/references/minimax/README.md +24 -0
  173. package/references/minimax/preview-dark.html +1262 -0
  174. package/references/minimax/preview.html +1248 -0
  175. package/references/mintlify/DESIGN.md +341 -0
  176. package/references/mintlify/README.md +24 -0
  177. package/references/mintlify/preview-dark.html +409 -0
  178. package/references/mintlify/preview.html +398 -0
  179. package/references/miro/DESIGN.md +108 -0
  180. package/references/miro/README.md +23 -0
  181. package/references/miro/preview-dark.html +174 -0
  182. package/references/miro/preview.html +173 -0
  183. package/references/mistral.ai/DESIGN.md +261 -0
  184. package/references/mistral.ai/README.md +24 -0
  185. package/references/mistral.ai/preview-dark.html +806 -0
  186. package/references/mistral.ai/preview.html +805 -0
  187. package/references/mongodb/DESIGN.md +266 -0
  188. package/references/mongodb/README.md +23 -0
  189. package/references/mongodb/preview-dark.html +260 -0
  190. package/references/mongodb/preview.html +259 -0
  191. package/references/notion/DESIGN.md +492 -0
  192. package/references/notion/README.md +24 -0
  193. package/references/notion/preview-dark.html +372 -0
  194. package/references/notion/preview.html +364 -0
  195. package/references/nvidia/DESIGN.md +308 -0
  196. package/references/nvidia/README.md +24 -0
  197. package/references/nvidia/preview-dark.html +374 -0
  198. package/references/nvidia/preview.html +366 -0
  199. package/references/ollama/DESIGN.md +267 -0
  200. package/references/ollama/README.md +24 -0
  201. package/references/ollama/preview-dark.html +678 -0
  202. package/references/ollama/preview.html +678 -0
  203. package/references/opencode.ai/DESIGN.md +295 -0
  204. package/references/opencode.ai/README.md +24 -0
  205. package/references/opencode.ai/preview-dark.html +366 -0
  206. package/references/opencode.ai/preview.html +357 -0
  207. package/references/pinkoi/DESIGN.md +309 -0
  208. package/references/pinkoi/README.md +12 -0
  209. package/references/pinkoi/_research/browse-1440px.png +0 -0
  210. package/references/pinkoi/_research.md +115 -0
  211. package/references/pinterest/DESIGN.md +230 -0
  212. package/references/pinterest/README.md +23 -0
  213. package/references/pinterest/preview-dark.html +233 -0
  214. package/references/pinterest/preview.html +232 -0
  215. package/references/posthog/DESIGN.md +256 -0
  216. package/references/posthog/README.md +23 -0
  217. package/references/posthog/preview-dark.html +699 -0
  218. package/references/posthog/preview.html +749 -0
  219. package/references/raycast/DESIGN.md +268 -0
  220. package/references/raycast/README.md +23 -0
  221. package/references/raycast/preview-dark.html +606 -0
  222. package/references/raycast/preview.html +688 -0
  223. package/references/renault/DESIGN.md +311 -0
  224. package/references/renault/README.md +23 -0
  225. package/references/renault/preview-dark.html +406 -0
  226. package/references/renault/preview.html +606 -0
  227. package/references/replicate/DESIGN.md +261 -0
  228. package/references/replicate/README.md +24 -0
  229. package/references/replicate/preview-dark.html +828 -0
  230. package/references/replicate/preview.html +831 -0
  231. package/references/resend/DESIGN.md +303 -0
  232. package/references/resend/README.md +23 -0
  233. package/references/resend/preview-dark.html +355 -0
  234. package/references/resend/preview.html +354 -0
  235. package/references/revolut/DESIGN.md +185 -0
  236. package/references/revolut/README.md +23 -0
  237. package/references/revolut/preview-dark.html +234 -0
  238. package/references/revolut/preview.html +233 -0
  239. package/references/runwayml/DESIGN.md +244 -0
  240. package/references/runwayml/README.md +24 -0
  241. package/references/runwayml/preview-dark.html +664 -0
  242. package/references/runwayml/preview.html +665 -0
  243. package/references/sanity/DESIGN.md +357 -0
  244. package/references/sanity/README.md +24 -0
  245. package/references/sanity/preview-dark.html +990 -0
  246. package/references/sanity/preview.html +1135 -0
  247. package/references/sentry/DESIGN.md +262 -0
  248. package/references/sentry/README.md +24 -0
  249. package/references/sentry/preview-dark.html +626 -0
  250. package/references/sentry/preview.html +951 -0
  251. package/references/spacex/DESIGN.md +205 -0
  252. package/references/spacex/README.md +23 -0
  253. package/references/spacex/preview-dark.html +221 -0
  254. package/references/spacex/preview.html +220 -0
  255. package/references/spotify/DESIGN.md +246 -0
  256. package/references/spotify/README.md +23 -0
  257. package/references/spotify/preview-dark.html +231 -0
  258. package/references/spotify/preview.html +230 -0
  259. package/references/stripe/DESIGN.md +473 -0
  260. package/references/stripe/README.md +24 -0
  261. package/references/stripe/preview-dark.html +428 -0
  262. package/references/stripe/preview.html +419 -0
  263. package/references/supabase/DESIGN.md +255 -0
  264. package/references/supabase/README.md +24 -0
  265. package/references/supabase/preview-dark.html +977 -0
  266. package/references/supabase/preview.html +955 -0
  267. package/references/superhuman/DESIGN.md +252 -0
  268. package/references/superhuman/README.md +23 -0
  269. package/references/superhuman/preview-dark.html +973 -0
  270. package/references/superhuman/preview.html +951 -0
  271. package/references/tesla/DESIGN.md +286 -0
  272. package/references/tesla/README.md +23 -0
  273. package/references/tesla/preview-dark.html +947 -0
  274. package/references/tesla/preview.html +925 -0
  275. package/references/together.ai/DESIGN.md +263 -0
  276. package/references/together.ai/README.md +24 -0
  277. package/references/together.ai/preview-dark.html +892 -0
  278. package/references/together.ai/preview.html +897 -0
  279. package/references/toss/DESIGN.md +387 -0
  280. package/references/toss/README.md +19 -0
  281. package/references/uber/DESIGN.md +295 -0
  282. package/references/uber/README.md +24 -0
  283. package/references/uber/preview-dark.html +1120 -0
  284. package/references/uber/preview.html +1119 -0
  285. package/references/vercel/DESIGN.md +456 -0
  286. package/references/vercel/README.md +24 -0
  287. package/references/vercel/preview-dark.html +368 -0
  288. package/references/vercel/preview.html +367 -0
  289. package/references/voltagent/DESIGN.md +323 -0
  290. package/references/voltagent/README.md +24 -0
  291. package/references/voltagent/preview-dark.html +487 -0
  292. package/references/voltagent/preview.html +766 -0
  293. package/references/warp/DESIGN.md +253 -0
  294. package/references/warp/README.md +23 -0
  295. package/references/warp/preview-dark.html +500 -0
  296. package/references/warp/preview.html +533 -0
  297. package/references/webflow/DESIGN.md +109 -0
  298. package/references/webflow/README.md +23 -0
  299. package/references/webflow/preview-dark.html +147 -0
  300. package/references/webflow/preview.html +146 -0
  301. package/references/wise/DESIGN.md +173 -0
  302. package/references/wise/README.md +23 -0
  303. package/references/wise/preview-dark.html +230 -0
  304. package/references/wise/preview.html +229 -0
  305. package/references/x.ai/DESIGN.md +267 -0
  306. package/references/x.ai/README.md +24 -0
  307. package/references/x.ai/preview-dark.html +356 -0
  308. package/references/x.ai/preview.html +407 -0
  309. package/references/zapier/DESIGN.md +328 -0
  310. package/references/zapier/README.md +24 -0
  311. package/references/zapier/preview-dark.html +380 -0
  312. package/references/zapier/preview.html +372 -0
  313. package/skills/omd-apply/SKILL.md +85 -0
  314. package/skills/omd-init/SKILL.md +167 -0
  315. package/skills/omd-learn/SKILL.md +81 -0
  316. package/skills/omd-remember/SKILL.md +44 -0
  317. package/skills/omd-sync/SKILL.md +38 -0
@@ -0,0 +1,322 @@
1
+ # Design System Inspiration of Cursor
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ Cursor's website is a study in warm minimalism meets code-editor elegance. The entire experience is built on a warm off-white canvas (`#f2f1ed`) with dark warm-brown text (`#26251e`) -- not pure black, not neutral gray, but a deeply warm near-black with a yellowish undertone that evokes old paper, ink, and craft. This warmth permeates every surface: backgrounds lean toward cream (`#e6e5e0`, `#ebeae5`), borders dissolve into transparent warm overlays using `oklab` color space, and even the error state (`#cf2d56`) carries warmth rather than clinical red. The result feels more like a premium print publication than a tech website.
6
+
7
+ The custom CursorGothic font is the typographic signature -- a gothic sans-serif with aggressive negative letter-spacing at display sizes (-2.16px at 72px) that creates a compressed, engineered feel. As a secondary voice, the jjannon serif font (with OpenType `"cswh"` contextual swash alternates) provides literary counterpoint for body copy and editorial passages. The monospace voice comes from berkeleyMono, a refined coding font that connects the marketing site to Cursor's core identity as a code editor. This three-font system (gothic display, serif body, mono code) gives Cursor one of the most typographically rich palettes in developer tooling.
8
+
9
+ The border system is particularly distinctive -- Cursor uses `oklab()` color space for border colors, applying warm brown at various alpha levels (0.1, 0.2, 0.55) to create borders that feel organic rather than mechanical. The signature border color `oklab(0.263084 -0.00230259 0.0124794 / 0.1)` is not a simple rgba value but a perceptually uniform color that maintains visual consistency across different backgrounds.
10
+
11
+ **Key Characteristics:**
12
+ - CursorGothic with aggressive negative letter-spacing (-2.16px at 72px, -0.72px at 36px) for compressed display headings
13
+ - jjannon serif for body text with OpenType `"cswh"` (contextual swash alternates)
14
+ - berkeleyMono for code and technical labels
15
+ - Warm off-white background (`#f2f1ed`) instead of pure white -- the entire system is warm-shifted
16
+ - Primary text color `#26251e` (warm near-black with yellow undertone)
17
+ - Accent orange `#f54e00` for brand highlight and links
18
+ - oklab-space borders at various alpha levels for perceptually uniform edge treatment
19
+ - Pill-shaped elements with extreme radius (33.5M px, effectively full-pill)
20
+ - 8px base spacing system with fine-grained sub-8px increments (1.5px, 2px, 2.5px, 3px, 4px, 5px, 6px)
21
+
22
+ ### Do's and Don'ts
23
+
24
+ - **DO** lean into warm neutrals — `#f2f1ed` canvas, `#26251e` text, `oklab` borders. Pure white or pure black breaks the warm-print atmosphere.
25
+ - **DON'T** introduce cold grays (`#e5e7eb`, `#6b7280`) — they fight the warm undertone and feel mechanical against Cursor's literary warmth.
26
+ - **DO** apply aggressive negative letter-spacing (-2.16px at 72px, scaling proportionally) on display headlines. Compressed type is the brand voice.
27
+ - **DON'T** use default tracking on display sizes — it reads as generic and undersells Cursor's typographic care.
28
+ - **DO** use the three-font system deliberately: CursorGothic for display, jjannon serif for body and editorial passages, berkeleyMono for code.
29
+ - **DON'T** mix fonts from outside the system — adding a fourth voice fragments the carefully curated typographic palette.
30
+ - **DO** use `oklab()` color space for borders and overlays where supported — perceptually uniform colors maintain consistency across backgrounds.
31
+ - **DON'T** fall back to flat rgba() borders without considering perceptual contrast on different surface tints.
32
+ - **DO** use full-pill buttons (extreme radius) for primary CTAs — they're part of the warm, approachable feel.
33
+ - **DON'T** use sharp 2-4px corners on buttons — that aesthetic belongs to engineering brands like NVIDIA, not Cursor's editorial warmth.
34
+
35
+ ## 2. Color Palette & Roles
36
+
37
+ ### Primary
38
+ - **Cursor Dark** (`#26251e`): Primary text, headings, dark UI surfaces. A warm near-black with distinct yellow-brown undertone -- the defining color of the system.
39
+ - **Cursor Cream** (`#f2f1ed`): Page background, primary surface. Not white but a warm cream that sets the entire warm tone.
40
+ - **Cursor Light** (`#e6e5e0`): Secondary surface, button backgrounds, card fills. A slightly warmer, slightly darker cream.
41
+ - **Pure White** (`#ffffff`): Used sparingly for maximum contrast elements and specific surface highlights.
42
+ - **True Black** (`#000000`): Minimal use, specific code/console contexts.
43
+
44
+ ### Accent
45
+ - **Cursor Orange** (`#f54e00`): Brand accent, `--color-accent`. A vibrant red-orange used for primary CTAs, active links, and brand moments. Warm and urgent.
46
+ - **Gold** (`#c08532`): Secondary accent, warm gold for premium or highlighted contexts.
47
+
48
+ ### Semantic
49
+ - **Error** (`#cf2d56`): `--color-error`. A warm crimson-rose rather than cold red.
50
+ - **Success** (`#1f8a65`): `--color-success`. A muted teal-green, warm-shifted.
51
+
52
+ ### Timeline / Feature Colors
53
+ - **Thinking** (`#dfa88f`): Warm peach for "thinking" state in AI timeline.
54
+ - **Grep** (`#9fc9a2`): Soft sage green for search/grep operations.
55
+ - **Read** (`#9fbbe0`): Soft blue for file reading operations.
56
+ - **Edit** (`#c0a8dd`): Soft lavender for editing operations.
57
+
58
+ ### Surface Scale
59
+ - **Surface 100** (`#f7f7f4`): Lightest button/card surface, barely tinted.
60
+ - **Surface 200** (`#f2f1ed`): Primary page background.
61
+ - **Surface 300** (`#ebeae5`): Button default background, subtle emphasis.
62
+ - **Surface 400** (`#e6e5e0`): Card backgrounds, secondary surfaces.
63
+ - **Surface 500** (`#e1e0db`): Tertiary button background, deeper emphasis.
64
+
65
+ ### Border Colors
66
+ - **Border Primary** (`oklab(0.263084 -0.00230259 0.0124794 / 0.1)`): Standard border, 10% warm brown in oklab space.
67
+ - **Border Medium** (`oklab(0.263084 -0.00230259 0.0124794 / 0.2)`): Emphasized border, 20% warm brown.
68
+ - **Border Strong** (`rgba(38, 37, 30, 0.55)`): Strong borders, table rules.
69
+ - **Border Solid** (`#26251e`): Full-opacity dark border for maximum contrast.
70
+ - **Border Light** (`#f2f1ed`): Light border matching page background.
71
+
72
+ ### Shadows & Depth
73
+ - **Card Shadow** (`rgba(0,0,0,0.14) 0px 28px 70px, rgba(0,0,0,0.1) 0px 14px 32px, oklab(0.263084 -0.00230259 0.0124794 / 0.1) 0px 0px 0px 1px`): Heavy elevated card with warm oklab border ring.
74
+ - **Ambient Shadow** (`rgba(0,0,0,0.02) 0px 0px 16px, rgba(0,0,0,0.008) 0px 0px 8px`): Subtle ambient glow for floating elements.
75
+
76
+ ## 3. Typography Rules
77
+
78
+ ### Font Family
79
+ - **Display/Headlines**: `CursorGothic`, with fallbacks: `CursorGothic Fallback, system-ui, Helvetica Neue, Helvetica, Arial`
80
+ - **Body/Editorial**: `jjannon`, with fallbacks: `Iowan Old Style, Palatino Linotype, URW Palladio L, P052, ui-serif, Georgia, Cambria, Times New Roman, Times`
81
+ - **Code/Technical**: `berkeleyMono`, with fallbacks: `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New`
82
+ - **UI/System**: `system-ui`, with fallbacks: `-apple-system, Segoe UI, Helvetica Neue, Arial`
83
+ - **Icons**: `CursorIcons16` (icon font at 14px and 12px)
84
+ - **OpenType Features**: `"cswh"` on jjannon body text, `"ss09"` on CursorGothic buttons/captions
85
+
86
+ ### Hierarchy
87
+
88
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
89
+ |------|------|------|--------|-------------|----------------|-------|
90
+ | Display Hero | CursorGothic | 72px (4.50rem) | 400 | 1.10 (tight) | -2.16px | Maximum compression, hero statements |
91
+ | Section Heading | CursorGothic | 36px (2.25rem) | 400 | 1.20 (tight) | -0.72px | Feature sections, CTA headlines |
92
+ | Sub-heading | CursorGothic | 26px (1.63rem) | 400 | 1.25 (tight) | -0.325px | Card headings, sub-sections |
93
+ | Title Small | CursorGothic | 22px (1.38rem) | 400 | 1.30 (tight) | -0.11px | Smaller titles, list headings |
94
+ | Body Serif | jjannon | 19.2px (1.20rem) | 500 | 1.50 | normal | Editorial body with `"cswh"` |
95
+ | Body Serif SM | jjannon | 17.28px (1.08rem) | 400 | 1.35 | normal | Standard body text, descriptions |
96
+ | Body Sans | CursorGothic | 16px (1.00rem) | 400 | 1.50 | normal/0.08px | UI body text |
97
+ | Button Label | CursorGothic | 14px (0.88rem) | 400 | 1.00 (tight) | normal | Primary button text |
98
+ | Button Caption | CursorGothic | 14px (0.88rem) | 400 | 1.50 | 0.14px | Secondary button with `"ss09"` |
99
+ | Caption | CursorGothic | 11px (0.69rem) | 400-500 | 1.50 | normal | Small captions, metadata |
100
+ | System Heading | system-ui | 20px (1.25rem) | 700 | 1.55 | normal | System UI headings |
101
+ | System Caption | system-ui | 13px (0.81rem) | 500-600 | 1.33 | normal | System UI labels |
102
+ | System Micro | system-ui | 11px (0.69rem) | 500 | 1.27 (tight) | 0.048px | Uppercase micro labels |
103
+ | Mono Body | berkeleyMono | 12px (0.75rem) | 400 | 1.67 (relaxed) | normal | Code blocks |
104
+ | Mono Small | berkeleyMono | 11px (0.69rem) | 400 | 1.33 | -0.275px | Inline code, terminal |
105
+ | Lato Heading | Lato | 16px (1.00rem) | 600 | 1.33 | normal | Lato section headings |
106
+ | Lato Caption | Lato | 14px (0.88rem) | 400-600 | 1.33 | normal | Lato captions |
107
+ | Lato Micro | Lato | 12px (0.75rem) | 400-600 | 1.27 (tight) | 0.053px | Lato small labels |
108
+
109
+ ### Principles
110
+ - **Gothic compression for impact**: CursorGothic at display sizes uses -2.16px letter-spacing at 72px, progressively relaxing: -0.72px at 36px, -0.325px at 26px, -0.11px at 22px, normal at 16px and below. The tracking creates a sense of precision engineering.
111
+ - **Serif for soul**: jjannon provides literary warmth. The `"cswh"` feature adds contextual swash alternates that give body text a calligraphic quality.
112
+ - **Three typographic voices**: Gothic (display/UI), serif (editorial/body), mono (code/technical). Each serves a distinct communication purpose.
113
+ - **Weight restraint**: CursorGothic uses weight 400 almost exclusively, relying on size and tracking for hierarchy rather than weight. System-ui components use 500-700 for functional emphasis.
114
+
115
+ ## 4. Component Stylings
116
+
117
+ ### Buttons
118
+
119
+ **Primary (Warm Surface)**
120
+ - Background: `#ebeae5` (Surface 300)
121
+ - Text: `#26251e` (Cursor Dark)
122
+ - Padding: 10px 12px 10px 14px
123
+ - Radius: 8px
124
+ - Outline: none
125
+ - Hover: text shifts to `var(--color-error)` (`#cf2d56`)
126
+ - Focus shadow: `rgba(0,0,0,0.1) 0px 4px 12px`
127
+ - Use: Primary actions, main CTAs
128
+
129
+ **Secondary Pill**
130
+ - Background: `#e6e5e0` (Surface 400)
131
+ - Text: `oklab(0.263 / 0.6)` (60% warm brown)
132
+ - Padding: 3px 8px
133
+ - Radius: full pill (33.5M px)
134
+ - Hover: text shifts to `var(--color-error)`
135
+ - Use: Tags, filters, secondary actions
136
+
137
+ **Tertiary Pill**
138
+ - Background: `#e1e0db` (Surface 500)
139
+ - Text: `oklab(0.263 / 0.6)` (60% warm brown)
140
+ - Radius: full pill
141
+ - Use: Active filter state, selected tags
142
+
143
+ **Ghost (Transparent)**
144
+ - Background: `rgba(38, 37, 30, 0.06)` (6% warm brown)
145
+ - Text: `rgba(38, 37, 30, 0.55)` (55% warm brown)
146
+ - Padding: 6px 12px
147
+ - Use: Tertiary actions, dismiss buttons
148
+
149
+ **Light Surface**
150
+ - Background: `#f7f7f4` (Surface 100) or `#f2f1ed` (Surface 200)
151
+ - Text: `#26251e` or `oklab(0.263 / 0.9)` (90%)
152
+ - Padding: 0px 8px 1px 12px
153
+ - Use: Dropdown triggers, subtle interactive elements
154
+
155
+ ### Cards & Containers
156
+ - Background: `#e6e5e0` or `#f2f1ed`
157
+ - Border: `1px solid oklab(0.263 / 0.1)` (warm brown at 10%)
158
+ - Radius: 8px (standard), 4px (compact), 10px (featured)
159
+ - Shadow: `rgba(0,0,0,0.14) 0px 28px 70px, rgba(0,0,0,0.1) 0px 14px 32px` for elevated cards
160
+ - Hover: shadow intensification
161
+
162
+ ### Inputs & Forms
163
+ - Background: transparent or surface
164
+ - Text: `#26251e`
165
+ - Padding: 8px 8px 6px (textarea)
166
+ - Border: `1px solid oklab(0.263 / 0.1)`
167
+ - Focus: border shifts to `oklab(0.263 / 0.2)` or accent orange
168
+
169
+ ### Navigation
170
+ - Clean horizontal nav on warm cream background
171
+ - Cursor logotype left-aligned (~96x24px)
172
+ - Links: 14px CursorGothic or system-ui, weight 500
173
+ - CTA button: warm surface with Cursor Dark text
174
+ - Tab navigation: bottom border `1px solid oklab(0.263 / 0.1)` with active tab differentiation
175
+
176
+ ### Image Treatment
177
+ - Code editor screenshots with `1px solid oklab(0.263 / 0.1)` border
178
+ - Rounded corners: 8px standard
179
+ - AI chat/timeline screenshots dominate feature sections
180
+ - Warm gradient or solid cream backgrounds behind hero images
181
+
182
+ ### Distinctive Components
183
+
184
+ **AI Timeline**
185
+ - Vertical timeline showing AI operations: thinking (peach), grep (sage), read (blue), edit (lavender)
186
+ - Each step uses its semantic color with matching text
187
+ - Connected with vertical lines
188
+ - Core visual metaphor for Cursor's AI-first coding experience
189
+
190
+ **Code Editor Previews**
191
+ - Dark code editor screenshots with warm cream border frame
192
+ - berkeleyMono for code text
193
+ - Syntax highlighting using timeline colors
194
+
195
+ **Pricing Cards**
196
+ - Warm surface backgrounds with bordered containers
197
+ - Feature lists using jjannon serif for readability
198
+ - CTA buttons with accent orange or primary dark styling
199
+
200
+ ## 5. Layout Principles
201
+
202
+ ### Spacing System
203
+ - Base unit: 8px
204
+ - Fine scale: 1.5px, 2px, 2.5px, 3px, 4px, 5px, 6px (sub-8px for micro-adjustments)
205
+ - Standard scale: 8px, 10px, 12px, 14px (derived from extraction)
206
+ - Extended scale (inferred): 16px, 24px, 32px, 48px, 64px, 96px
207
+ - Notable: fine-grained sub-8px increments for precise icon/text alignment
208
+
209
+ ### Grid & Container
210
+ - Max content width: approximately 1200px
211
+ - Hero: centered single-column with generous top padding (80-120px)
212
+ - Feature sections: 2-3 column grids for cards and features
213
+ - Full-width sections with warm cream or slightly darker backgrounds
214
+ - Sidebar layouts for documentation and settings pages
215
+
216
+ ### Whitespace Philosophy
217
+ - **Warm negative space**: The cream background means whitespace has warmth and texture, unlike cold white minimalism. Large empty areas feel cozy rather than clinical.
218
+ - **Compressed text, open layout**: Aggressive negative letter-spacing on CursorGothic headlines is balanced by generous surrounding margins. Text is dense; space around it breathes.
219
+ - **Section variation**: Alternating surface tones (cream → lighter cream → cream) create subtle section differentiation without harsh boundaries.
220
+
221
+ ### Border Radius Scale
222
+ - Micro (1.5px): Fine detail elements
223
+ - Small (2px): Inline elements, code spans
224
+ - Medium (3px): Small containers, inline badges
225
+ - Standard (4px): Cards, images, compact buttons
226
+ - Comfortable (8px): Primary buttons, cards, menus
227
+ - Featured (10px): Larger containers, featured cards
228
+ - Full Pill (33.5M px / 9999px): Pill buttons, tags, badges
229
+
230
+ ## 6. Depth & Elevation
231
+
232
+ | Level | Treatment | Use |
233
+ |-------|-----------|-----|
234
+ | Flat (Level 0) | No shadow | Page background, text blocks |
235
+ | Border Ring (Level 1) | `oklab(0.263 / 0.1) 0px 0px 0px 1px` | Standard card/container border (warm oklab) |
236
+ | Border Medium (Level 1b) | `oklab(0.263 / 0.2) 0px 0px 0px 1px` | Emphasized borders, active states |
237
+ | Ambient (Level 2) | `rgba(0,0,0,0.02) 0px 0px 16px, rgba(0,0,0,0.008) 0px 0px 8px` | Floating elements, subtle glow |
238
+ | Elevated Card (Level 3) | `rgba(0,0,0,0.14) 0px 28px 70px, rgba(0,0,0,0.1) 0px 14px 32px, oklab ring` | Modals, popovers, elevated cards |
239
+ | Focus | `rgba(0,0,0,0.1) 0px 4px 12px` on button focus | Interactive focus feedback |
240
+
241
+ **Shadow Philosophy**: Cursor's depth system is built around two ideas. First, borders use perceptually uniform oklab color space rather than rgba, ensuring warm brown borders look consistent across different background tones. Second, elevation shadows use dramatically large blur values (28px, 70px) with moderate opacity (0.14, 0.1), creating a diffused, atmospheric lift rather than hard-edged drop shadows. Cards don't feel like they float above the page -- they feel like the page has gently opened a space for them.
242
+
243
+ ### Decorative Depth
244
+ - Warm cream surface variations create subtle tonal depth without shadows
245
+ - oklab borders at 10% and 20% create a spectrum of edge definition
246
+ - No harsh divider lines -- section separation through background tone shifts and spacing
247
+
248
+ ## 7. Interaction & Motion
249
+
250
+ ### Hover States
251
+ - Buttons: text color shifts to `--color-error` (`#cf2d56`) on hover -- a distinctive warm crimson that signals interactivity
252
+ - Links: color shift to accent orange (`#f54e00`) or underline decoration with `rgba(38, 37, 30, 0.4)`
253
+ - Cards: shadow intensification on hover (ambient → elevated)
254
+
255
+ ### Focus States
256
+ - Shadow-based focus: `rgba(0,0,0,0.1) 0px 4px 12px` for depth-based focus indication
257
+ - Border focus: `oklab(0.263 / 0.2)` (20% border) for input/form focus
258
+ - Consistent warm tone in all focus states -- no cold blue focus rings
259
+
260
+ ### Transitions
261
+ - Color transitions: 150ms ease for text/background color changes
262
+ - Shadow transitions: 200ms ease for elevation changes
263
+ - Transform: subtle scale or translate for interactive feedback
264
+
265
+ ## 8. Responsive Behavior
266
+
267
+ ### Breakpoints
268
+ | Name | Width | Key Changes |
269
+ |------|-------|-------------|
270
+ | Mobile | <600px | Single column, reduced padding, stacked navigation |
271
+ | Tablet Small | 600-768px | 2-column grids begin |
272
+ | Tablet | 768-900px | Expanded card grids, sidebar appears |
273
+ | Desktop Small | 900-1279px | Full layout forming |
274
+ | Desktop | >1279px | Full layout, maximum content width |
275
+
276
+ ### Touch Targets
277
+ - Buttons use comfortable padding (6px-14px vertical, 8px-14px horizontal)
278
+ - Pill buttons maintain tap-friendly sizing with 3px-10px padding
279
+ - Navigation links at 14px with adequate spacing for touch
280
+
281
+ ### Collapsing Strategy
282
+ - Hero: 72px CursorGothic → 36px → 26px on smaller screens, maintaining proportional letter-spacing
283
+ - Navigation: horizontal links → hamburger menu on mobile
284
+ - Feature cards: 3-column → 2-column → single column stacked
285
+ - Code editor screenshots: maintain aspect ratio, may shrink with border treatment preserved
286
+ - Timeline visualization: horizontal → vertical stacking
287
+ - Section spacing: 80px+ → 48px → 32px on mobile
288
+
289
+ ### Image Behavior
290
+ - Editor screenshots maintain warm border treatment at all sizes
291
+ - AI timeline adapts from horizontal to vertical layout
292
+ - Product screenshots use responsive images with consistent border radius
293
+ - Full-width hero images scale proportionally
294
+
295
+ ## 9. Agent Prompt Guide
296
+
297
+ ### Quick Color Reference
298
+ - Primary CTA background: `#ebeae5` (warm cream button)
299
+ - Page background: `#f2f1ed` (warm off-white)
300
+ - Text color: `#26251e` (warm near-black)
301
+ - Secondary text: `rgba(38, 37, 30, 0.55)` (55% warm brown)
302
+ - Accent: `#f54e00` (orange)
303
+ - Error/hover: `#cf2d56` (warm crimson)
304
+ - Success: `#1f8a65` (muted teal)
305
+ - Border: `oklab(0.263084 -0.00230259 0.0124794 / 0.1)` or `rgba(38, 37, 30, 0.1)` as fallback
306
+
307
+ ### Example Component Prompts
308
+ - "Create a hero section on `#f2f1ed` warm cream background. Headline at 72px CursorGothic weight 400, line-height 1.10, letter-spacing -2.16px, color `#26251e`. Subtitle at 17.28px jjannon weight 400, line-height 1.35, color `rgba(38,37,30,0.55)`. Primary CTA button (`#ebeae5` bg, 8px radius, 10px 14px padding) with hover text shift to `#cf2d56`."
309
+ - "Design a card: `#e6e5e0` background, border `1px solid rgba(38,37,30,0.1)`. Radius 8px. Title at 22px CursorGothic weight 400, letter-spacing -0.11px. Body at 17.28px jjannon weight 400, color `rgba(38,37,30,0.55)`. Use `#f54e00` for link accents."
310
+ - "Build a pill tag: `#e6e5e0` background, `rgba(38,37,30,0.6)` text, full-pill radius (9999px), 3px 8px padding, 14px CursorGothic weight 400."
311
+ - "Create navigation: sticky `#f2f1ed` background with backdrop-filter blur. 14px system-ui weight 500 for links, `#26251e` text. CTA button right-aligned with `#ebeae5` bg and 8px radius. Bottom border `1px solid rgba(38,37,30,0.1)`."
312
+ - "Design an AI timeline showing four steps: Thinking (`#dfa88f`), Grep (`#9fc9a2`), Read (`#9fbbe0`), Edit (`#c0a8dd`). Each step: 14px system-ui label + 16px CursorGothic description + vertical connecting line in `rgba(38,37,30,0.1)`."
313
+
314
+ ### Iteration Guide
315
+ 1. Always use warm tones -- `#f2f1ed` background, `#26251e` text, never pure white/black for primary surfaces
316
+ 2. Letter-spacing scales with font size for CursorGothic: -2.16px at 72px, -0.72px at 36px, -0.325px at 26px, normal at 16px
317
+ 3. Use `rgba(38, 37, 30, alpha)` as a CSS-compatible fallback for oklab borders
318
+ 4. Three fonts, three voices: CursorGothic (display/UI), jjannon (editorial), berkeleyMono (code)
319
+ 5. Pill shapes (9999px radius) for tags and filters; 8px radius for primary buttons and cards
320
+ 6. Hover states use `#cf2d56` text color -- the warm crimson shift is a signature interaction
321
+ 7. Shadows use large blur values (28px, 70px) for diffused atmospheric depth
322
+ 8. The sub-8px spacing scale (1.5, 2, 2.5, 3, 4, 5, 6px) is critical for icon/text micro-alignment
@@ -0,0 +1,24 @@
1
+ # Cursor Inspired Design System
2
+
3
+ [DESIGN.md](https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/cursor/DESIGN.md) extracted from the public [Cursor](https://cursor.com/) website. This is not the official design system. Colors, fonts, and spacing may not be 100% accurate. But it's a good starting point for building something similar.
4
+
5
+ ## Files
6
+
7
+ | File | Description |
8
+ |------|-------------|
9
+ | `DESIGN.md` | Complete design system documentation (9 sections) |
10
+ | `preview.html` | Interactive design token catalog (light) |
11
+ | `preview-dark.html` | Interactive design token catalog (dark) |
12
+
13
+
14
+ Use [DESIGN.md](https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/cursor/DESIGN.md) to use as a reference for AI agents (Claude, Cursor, Stitch) to generate UI that looks like the Cursor design language.
15
+
16
+ ## Preview
17
+
18
+ A sample landing page built with DESIGN.md. It shows the actual colors, typography, buttons, cards, spacing, and elevation, all in one page.
19
+
20
+ ### Dark Mode
21
+ ![Cursor Design System — Dark Mode](https://pub-2e4ecbcbc9b24e7b93f1a6ab5b2bc71f.r2.dev/designs/cursor/preview-dark-screenshot.png)
22
+
23
+ ### Light Mode
24
+ ![Cursor Design System — Light Mode](https://pub-2e4ecbcbc9b24e7b93f1a6ab5b2bc71f.r2.dev/designs/cursor/preview-screenshot.png)