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,267 @@
1
+ # Design System Inspiration of xAI
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ xAI's website is a masterclass in dark-first, monospace-driven brutalist minimalism -- a design system that feels like it was built by engineers who understand that restraint is the ultimate form of sophistication. The entire experience is anchored to an almost-black background (`#1f2228`) with pure white text (`#ffffff`), creating a high-contrast, terminal-inspired aesthetic that signals deep technical credibility. There are no gradients, no decorative illustrations, no color accents competing for attention. This is a site that communicates through absence.
6
+
7
+ The typographic system is split between two carefully chosen typefaces. `GeistMono` (Vercel's monospace font) handles display-level headlines at an extraordinary 320px with weight 300, and also serves as the button typeface in uppercase with tracked-out letter-spacing (1.4px). `universalSans` handles all body and secondary heading text with a clean, geometric sans-serif voice. The monospace-as-display-font choice is the defining aesthetic decision -- it positions xAI not as a consumer product but as infrastructure, as something built by people who live in terminals.
8
+
9
+ The spacing system operates on an 8px base grid with values concentrated at the small end (4px, 8px, 24px, 48px), reflecting a dense, information-focused layout philosophy. Border radius is minimal -- the site barely rounds anything, maintaining sharp, architectural edges. There are no decorative shadows, no gradients, no layered elevation. Depth is communicated purely through contrast and whitespace.
10
+
11
+ **Key Characteristics:**
12
+ - Pure dark theme: `#1f2228` background with `#ffffff` text -- no gray middle ground
13
+ - GeistMono at extreme display sizes (320px, weight 300) -- monospace as luxury
14
+ - Uppercase monospace buttons with 1.4px letter-spacing -- technical, commanding
15
+ - universalSans for body text at 16px/1.5 and headings at 30px/1.2 -- clean contrast
16
+ - Zero decorative elements: no shadows, no gradients, no colored accents
17
+ - 8px spacing grid with a sparse, deliberate scale
18
+ - Heroicons SVG icon system -- minimal, functional
19
+ - Tailwind CSS with arbitrary values -- utility-first engineering approach
20
+
21
+ ## 2. Color Palette & Roles
22
+
23
+ ### Primary
24
+ - **Pure White** (`#ffffff`): The singular text color, link color, and all foreground elements. In xAI's system, white is not a background -- it is the voice.
25
+ - **Dark Background** (`#1f2228`): The canvas. A warm near-black with a subtle blue undertone (not pure black, not neutral gray). This specific hue prevents the harsh eye strain of `#000000` while maintaining deep darkness.
26
+
27
+ ### Interactive
28
+ - **White Default** (`#ffffff`): Link and interactive element color in default state.
29
+ - **White Muted** (`rgba(255, 255, 255, 0.5)`): Hover state for links -- a deliberate dimming rather than brightening, which is unusual and distinctive.
30
+ - **White Subtle** (`rgba(255, 255, 255, 0.2)`): Borders, dividers, and subtle surface treatments.
31
+ - **Ring Blue** (`rgb(59, 130, 246) / 0.5`): Tailwind's default focus ring color (`--tw-ring-color`), used for keyboard accessibility focus states.
32
+
33
+ ### Surface & Borders
34
+ - **Surface Elevated** (`rgba(255, 255, 255, 0.05)`): Subtle card backgrounds and hover surfaces -- barely visible lift.
35
+ - **Surface Hover** (`rgba(255, 255, 255, 0.08)`): Slightly more visible hover state for interactive containers.
36
+ - **Border Default** (`rgba(255, 255, 255, 0.1)`): Standard border for cards, dividers, and containers.
37
+ - **Border Strong** (`rgba(255, 255, 255, 0.2)`): Emphasized borders for active states and button outlines.
38
+
39
+ ### Functional
40
+ - **Text Primary** (`#ffffff`): All headings, body text, labels.
41
+ - **Text Secondary** (`rgba(255, 255, 255, 0.7)`): Descriptions, captions, supporting text.
42
+ - **Text Tertiary** (`rgba(255, 255, 255, 0.5)`): Muted labels, placeholder text, timestamps.
43
+ - **Text Quaternary** (`rgba(255, 255, 255, 0.3)`): Disabled text, very subtle annotations.
44
+
45
+ ### Resolved Surface Tints
46
+ The rgba overlays above resolve to these effective hex values when composited on the `#1f2228` canvas:
47
+ - **Surface Elevated Resolved** (`#26292f`): `rgba(255, 255, 255, 0.05)` over `#1f2228`.
48
+ - **Surface Hover Resolved** (`#2a2d33`): `rgba(255, 255, 255, 0.08)` over `#1f2228`.
49
+ - **Border Default Resolved** (`#2c2f35`): `rgba(255, 255, 255, 0.1)` over `#1f2228`.
50
+ - **Border Strong Resolved** (`#3a3d42`): `rgba(255, 255, 255, 0.2)` over `#1f2228`.
51
+
52
+ ### Focus Ring (explicit hex from Tailwind)
53
+ - **Ring Blue** (`#3b82f6`): The Tailwind default focus color (`rgb(59, 130, 246)`) used for keyboard accessibility — only chromatic accent in the otherwise monochrome system.
54
+
55
+ ## 3. Typography Rules
56
+
57
+ ### Font Family
58
+ - **Display / Buttons**: `GeistMono`, with fallback: `ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New`
59
+ - **Body / Headings**: `universalSans`, with fallback: `universalSans Fallback`
60
+
61
+ ### Hierarchy
62
+
63
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Transform | Notes |
64
+ |------|------|------|--------|-------------|----------------|-----------|-------|
65
+ | Display Hero | GeistMono | 320px (20rem) | 300 | 1.50 | normal | none | Extreme scale, monospace luxury |
66
+ | Section Heading | universalSans | 30px (1.88rem) | 400 | 1.20 (tight) | normal | none | Clean sans-serif contrast |
67
+ | Body | universalSans | 16px (1rem) | 400 | 1.50 | normal | none | Standard reading text |
68
+ | Button | GeistMono | 14px (0.88rem) | 400 | 1.43 | 1.4px | uppercase | Tracked monospace, commanding |
69
+ | Label / Caption | universalSans | 14px (0.88rem) | 400 | 1.50 | normal | none | Supporting text |
70
+ | Small / Meta | universalSans | 12px (0.75rem) | 400 | 1.50 | normal | none | Timestamps, footnotes |
71
+
72
+ ### Principles
73
+ - **Monospace as display**: GeistMono at 320px is not a gimmick -- it is the brand statement. The fixed-width characters at extreme scale create a rhythmic, architectural quality that no proportional font can achieve.
74
+ - **Light weight at scale**: Weight 300 for the 320px headline prevents the monospace from feeling heavy or brutish at extreme sizes. It reads as precise, not overwhelming.
75
+ - **Uppercase buttons**: All button text is uppercase GeistMono with 1.4px letter-spacing. This creates a distinctly technical, almost command-line aesthetic for interactive elements.
76
+ - **Sans-serif for reading**: universalSans at 16px/1.5 provides excellent readability for body content, creating a clean contrast against the monospace display elements.
77
+ - **Two-font clarity**: The system uses exactly two typefaces with clear roles -- monospace for impact and interaction, sans-serif for information and reading. No overlap, no ambiguity.
78
+
79
+ ## 4. Component Stylings
80
+
81
+ ### Buttons
82
+
83
+ **Primary (White on Dark)**
84
+ - Background: `#ffffff`
85
+ - Text: `#1f2228`
86
+ - Padding: 12px 24px
87
+ - Radius: 0px (sharp corners)
88
+ - Font: GeistMono 14px weight 400, uppercase, letter-spacing 1.4px
89
+ - Hover: `rgba(255, 255, 255, 0.9)` background
90
+ - Use: Primary CTA ("TRY GROK", "GET STARTED")
91
+
92
+ **Ghost / Outlined**
93
+ - Background: transparent
94
+ - Text: `#ffffff`
95
+ - Padding: 12px 24px
96
+ - Radius: 0px
97
+ - Border: `1px solid rgba(255, 255, 255, 0.2)`
98
+ - Font: GeistMono 14px weight 400, uppercase, letter-spacing 1.4px
99
+ - Hover: `rgba(255, 255, 255, 0.05)` background
100
+ - Use: Secondary actions ("LEARN MORE", "VIEW API")
101
+
102
+ **Text Link**
103
+ - Background: none
104
+ - Text: `#ffffff`
105
+ - Font: universalSans 16px weight 400
106
+ - Hover: `rgba(255, 255, 255, 0.5)` -- dims on hover
107
+ - Use: Inline links, navigation items
108
+
109
+ ### Cards & Containers
110
+ - Background: `rgba(255, 255, 255, 0.03)` or transparent
111
+ - Border: `1px solid rgba(255, 255, 255, 0.1)`
112
+ - Radius: 0px (sharp) or 4px (subtle)
113
+ - Shadow: none -- xAI does not use box shadows
114
+ - Hover: border shifts to `rgba(255, 255, 255, 0.2)`
115
+
116
+ ### Navigation
117
+ - Dark background matching page (`#1f2228`)
118
+ - Brand logotype: white text, left-aligned
119
+ - Links: universalSans 14px weight 400, `#ffffff` text
120
+ - Hover: `rgba(255, 255, 255, 0.5)` text color
121
+ - CTA: white primary button, right-aligned
122
+ - Mobile: hamburger toggle
123
+
124
+ ### Badges / Tags
125
+ **Monospace Tag**
126
+ - Background: transparent
127
+ - Text: `#ffffff`
128
+ - Padding: 4px 8px
129
+ - Border: `1px solid rgba(255, 255, 255, 0.2)`
130
+ - Radius: 0px
131
+ - Font: GeistMono 12px uppercase, letter-spacing 1px
132
+
133
+ ### Inputs & Forms
134
+ - Background: transparent or `rgba(255, 255, 255, 0.05)`
135
+ - Border: `1px solid rgba(255, 255, 255, 0.2)`
136
+ - Radius: 0px
137
+ - Focus: ring with `rgb(59, 130, 246) / 0.5`
138
+ - Text: `#ffffff`
139
+ - Placeholder: `rgba(255, 255, 255, 0.3)`
140
+ - Label: `rgba(255, 255, 255, 0.7)`, universalSans 14px
141
+
142
+ ## 5. Layout Principles
143
+
144
+ ### Spacing System
145
+ - Base unit: 8px
146
+ - Scale: 4px, 8px, 24px, 48px
147
+ - The scale is deliberately sparse -- xAI avoids granular spacing distinctions, preferring large jumps that create clear visual hierarchy through whitespace alone
148
+
149
+ ### Grid & Container
150
+ - Max content width: approximately 1200px
151
+ - Hero: full-viewport height with massive centered monospace headline
152
+ - Feature sections: simple vertical stacking with generous section padding (48px-96px)
153
+ - Two-column layouts for feature descriptions at desktop
154
+ - Full-width dark sections maintain the single dark background throughout
155
+
156
+ ### Whitespace Philosophy
157
+ - **Extreme generosity**: xAI uses vast amounts of whitespace. The 320px headline with 48px+ surrounding padding creates a sense of emptiness that is itself a design statement -- the content is so important it needs room to breathe.
158
+ - **Vertical rhythm over horizontal density**: Content stacks vertically with large gaps between sections rather than packing horizontally. This creates a scroll-driven experience that feels deliberate and cinematic.
159
+ - **No visual noise**: The absence of decorative elements, borders between sections, and color variety means whitespace is the primary structural tool.
160
+
161
+ ### Breakpoints
162
+ - 2000px, 1536px, 1280px, 1024px, 1000px, 768px, 640px
163
+ - Tailwind responsive modifiers drive breakpoint behavior
164
+
165
+ ### Border Radius Scale
166
+ - Sharp (0px): Primary treatment for buttons, cards, inputs -- the default
167
+ - Subtle (4px): Occasional softening on secondary containers
168
+ - The near-zero radius philosophy is core to the brand's brutalist identity
169
+
170
+ ## 6. Depth & Elevation
171
+
172
+ | Level | Treatment | Use |
173
+ |-------|-----------|-----|
174
+ | Flat (Level 0) | No shadow, no border | Page background, body content |
175
+ | Surface (Level 1) | `rgba(255,255,255,0.03)` background | Subtle card surfaces |
176
+ | Bordered (Level 2) | `1px solid rgba(255,255,255,0.1)` border | Cards, containers, dividers |
177
+ | Active (Level 3) | `1px solid rgba(255,255,255,0.2)` border | Hover states, active elements |
178
+ | Focus (Accessibility) | `ring` with `rgb(59,130,246)/0.5` | Keyboard focus indicator |
179
+
180
+ **Elevation Philosophy**: xAI rejects the conventional shadow-based elevation system entirely. There are no box-shadows anywhere on the site. Instead, depth is communicated through three mechanisms: (1) opacity-based borders that brighten on interaction, creating a sense of elements "activating" rather than lifting; (2) extremely subtle background opacity shifts (`0.03` to `0.08`) that create barely-perceptible surface differentiation; and (3) the massive scale contrast between the 320px display type and 16px body text, which creates typographic depth. This is elevation through contrast and opacity, not through simulated light and shadow.
181
+
182
+ ## 7. Do's and Don'ts
183
+
184
+ ### Do
185
+ - Use `#1f2228` as the universal background -- never pure black `#000000`
186
+ - Use GeistMono for all display headlines and button text -- monospace IS the brand
187
+ - Apply uppercase + 1.4px letter-spacing to all button labels
188
+ - Use weight 300 for the massive display headline (320px)
189
+ - Keep borders at `rgba(255, 255, 255, 0.1)` -- barely visible, not absent
190
+ - Dim interactive elements on hover to `rgba(255, 255, 255, 0.5)` -- the reverse of convention
191
+ - Maintain sharp corners (0px radius) as the default -- brutalist precision
192
+ - Use universalSans for all body and reading text at 16px/1.5
193
+
194
+ ### Don't
195
+ - Don't use box-shadows -- xAI has zero shadow elevation
196
+ - Don't introduce color accents beyond white and the dark background -- the monochromatic palette is sacred
197
+ - Don't use large border-radius (8px+, pill shapes) -- the sharp edge is intentional
198
+ - Don't use bold weights (600-700) for headlines -- weight 300-400 only
199
+ - Don't brighten elements on hover -- xAI dims to `0.5` opacity instead
200
+ - Don't add decorative gradients, illustrations, or color blocks
201
+ - Don't use proportional fonts for buttons -- GeistMono uppercase is mandatory
202
+ - Don't use colored status indicators unless absolutely necessary -- keep everything in the white/dark spectrum
203
+
204
+ ## 8. Responsive Behavior
205
+
206
+ ### Breakpoints
207
+ | Name | Width | Key Changes |
208
+ |------|-------|-------------|
209
+ | Mobile | <640px | Single column, hero headline scales dramatically down |
210
+ | Small Tablet | 640-768px | Slight increase in padding |
211
+ | Tablet | 768-1024px | Two-column layouts begin, heading sizes increase |
212
+ | Desktop | 1024-1280px | Full layout, generous whitespace |
213
+ | Large | 1280-1536px | Wider containers, more breathing room |
214
+ | Extra Large | 1536-2000px | Maximum content width, centered |
215
+ | Ultra | >2000px | Content stays centered, extreme margins |
216
+
217
+ ### Touch Targets
218
+ - Buttons use 12px 24px padding for comfortable touch
219
+ - Navigation links spaced with 24px gaps
220
+ - Minimum tap target: 44px height
221
+ - Mobile: full-width buttons for easy thumb reach
222
+
223
+ ### Collapsing Strategy
224
+ - Hero: 320px monospace headline scales down dramatically (to ~48px-64px on mobile)
225
+ - Navigation: horizontal links collapse to hamburger menu
226
+ - Feature sections: two-column to single-column stacking
227
+ - Section padding: 96px -> 48px -> 24px across breakpoints
228
+ - Massive display type is the first thing to resize -- it must remain impactful but not overflow
229
+
230
+ ### Image Behavior
231
+ - Minimal imagery -- the site relies on typography and whitespace
232
+ - Any product screenshots maintain sharp corners
233
+ - Full-width media scales proportionally with viewport
234
+
235
+ ## 9. Agent Prompt Guide
236
+
237
+ ### Quick Color Reference
238
+ - Background: Dark (`#1f2228`)
239
+ - Text Primary: White (`#ffffff`)
240
+ - Text Secondary: White 70% (`rgba(255, 255, 255, 0.7)`)
241
+ - Text Muted: White 50% (`rgba(255, 255, 255, 0.5)`)
242
+ - Text Disabled: White 30% (`rgba(255, 255, 255, 0.3)`)
243
+ - Border Default: White 10% (`rgba(255, 255, 255, 0.1)`)
244
+ - Border Strong: White 20% (`rgba(255, 255, 255, 0.2)`)
245
+ - Surface Subtle: White 3% (`rgba(255, 255, 255, 0.03)`)
246
+ - Surface Hover: White 8% (`rgba(255, 255, 255, 0.08)`)
247
+ - Focus Ring: Blue (`rgb(59, 130, 246)` at 50% opacity)
248
+ - Button Primary BG: White (`#ffffff`), text Dark (`#1f2228`)
249
+
250
+ ### Example Component Prompts
251
+ - "Create a hero section on #1f2228 background. Headline in GeistMono at 72px weight 300, color #ffffff, centered. Subtitle in universalSans 18px weight 400, rgba(255,255,255,0.7), max-width 600px centered. Two buttons: primary (white bg, #1f2228 text, 0px radius, GeistMono 14px uppercase, 1.4px letter-spacing, 12px 24px padding) and ghost (transparent bg, 1px solid rgba(255,255,255,0.2), white text, same font treatment)."
252
+ - "Design a card: transparent or rgba(255,255,255,0.03) background, 1px solid rgba(255,255,255,0.1) border, 0px radius, 24px padding. No shadow. Title in universalSans 22px weight 400, #ffffff. Body in universalSans 16px weight 400, rgba(255,255,255,0.7), line-height 1.5. Hover: border changes to rgba(255,255,255,0.2)."
253
+ - "Build navigation: #1f2228 background, full-width. Brand text left (GeistMono 14px uppercase). Links in universalSans 14px #ffffff with hover to rgba(255,255,255,0.5). White primary button right-aligned (GeistMono 14px uppercase, 1.4px letter-spacing)."
254
+ - "Create a form: dark background #1f2228. Label in universalSans 14px rgba(255,255,255,0.7). Input with transparent bg, 1px solid rgba(255,255,255,0.2) border, 0px radius, white text 16px universalSans. Focus: blue ring rgb(59,130,246)/0.5. Placeholder: rgba(255,255,255,0.3)."
255
+ - "Design a monospace tag/badge: transparent bg, 1px solid rgba(255,255,255,0.2), 0px radius, GeistMono 12px uppercase, 1px letter-spacing, white text, 4px 8px padding."
256
+
257
+ ### Iteration Guide
258
+ 1. Always start with `#1f2228` background -- never use pure black or gray backgrounds
259
+ 2. GeistMono for display and buttons, universalSans for everything else -- never mix these roles
260
+ 3. All buttons must be GeistMono uppercase with 1.4px letter-spacing -- this is non-negotiable
261
+ 4. No shadows, ever -- depth comes from border opacity and background opacity only
262
+ 5. Borders are always white with low opacity (0.1 default, 0.2 for emphasis)
263
+ 6. Hover behavior dims to 0.5 opacity rather than brightening -- the reverse of most systems
264
+ 7. Sharp corners (0px) by default -- only use 4px for specific secondary containers
265
+ 8. Body text at 16px universalSans with 1.5 line-height for comfortable reading
266
+ 9. Generous section padding (48px-96px) -- let content breathe in the darkness
267
+ 10. The monochromatic white-on-dark palette is absolute -- resist adding color unless critical for function
@@ -0,0 +1,24 @@
1
+ # xAI Inspired Design System
2
+
3
+ [DESIGN.md](https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/x.ai/DESIGN.md) extracted from the public [xAI](https://x.ai/) 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/x.ai/DESIGN.md) to use as a reference for AI agents (Claude, Cursor, Stitch) to generate UI that looks like the xAI 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
+ ![xAI Design System — Dark Mode](https://pub-2e4ecbcbc9b24e7b93f1a6ab5b2bc71f.r2.dev/designs/x.ai/preview-dark-screenshot.png)
22
+
23
+ ### Light Mode
24
+ ![xAI Design System — Light Mode](https://pub-2e4ecbcbc9b24e7b93f1a6ab5b2bc71f.r2.dev/designs/x.ai/preview-screenshot.png)