omgkit 2.30.0 → 2.32.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 (45) hide show
  1. package/README.md +60 -9
  2. package/lib/generators/css.generator.js +151 -0
  3. package/lib/generators/figma.generator.js +311 -0
  4. package/lib/generators/index.js +135 -0
  5. package/lib/generators/scss.generator.js +249 -0
  6. package/lib/generators/style-dictionary.generator.js +456 -0
  7. package/lib/generators/tailwind.generator.js +251 -0
  8. package/lib/theme-v2.js +755 -0
  9. package/lib/theme.js +97 -4
  10. package/package.json +2 -2
  11. package/plugin/commands/design/export.md +232 -0
  12. package/plugin/commands/design/rebuild.md +46 -0
  13. package/plugin/commands/design/validate.md +223 -0
  14. package/plugin/registry.yaml +2 -2
  15. package/templates/design/schema/theme-v2.schema.json +384 -0
  16. package/templates/design/themes/corporate-enterprise/consulting.json +457 -1
  17. package/templates/design/themes/corporate-enterprise/corporate-indigo.json +457 -1
  18. package/templates/design/themes/corporate-enterprise/finance.json +457 -1
  19. package/templates/design/themes/corporate-enterprise/healthcare.json +457 -1
  20. package/templates/design/themes/corporate-enterprise/legal.json +457 -1
  21. package/templates/design/themes/corporate-enterprise/ocean-blue.json +457 -1
  22. package/templates/design/themes/creative-bold/candy.json +457 -1
  23. package/templates/design/themes/creative-bold/coral-sunset.json +457 -1
  24. package/templates/design/themes/creative-bold/gradient-dream.json +457 -1
  25. package/templates/design/themes/creative-bold/neon.json +457 -1
  26. package/templates/design/themes/creative-bold/retro.json +457 -1
  27. package/templates/design/themes/creative-bold/studio.json +457 -1
  28. package/templates/design/themes/minimal-clean/minimal-slate.json +457 -1
  29. package/templates/design/themes/minimal-clean/mono.json +457 -1
  30. package/templates/design/themes/minimal-clean/nordic.json +457 -1
  31. package/templates/design/themes/minimal-clean/paper.json +457 -1
  32. package/templates/design/themes/minimal-clean/swiss.json +457 -1
  33. package/templates/design/themes/minimal-clean/zen.json +457 -1
  34. package/templates/design/themes/nature-organic/arctic.json +457 -1
  35. package/templates/design/themes/nature-organic/autumn.json +457 -1
  36. package/templates/design/themes/nature-organic/desert.json +457 -1
  37. package/templates/design/themes/nature-organic/forest.json +457 -1
  38. package/templates/design/themes/nature-organic/lavender.json +457 -1
  39. package/templates/design/themes/nature-organic/ocean.json +457 -1
  40. package/templates/design/themes/tech-ai/electric-cyan.json +459 -29
  41. package/templates/design/themes/tech-ai/hologram.json +457 -1
  42. package/templates/design/themes/tech-ai/matrix-green.json +457 -1
  43. package/templates/design/themes/tech-ai/neo-tokyo.json +457 -1
  44. package/templates/design/themes/tech-ai/neural-dark.json +457 -1
  45. package/templates/design/themes/tech-ai/quantum-purple.json +457 -1
@@ -1,8 +1,464 @@
1
1
  {
2
+ "version": "2.0",
2
3
  "name": "Lavender",
3
4
  "id": "lavender",
4
5
  "category": "nature-organic",
5
- "description": "Soft purple nature aesthetic inspired by Provence",
6
+ "description": "Soft purple nature aesthetic inspired by Provence - featuring 12-step color scales, effects, and animations",
7
+ "colorSystem": {
8
+ "type": "radix",
9
+ "version": "3.0"
10
+ },
11
+ "scales": {
12
+ "primary": {
13
+ "name": "violet",
14
+ "hue": 270,
15
+ "saturation": {
16
+ "light": {
17
+ "low": 30,
18
+ "high": 65
19
+ },
20
+ "dark": {
21
+ "low": 25,
22
+ "high": 60
23
+ }
24
+ },
25
+ "steps": {
26
+ "light": {
27
+ "1": "270 30% 99%",
28
+ "2": "270 35% 97%",
29
+ "3": "270 40% 93%",
30
+ "4": "270 45% 88%",
31
+ "5": "270 50% 82%",
32
+ "6": "270 55% 74%",
33
+ "7": "270 60% 62%",
34
+ "8": "270 55% 50%",
35
+ "9": "270 65% 45%",
36
+ "10": "270 65% 40%",
37
+ "11": "270 65% 32%",
38
+ "12": "270 70% 18%"
39
+ },
40
+ "dark": {
41
+ "1": "270 25% 7%",
42
+ "2": "270 30% 10%",
43
+ "3": "270 35% 14%",
44
+ "4": "270 40% 18%",
45
+ "5": "270 45% 22%",
46
+ "6": "270 50% 28%",
47
+ "7": "270 55% 35%",
48
+ "8": "270 40% 42%",
49
+ "9": "270 60% 45%",
50
+ "10": "270 55% 52%",
51
+ "11": "270 45% 65%",
52
+ "12": "270 35% 80%"
53
+ }
54
+ },
55
+ "alpha": {
56
+ "light": {
57
+ "1": "270 60% 45% / 0.05",
58
+ "2": "270 60% 45% / 0.1",
59
+ "3": "270 60% 45% / 0.15",
60
+ "4": "270 60% 45% / 0.2",
61
+ "5": "270 60% 45% / 0.3",
62
+ "6": "270 60% 45% / 0.4",
63
+ "7": "270 60% 45% / 0.5",
64
+ "8": "270 60% 45% / 0.6",
65
+ "9": "270 60% 45% / 0.7",
66
+ "10": "270 60% 45% / 0.8",
67
+ "11": "270 60% 45% / 0.9",
68
+ "12": "270 60% 45% / 0.95"
69
+ },
70
+ "dark": {
71
+ "1": "270 60% 50% / 0.05",
72
+ "2": "270 60% 50% / 0.1",
73
+ "3": "270 60% 50% / 0.15",
74
+ "4": "270 60% 50% / 0.2",
75
+ "5": "270 60% 50% / 0.3",
76
+ "6": "270 60% 50% / 0.4",
77
+ "7": "270 60% 50% / 0.5",
78
+ "8": "270 60% 50% / 0.6",
79
+ "9": "270 60% 50% / 0.7",
80
+ "10": "270 60% 50% / 0.8",
81
+ "11": "270 60% 50% / 0.9",
82
+ "12": "270 60% 50% / 0.95"
83
+ }
84
+ }
85
+ },
86
+ "neutral": {
87
+ "name": "gray",
88
+ "hue": 270,
89
+ "steps": {
90
+ "light": {
91
+ "1": "260 40% 99%",
92
+ "2": "260 40% 98%",
93
+ "3": "260 35% 96%",
94
+ "4": "260 30% 94%",
95
+ "5": "260 25% 91%",
96
+ "6": "260 20% 86%",
97
+ "7": "260 18% 78%",
98
+ "8": "260 16% 65%",
99
+ "9": "260 14% 50%",
100
+ "10": "260 12% 40%",
101
+ "11": "270 47% 11%",
102
+ "12": "270 84% 5%"
103
+ },
104
+ "dark": {
105
+ "1": "270 84% 5%",
106
+ "2": "270 50% 8%",
107
+ "3": "265 33% 17%",
108
+ "4": "265 30% 22%",
109
+ "5": "265 28% 28%",
110
+ "6": "265 26% 35%",
111
+ "7": "265 22% 45%",
112
+ "8": "265 20% 55%",
113
+ "9": "263 20% 65%",
114
+ "10": "263 18% 75%",
115
+ "11": "260 35% 88%",
116
+ "12": "260 40% 98%"
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "semanticTokens": {
122
+ "light": {
123
+ "background": "0 0% 100%",
124
+ "foreground": {
125
+ "$ref": "scales.neutral.steps.light.12"
126
+ },
127
+ "surface": {
128
+ "$ref": "scales.neutral.steps.light.2"
129
+ },
130
+ "surface-hover": {
131
+ "$ref": "scales.neutral.steps.light.3"
132
+ },
133
+ "surface-active": {
134
+ "$ref": "scales.neutral.steps.light.4"
135
+ },
136
+ "primary": {
137
+ "$ref": "scales.primary.steps.light.9"
138
+ },
139
+ "primary-hover": {
140
+ "$ref": "scales.primary.steps.light.10"
141
+ },
142
+ "primary-foreground": "210 40% 98%",
143
+ "secondary": {
144
+ "$ref": "scales.neutral.steps.light.3"
145
+ },
146
+ "secondary-hover": {
147
+ "$ref": "scales.neutral.steps.light.4"
148
+ },
149
+ "secondary-foreground": {
150
+ "$ref": "scales.neutral.steps.light.11"
151
+ },
152
+ "muted": {
153
+ "$ref": "scales.neutral.steps.light.3"
154
+ },
155
+ "muted-foreground": {
156
+ "$ref": "scales.neutral.steps.light.9"
157
+ },
158
+ "accent": {
159
+ "$ref": "scales.neutral.steps.light.3"
160
+ },
161
+ "accent-hover": {
162
+ "$ref": "scales.neutral.steps.light.4"
163
+ },
164
+ "accent-foreground": {
165
+ "$ref": "scales.neutral.steps.light.11"
166
+ },
167
+ "border": {
168
+ "$ref": "scales.neutral.steps.light.5"
169
+ },
170
+ "border-hover": {
171
+ "$ref": "scales.neutral.steps.light.6"
172
+ },
173
+ "input": {
174
+ "$ref": "scales.neutral.steps.light.5"
175
+ },
176
+ "input-hover": {
177
+ "$ref": "scales.neutral.steps.light.6"
178
+ },
179
+ "ring": {
180
+ "$ref": "scales.primary.steps.light.9"
181
+ },
182
+ "ring-offset": "0 0% 100%",
183
+ "card": "0 0% 100%",
184
+ "card-foreground": {
185
+ "$ref": "scales.neutral.steps.light.12"
186
+ },
187
+ "popover": "0 0% 100%",
188
+ "popover-foreground": {
189
+ "$ref": "scales.neutral.steps.light.12"
190
+ },
191
+ "panel": {
192
+ "$ref": "scales.neutral.steps.light.2"
193
+ },
194
+ "panel-translucent": "0 0% 100% / 0.9",
195
+ "overlay": "0 0% 0% / 0.4"
196
+ },
197
+ "dark": {
198
+ "background": {
199
+ "$ref": "scales.neutral.steps.dark.1"
200
+ },
201
+ "foreground": {
202
+ "$ref": "scales.neutral.steps.dark.12"
203
+ },
204
+ "surface": {
205
+ "$ref": "scales.neutral.steps.dark.2"
206
+ },
207
+ "surface-hover": {
208
+ "$ref": "scales.neutral.steps.dark.3"
209
+ },
210
+ "surface-active": {
211
+ "$ref": "scales.neutral.steps.dark.4"
212
+ },
213
+ "primary": {
214
+ "$ref": "scales.primary.steps.dark.9"
215
+ },
216
+ "primary-hover": {
217
+ "$ref": "scales.primary.steps.dark.10"
218
+ },
219
+ "primary-foreground": {
220
+ "$ref": "scales.neutral.steps.dark.1"
221
+ },
222
+ "secondary": {
223
+ "$ref": "scales.neutral.steps.dark.3"
224
+ },
225
+ "secondary-hover": {
226
+ "$ref": "scales.neutral.steps.dark.4"
227
+ },
228
+ "secondary-foreground": {
229
+ "$ref": "scales.neutral.steps.dark.12"
230
+ },
231
+ "muted": {
232
+ "$ref": "scales.neutral.steps.dark.3"
233
+ },
234
+ "muted-foreground": {
235
+ "$ref": "scales.neutral.steps.dark.9"
236
+ },
237
+ "accent": {
238
+ "$ref": "scales.neutral.steps.dark.3"
239
+ },
240
+ "accent-hover": {
241
+ "$ref": "scales.neutral.steps.dark.4"
242
+ },
243
+ "accent-foreground": {
244
+ "$ref": "scales.neutral.steps.dark.12"
245
+ },
246
+ "border": {
247
+ "$ref": "scales.neutral.steps.dark.3"
248
+ },
249
+ "border-hover": {
250
+ "$ref": "scales.neutral.steps.dark.4"
251
+ },
252
+ "input": {
253
+ "$ref": "scales.neutral.steps.dark.3"
254
+ },
255
+ "input-hover": {
256
+ "$ref": "scales.neutral.steps.dark.4"
257
+ },
258
+ "ring": {
259
+ "$ref": "scales.primary.steps.dark.9"
260
+ },
261
+ "ring-offset": {
262
+ "$ref": "scales.neutral.steps.dark.1"
263
+ },
264
+ "card": {
265
+ "$ref": "scales.neutral.steps.dark.1"
266
+ },
267
+ "card-foreground": {
268
+ "$ref": "scales.neutral.steps.dark.12"
269
+ },
270
+ "popover": {
271
+ "$ref": "scales.neutral.steps.dark.1"
272
+ },
273
+ "popover-foreground": {
274
+ "$ref": "scales.neutral.steps.dark.12"
275
+ },
276
+ "panel": {
277
+ "$ref": "scales.neutral.steps.dark.2"
278
+ },
279
+ "panel-translucent": "270 84% 5% / 0.9",
280
+ "overlay": "0 0% 0% / 0.6"
281
+ }
282
+ },
283
+ "statusColors": {
284
+ "light": {
285
+ "destructive": "0 84% 60%",
286
+ "destructive-foreground": "0 0% 98%",
287
+ "success": "151 55% 42%",
288
+ "success-foreground": "0 0% 100%",
289
+ "warning": "39 100% 50%",
290
+ "warning-foreground": "39 40% 15%",
291
+ "info": "206 100% 50%",
292
+ "info-foreground": "0 0% 100%"
293
+ },
294
+ "dark": {
295
+ "destructive": "0 63% 31%",
296
+ "destructive-foreground": "0 0% 98%",
297
+ "success": "151 50% 45%",
298
+ "success-foreground": "0 0% 100%",
299
+ "warning": "39 90% 55%",
300
+ "warning-foreground": "39 80% 10%",
301
+ "info": "206 90% 55%",
302
+ "info-foreground": "0 0% 100%"
303
+ }
304
+ },
305
+ "chartColors": {
306
+ "1": {
307
+ "$ref": "scales.primary.steps.light.9"
308
+ },
309
+ "2": "262 83% 58%",
310
+ "3": "25 95% 53%",
311
+ "4": "142 76% 36%",
312
+ "5": "347 77% 50%"
313
+ },
314
+ "sidebarTokens": {
315
+ "light": {
316
+ "background": "0 0% 98%",
317
+ "foreground": {
318
+ "$ref": "scales.neutral.steps.light.9"
319
+ },
320
+ "primary": {
321
+ "$ref": "scales.primary.steps.light.9"
322
+ },
323
+ "primary-foreground": "0 0% 98%",
324
+ "accent": {
325
+ "$ref": "scales.neutral.steps.light.3"
326
+ },
327
+ "accent-foreground": {
328
+ "$ref": "scales.neutral.steps.light.11"
329
+ },
330
+ "border": {
331
+ "$ref": "scales.neutral.steps.light.5"
332
+ },
333
+ "ring": {
334
+ "$ref": "scales.primary.steps.light.9"
335
+ }
336
+ },
337
+ "dark": {
338
+ "background": {
339
+ "$ref": "scales.neutral.steps.dark.1"
340
+ },
341
+ "foreground": {
342
+ "$ref": "scales.neutral.steps.dark.12"
343
+ },
344
+ "primary": {
345
+ "$ref": "scales.primary.steps.dark.9"
346
+ },
347
+ "primary-foreground": "0 0% 100%",
348
+ "accent": {
349
+ "$ref": "scales.neutral.steps.dark.3"
350
+ },
351
+ "accent-foreground": {
352
+ "$ref": "scales.neutral.steps.dark.12"
353
+ },
354
+ "border": {
355
+ "$ref": "scales.neutral.steps.dark.3"
356
+ },
357
+ "ring": {
358
+ "$ref": "scales.primary.steps.dark.9"
359
+ }
360
+ }
361
+ },
362
+ "typography": {
363
+ "fontFamily": {
364
+ "sans": "Inter, system-ui, sans-serif",
365
+ "mono": "JetBrains Mono, monospace"
366
+ },
367
+ "fontFeatureSettings": "\"rlig\" 1, \"calt\" 1"
368
+ },
369
+ "spacing": {
370
+ "radius": "0.5rem",
371
+ "radiusLg": "var(--radius)",
372
+ "radiusMd": "calc(var(--radius) - 2px)",
373
+ "radiusSm": "calc(var(--radius) - 4px)"
374
+ },
375
+ "effects": {
376
+ "glassMorphism": {
377
+ "background": {
378
+ "$ref": "scales.neutral.steps.light.1"
379
+ },
380
+ "backdropBlur": "12px"
381
+ },
382
+ "glow": {
383
+ "default": "0 0 20px",
384
+ "lg": "0 0 40px",
385
+ "color": {
386
+ "$ref": "scales.primary.steps.light.9"
387
+ }
388
+ },
389
+ "gradient": {
390
+ "primary": {
391
+ "from": {
392
+ "$ref": "scales.primary.steps.light.9"
393
+ },
394
+ "to": {
395
+ "$ref": "scales.primary.steps.light.11"
396
+ },
397
+ "direction": "135deg"
398
+ },
399
+ "surface": {
400
+ "from": "0 0% 100%",
401
+ "to": {
402
+ "$ref": "scales.neutral.steps.light.2"
403
+ },
404
+ "direction": "180deg"
405
+ }
406
+ }
407
+ },
408
+ "animations": {
409
+ "shimmer": {
410
+ "duration": "8s",
411
+ "easing": "ease-in-out",
412
+ "iteration": "infinite",
413
+ "keyframes": {
414
+ "0%": {
415
+ "backgroundPosition": "-200% 0"
416
+ },
417
+ "100%": {
418
+ "backgroundPosition": "200% 0"
419
+ }
420
+ }
421
+ },
422
+ "pulse-glow": {
423
+ "duration": "2s",
424
+ "easing": "ease-in-out",
425
+ "iteration": "infinite",
426
+ "keyframes": {
427
+ "0%, 100%": {
428
+ "boxShadow": "0 0 20px hsl(270 60% 45% / 0.3)"
429
+ },
430
+ "50%": {
431
+ "boxShadow": "0 0 40px hsl(270 60% 45% / 0.6)"
432
+ }
433
+ }
434
+ },
435
+ "fade-in": {
436
+ "duration": "0.3s",
437
+ "easing": "ease-out",
438
+ "keyframes": {
439
+ "from": {
440
+ "opacity": "0"
441
+ },
442
+ "to": {
443
+ "opacity": "1"
444
+ }
445
+ }
446
+ },
447
+ "slide-up": {
448
+ "duration": "0.4s",
449
+ "easing": "cubic-bezier(0.16, 1, 0.3, 1)",
450
+ "keyframes": {
451
+ "from": {
452
+ "transform": "translateY(10px)",
453
+ "opacity": "0"
454
+ },
455
+ "to": {
456
+ "transform": "translateY(0)",
457
+ "opacity": "1"
458
+ }
459
+ }
460
+ }
461
+ },
6
462
  "colors": {
7
463
  "light": {
8
464
  "background": "270 50% 99%",