omgkit 2.30.0 → 2.31.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.
- package/README.md +68 -10
- package/lib/generators/css.generator.js +151 -0
- package/lib/generators/figma.generator.js +311 -0
- package/lib/generators/index.js +135 -0
- package/lib/generators/scss.generator.js +249 -0
- package/lib/generators/style-dictionary.generator.js +456 -0
- package/lib/generators/tailwind.generator.js +251 -0
- package/lib/theme-v2.js +755 -0
- package/lib/theme.js +97 -4
- package/package.json +2 -2
- package/plugin/commands/design/export.md +232 -0
- package/plugin/commands/design/rebuild.md +46 -0
- package/plugin/commands/design/validate.md +223 -0
- package/plugin/registry.yaml +2 -2
- package/templates/design/schema/theme-v2.schema.json +384 -0
- package/templates/design/themes/tech-ai/electric-cyan-v2.json +362 -0
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0",
|
|
3
|
+
"name": "Electric Cyan V2",
|
|
4
|
+
"id": "electric-cyan-v2",
|
|
5
|
+
"category": "tech-ai",
|
|
6
|
+
"description": "Modern AI/SaaS aesthetic with cyan primary, featuring 12-step color scales, effects, and animations",
|
|
7
|
+
|
|
8
|
+
"colorSystem": {
|
|
9
|
+
"type": "radix",
|
|
10
|
+
"version": "3.0"
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
"scales": {
|
|
14
|
+
"primary": {
|
|
15
|
+
"name": "cyan",
|
|
16
|
+
"hue": 186,
|
|
17
|
+
"saturation": {
|
|
18
|
+
"light": { "low": 45, "high": 91 },
|
|
19
|
+
"dark": { "low": 50, "high": 91 }
|
|
20
|
+
},
|
|
21
|
+
"steps": {
|
|
22
|
+
"light": {
|
|
23
|
+
"1": "185 60% 99%",
|
|
24
|
+
"2": "185 55% 97%",
|
|
25
|
+
"3": "186 50% 93%",
|
|
26
|
+
"4": "186 55% 88%",
|
|
27
|
+
"5": "186 60% 82%",
|
|
28
|
+
"6": "186 65% 74%",
|
|
29
|
+
"7": "186 70% 62%",
|
|
30
|
+
"8": "186 80% 50%",
|
|
31
|
+
"9": "186 91% 42.7%",
|
|
32
|
+
"10": "186 92% 38%",
|
|
33
|
+
"11": "186 93% 32%",
|
|
34
|
+
"12": "186 95% 18%"
|
|
35
|
+
},
|
|
36
|
+
"dark": {
|
|
37
|
+
"1": "186 30% 7%",
|
|
38
|
+
"2": "186 35% 10%",
|
|
39
|
+
"3": "186 40% 14%",
|
|
40
|
+
"4": "186 45% 18%",
|
|
41
|
+
"5": "186 50% 22%",
|
|
42
|
+
"6": "186 55% 28%",
|
|
43
|
+
"7": "186 60% 35%",
|
|
44
|
+
"8": "186 70% 42%",
|
|
45
|
+
"9": "186 91% 42.7%",
|
|
46
|
+
"10": "186 88% 48%",
|
|
47
|
+
"11": "186 80% 60%",
|
|
48
|
+
"12": "186 70% 80%"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"alpha": {
|
|
52
|
+
"light": {
|
|
53
|
+
"1": "186 91% 42.7% / 0.05",
|
|
54
|
+
"2": "186 91% 42.7% / 0.1",
|
|
55
|
+
"3": "186 91% 42.7% / 0.15",
|
|
56
|
+
"4": "186 91% 42.7% / 0.2",
|
|
57
|
+
"5": "186 91% 42.7% / 0.3",
|
|
58
|
+
"6": "186 91% 42.7% / 0.4",
|
|
59
|
+
"7": "186 91% 42.7% / 0.5",
|
|
60
|
+
"8": "186 91% 42.7% / 0.6",
|
|
61
|
+
"9": "186 91% 42.7% / 0.7",
|
|
62
|
+
"10": "186 91% 42.7% / 0.8",
|
|
63
|
+
"11": "186 91% 42.7% / 0.9",
|
|
64
|
+
"12": "186 91% 42.7% / 0.95"
|
|
65
|
+
},
|
|
66
|
+
"dark": {
|
|
67
|
+
"1": "186 91% 50% / 0.05",
|
|
68
|
+
"2": "186 91% 50% / 0.1",
|
|
69
|
+
"3": "186 91% 50% / 0.15",
|
|
70
|
+
"4": "186 91% 50% / 0.2",
|
|
71
|
+
"5": "186 91% 50% / 0.3",
|
|
72
|
+
"6": "186 91% 50% / 0.4",
|
|
73
|
+
"7": "186 91% 50% / 0.5",
|
|
74
|
+
"8": "186 91% 50% / 0.6",
|
|
75
|
+
"9": "186 91% 50% / 0.7",
|
|
76
|
+
"10": "186 91% 50% / 0.8",
|
|
77
|
+
"11": "186 91% 50% / 0.9",
|
|
78
|
+
"12": "186 91% 50% / 0.95"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"neutral": {
|
|
83
|
+
"name": "slate",
|
|
84
|
+
"hue": 222,
|
|
85
|
+
"steps": {
|
|
86
|
+
"light": {
|
|
87
|
+
"1": "210 40% 99%",
|
|
88
|
+
"2": "210 40% 98%",
|
|
89
|
+
"3": "210 35% 96%",
|
|
90
|
+
"4": "210 30% 94%",
|
|
91
|
+
"5": "210 25% 91%",
|
|
92
|
+
"6": "210 20% 86%",
|
|
93
|
+
"7": "210 18% 78%",
|
|
94
|
+
"8": "210 16% 65%",
|
|
95
|
+
"9": "210 14% 50%",
|
|
96
|
+
"10": "210 12% 40%",
|
|
97
|
+
"11": "222 47% 11%",
|
|
98
|
+
"12": "222 84% 5%"
|
|
99
|
+
},
|
|
100
|
+
"dark": {
|
|
101
|
+
"1": "222 84% 5%",
|
|
102
|
+
"2": "222 50% 8%",
|
|
103
|
+
"3": "217 33% 17%",
|
|
104
|
+
"4": "217 30% 22%",
|
|
105
|
+
"5": "217 28% 28%",
|
|
106
|
+
"6": "217 26% 35%",
|
|
107
|
+
"7": "217 22% 45%",
|
|
108
|
+
"8": "217 20% 55%",
|
|
109
|
+
"9": "215 20% 65%",
|
|
110
|
+
"10": "215 18% 75%",
|
|
111
|
+
"11": "210 35% 88%",
|
|
112
|
+
"12": "210 40% 98%"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
"semanticTokens": {
|
|
119
|
+
"light": {
|
|
120
|
+
"background": "0 0% 100%",
|
|
121
|
+
"foreground": { "$ref": "scales.neutral.steps.light.12" },
|
|
122
|
+
"surface": { "$ref": "scales.neutral.steps.light.2" },
|
|
123
|
+
"surface-hover": { "$ref": "scales.neutral.steps.light.3" },
|
|
124
|
+
"surface-active": { "$ref": "scales.neutral.steps.light.4" },
|
|
125
|
+
"primary": { "$ref": "scales.primary.steps.light.9" },
|
|
126
|
+
"primary-hover": { "$ref": "scales.primary.steps.light.10" },
|
|
127
|
+
"primary-foreground": "210 40% 98%",
|
|
128
|
+
"secondary": { "$ref": "scales.neutral.steps.light.3" },
|
|
129
|
+
"secondary-hover": { "$ref": "scales.neutral.steps.light.4" },
|
|
130
|
+
"secondary-foreground": { "$ref": "scales.neutral.steps.light.11" },
|
|
131
|
+
"muted": { "$ref": "scales.neutral.steps.light.3" },
|
|
132
|
+
"muted-foreground": { "$ref": "scales.neutral.steps.light.9" },
|
|
133
|
+
"accent": { "$ref": "scales.neutral.steps.light.3" },
|
|
134
|
+
"accent-hover": { "$ref": "scales.neutral.steps.light.4" },
|
|
135
|
+
"accent-foreground": { "$ref": "scales.neutral.steps.light.11" },
|
|
136
|
+
"border": { "$ref": "scales.neutral.steps.light.5" },
|
|
137
|
+
"border-hover": { "$ref": "scales.neutral.steps.light.6" },
|
|
138
|
+
"input": { "$ref": "scales.neutral.steps.light.5" },
|
|
139
|
+
"input-hover": { "$ref": "scales.neutral.steps.light.6" },
|
|
140
|
+
"ring": { "$ref": "scales.primary.steps.light.9" },
|
|
141
|
+
"ring-offset": "0 0% 100%",
|
|
142
|
+
"card": "0 0% 100%",
|
|
143
|
+
"card-foreground": { "$ref": "scales.neutral.steps.light.12" },
|
|
144
|
+
"popover": "0 0% 100%",
|
|
145
|
+
"popover-foreground": { "$ref": "scales.neutral.steps.light.12" },
|
|
146
|
+
"panel": { "$ref": "scales.neutral.steps.light.2" },
|
|
147
|
+
"panel-translucent": "0 0% 100% / 0.9",
|
|
148
|
+
"overlay": "0 0% 0% / 0.4"
|
|
149
|
+
},
|
|
150
|
+
"dark": {
|
|
151
|
+
"background": { "$ref": "scales.neutral.steps.dark.1" },
|
|
152
|
+
"foreground": { "$ref": "scales.neutral.steps.dark.12" },
|
|
153
|
+
"surface": { "$ref": "scales.neutral.steps.dark.2" },
|
|
154
|
+
"surface-hover": { "$ref": "scales.neutral.steps.dark.3" },
|
|
155
|
+
"surface-active": { "$ref": "scales.neutral.steps.dark.4" },
|
|
156
|
+
"primary": { "$ref": "scales.primary.steps.dark.9" },
|
|
157
|
+
"primary-hover": { "$ref": "scales.primary.steps.dark.10" },
|
|
158
|
+
"primary-foreground": { "$ref": "scales.neutral.steps.dark.1" },
|
|
159
|
+
"secondary": { "$ref": "scales.neutral.steps.dark.3" },
|
|
160
|
+
"secondary-hover": { "$ref": "scales.neutral.steps.dark.4" },
|
|
161
|
+
"secondary-foreground": { "$ref": "scales.neutral.steps.dark.12" },
|
|
162
|
+
"muted": { "$ref": "scales.neutral.steps.dark.3" },
|
|
163
|
+
"muted-foreground": { "$ref": "scales.neutral.steps.dark.9" },
|
|
164
|
+
"accent": { "$ref": "scales.neutral.steps.dark.3" },
|
|
165
|
+
"accent-hover": { "$ref": "scales.neutral.steps.dark.4" },
|
|
166
|
+
"accent-foreground": { "$ref": "scales.neutral.steps.dark.12" },
|
|
167
|
+
"border": { "$ref": "scales.neutral.steps.dark.3" },
|
|
168
|
+
"border-hover": { "$ref": "scales.neutral.steps.dark.4" },
|
|
169
|
+
"input": { "$ref": "scales.neutral.steps.dark.3" },
|
|
170
|
+
"input-hover": { "$ref": "scales.neutral.steps.dark.4" },
|
|
171
|
+
"ring": { "$ref": "scales.primary.steps.dark.9" },
|
|
172
|
+
"ring-offset": { "$ref": "scales.neutral.steps.dark.1" },
|
|
173
|
+
"card": { "$ref": "scales.neutral.steps.dark.1" },
|
|
174
|
+
"card-foreground": { "$ref": "scales.neutral.steps.dark.12" },
|
|
175
|
+
"popover": { "$ref": "scales.neutral.steps.dark.1" },
|
|
176
|
+
"popover-foreground": { "$ref": "scales.neutral.steps.dark.12" },
|
|
177
|
+
"panel": { "$ref": "scales.neutral.steps.dark.2" },
|
|
178
|
+
"panel-translucent": "222 84% 5% / 0.9",
|
|
179
|
+
"overlay": "0 0% 0% / 0.6"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
|
|
183
|
+
"statusColors": {
|
|
184
|
+
"light": {
|
|
185
|
+
"destructive": "0 84% 60%",
|
|
186
|
+
"destructive-foreground": "0 0% 98%",
|
|
187
|
+
"success": "151 55% 42%",
|
|
188
|
+
"success-foreground": "0 0% 100%",
|
|
189
|
+
"warning": "39 100% 50%",
|
|
190
|
+
"warning-foreground": "39 40% 15%",
|
|
191
|
+
"info": "206 100% 50%",
|
|
192
|
+
"info-foreground": "0 0% 100%"
|
|
193
|
+
},
|
|
194
|
+
"dark": {
|
|
195
|
+
"destructive": "0 63% 31%",
|
|
196
|
+
"destructive-foreground": "0 0% 98%",
|
|
197
|
+
"success": "151 50% 45%",
|
|
198
|
+
"success-foreground": "0 0% 100%",
|
|
199
|
+
"warning": "39 90% 55%",
|
|
200
|
+
"warning-foreground": "39 80% 10%",
|
|
201
|
+
"info": "206 90% 55%",
|
|
202
|
+
"info-foreground": "0 0% 100%"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
|
|
206
|
+
"chartColors": {
|
|
207
|
+
"1": { "$ref": "scales.primary.steps.light.9" },
|
|
208
|
+
"2": "262 83% 58%",
|
|
209
|
+
"3": "25 95% 53%",
|
|
210
|
+
"4": "142 76% 36%",
|
|
211
|
+
"5": "347 77% 50%"
|
|
212
|
+
},
|
|
213
|
+
|
|
214
|
+
"sidebarTokens": {
|
|
215
|
+
"light": {
|
|
216
|
+
"background": "0 0% 98%",
|
|
217
|
+
"foreground": { "$ref": "scales.neutral.steps.light.9" },
|
|
218
|
+
"primary": { "$ref": "scales.primary.steps.light.9" },
|
|
219
|
+
"primary-foreground": "0 0% 98%",
|
|
220
|
+
"accent": { "$ref": "scales.neutral.steps.light.3" },
|
|
221
|
+
"accent-foreground": { "$ref": "scales.neutral.steps.light.11" },
|
|
222
|
+
"border": { "$ref": "scales.neutral.steps.light.5" },
|
|
223
|
+
"ring": { "$ref": "scales.primary.steps.light.9" }
|
|
224
|
+
},
|
|
225
|
+
"dark": {
|
|
226
|
+
"background": { "$ref": "scales.neutral.steps.dark.1" },
|
|
227
|
+
"foreground": { "$ref": "scales.neutral.steps.dark.12" },
|
|
228
|
+
"primary": { "$ref": "scales.primary.steps.dark.9" },
|
|
229
|
+
"primary-foreground": "0 0% 100%",
|
|
230
|
+
"accent": { "$ref": "scales.neutral.steps.dark.3" },
|
|
231
|
+
"accent-foreground": { "$ref": "scales.neutral.steps.dark.12" },
|
|
232
|
+
"border": { "$ref": "scales.neutral.steps.dark.3" },
|
|
233
|
+
"ring": { "$ref": "scales.primary.steps.dark.9" }
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
"typography": {
|
|
238
|
+
"fontFamily": {
|
|
239
|
+
"sans": "Inter, system-ui, sans-serif",
|
|
240
|
+
"mono": "JetBrains Mono, monospace"
|
|
241
|
+
},
|
|
242
|
+
"fontFeatureSettings": "\"rlig\" 1, \"calt\" 1"
|
|
243
|
+
},
|
|
244
|
+
|
|
245
|
+
"spacing": {
|
|
246
|
+
"radius": "0.5rem",
|
|
247
|
+
"radiusLg": "var(--radius)",
|
|
248
|
+
"radiusMd": "calc(var(--radius) - 2px)",
|
|
249
|
+
"radiusSm": "calc(var(--radius) - 4px)"
|
|
250
|
+
},
|
|
251
|
+
|
|
252
|
+
"effects": {
|
|
253
|
+
"glassMorphism": {
|
|
254
|
+
"background": { "$ref": "scales.neutral.steps.light.1" },
|
|
255
|
+
"backdropBlur": "12px"
|
|
256
|
+
},
|
|
257
|
+
"glow": {
|
|
258
|
+
"default": "0 0 20px",
|
|
259
|
+
"lg": "0 0 40px",
|
|
260
|
+
"color": { "$ref": "scales.primary.steps.light.9" }
|
|
261
|
+
},
|
|
262
|
+
"gradient": {
|
|
263
|
+
"primary": {
|
|
264
|
+
"from": { "$ref": "scales.primary.steps.light.9" },
|
|
265
|
+
"to": { "$ref": "scales.primary.steps.light.11" },
|
|
266
|
+
"direction": "135deg"
|
|
267
|
+
},
|
|
268
|
+
"surface": {
|
|
269
|
+
"from": "0 0% 100%",
|
|
270
|
+
"to": { "$ref": "scales.neutral.steps.light.2" },
|
|
271
|
+
"direction": "180deg"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
|
|
276
|
+
"animations": {
|
|
277
|
+
"shimmer": {
|
|
278
|
+
"duration": "8s",
|
|
279
|
+
"easing": "ease-in-out",
|
|
280
|
+
"iteration": "infinite",
|
|
281
|
+
"keyframes": {
|
|
282
|
+
"0%": { "backgroundPosition": "-200% 0" },
|
|
283
|
+
"100%": { "backgroundPosition": "200% 0" }
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"pulse-glow": {
|
|
287
|
+
"duration": "2s",
|
|
288
|
+
"easing": "ease-in-out",
|
|
289
|
+
"iteration": "infinite",
|
|
290
|
+
"keyframes": {
|
|
291
|
+
"0%, 100%": { "boxShadow": "0 0 20px hsl(186 91% 42.7% / 0.3)" },
|
|
292
|
+
"50%": { "boxShadow": "0 0 40px hsl(186 91% 42.7% / 0.6)" }
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"fade-in": {
|
|
296
|
+
"duration": "0.3s",
|
|
297
|
+
"easing": "ease-out",
|
|
298
|
+
"keyframes": {
|
|
299
|
+
"from": { "opacity": "0" },
|
|
300
|
+
"to": { "opacity": "1" }
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"slide-up": {
|
|
304
|
+
"duration": "0.4s",
|
|
305
|
+
"easing": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
306
|
+
"keyframes": {
|
|
307
|
+
"from": { "transform": "translateY(10px)", "opacity": "0" },
|
|
308
|
+
"to": { "transform": "translateY(0)", "opacity": "1" }
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
|
|
313
|
+
"colors": {
|
|
314
|
+
"light": {
|
|
315
|
+
"background": "0 0% 100%",
|
|
316
|
+
"foreground": "222.2 84% 4.9%",
|
|
317
|
+
"primary": "186 91% 42.7%",
|
|
318
|
+
"primary-foreground": "210 40% 98%",
|
|
319
|
+
"secondary": "210 40% 96.1%",
|
|
320
|
+
"secondary-foreground": "222.2 47.4% 11.2%",
|
|
321
|
+
"muted": "210 40% 96.1%",
|
|
322
|
+
"muted-foreground": "215.4 16.3% 46.9%",
|
|
323
|
+
"accent": "210 40% 96.1%",
|
|
324
|
+
"accent-foreground": "222.2 47.4% 11.2%",
|
|
325
|
+
"destructive": "0 84.2% 60.2%",
|
|
326
|
+
"destructive-foreground": "210 40% 98%",
|
|
327
|
+
"border": "214.3 31.8% 91.4%",
|
|
328
|
+
"input": "214.3 31.8% 91.4%",
|
|
329
|
+
"ring": "186 91% 42.7%",
|
|
330
|
+
"card": "0 0% 100%",
|
|
331
|
+
"card-foreground": "222.2 84% 4.9%",
|
|
332
|
+
"popover": "0 0% 100%",
|
|
333
|
+
"popover-foreground": "222.2 84% 4.9%"
|
|
334
|
+
},
|
|
335
|
+
"dark": {
|
|
336
|
+
"background": "222.2 84% 4.9%",
|
|
337
|
+
"foreground": "210 40% 98%",
|
|
338
|
+
"primary": "186 91% 42.7%",
|
|
339
|
+
"primary-foreground": "222.2 47.4% 11.2%",
|
|
340
|
+
"secondary": "217.2 32.6% 17.5%",
|
|
341
|
+
"secondary-foreground": "210 40% 98%",
|
|
342
|
+
"muted": "217.2 32.6% 17.5%",
|
|
343
|
+
"muted-foreground": "215 20.2% 65.1%",
|
|
344
|
+
"accent": "217.2 32.6% 17.5%",
|
|
345
|
+
"accent-foreground": "210 40% 98%",
|
|
346
|
+
"destructive": "0 62.8% 30.6%",
|
|
347
|
+
"destructive-foreground": "210 40% 98%",
|
|
348
|
+
"border": "217.2 32.6% 17.5%",
|
|
349
|
+
"input": "217.2 32.6% 17.5%",
|
|
350
|
+
"ring": "186 91% 42.7%",
|
|
351
|
+
"card": "222.2 84% 4.9%",
|
|
352
|
+
"card-foreground": "210 40% 98%",
|
|
353
|
+
"popover": "222.2 84% 4.9%",
|
|
354
|
+
"popover-foreground": "210 40% 98%"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"radius": "0.5rem",
|
|
358
|
+
"fontFamily": {
|
|
359
|
+
"sans": "Inter, system-ui, sans-serif",
|
|
360
|
+
"mono": "JetBrains Mono, monospace"
|
|
361
|
+
}
|
|
362
|
+
}
|