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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 OmniDesign Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/QUICKREF.md ADDED
@@ -0,0 +1,150 @@
1
+ # Quick Reference Guide
2
+
3
+ ## 🎯 One-Liners
4
+
5
+ ```bash
6
+ # Apply a theme
7
+ document.documentElement.setAttribute('data-theme', 'cyberpunk');
8
+
9
+ # Use a token in CSS
10
+ .my-class { color: var(--color-text-default); }
11
+
12
+ # Use a token in JS
13
+ import { tokens } from '@omnidesign/tokens-ts';
14
+ const color = tokens.color.interactive.primary;
15
+ ```
16
+
17
+ ## 🎨 Theme Quick Picks
18
+
19
+ | Vibe | Theme |
20
+ |------|-------|
21
+ | Enterprise | `corporate`, `slate` |
22
+ | Creative | `sunset`, `berry`, `lavender` |
23
+ | Dark Mode | `midnight`, `cyberpunk`, `obsidian` |
24
+ | Clean | `snow`, `daylight`, `paper` |
25
+
26
+ ## 🔤 Font Quick Picks
27
+
28
+ | Use Case | Font |
29
+ |----------|------|
30
+ | UI Text | `Inter`, `Geist Sans` |
31
+ | Headlines | `Space Grotesk`, `Clash Display` |
32
+ | Code | `JetBrains Mono`, `Fira Code` |
33
+ | Dev Tools | `JetBrainsMono Nerd Font` |
34
+ | Reading | `Merriweather`, `Source Serif 4` |
35
+
36
+ ## 🧩 Component Quick Picks
37
+
38
+ | Need | Component |
39
+ |------|-----------|
40
+ | Chat UI | `AIChat`, `ChatMessage`, `ChatInput` |
41
+ | AI Prompt | `PromptInput`, `SuggestedPrompts` |
42
+ | Model Selector | `AgentCard`, `ModelGrid` |
43
+ | Loading State | `ThinkingIndicator` |
44
+ | Code Display | `CodeBlock`, `TerminalBlock` |
45
+ | File Upload | `FileUpload`, `FileAttachments` |
46
+
47
+ ## 🎨 Color Tokens
48
+
49
+ ```css
50
+ /* Text */
51
+ var(--color-text-default) /* Primary text */
52
+ var(--color-text-muted) /* Secondary text */
53
+ var(--color-text-inverted) /* Text on dark */
54
+
55
+ /* Surfaces */
56
+ var(--color-surface-default) /* Default background */
57
+ var(--color-surface-raised) /* Cards, elevated */
58
+ var(--color-surface-sunken) /* Inputs, depressed */
59
+
60
+ /* Interactive */
61
+ var(--color-interactive-primary) /* Buttons, links */
62
+ var(--color-interactive-primary-hover)/* Hover state */
63
+
64
+ /* Status */
65
+ var(--color-status-success) /* Success states */
66
+ var(--color-status-warning) /* Warning states */
67
+ var(--color-status-error) /* Error states */
68
+ ```
69
+
70
+ ## 📐 Spacing Tokens
71
+
72
+ ```css
73
+ var(--spacing-4) /* 4px - xs */
74
+ var(--spacing-8) /* 8px - sm */
75
+ var(--spacing-16) /* 16px - md */
76
+ var(--spacing-24) /* 24px - lg */
77
+ var(--spacing-32) /* 32px - xl */
78
+ var(--spacing-48) /* 48px - 2xl */
79
+ var(--spacing-64) /* 64px - 3xl */
80
+ ```
81
+
82
+ ## 🔠 Typography Sizes
83
+
84
+ ```css
85
+ var(--font-size-2xs) /* 10px */
86
+ var(--font-size-xs) /* 12px */
87
+ var(--font-size-sm) /* 14px */
88
+ var(--font-size-base) /* 16px */
89
+ var(--font-size-lg) /* 18px */
90
+ var(--font-size-xl) /* 20px */
91
+ var(--font-size-2xl) /* 24px */
92
+ var(--font-size-3xl) /* 30px */
93
+ var(--font-size-4xl) /* 36px */
94
+ var(--font-size-5xl) /* 48px */
95
+ ```
96
+
97
+ ## ⏱️ Motion
98
+
99
+ ```css
100
+ /* Durations */
101
+ var(--motion-duration-fast) /* 150ms */
102
+ var(--motion-duration-normal) /* 250ms */
103
+ var(--motion-duration-slow) /* 350ms */
104
+
105
+ /* Easings */
106
+ var(--motion-ease-out) /* ease-out */
107
+ var(--motion-ease-in-out) /* ease-in-out */
108
+ var(--motion-ease-spring) /* cubic-bezier(0.175, 0.885, 0.32, 1.275) */
109
+ ```
110
+
111
+ ## 🎨 Shadow Tokens
112
+
113
+ ```css
114
+ var(--shadow-card) /* Cards, buttons */
115
+ var(--shadow-dropdown) /* Dropdowns, popovers */
116
+ var(--shadow-modal) /* Modals, dialogs */
117
+ var(--shadow-focus) /* Focus rings */
118
+ ```
119
+
120
+ ## 🎯 Border Radius
121
+
122
+ ```css
123
+ var(--radii-sm) /* 4px */
124
+ var(--radii-md) /* 8px */
125
+ var(--radii-lg) /* 12px */
126
+ var(--radii-xl) /* 16px */
127
+ var(--radii-full) /* 9999px (pills) */
128
+ ```
129
+
130
+ ## 💡 Pro Tips
131
+
132
+ 1. **Always use tokens** — Never hardcode colors or spacing
133
+ 2. **Test in multiple themes** — Components should work everywhere
134
+ 3. **Use semantic tokens** — `text-default` not `neutral-900`
135
+ 4. **Respect motion prefs** — `prefers-reduced-motion` support
136
+ 5. **Nerd Fonts for dev** — One font for code + icons
137
+
138
+ ## 📚 Resources
139
+
140
+ - [Full Documentation](./README.md)
141
+ - [Contributing Guide](./CONTRIBUTING.md)
142
+ - [Changelog](./CHANGELOG.md)
143
+ - [Theme Gallery](./docs/THEMES.md) (coming soon)
144
+ - [Component Library](./docs/COMPONENTS.md) (coming soon)
145
+
146
+ ---
147
+
148
+ <p align="center">
149
+ <strong>Need help?</strong> Open an issue or join our Discord!
150
+ </p>