@mvn-ui/react 0.1.2 → 0.1.4
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/dist/index.css +140 -29
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +471 -10
- package/dist/index.d.ts +471 -10
- package/dist/index.js +1813 -709
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1600 -595
- package/dist/index.mjs.map +1 -1
- package/dist/themes.css +653 -0
- package/package.json +5 -3
package/dist/themes.css
ADDED
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MVN-UI Theme Profiles
|
|
3
|
+
* Easy-to-use color themes inspired by popular browser themes.
|
|
4
|
+
* Apply theme by adding the class to your root element: <html class="theme-ocean">
|
|
5
|
+
*
|
|
6
|
+
* Available themes:
|
|
7
|
+
* - theme-default (Deep blue - calm, professional)
|
|
8
|
+
* - theme-sunset (Orange/coral - warm, energetic)
|
|
9
|
+
* - theme-lavender (Purple - creative, elegant)
|
|
10
|
+
* - theme-rose (Pink - soft, modern)
|
|
11
|
+
* - theme-slate (Gray/neutral - minimal, clean)
|
|
12
|
+
* - theme-midnight (Deep purple-blue - dark mode optimized)
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/* ============================================
|
|
16
|
+
THEME: Sunset (Orange/Coral)
|
|
17
|
+
Warm, energetic, creative
|
|
18
|
+
============================================ */
|
|
19
|
+
.theme-sunset,
|
|
20
|
+
.theme-sunset :root {
|
|
21
|
+
--primary: #f97316;
|
|
22
|
+
--primary-foreground: #ffffff;
|
|
23
|
+
--primary-50: #fef6ee;
|
|
24
|
+
--primary-100: #fdead7;
|
|
25
|
+
--primary-200: #fbd0a8;
|
|
26
|
+
--primary-300: #f8a862;
|
|
27
|
+
--primary-400: #f88433;
|
|
28
|
+
--primary-500: #f97316;
|
|
29
|
+
--primary-600: #e65c0a;
|
|
30
|
+
--primary-700: #bf4a0b;
|
|
31
|
+
--primary-800: #99390f;
|
|
32
|
+
--primary-900: #732a10;
|
|
33
|
+
--ring: #f97316;
|
|
34
|
+
--accent: #fef6ee;
|
|
35
|
+
--accent-foreground: #e65c0a;
|
|
36
|
+
/* Chart colors */
|
|
37
|
+
--chart-1: #f97316;
|
|
38
|
+
--chart-2: #fb8c3c;
|
|
39
|
+
--chart-3: #fca660;
|
|
40
|
+
--chart-4: #f59e0b;
|
|
41
|
+
--chart-5: #ef6350;
|
|
42
|
+
/* Surface colors */
|
|
43
|
+
--background: #fefcfb;
|
|
44
|
+
--foreground: #2e1e14;
|
|
45
|
+
--muted: #faf5f2;
|
|
46
|
+
--muted-foreground: #7a6354;
|
|
47
|
+
--card: #fefcfb;
|
|
48
|
+
--card-foreground: #2e1e14;
|
|
49
|
+
--popover: #fefcfb;
|
|
50
|
+
--popover-foreground: #2e1e14;
|
|
51
|
+
--border: #e8ddd5;
|
|
52
|
+
--secondary: #faf5f2;
|
|
53
|
+
--secondary-foreground: #2e1e14;
|
|
54
|
+
--input: #e8ddd5;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.theme-sunset.dark,
|
|
58
|
+
.theme-sunset .dark {
|
|
59
|
+
--primary: #fb8c3c;
|
|
60
|
+
--primary-foreground: #1a0d05;
|
|
61
|
+
--primary-50: #2a1508;
|
|
62
|
+
--primary-100: #3d1f0b;
|
|
63
|
+
--primary-200: #663411;
|
|
64
|
+
--primary-300: #995219;
|
|
65
|
+
--primary-400: #cc7121;
|
|
66
|
+
--primary-500: #fb8c3c;
|
|
67
|
+
--primary-600: #fca660;
|
|
68
|
+
--primary-700: #fdc08a;
|
|
69
|
+
--primary-800: #fed9b3;
|
|
70
|
+
--primary-900: #feefdc;
|
|
71
|
+
--ring: #fb8c3c;
|
|
72
|
+
--accent: #3d1f0b;
|
|
73
|
+
--accent-foreground: #fdc08a;
|
|
74
|
+
/* Chart colors */
|
|
75
|
+
--chart-1: #fb8c3c;
|
|
76
|
+
--chart-2: #fca660;
|
|
77
|
+
--chart-3: #fdc08a;
|
|
78
|
+
--chart-4: #f7a832;
|
|
79
|
+
--chart-5: #f27552;
|
|
80
|
+
/* Surface colors */
|
|
81
|
+
--background: #1a1310;
|
|
82
|
+
--foreground: #ede5e0;
|
|
83
|
+
--muted: #2b211b;
|
|
84
|
+
--muted-foreground: #a99485;
|
|
85
|
+
--card: #211a15;
|
|
86
|
+
--card-foreground: #ede5e0;
|
|
87
|
+
--popover: #211a15;
|
|
88
|
+
--popover-foreground: #ede5e0;
|
|
89
|
+
--border: #44352a;
|
|
90
|
+
--secondary: #2b211b;
|
|
91
|
+
--secondary-foreground: #ede5e0;
|
|
92
|
+
--input: #44352a;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* ============================================
|
|
96
|
+
THEME: Lavender (Purple)
|
|
97
|
+
Creative, elegant, premium
|
|
98
|
+
============================================ */
|
|
99
|
+
.theme-lavender,
|
|
100
|
+
.theme-lavender :root {
|
|
101
|
+
--primary: #8b5cf6;
|
|
102
|
+
--primary-foreground: #ffffff;
|
|
103
|
+
--primary-50: #f6f3fe;
|
|
104
|
+
--primary-100: #ede6fd;
|
|
105
|
+
--primary-200: #d8c9fb;
|
|
106
|
+
--primary-300: #b89cf8;
|
|
107
|
+
--primary-400: #9c75f7;
|
|
108
|
+
--primary-500: #8b5cf6;
|
|
109
|
+
--primary-600: #7c3aed;
|
|
110
|
+
--primary-700: #6829d3;
|
|
111
|
+
--primary-800: #551eae;
|
|
112
|
+
--primary-900: #421785;
|
|
113
|
+
--ring: #8b5cf6;
|
|
114
|
+
--accent: #f6f3fe;
|
|
115
|
+
--accent-foreground: #7c3aed;
|
|
116
|
+
/* Chart colors */
|
|
117
|
+
--chart-1: #8b5cf6;
|
|
118
|
+
--chart-2: #a07ff8;
|
|
119
|
+
--chart-3: #b5a2fa;
|
|
120
|
+
--chart-4: #a855f7;
|
|
121
|
+
--chart-5: #6366f1;
|
|
122
|
+
/* Surface colors */
|
|
123
|
+
--background: #fcfbfe;
|
|
124
|
+
--foreground: #221634;
|
|
125
|
+
--muted: #f5f2fa;
|
|
126
|
+
--muted-foreground: #6b5785;
|
|
127
|
+
--card: #fcfbfe;
|
|
128
|
+
--card-foreground: #221634;
|
|
129
|
+
--popover: #fcfbfe;
|
|
130
|
+
--popover-foreground: #221634;
|
|
131
|
+
--border: #dfd6ed;
|
|
132
|
+
--secondary: #f5f2fa;
|
|
133
|
+
--secondary-foreground: #221634;
|
|
134
|
+
--input: #dfd6ed;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.theme-lavender.dark,
|
|
138
|
+
.theme-lavender .dark {
|
|
139
|
+
--primary: #a78bfa;
|
|
140
|
+
--primary-foreground: #0f0819;
|
|
141
|
+
--primary-50: #1c1229;
|
|
142
|
+
--primary-100: #281a3d;
|
|
143
|
+
--primary-200: #3e2866;
|
|
144
|
+
--primary-300: #5a3d99;
|
|
145
|
+
--primary-400: #7b59cc;
|
|
146
|
+
--primary-500: #a78bfa;
|
|
147
|
+
--primary-600: #b9a1fb;
|
|
148
|
+
--primary-700: #cbb7fc;
|
|
149
|
+
--primary-800: #ddcefd;
|
|
150
|
+
--primary-900: #eee4fe;
|
|
151
|
+
--ring: #a78bfa;
|
|
152
|
+
--accent: #281a3d;
|
|
153
|
+
--accent-foreground: #cbb7fc;
|
|
154
|
+
/* Chart colors */
|
|
155
|
+
--chart-1: #a78bfa;
|
|
156
|
+
--chart-2: #b9a1fb;
|
|
157
|
+
--chart-3: #cbb7fc;
|
|
158
|
+
--chart-4: #b78bf7;
|
|
159
|
+
--chart-5: #818cf8;
|
|
160
|
+
/* Surface colors */
|
|
161
|
+
--background: #14101a;
|
|
162
|
+
--foreground: #e6e0ed;
|
|
163
|
+
--muted: #221b2b;
|
|
164
|
+
--muted-foreground: #9b8cad;
|
|
165
|
+
--card: #1a1422;
|
|
166
|
+
--card-foreground: #e6e0ed;
|
|
167
|
+
--popover: #1a1422;
|
|
168
|
+
--popover-foreground: #e6e0ed;
|
|
169
|
+
--border: #3a2e4a;
|
|
170
|
+
--secondary: #221b2b;
|
|
171
|
+
--secondary-foreground: #e6e0ed;
|
|
172
|
+
--input: #3a2e4a;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* ============================================
|
|
176
|
+
THEME: Rose (Pink)
|
|
177
|
+
Soft, modern, approachable
|
|
178
|
+
============================================ */
|
|
179
|
+
.theme-rose,
|
|
180
|
+
.theme-rose :root {
|
|
181
|
+
--primary: #e11d5a;
|
|
182
|
+
--primary-foreground: #ffffff;
|
|
183
|
+
--primary-50: #fdf2f6;
|
|
184
|
+
--primary-100: #fbe5ed;
|
|
185
|
+
--primary-200: #f8c5d8;
|
|
186
|
+
--primary-300: #f38ab7;
|
|
187
|
+
--primary-400: #eb4d8b;
|
|
188
|
+
--primary-500: #e11d5a;
|
|
189
|
+
--primary-600: #c4154c;
|
|
190
|
+
--primary-700: #a3123f;
|
|
191
|
+
--primary-800: #850f33;
|
|
192
|
+
--primary-900: #630c26;
|
|
193
|
+
--ring: #e11d5a;
|
|
194
|
+
--accent: #fdf2f6;
|
|
195
|
+
--accent-foreground: #c4154c;
|
|
196
|
+
/* Chart colors */
|
|
197
|
+
--chart-1: #e11d5a;
|
|
198
|
+
--chart-2: #e94778;
|
|
199
|
+
--chart-3: #f07196;
|
|
200
|
+
--chart-4: #d946a0;
|
|
201
|
+
--chart-5: #dc4545;
|
|
202
|
+
/* Surface colors */
|
|
203
|
+
--background: #fefbfc;
|
|
204
|
+
--foreground: #301621;
|
|
205
|
+
--muted: #faf3f6;
|
|
206
|
+
--muted-foreground: #7d5867;
|
|
207
|
+
--card: #fefbfc;
|
|
208
|
+
--card-foreground: #301621;
|
|
209
|
+
--popover: #fefbfc;
|
|
210
|
+
--popover-foreground: #301621;
|
|
211
|
+
--border: #ead6dd;
|
|
212
|
+
--secondary: #faf3f6;
|
|
213
|
+
--secondary-foreground: #301621;
|
|
214
|
+
--input: #ead6dd;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.theme-rose.dark,
|
|
218
|
+
.theme-rose .dark {
|
|
219
|
+
--primary: #eb4d8b;
|
|
220
|
+
--primary-foreground: #190710;
|
|
221
|
+
--primary-50: #280c18;
|
|
222
|
+
--primary-100: #3d1224;
|
|
223
|
+
--primary-200: #661f3b;
|
|
224
|
+
--primary-300: #992e58;
|
|
225
|
+
--primary-400: #cc3e75;
|
|
226
|
+
--primary-500: #eb4d8b;
|
|
227
|
+
--primary-600: #f07196;
|
|
228
|
+
--primary-700: #f599b4;
|
|
229
|
+
--primary-800: #f9c0d1;
|
|
230
|
+
--primary-900: #fce7ed;
|
|
231
|
+
--ring: #eb4d8b;
|
|
232
|
+
--accent: #3d1224;
|
|
233
|
+
--accent-foreground: #f599b4;
|
|
234
|
+
/* Chart colors */
|
|
235
|
+
--chart-1: #eb4d8b;
|
|
236
|
+
--chart-2: #f07196;
|
|
237
|
+
--chart-3: #f599b4;
|
|
238
|
+
--chart-4: #e052a3;
|
|
239
|
+
--chart-5: #e05050;
|
|
240
|
+
/* Surface colors */
|
|
241
|
+
--background: #1a1013;
|
|
242
|
+
--foreground: #ede0e5;
|
|
243
|
+
--muted: #2b1b21;
|
|
244
|
+
--muted-foreground: #ad8c98;
|
|
245
|
+
--card: #211519;
|
|
246
|
+
--card-foreground: #ede0e5;
|
|
247
|
+
--popover: #211519;
|
|
248
|
+
--popover-foreground: #ede0e5;
|
|
249
|
+
--border: #442e38;
|
|
250
|
+
--secondary: #2b1b21;
|
|
251
|
+
--secondary-foreground: #ede0e5;
|
|
252
|
+
--input: #442e38;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* ============================================
|
|
256
|
+
THEME: Slate (Gray/Neutral)
|
|
257
|
+
Minimal, clean, professional
|
|
258
|
+
============================================ */
|
|
259
|
+
.theme-slate,
|
|
260
|
+
.theme-slate :root {
|
|
261
|
+
--primary: #64748b;
|
|
262
|
+
--primary-foreground: #ffffff;
|
|
263
|
+
--primary-50: #f8f9fa;
|
|
264
|
+
--primary-100: #f1f3f5;
|
|
265
|
+
--primary-200: #dfe3e8;
|
|
266
|
+
--primary-300: #b9c0cb;
|
|
267
|
+
--primary-400: #8d97a6;
|
|
268
|
+
--primary-500: #64748b;
|
|
269
|
+
--primary-600: #526177;
|
|
270
|
+
--primary-700: #414e61;
|
|
271
|
+
--primary-800: #333c4a;
|
|
272
|
+
--primary-900: #262c36;
|
|
273
|
+
--ring: #64748b;
|
|
274
|
+
--accent: #f8f9fa;
|
|
275
|
+
--accent-foreground: #526177;
|
|
276
|
+
/* Chart colors */
|
|
277
|
+
--chart-1: #64748b;
|
|
278
|
+
--chart-2: #7d8b9e;
|
|
279
|
+
--chart-3: #98a4b3;
|
|
280
|
+
--chart-4: #588da1;
|
|
281
|
+
--chart-5: #7075a1;
|
|
282
|
+
/* Surface colors */
|
|
283
|
+
--background: #fcfcfd;
|
|
284
|
+
--foreground: #1c2127;
|
|
285
|
+
--muted: #f4f5f7;
|
|
286
|
+
--muted-foreground: #5c6370;
|
|
287
|
+
--card: #fcfcfd;
|
|
288
|
+
--card-foreground: #1c2127;
|
|
289
|
+
--popover: #fcfcfd;
|
|
290
|
+
--popover-foreground: #1c2127;
|
|
291
|
+
--border: #d8dce2;
|
|
292
|
+
--secondary: #f4f5f7;
|
|
293
|
+
--secondary-foreground: #1c2127;
|
|
294
|
+
--input: #d8dce2;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.theme-slate.dark,
|
|
298
|
+
.theme-slate .dark {
|
|
299
|
+
--primary: #8d97a6;
|
|
300
|
+
--primary-foreground: #0f1114;
|
|
301
|
+
--primary-50: #1a1d22;
|
|
302
|
+
--primary-100: #262c34;
|
|
303
|
+
--primary-200: #353d48;
|
|
304
|
+
--primary-300: #4d5766;
|
|
305
|
+
--primary-400: #647080;
|
|
306
|
+
--primary-500: #8d97a6;
|
|
307
|
+
--primary-600: #a3abb7;
|
|
308
|
+
--primary-700: #bac0c9;
|
|
309
|
+
--primary-800: #d1d5db;
|
|
310
|
+
--primary-900: #e8eaed;
|
|
311
|
+
--ring: #8d97a6;
|
|
312
|
+
--accent: #262c34;
|
|
313
|
+
--accent-foreground: #bac0c9;
|
|
314
|
+
/* Chart colors */
|
|
315
|
+
--chart-1: #8d97a6;
|
|
316
|
+
--chart-2: #a3abb7;
|
|
317
|
+
--chart-3: #bac0c9;
|
|
318
|
+
--chart-4: #6f9aab;
|
|
319
|
+
--chart-5: #888db5;
|
|
320
|
+
/* Surface colors */
|
|
321
|
+
--background: #12141a;
|
|
322
|
+
--foreground: #e6e8eb;
|
|
323
|
+
--muted: #1e2128;
|
|
324
|
+
--muted-foreground: #8b919a;
|
|
325
|
+
--card: #181a20;
|
|
326
|
+
--card-foreground: #e6e8eb;
|
|
327
|
+
--popover: #181a20;
|
|
328
|
+
--popover-foreground: #e6e8eb;
|
|
329
|
+
--border: #2f343d;
|
|
330
|
+
--secondary: #1e2128;
|
|
331
|
+
--secondary-foreground: #e6e8eb;
|
|
332
|
+
--input: #2f343d;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* ============================================
|
|
336
|
+
THEME: Midnight (Deep Purple-Blue)
|
|
337
|
+
Dark mode optimized, dramatic, sleek
|
|
338
|
+
============================================ */
|
|
339
|
+
.theme-midnight,
|
|
340
|
+
.theme-midnight :root {
|
|
341
|
+
--primary: #4f46e5;
|
|
342
|
+
--primary-foreground: #ffffff;
|
|
343
|
+
--primary-50: #f5f3ff;
|
|
344
|
+
--primary-100: #ede9fe;
|
|
345
|
+
--primary-200: #ddd6fe;
|
|
346
|
+
--primary-300: #b9a8fa;
|
|
347
|
+
--primary-400: #8b7cf6;
|
|
348
|
+
--primary-500: #4f46e5;
|
|
349
|
+
--primary-600: #4338ca;
|
|
350
|
+
--primary-700: #3730a3;
|
|
351
|
+
--primary-800: #2e2882;
|
|
352
|
+
--primary-900: #231f5f;
|
|
353
|
+
--ring: #4f46e5;
|
|
354
|
+
--accent: #f5f3ff;
|
|
355
|
+
--accent-foreground: #4338ca;
|
|
356
|
+
/* Chart colors */
|
|
357
|
+
--chart-1: #4f46e5;
|
|
358
|
+
--chart-2: #6f66eb;
|
|
359
|
+
--chart-3: #9490f1;
|
|
360
|
+
--chart-4: #7c3aed;
|
|
361
|
+
--chart-5: #3b82f6;
|
|
362
|
+
/* Surface colors */
|
|
363
|
+
--background: #fcfcfe;
|
|
364
|
+
--foreground: #1a1838;
|
|
365
|
+
--muted: #f3f2f9;
|
|
366
|
+
--muted-foreground: #5c5780;
|
|
367
|
+
--card: #fcfcfe;
|
|
368
|
+
--card-foreground: #1a1838;
|
|
369
|
+
--popover: #fcfcfe;
|
|
370
|
+
--popover-foreground: #1a1838;
|
|
371
|
+
--border: #dad6ec;
|
|
372
|
+
--secondary: #f3f2f9;
|
|
373
|
+
--secondary-foreground: #1a1838;
|
|
374
|
+
--input: #dad6ec;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.theme-midnight.dark,
|
|
378
|
+
.theme-midnight .dark {
|
|
379
|
+
--primary: #6f66eb;
|
|
380
|
+
--primary-foreground: #0a0918;
|
|
381
|
+
--primary-50: #141228;
|
|
382
|
+
--primary-100: #1c193d;
|
|
383
|
+
--primary-200: #2a2666;
|
|
384
|
+
--primary-300: #3f399a;
|
|
385
|
+
--primary-400: #574fcc;
|
|
386
|
+
--primary-500: #6f66eb;
|
|
387
|
+
--primary-600: #8c85ef;
|
|
388
|
+
--primary-700: #aaa5f4;
|
|
389
|
+
--primary-800: #c8c4f8;
|
|
390
|
+
--primary-900: #e6e4fc;
|
|
391
|
+
--ring: #6f66eb;
|
|
392
|
+
--accent: #1c193d;
|
|
393
|
+
--accent-foreground: #aaa5f4;
|
|
394
|
+
/* Chart colors */
|
|
395
|
+
--chart-1: #6f66eb;
|
|
396
|
+
--chart-2: #8c85ef;
|
|
397
|
+
--chart-3: #aaa5f4;
|
|
398
|
+
--chart-4: #8b5cf6;
|
|
399
|
+
--chart-5: #60a5fa;
|
|
400
|
+
/* Surface colors */
|
|
401
|
+
--background: #0c0b14;
|
|
402
|
+
--foreground: #e5e3ed;
|
|
403
|
+
--muted: #181628;
|
|
404
|
+
--muted-foreground: #9a96b3;
|
|
405
|
+
--card: #110f1c;
|
|
406
|
+
--card-foreground: #e5e3ed;
|
|
407
|
+
--popover: #110f1c;
|
|
408
|
+
--popover-foreground: #e5e3ed;
|
|
409
|
+
--border: #2d2944;
|
|
410
|
+
--secondary: #181628;
|
|
411
|
+
--secondary-foreground: #e5e3ed;
|
|
412
|
+
--input: #2d2944;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/* ============================================
|
|
416
|
+
THEME: Emerald (Teal-Green)
|
|
417
|
+
Fresh, tech-forward, balanced
|
|
418
|
+
============================================ */
|
|
419
|
+
.theme-emerald,
|
|
420
|
+
.theme-emerald :root {
|
|
421
|
+
--primary: #10b981;
|
|
422
|
+
--primary-foreground: #ffffff;
|
|
423
|
+
--primary-50: #ecfdf5;
|
|
424
|
+
--primary-100: #d1fae5;
|
|
425
|
+
--primary-200: #a7f3d0;
|
|
426
|
+
--primary-300: #6ee7b7;
|
|
427
|
+
--primary-400: #34d399;
|
|
428
|
+
--primary-500: #10b981;
|
|
429
|
+
--primary-600: #059669;
|
|
430
|
+
--primary-700: #047857;
|
|
431
|
+
--primary-800: #065f46;
|
|
432
|
+
--primary-900: #064e3b;
|
|
433
|
+
--ring: #10b981;
|
|
434
|
+
--accent: #ecfdf5;
|
|
435
|
+
--accent-foreground: #059669;
|
|
436
|
+
/* Chart colors */
|
|
437
|
+
--chart-1: #10b981;
|
|
438
|
+
--chart-2: #34d399;
|
|
439
|
+
--chart-3: #6ee7b7;
|
|
440
|
+
--chart-4: #14b8a6;
|
|
441
|
+
--chart-5: #22c55e;
|
|
442
|
+
/* Surface colors */
|
|
443
|
+
--background: #fafdfb;
|
|
444
|
+
--foreground: #142a22;
|
|
445
|
+
--muted: #f0f8f4;
|
|
446
|
+
--muted-foreground: #4e7866;
|
|
447
|
+
--card: #fafdfb;
|
|
448
|
+
--card-foreground: #142a22;
|
|
449
|
+
--popover: #fafdfb;
|
|
450
|
+
--popover-foreground: #142a22;
|
|
451
|
+
--border: #cee6da;
|
|
452
|
+
--secondary: #f0f8f4;
|
|
453
|
+
--secondary-foreground: #142a22;
|
|
454
|
+
--input: #cee6da;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.theme-emerald.dark,
|
|
458
|
+
.theme-emerald .dark {
|
|
459
|
+
--primary: #34d399;
|
|
460
|
+
--primary-foreground: #051810;
|
|
461
|
+
--primary-50: #0e2118;
|
|
462
|
+
--primary-100: #153124;
|
|
463
|
+
--primary-200: #1e5039;
|
|
464
|
+
--primary-300: #28754f;
|
|
465
|
+
--primary-400: #2eaf70;
|
|
466
|
+
--primary-500: #34d399;
|
|
467
|
+
--primary-600: #58e0ad;
|
|
468
|
+
--primary-700: #7eecc4;
|
|
469
|
+
--primary-800: #a8f3d7;
|
|
470
|
+
--primary-900: #d4f9eb;
|
|
471
|
+
--ring: #34d399;
|
|
472
|
+
--accent: #153124;
|
|
473
|
+
--accent-foreground: #7eecc4;
|
|
474
|
+
/* Chart colors */
|
|
475
|
+
--chart-1: #34d399;
|
|
476
|
+
--chart-2: #58e0ad;
|
|
477
|
+
--chart-3: #7eecc4;
|
|
478
|
+
--chart-4: #2dd4bf;
|
|
479
|
+
--chart-5: #4ade80;
|
|
480
|
+
/* Surface colors */
|
|
481
|
+
--background: #0d1712;
|
|
482
|
+
--foreground: #e2ebe6;
|
|
483
|
+
--muted: #172820;
|
|
484
|
+
--muted-foreground: #7cad96;
|
|
485
|
+
--card: #121f18;
|
|
486
|
+
--card-foreground: #e2ebe6;
|
|
487
|
+
--popover: #121f18;
|
|
488
|
+
--popover-foreground: #e2ebe6;
|
|
489
|
+
--border: #254435;
|
|
490
|
+
--secondary: #172820;
|
|
491
|
+
--secondary-foreground: #e2ebe6;
|
|
492
|
+
--input: #254435;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/* ============================================
|
|
496
|
+
THEME: Amber (Gold)
|
|
497
|
+
Premium, warm, attention-grabbing
|
|
498
|
+
============================================ */
|
|
499
|
+
.theme-amber,
|
|
500
|
+
.theme-amber :root {
|
|
501
|
+
--primary: #f59e0b;
|
|
502
|
+
--primary-foreground: #1a0d00;
|
|
503
|
+
--primary-50: #fffbeb;
|
|
504
|
+
--primary-100: #fef3c7;
|
|
505
|
+
--primary-200: #fde68a;
|
|
506
|
+
--primary-300: #fcd34d;
|
|
507
|
+
--primary-400: #fbbf24;
|
|
508
|
+
--primary-500: #f59e0b;
|
|
509
|
+
--primary-600: #d97706;
|
|
510
|
+
--primary-700: #b45309;
|
|
511
|
+
--primary-800: #92400e;
|
|
512
|
+
--primary-900: #78350f;
|
|
513
|
+
--ring: #f59e0b;
|
|
514
|
+
--accent: #fffbeb;
|
|
515
|
+
--accent-foreground: #d97706;
|
|
516
|
+
/* Chart colors */
|
|
517
|
+
--chart-1: #f59e0b;
|
|
518
|
+
--chart-2: #fbbf24;
|
|
519
|
+
--chart-3: #fcd34d;
|
|
520
|
+
--chart-4: #fb923c;
|
|
521
|
+
--chart-5: #eab308;
|
|
522
|
+
/* Surface colors */
|
|
523
|
+
--background: #fefdfb;
|
|
524
|
+
--foreground: #2a1e10;
|
|
525
|
+
--muted: #faf6f0;
|
|
526
|
+
--muted-foreground: #766450;
|
|
527
|
+
--card: #fefdfb;
|
|
528
|
+
--card-foreground: #2a1e10;
|
|
529
|
+
--popover: #fefdfb;
|
|
530
|
+
--popover-foreground: #2a1e10;
|
|
531
|
+
--border: #e5ddd2;
|
|
532
|
+
--secondary: #faf6f0;
|
|
533
|
+
--secondary-foreground: #2a1e10;
|
|
534
|
+
--input: #e5ddd2;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.theme-amber.dark,
|
|
538
|
+
.theme-amber .dark {
|
|
539
|
+
--primary: #fbbf24;
|
|
540
|
+
--primary-foreground: #1a0d00;
|
|
541
|
+
--primary-50: #261a07;
|
|
542
|
+
--primary-100: #3a270c;
|
|
543
|
+
--primary-200: #5c3f14;
|
|
544
|
+
--primary-300: #8f621f;
|
|
545
|
+
--primary-400: #c9892a;
|
|
546
|
+
--primary-500: #fbbf24;
|
|
547
|
+
--primary-600: #fccb4d;
|
|
548
|
+
--primary-700: #fdd87a;
|
|
549
|
+
--primary-800: #fee4a6;
|
|
550
|
+
--primary-900: #fef1d2;
|
|
551
|
+
--ring: #fbbf24;
|
|
552
|
+
--accent: #3a270c;
|
|
553
|
+
--accent-foreground: #fdd87a;
|
|
554
|
+
/* Chart colors */
|
|
555
|
+
--chart-1: #fbbf24;
|
|
556
|
+
--chart-2: #fccb4d;
|
|
557
|
+
--chart-3: #fdd87a;
|
|
558
|
+
--chart-4: #fb9d3c;
|
|
559
|
+
--chart-5: #efc720;
|
|
560
|
+
/* Surface colors */
|
|
561
|
+
--background: #181410;
|
|
562
|
+
--foreground: #ebe5dd;
|
|
563
|
+
--muted: #28221a;
|
|
564
|
+
--muted-foreground: #a39480;
|
|
565
|
+
--card: #1f1a14;
|
|
566
|
+
--card-foreground: #ebe5dd;
|
|
567
|
+
--popover: #1f1a14;
|
|
568
|
+
--popover-foreground: #ebe5dd;
|
|
569
|
+
--border: #403526;
|
|
570
|
+
--secondary: #28221a;
|
|
571
|
+
--secondary-foreground: #ebe5dd;
|
|
572
|
+
--input: #403526;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/* ============================================
|
|
576
|
+
THEME: Crimson (Red)
|
|
577
|
+
Bold, urgent, passionate
|
|
578
|
+
============================================ */
|
|
579
|
+
.theme-crimson,
|
|
580
|
+
.theme-crimson :root {
|
|
581
|
+
--primary: #dc2626;
|
|
582
|
+
--primary-foreground: #ffffff;
|
|
583
|
+
--primary-50: #fef2f2;
|
|
584
|
+
--primary-100: #fee2e2;
|
|
585
|
+
--primary-200: #fecaca;
|
|
586
|
+
--primary-300: #fca5a5;
|
|
587
|
+
--primary-400: #f87171;
|
|
588
|
+
--primary-500: #dc2626;
|
|
589
|
+
--primary-600: #c81e1e;
|
|
590
|
+
--primary-700: #a31515;
|
|
591
|
+
--primary-800: #7f1d1d;
|
|
592
|
+
--primary-900: #5c1515;
|
|
593
|
+
--ring: #dc2626;
|
|
594
|
+
--accent: #fef2f2;
|
|
595
|
+
--accent-foreground: #c81e1e;
|
|
596
|
+
/* Chart colors */
|
|
597
|
+
--chart-1: #dc2626;
|
|
598
|
+
--chart-2: #ef4444;
|
|
599
|
+
--chart-3: #f87171;
|
|
600
|
+
--chart-4: #f4554d;
|
|
601
|
+
--chart-5: #db2777;
|
|
602
|
+
/* Surface colors */
|
|
603
|
+
--background: #fefbfb;
|
|
604
|
+
--foreground: #301616;
|
|
605
|
+
--muted: #f9f2f2;
|
|
606
|
+
--muted-foreground: #7a5656;
|
|
607
|
+
--card: #fefbfb;
|
|
608
|
+
--card-foreground: #301616;
|
|
609
|
+
--popover: #fefbfb;
|
|
610
|
+
--popover-foreground: #301616;
|
|
611
|
+
--border: #e8d5d5;
|
|
612
|
+
--secondary: #f9f2f2;
|
|
613
|
+
--secondary-foreground: #301616;
|
|
614
|
+
--input: #e8d5d5;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.theme-crimson.dark,
|
|
618
|
+
.theme-crimson .dark {
|
|
619
|
+
--primary: #f87171;
|
|
620
|
+
--primary-foreground: #1a0707;
|
|
621
|
+
--primary-50: #2a0e0e;
|
|
622
|
+
--primary-100: #3d1414;
|
|
623
|
+
--primary-200: #662222;
|
|
624
|
+
--primary-300: #993434;
|
|
625
|
+
--primary-400: #cc4646;
|
|
626
|
+
--primary-500: #f87171;
|
|
627
|
+
--primary-600: #fa9191;
|
|
628
|
+
--primary-700: #fcb0b0;
|
|
629
|
+
--primary-800: #fdd0d0;
|
|
630
|
+
--primary-900: #feefef;
|
|
631
|
+
--ring: #f87171;
|
|
632
|
+
--accent: #3d1414;
|
|
633
|
+
--accent-foreground: #fcb0b0;
|
|
634
|
+
/* Chart colors */
|
|
635
|
+
--chart-1: #f87171;
|
|
636
|
+
--chart-2: #fa9191;
|
|
637
|
+
--chart-3: #fcb0b0;
|
|
638
|
+
--chart-4: #f7665e;
|
|
639
|
+
--chart-5: #ec4899;
|
|
640
|
+
/* Surface colors */
|
|
641
|
+
--background: #1a1010;
|
|
642
|
+
--foreground: #ebe0e0;
|
|
643
|
+
--muted: #2a1a1a;
|
|
644
|
+
--muted-foreground: #ad8585;
|
|
645
|
+
--card: #211414;
|
|
646
|
+
--card-foreground: #ebe0e0;
|
|
647
|
+
--popover: #211414;
|
|
648
|
+
--popover-foreground: #ebe0e0;
|
|
649
|
+
--border: #442a2a;
|
|
650
|
+
--secondary: #2a1a1a;
|
|
651
|
+
--secondary-foreground: #ebe0e0;
|
|
652
|
+
--input: #442a2a;
|
|
653
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mvn-ui/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A React UI component library based on shadcn/ui",
|
|
5
5
|
"author": "Marusys Vietnam",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"import": "./dist/index.mjs"
|
|
37
37
|
},
|
|
38
38
|
"./styles.css": "./dist/index.css",
|
|
39
|
-
"./tokens.css": "./dist/tokens.css"
|
|
39
|
+
"./tokens.css": "./dist/tokens.css",
|
|
40
|
+
"./themes.css": "./dist/themes.css"
|
|
40
41
|
},
|
|
41
42
|
"files": [
|
|
42
43
|
"dist",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"style": "./dist/index.css",
|
|
50
51
|
"scripts": {
|
|
51
52
|
"dev": "tsup --watch",
|
|
52
|
-
"build": "tsup",
|
|
53
|
+
"build": "tsup && node -e \"require('fs').copyFileSync('src/styles/themes.css', 'dist/themes.css')\"",
|
|
53
54
|
"type-check": "tsc --noEmit",
|
|
54
55
|
"clean": "node -e \"fs.rmSync('dist', {recursive: true, force: true})\""
|
|
55
56
|
},
|
|
@@ -95,6 +96,7 @@
|
|
|
95
96
|
"react-day-picker": "^9.2.3",
|
|
96
97
|
"react-fast-compare": "^3.2.2",
|
|
97
98
|
"react-hook-form": "^7.66.0",
|
|
99
|
+
"recharts": "^2.15.0",
|
|
98
100
|
"react-resizable-panels": "^3.0.6",
|
|
99
101
|
"sonner": "^2.0.7",
|
|
100
102
|
"tailwind-merge": "^2.5.2",
|