omnidesign 1.0.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 (77) hide show
  1. package/LICENSE +21 -0
  2. package/QUICKREF.md +150 -0
  3. package/README.md +576 -0
  4. package/bin/cli.js +390 -0
  5. package/bin/detect-ide.js +50 -0
  6. package/bin/install.js +8 -0
  7. package/logo.jpg +0 -0
  8. package/package.json +84 -0
  9. package/recipes/components/README.md +29 -0
  10. package/recipes/components/agent-card.md +314 -0
  11. package/recipes/components/ai-chat.md +252 -0
  12. package/recipes/components/bento-grid.md +186 -0
  13. package/recipes/components/code-block.md +503 -0
  14. package/recipes/components/file-upload.md +483 -0
  15. package/recipes/components/forms.md +238 -0
  16. package/recipes/components/hero-section.md +161 -0
  17. package/recipes/components/navbar.md +214 -0
  18. package/recipes/components/prompt-input.md +293 -0
  19. package/recipes/components/thinking-indicator.md +372 -0
  20. package/recipes/motion/README.md +3 -0
  21. package/recipes/motion/motion-system.md +437 -0
  22. package/recipes/patterns/README.md +3 -0
  23. package/skills/aider/omnidesign.md +67 -0
  24. package/skills/amp/SKILL.md +114 -0
  25. package/skills/antigravity/SKILL.md +114 -0
  26. package/skills/claude/omnidesign.md +111 -0
  27. package/skills/continue/omnidesign.yaml +29 -0
  28. package/skills/cursor/omnidesign.md +110 -0
  29. package/skills/kilo/SKILL.md +114 -0
  30. package/skills/opencode/omnidesign.md +110 -0
  31. package/skills/vscode/package.json +66 -0
  32. package/skills/zed/omnidesign.json +7 -0
  33. package/tokens/motion/README.md +3 -0
  34. package/tokens/primitives/README.md +3 -0
  35. package/tokens/primitives/color.json +219 -0
  36. package/tokens/primitives/motion.json +56 -0
  37. package/tokens/primitives/radii.json +37 -0
  38. package/tokens/primitives/shadows.json +34 -0
  39. package/tokens/primitives/spacing.json +67 -0
  40. package/tokens/primitives/typography.json +127 -0
  41. package/tokens/semantic/README.md +3 -0
  42. package/tokens/semantic/color.json +114 -0
  43. package/tokens/semantic/motion.json +44 -0
  44. package/tokens/semantic/radii.json +29 -0
  45. package/tokens/semantic/shadows.json +24 -0
  46. package/tokens/semantic/spacing.json +69 -0
  47. package/tokens/semantic/typography.json +118 -0
  48. package/tokens/shadows/README.md +3 -0
  49. package/tokens/themes/README.md +3 -0
  50. package/tokens/themes/berry.json +143 -0
  51. package/tokens/themes/brutalist.json +143 -0
  52. package/tokens/themes/coral.json +143 -0
  53. package/tokens/themes/corporate.json +143 -0
  54. package/tokens/themes/cream.json +143 -0
  55. package/tokens/themes/cyberpunk.json +143 -0
  56. package/tokens/themes/daylight.json +143 -0
  57. package/tokens/themes/deep-space.json +143 -0
  58. package/tokens/themes/forest.json +143 -0
  59. package/tokens/themes/graphite.json +143 -0
  60. package/tokens/themes/lavender.json +143 -0
  61. package/tokens/themes/midnight.json +143 -0
  62. package/tokens/themes/mint.json +143 -0
  63. package/tokens/themes/navy.json +143 -0
  64. package/tokens/themes/noir.json +143 -0
  65. package/tokens/themes/obsidian.json +143 -0
  66. package/tokens/themes/ocean.json +143 -0
  67. package/tokens/themes/paper.json +143 -0
  68. package/tokens/themes/ruby.json +143 -0
  69. package/tokens/themes/slate.json +143 -0
  70. package/tokens/themes/snow.json +143 -0
  71. package/tokens/themes/solar.json +143 -0
  72. package/tokens/themes/spring.json +143 -0
  73. package/tokens/themes/starry-night.json +143 -0
  74. package/tokens/themes/sunset.json +143 -0
  75. package/tokens/typography/FONT_GUIDE.md +381 -0
  76. package/tokens/typography/README.md +37 -0
  77. package/tokens/typography/font-collection.json +221 -0
package/README.md ADDED
@@ -0,0 +1,576 @@
1
+ # 🎨 OmniDesign
2
+
3
+ <p align="center">
4
+ <img src="logo.jpg" alt="OmniDesign Logo" width="180">
5
+ </p>
6
+
7
+ <p align="center">
8
+ <strong>The Universal Design System for AI Coding Assistants</strong>
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="https://www.npmjs.com/package/omnidesign"><img src="https://img.shields.io/npm/v/omnidesign?style=flat-square&color=blue" alt="npm version"></a>
13
+ <a href="https://www.npmjs.com/package/omnidesign"><img src="https://img.shields.io/npm/dm/omnidesign?style=flat-square&color=green" alt="npm downloads"></a>
14
+ <a href="LICENSE"><img src="https://img.shields.io/npm/l/omnidesign?style=flat-square" alt="License"></a>
15
+ <a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-5.0+-blue?style=flat-square&logo=typescript" alt="TypeScript"></a>
16
+ <a href="https://bun.sh/"><img src="https://img.shields.io/badge/Bun-1.0+-fbbf24?style=flat-square&logo=bun&logoColor=black" alt="Bun"></a>
17
+ </p>
18
+
19
+ <p align="center">
20
+ <a href="#quick-start"><strong>Quick Start</strong></a> •
21
+ <a href="#supported-ides"><strong>Supported IDEs</strong></a> •
22
+ <a href="#themes"><strong>25 Themes</strong></a> •
23
+ <a href="#components"><strong>AI Components</strong></a>
24
+ </p>
25
+
26
+ ---
27
+
28
+ ## ✨ What is OmniDesign?
29
+
30
+ **OmniDesign** is a comprehensive design system that works across **all major AI coding assistants**. One package, universal compatibility.
31
+
32
+ ### 🎯 One Command Install
33
+
34
+ ```bash
35
+ npx omnidesign
36
+ ```
37
+
38
+ That's it! OmniDesign auto-detects your IDE and installs the appropriate skill.
39
+
40
+ ---
41
+
42
+ ## 🚀 Quick Start
43
+
44
+ ### Option 1: Auto-Install (Recommended)
45
+
46
+ ```bash
47
+ # In your project directory
48
+ npx omnidesign
49
+
50
+ # Or install globally
51
+ npx omnidesign --global
52
+ ```
53
+
54
+ ### Option 2: Manual Install
55
+
56
+ ```bash
57
+ # Install for specific IDE
58
+ npx omnidesign install --ide claude
59
+ npx omnidesign install --ide cursor
60
+ npx omnidesign install --ide opencode
61
+ npx omnidesign install --ide vscode
62
+ npx omnidesign install --ide aider
63
+ npx omnidesign install --ide continue
64
+ npx omnidesign install --ide zed
65
+ npx omnidesign install --ide amp
66
+ npx omnidesign install --ide kilo
67
+ npx omnidesign install --ide antigravity
68
+ ```
69
+
70
+ ### Option 3: NPM Install
71
+
72
+ ```bash
73
+ # Install as dependency
74
+ npm install omnidesign
75
+
76
+ # Or use without installing
77
+ npx omnidesign@latest
78
+ ```
79
+
80
+ ---
81
+
82
+ ## 💻 Supported IDEs
83
+
84
+ | IDE | Status | Install Command |
85
+ |-----|--------|-----------------|
86
+ | **Claude Code** | ✅ Full Support | `npx omnidesign` |
87
+ | **Cursor** | ✅ Full Support | `npx omnidesign` |
88
+ | **OpenCode** | ✅ Full Support | `npx omnidesign` |
89
+ | **VS Code** | ✅ Full Support | `npx omnidesign` |
90
+ | **Aider** | ✅ Full Support | `npx omnidesign` |
91
+ | **Continue.dev** | ✅ Full Support | `npx omnidesign` |
92
+ | **Zed** | ✅ Full Support | `npx omnidesign` |
93
+ | **Amp Code** | ✅ Full Support | `npx omnidesign` |
94
+ | **Kilo Code** | ✅ Full Support | `npx omnidesign` |
95
+ | **Antigravity** | ✅ Full Support | `npx omnidesign` |
96
+ | **Claude Desktop** | ✅ Via MCP | Manual config |
97
+ | **GitHub Copilot** | ⚠️ Partial | VS Code extension |
98
+ | **JetBrains** | ⚠️ Partial | Plugin available |
99
+
100
+ ### How It Works
101
+
102
+ OmniDesign detects your IDE by looking for:
103
+ - `.claude/` directory → **Claude Code**
104
+ - `.cursor/` directory → **Cursor**
105
+ - `.opencode/` directory → **OpenCode**
106
+ - `.vscode/` directory → **VS Code**
107
+ - `.zed/` directory → **Zed**
108
+ - `.amp/` directory → **Amp Code**
109
+ - `.kilo/` directory → **Kilo Code**
110
+ - `.antigravity/` directory → **Antigravity**
111
+ - `.aider.conf.yml` → **Aider**
112
+ - `.continue/` directory → **Continue.dev**
113
+
114
+ ---
115
+
116
+ ## 🎨 25 Beautiful Themes
117
+
118
+ ### Professional
119
+ <div align="center">
120
+
121
+ | Theme | Vibe | Preview |
122
+ |-------|------|---------|
123
+ | `corporate` | Enterprise blue | <span style="color:#0052CC">●</span> |
124
+ | `navy` | Deep navy + gold | <span style="color:#1e3a5f">●</span> |
125
+ | `slate` | Modern gray + teal | <span style="color:#475569">●</span> |
126
+ | `forest` | Sustainability green | <span style="color:#166534">●</span> |
127
+ | `ruby` | Luxury burgundy | <span style="color:#9f1239">●</span> |
128
+ | `graphite` | Minimalist mono | <span style="color:#374151">●</span> |
129
+
130
+ </div>
131
+
132
+ ### Creative
133
+ <div align="center">
134
+
135
+ | Theme | Vibe | Preview |
136
+ |-------|------|---------|
137
+ | `sunset` | Warm gradients | <span style="color:#f97316">●</span> |
138
+ | `ocean` | Deep sea blue | <span style="color:#0ea5e9">●</span> |
139
+ | `berry` | Raspberry pink | <span style="color:#db2777">●</span> |
140
+ | `mint` | Fresh pastel | <span style="color:#22c55e">●</span> |
141
+ | `coral` | Friendly peach | <span style="color:#fb7185">●</span> |
142
+ | `lavender` | Soft purple | <span style="color:#a855f7">●</span> |
143
+
144
+ </div>
145
+
146
+ ### Dark Mode
147
+ <div align="center">
148
+
149
+ | Theme | Vibe | Preview |
150
+ |-------|------|---------|
151
+ | `midnight` | True black | <span style="color:#0f172a">●</span> |
152
+ | `noir` | High contrast | <span style="color:#000000">●</span> |
153
+ | `cyberpunk` | Neon synthwave | <span style="color:#d946ef">●</span> |
154
+ | `obsidian` | Dark gray | <span style="color:#1f2937">●</span> |
155
+ | `deep-space` | Cosmic void | <span style="color:#2e1065">●</span> |
156
+ | `brutalist` | Stark contrast | <span style="color:#171717">●</span> |
157
+
158
+ </div>
159
+
160
+ ### Light Mode
161
+ <div align="center">
162
+
163
+ | Theme | Vibe | Preview |
164
+ |-------|------|---------|
165
+ | `daylight` | Bright blue | <span style="color:#3b82f6">●</span> |
166
+ | `paper` | Warm off-white | <span style="color:#faf7f5">●</span> |
167
+ | `cream` | Soft cream | <span style="color:#fef3c7">●</span> |
168
+ | `snow` | Pure white | <span style="color:#ffffff">●</span> |
169
+ | `spring` | Mint + pink | <span style="color:#86efac">●</span> |
170
+ | `solar` | Yellow warmth | <span style="color:#facc15">●</span> |
171
+
172
+ </div>
173
+
174
+ ### Using Themes
175
+
176
+ ```css
177
+ /* Apply theme */
178
+ [data-theme="cyberpunk"] {
179
+ /* All tokens update automatically */
180
+ }
181
+ ```
182
+
183
+ ```typescript
184
+ // Switch themes dynamically
185
+ document.documentElement.setAttribute('data-theme', 'sunset');
186
+ ```
187
+
188
+ ---
189
+
190
+ ## 🤖 AI Industry Components
191
+
192
+ ### 1. Chat Interface
193
+ Full ChatGPT/Claude-style chat UI:
194
+ - Message bubbles with markdown
195
+ - Code syntax highlighting
196
+ - Streaming indicators
197
+ - Copy/regenerate actions
198
+
199
+ ### 2. Prompt Input
200
+ Smart prompt component:
201
+ - Autocomplete suggestions
202
+ - Token counter
203
+ - Modifier chips (--ar, --v, --style)
204
+
205
+ ### 3. Agent Cards
206
+ AI model/agent displays:
207
+ - Status indicators
208
+ - Capability tags
209
+ - One-click selection
210
+
211
+ ### 4. Thinking Indicators
212
+ 5 animation styles:
213
+ - Bouncing dots
214
+ - Wave bars
215
+ - Pulse rings
216
+ - Shimmer skeletons
217
+ - Progress steps
218
+
219
+ ### 5. Code Blocks
220
+ Syntax-highlighted code:
221
+ - Copy to clipboard
222
+ - Download file
223
+ - Diff view
224
+ - Terminal styling
225
+
226
+ ### 6. File Upload
227
+ Drag-and-drop upload:
228
+ - Image previews
229
+ - Progress bars
230
+ - AI context preview
231
+
232
+ ---
233
+
234
+ ## 🎯 Design Tokens
235
+
236
+ ### 100+ Tokens Available
237
+
238
+ **Colors:**
239
+ ```css
240
+ var(--color-text-default) /* Primary text */
241
+ var(--color-text-muted) /* Secondary text */
242
+ var(--color-surface-raised) /* Cards */
243
+ var(--color-interactive-primary) /* Buttons */
244
+ var(--color-status-success) /* Success states */
245
+ ```
246
+
247
+ **Spacing:**
248
+ ```css
249
+ var(--spacing-4) /* 4px */
250
+ var(--spacing-8) /* 8px */
251
+ var(--spacing-16) /* 16px */
252
+ var(--spacing-32) /* 32px */
253
+ ```
254
+
255
+ **Typography:**
256
+ ```css
257
+ var(--font-sans) /* Geist Sans, Inter */
258
+ var(--font-mono) /* JetBrains Mono */
259
+ var(--font-display) /* Space Grotesk */
260
+ ```
261
+
262
+ ---
263
+
264
+ ## 🔤 40+ Font Families
265
+
266
+ ### Sans-Serif
267
+ - Geist Sans (Vercel's modern geometric)
268
+ - Inter (Highly legible)
269
+ - Poppins, Plus Jakarta Sans, Satoshi, Manrope, Outfit
270
+
271
+ ### Serif
272
+ - Merriweather, DM Serif Display, Lora, Source Serif 4, Literata
273
+
274
+ ### Monospace
275
+ - Geist Mono, JetBrains Mono, Fira Code, Cascadia Code, SF Mono, IBM Plex Mono
276
+
277
+ ### Nerd Fonts (Code + Icons)
278
+ - JetBrainsMono Nerd Font
279
+ - FiraCode Nerd Font
280
+ - Hack Nerd Font
281
+ - CaskaydiaCove Nerd Font
282
+
283
+ ### Display
284
+ - Space Grotesk, Clash Display, Syne, Bungee, Archivo Black
285
+
286
+ ---
287
+
288
+ ## 📦 Installation Methods
289
+
290
+ ### Method 1: npx (Recommended)
291
+
292
+ ```bash
293
+ # Auto-detect and install
294
+ npx omnidesign
295
+
296
+ # Install for specific IDE
297
+ npx omnidesign install --ide cursor
298
+
299
+ # Install globally
300
+ npx omnidesign install --global
301
+ ```
302
+
303
+ ### Method 2: npm
304
+
305
+ ```bash
306
+ # Install as dev dependency
307
+ npm install --save-dev omnidesign
308
+
309
+ # Or install globally
310
+ npm install -g omnidesign
311
+
312
+ # Then run
313
+ omnidesign install
314
+ ```
315
+
316
+ ### Method 3: bun
317
+
318
+ ```bash
319
+ bunx omnidesign
320
+ ```
321
+
322
+ ---
323
+
324
+ ## 🛠️ CLI Commands
325
+
326
+ ```bash
327
+ # Install skill for detected IDE
328
+ npx omnidesign install
329
+
330
+ # Install for specific IDE
331
+ npx omnidesign install --ide <ide>
332
+
333
+ # List supported IDEs and status
334
+ npx omnidesign list
335
+
336
+ # Uninstall skill
337
+ npx omnidesign uninstall --ide <ide>
338
+
339
+ # Show help
340
+ npx omnidesign --help
341
+ ```
342
+
343
+ ---
344
+
345
+ ## 📁 Project Structure
346
+
347
+ ```
348
+ omnidesign/
349
+ ├── 🎨 logo.jpg # Brand identity
350
+ ├── 📖 README.md # This file
351
+ ├── 📦 package.json # NPM manifest
352
+ ├── 🔧 bin/ # CLI tools
353
+ │ ├── cli.js # Main CLI
354
+ │ ├── install.js # Install script
355
+ │ └── detect-ide.js # IDE detection
356
+ ├── 🎨 tokens/ # Design tokens
357
+ │ ├── primitives/ # Base values
358
+ │ ├── semantic/ # Contextual tokens
359
+ │ ├── themes/ # 25 theme files
360
+ │ └── typography/ # Font collection
361
+ ├── 🧩 components/ # React/Vue components
362
+ │ ├── core/ # Button, Card, Input
363
+ │ ├── ai/ # Chat, Prompt, AgentCard
364
+ │ └── layout/ # Grid, Stack
365
+ ├── 📚 recipes/ # Implementation guides
366
+ │ └── components/ # Component patterns
367
+ ├── 🎯 skills/ # IDE-specific skills
368
+ │ ├── claude/ # Claude Code skill
369
+ │ ├── cursor/ # Cursor skill
370
+ │ ├── opencode/ # OpenCode skill
371
+ │ ├── vscode/ # VS Code extension
372
+ │ ├── aider/ # Aider conventions
373
+ │ ├── continue/ # Continue.dev config
374
+ │ ├── zed/ # Zed config
375
+ │ ├── amp/ # Amp Code skill
376
+ │ ├── kilo/ # Kilo Code skill
377
+ │ └── antigravity/ # Antigravity skill
378
+ └── 📦 packages/ # Built outputs
379
+ ├── tokens-css/
380
+ ├── tokens-ts/
381
+ └── react/
382
+ ```
383
+
384
+ ---
385
+
386
+ ## 🔗 IDE-Specific Instructions
387
+
388
+ ### Claude Code
389
+
390
+ ```bash
391
+ npx omnidesign
392
+ ```
393
+
394
+ Creates:
395
+ - `.claude/skills/omnidesign.md`
396
+ - `.claude/marketplace.json`
397
+
398
+ Use: Type `/omnidesign` or ask "Use OmniDesign theme cyberpunk"
399
+
400
+ ### Cursor
401
+
402
+ ```bash
403
+ npx omnidesign
404
+ ```
405
+
406
+ Creates:
407
+ - `.cursor/skills/omnidesign.md`
408
+
409
+ Use: OmniDesign prompts appear in AI chat
410
+
411
+ ### OpenCode
412
+
413
+ ```bash
414
+ npx omnidesign
415
+ ```
416
+
417
+ Creates:
418
+ - `.opencode/skills/omnidesign.md`
419
+ - Updates `.opencode/config.json`
420
+
421
+ Use: Skill loads automatically
422
+
423
+ ### VS Code
424
+
425
+ ```bash
426
+ npx omnidesign
427
+ ```
428
+
429
+ Creates:
430
+ - `.vscode/settings.json` with OmniDesign config
431
+
432
+ Or install from VS Code Marketplace: **"OmniDesign"**
433
+
434
+ ### Zed
435
+
436
+ ```bash
437
+ npx omnidesign
438
+ ```
439
+
440
+ Creates:
441
+ - `.zed/omnidesign.json`
442
+
443
+ Add to Zed settings to enable the assistant.
444
+
445
+ ### Amp Code
446
+
447
+ ```bash
448
+ npx omnidesign
449
+ ```
450
+
451
+ Creates:
452
+ - `.amp/omnidesign.md`
453
+
454
+ Amp Code will load the skill automatically.
455
+
456
+ ### Kilo Code
457
+
458
+ ```bash
459
+ npx omnidesign
460
+ ```
461
+
462
+ Creates:
463
+ - `.kilo/omnidesign.md`
464
+
465
+ Kilo Code will use the skill for design guidance.
466
+
467
+ ### Antigravity
468
+
469
+ ```bash
470
+ npx omnidesign
471
+ ```
472
+
473
+ Creates:
474
+ - `.antigravity/skills/omnidesign.md`
475
+
476
+ Antigravity will apply the design system conventions.
477
+
478
+ ### Aider
479
+
480
+ ```bash
481
+ npx omnidesign
482
+ ```
483
+
484
+ Creates:
485
+ - `CONVENTIONS.md` with design guidelines
486
+
487
+ Use: Aider reads conventions automatically
488
+
489
+ ### Continue.dev
490
+
491
+ ```bash
492
+ npx omnidesign
493
+ ```
494
+
495
+ Creates:
496
+ - `.continue/omnidesign.yaml`
497
+
498
+ Add to `.continue/config.yaml`:
499
+ ```yaml
500
+ context:
501
+ - provider: file
502
+ params:
503
+ file: .continue/omnidesign.yaml
504
+ ```
505
+
506
+ ---
507
+
508
+ ## 🎓 Usage Examples
509
+
510
+ ### Apply a Theme
511
+
512
+ ```
513
+ User: "Use the cyberpunk theme"
514
+ AI: [Applies cyberpunk color tokens automatically]
515
+ ```
516
+
517
+ ### Create a Component
518
+
519
+ ```
520
+ User: "Create a button component"
521
+ AI: [Generates button using --color-interactive-primary, --spacing-md, etc.]
522
+ ```
523
+
524
+ ### Build AI Chat UI
525
+
526
+ ```
527
+ User: "Build a chat interface"
528
+ AI: [Uses AI Chat component patterns with streaming indicators]
529
+ ```
530
+
531
+ ---
532
+
533
+ ## 📚 Documentation
534
+
535
+ - **Full Docs**: https://omnidesign.dev
536
+ - **Quick Reference**: [QUICKREF.md](./QUICKREF.md)
537
+ - **Getting Started**: [GETTING_STARTED.md](./GETTING_STARTED.md)
538
+ - **Contributing**: [CONTRIBUTING.md](./CONTRIBUTING.md)
539
+
540
+ ---
541
+
542
+ ## 🤝 Contributing
543
+
544
+ We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for:
545
+
546
+ - Adding new themes
547
+ - Creating component recipes
548
+ - IDE integrations
549
+ - Documentation improvements
550
+
551
+ ---
552
+
553
+ ## 📄 License
554
+
555
+ MIT License - see [LICENSE](./LICENSE)
556
+
557
+ ---
558
+
559
+ ## 🙏 Acknowledgments
560
+
561
+ - Design tokens following [DTCG specification](https://design-tokens.github.io/)
562
+ - Font collection from Google Fonts and Nerd Fonts
563
+ - AI components inspired by ChatGPT, Claude, and Midjourney
564
+ - Universal skill pattern inspired by Vercel Skills
565
+
566
+ ---
567
+
568
+ <p align="center">
569
+ <strong>Built with 💙 for the AI coding community</strong>
570
+ </p>
571
+
572
+ <p align="center">
573
+ <a href="https://twitter.com/omnidesign">Twitter</a> •
574
+ <a href="https://discord.gg/omnidesign">Discord</a> •
575
+ <a href="https://omnidesign.dev">Website</a>
576
+ </p>