@shuriken-ui/tailwind 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,667 @@
1
+ import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
+ import * as _tailwindcss_typography from '@tailwindcss/typography';
3
+ import { Config } from 'tailwindcss';
4
+
5
+ declare function withShurikenUI(userConfig: Config): Omit<Config, "presets" | "content"> & Omit<{
6
+ content: never[];
7
+ presets: {
8
+ darkMode: "class";
9
+ content: never[];
10
+ plugins: (typeof _tailwindcss_typography | {
11
+ handler: () => void;
12
+ } | {
13
+ (options: unknown): {
14
+ handler: tailwindcss_types_config.PluginCreator;
15
+ config?: Partial<Config> | undefined;
16
+ };
17
+ __isOptionsFunction: true;
18
+ })[];
19
+ theme: {
20
+ fontFamily: {
21
+ sans: string[];
22
+ heading: string[];
23
+ alt: string[];
24
+ mono: string[];
25
+ };
26
+ extend: {
27
+ colors: {
28
+ muted: {
29
+ '50': "#f8fafc";
30
+ '100': "#f1f5f9";
31
+ '200': "#e2e8f0";
32
+ '300': "#cbd5e1";
33
+ '400': "#94a3b8";
34
+ '500': "#64748b";
35
+ '600': "#475569";
36
+ '700': "#334155";
37
+ '800': "#1e293b";
38
+ '900': "#0f172a";
39
+ '950': "#020617";
40
+ };
41
+ primary: {
42
+ '50': "#f5f3ff";
43
+ '100': "#ede9fe";
44
+ '200': "#ddd6fe";
45
+ '300': "#c4b5fd";
46
+ '400': "#a78bfa";
47
+ '500': "#8b5cf6";
48
+ '600': "#7c3aed";
49
+ '700': "#6d28d9";
50
+ '800': "#5b21b6";
51
+ '900': "#4c1d95";
52
+ '950': "#2e1065";
53
+ };
54
+ info: {
55
+ '50': "#f0f9ff";
56
+ '100': "#e0f2fe";
57
+ '200': "#bae6fd";
58
+ '300': "#7dd3fc";
59
+ '400': "#38bdf8";
60
+ '500': "#0ea5e9";
61
+ '600': "#0284c7";
62
+ '700': "#0369a1";
63
+ '800': "#075985";
64
+ '900': "#0c4a6e";
65
+ '950': "#082f49";
66
+ };
67
+ success: {
68
+ '50': "#f0fdfa";
69
+ '100': "#ccfbf1";
70
+ '200': "#99f6e4";
71
+ '300': "#5eead4";
72
+ '400': "#2dd4bf";
73
+ '500': "#14b8a6";
74
+ '600': "#0d9488";
75
+ '700': "#0f766e";
76
+ '800': "#115e59";
77
+ '900': "#134e4a";
78
+ '950': "#042f2e";
79
+ };
80
+ warning: {
81
+ '50': "#fffbeb";
82
+ '100': "#fef3c7";
83
+ '200': "#fde68a";
84
+ '300': "#fcd34d";
85
+ '400': "#fbbf24";
86
+ '500': "#f59e0b";
87
+ '600': "#d97706";
88
+ '700': "#b45309";
89
+ '800': "#92400e";
90
+ '900': "#78350f";
91
+ '950': "#451a03";
92
+ };
93
+ danger: {
94
+ '50': "#fff1f2";
95
+ '100': "#ffe4e6";
96
+ '200': "#fecdd3";
97
+ '300': "#fda4af";
98
+ '400': "#fb7185";
99
+ '500': "#f43f5e";
100
+ '600': "#e11d48";
101
+ '700': "#be123c";
102
+ '800': "#9f1239";
103
+ '900': "#881337";
104
+ '950': "#4c0519";
105
+ };
106
+ };
107
+ screens: {
108
+ xs: {
109
+ max: string;
110
+ };
111
+ lg: string;
112
+ ptablet: {
113
+ raw: string;
114
+ };
115
+ ltablet: {
116
+ raw: string;
117
+ };
118
+ };
119
+ typography: ({ theme }: any) => {
120
+ primary: {
121
+ css: {
122
+ '--tw-prose-links': any;
123
+ '--tw-prose-quote-borders': any;
124
+ '--tw-prose-invert-links': any;
125
+ '--tw-prose-invert-quote-borders': any;
126
+ };
127
+ };
128
+ muted: {
129
+ css: {
130
+ '--tw-prose-body': any;
131
+ '--tw-prose-headings': any;
132
+ '--tw-prose-lead': any;
133
+ '--tw-prose-bold': any;
134
+ '--tw-prose-counters': any;
135
+ '--tw-prose-bullets': any;
136
+ '--tw-prose-hr': any;
137
+ '--tw-prose-quotes': any;
138
+ '--tw-prose-captions': any;
139
+ '--tw-prose-code': any;
140
+ '--tw-prose-pre-code': any;
141
+ '--tw-prose-pre-bg': any;
142
+ '--tw-prose-th-borders': any;
143
+ '--tw-prose-td-borders': any;
144
+ '--tw-prose-invert-body': any;
145
+ '--tw-prose-invert-headings': any;
146
+ '--tw-prose-invert-lead': any;
147
+ '--tw-prose-invert-bold': any;
148
+ '--tw-prose-invert-counters': any;
149
+ '--tw-prose-invert-bullets': any;
150
+ '--tw-prose-invert-hr': any;
151
+ '--tw-prose-invert-quotes': any;
152
+ '--tw-prose-invert-captions': any;
153
+ '--tw-prose-invert-code': any;
154
+ '--tw-prose-invert-pre-code': any;
155
+ '--tw-prose-invert-pre-bg': any;
156
+ '--tw-prose-invert-th-borders': any;
157
+ '--tw-prose-invert-td-borders': any;
158
+ };
159
+ };
160
+ css: {
161
+ h1: {
162
+ fontWeight: number;
163
+ };
164
+ h2: {
165
+ fontWeight: number;
166
+ };
167
+ h3: {
168
+ fontWeight: number;
169
+ };
170
+ h4: {
171
+ fontWeight: number;
172
+ };
173
+ li: {
174
+ fontSize: string;
175
+ padding: string;
176
+ };
177
+ em: {
178
+ fontSize: string;
179
+ lineHeight: number;
180
+ };
181
+ blockquote: {
182
+ fontSize: string;
183
+ lineHeight: number;
184
+ fontWeight: number;
185
+ padding: string;
186
+ };
187
+ pre: {
188
+ fontFamily: any;
189
+ };
190
+ code: {
191
+ fontFamily: any;
192
+ padding: string;
193
+ fontWeight: number;
194
+ fontSize: string;
195
+ };
196
+ };
197
+ };
198
+ keyframes: {
199
+ indeterminate: {
200
+ '0%': {
201
+ 'margin-left': string;
202
+ };
203
+ '100%': {
204
+ 'margin-left': string;
205
+ };
206
+ };
207
+ placeload: {
208
+ '0%': {
209
+ 'background-position': string;
210
+ };
211
+ '100%': {
212
+ 'background-position': string;
213
+ };
214
+ };
215
+ };
216
+ animation: {
217
+ indeterminate: string;
218
+ placeload: string;
219
+ };
220
+ };
221
+ };
222
+ }[];
223
+ }, "presets" | "content"> & {
224
+ presets: {
225
+ darkMode: "class";
226
+ content: never[];
227
+ plugins: (typeof _tailwindcss_typography | {
228
+ handler: () => void;
229
+ } | {
230
+ (options: unknown): {
231
+ handler: tailwindcss_types_config.PluginCreator;
232
+ config?: Partial<Config> | undefined;
233
+ };
234
+ __isOptionsFunction: true;
235
+ })[];
236
+ theme: {
237
+ fontFamily: {
238
+ sans: string[];
239
+ heading: string[];
240
+ alt: string[];
241
+ mono: string[];
242
+ };
243
+ extend: {
244
+ colors: {
245
+ muted: {
246
+ '50': "#f8fafc";
247
+ '100': "#f1f5f9";
248
+ '200': "#e2e8f0";
249
+ '300': "#cbd5e1";
250
+ '400': "#94a3b8";
251
+ '500': "#64748b";
252
+ '600': "#475569";
253
+ '700': "#334155";
254
+ '800': "#1e293b";
255
+ '900': "#0f172a";
256
+ '950': "#020617";
257
+ };
258
+ primary: {
259
+ '50': "#f5f3ff";
260
+ '100': "#ede9fe";
261
+ '200': "#ddd6fe";
262
+ '300': "#c4b5fd";
263
+ '400': "#a78bfa";
264
+ '500': "#8b5cf6";
265
+ '600': "#7c3aed";
266
+ '700': "#6d28d9";
267
+ '800': "#5b21b6";
268
+ '900': "#4c1d95";
269
+ '950': "#2e1065";
270
+ };
271
+ info: {
272
+ '50': "#f0f9ff";
273
+ '100': "#e0f2fe";
274
+ '200': "#bae6fd";
275
+ '300': "#7dd3fc";
276
+ '400': "#38bdf8";
277
+ '500': "#0ea5e9";
278
+ '600': "#0284c7";
279
+ '700': "#0369a1";
280
+ '800': "#075985";
281
+ '900': "#0c4a6e";
282
+ '950': "#082f49";
283
+ };
284
+ success: {
285
+ '50': "#f0fdfa";
286
+ '100': "#ccfbf1";
287
+ '200': "#99f6e4";
288
+ '300': "#5eead4";
289
+ '400': "#2dd4bf";
290
+ '500': "#14b8a6";
291
+ '600': "#0d9488";
292
+ '700': "#0f766e";
293
+ '800': "#115e59";
294
+ '900': "#134e4a";
295
+ '950': "#042f2e";
296
+ };
297
+ warning: {
298
+ '50': "#fffbeb";
299
+ '100': "#fef3c7";
300
+ '200': "#fde68a";
301
+ '300': "#fcd34d";
302
+ '400': "#fbbf24";
303
+ '500': "#f59e0b";
304
+ '600': "#d97706";
305
+ '700': "#b45309";
306
+ '800': "#92400e";
307
+ '900': "#78350f";
308
+ '950': "#451a03";
309
+ };
310
+ danger: {
311
+ '50': "#fff1f2";
312
+ '100': "#ffe4e6";
313
+ '200': "#fecdd3";
314
+ '300': "#fda4af";
315
+ '400': "#fb7185";
316
+ '500': "#f43f5e";
317
+ '600': "#e11d48";
318
+ '700': "#be123c";
319
+ '800': "#9f1239";
320
+ '900': "#881337";
321
+ '950': "#4c0519";
322
+ };
323
+ };
324
+ screens: {
325
+ xs: {
326
+ max: string;
327
+ };
328
+ lg: string;
329
+ ptablet: {
330
+ raw: string;
331
+ };
332
+ ltablet: {
333
+ raw: string;
334
+ };
335
+ };
336
+ typography: ({ theme }: any) => {
337
+ primary: {
338
+ css: {
339
+ '--tw-prose-links': any;
340
+ '--tw-prose-quote-borders': any;
341
+ '--tw-prose-invert-links': any;
342
+ '--tw-prose-invert-quote-borders': any;
343
+ };
344
+ };
345
+ muted: {
346
+ css: {
347
+ '--tw-prose-body': any;
348
+ '--tw-prose-headings': any;
349
+ '--tw-prose-lead': any;
350
+ '--tw-prose-bold': any;
351
+ '--tw-prose-counters': any;
352
+ '--tw-prose-bullets': any;
353
+ '--tw-prose-hr': any;
354
+ '--tw-prose-quotes': any;
355
+ '--tw-prose-captions': any;
356
+ '--tw-prose-code': any;
357
+ '--tw-prose-pre-code': any;
358
+ '--tw-prose-pre-bg': any;
359
+ '--tw-prose-th-borders': any;
360
+ '--tw-prose-td-borders': any;
361
+ '--tw-prose-invert-body': any;
362
+ '--tw-prose-invert-headings': any;
363
+ '--tw-prose-invert-lead': any;
364
+ '--tw-prose-invert-bold': any;
365
+ '--tw-prose-invert-counters': any;
366
+ '--tw-prose-invert-bullets': any;
367
+ '--tw-prose-invert-hr': any;
368
+ '--tw-prose-invert-quotes': any;
369
+ '--tw-prose-invert-captions': any;
370
+ '--tw-prose-invert-code': any;
371
+ '--tw-prose-invert-pre-code': any;
372
+ '--tw-prose-invert-pre-bg': any;
373
+ '--tw-prose-invert-th-borders': any;
374
+ '--tw-prose-invert-td-borders': any;
375
+ };
376
+ };
377
+ css: {
378
+ h1: {
379
+ fontWeight: number;
380
+ };
381
+ h2: {
382
+ fontWeight: number;
383
+ };
384
+ h3: {
385
+ fontWeight: number;
386
+ };
387
+ h4: {
388
+ fontWeight: number;
389
+ };
390
+ li: {
391
+ fontSize: string;
392
+ padding: string;
393
+ };
394
+ em: {
395
+ fontSize: string;
396
+ lineHeight: number;
397
+ };
398
+ blockquote: {
399
+ fontSize: string;
400
+ lineHeight: number;
401
+ fontWeight: number;
402
+ padding: string;
403
+ };
404
+ pre: {
405
+ fontFamily: any;
406
+ };
407
+ code: {
408
+ fontFamily: any;
409
+ padding: string;
410
+ fontWeight: number;
411
+ fontSize: string;
412
+ };
413
+ };
414
+ };
415
+ keyframes: {
416
+ indeterminate: {
417
+ '0%': {
418
+ 'margin-left': string;
419
+ };
420
+ '100%': {
421
+ 'margin-left': string;
422
+ };
423
+ };
424
+ placeload: {
425
+ '0%': {
426
+ 'background-position': string;
427
+ };
428
+ '100%': {
429
+ 'background-position': string;
430
+ };
431
+ };
432
+ };
433
+ animation: {
434
+ indeterminate: string;
435
+ placeload: string;
436
+ };
437
+ };
438
+ };
439
+ }[] | (Config | {
440
+ darkMode: "class";
441
+ content: never[];
442
+ plugins: (typeof _tailwindcss_typography | {
443
+ handler: () => void;
444
+ } | {
445
+ (options: unknown): {
446
+ handler: tailwindcss_types_config.PluginCreator;
447
+ config?: Partial<Config> | undefined;
448
+ };
449
+ __isOptionsFunction: true;
450
+ })[];
451
+ theme: {
452
+ fontFamily: {
453
+ sans: string[];
454
+ heading: string[];
455
+ alt: string[];
456
+ mono: string[];
457
+ };
458
+ extend: {
459
+ colors: {
460
+ muted: {
461
+ '50': "#f8fafc";
462
+ '100': "#f1f5f9";
463
+ '200': "#e2e8f0";
464
+ '300': "#cbd5e1";
465
+ '400': "#94a3b8";
466
+ '500': "#64748b";
467
+ '600': "#475569";
468
+ '700': "#334155";
469
+ '800': "#1e293b";
470
+ '900': "#0f172a";
471
+ '950': "#020617";
472
+ };
473
+ primary: {
474
+ '50': "#f5f3ff";
475
+ '100': "#ede9fe";
476
+ '200': "#ddd6fe";
477
+ '300': "#c4b5fd";
478
+ '400': "#a78bfa";
479
+ '500': "#8b5cf6";
480
+ '600': "#7c3aed";
481
+ '700': "#6d28d9";
482
+ '800': "#5b21b6";
483
+ '900': "#4c1d95";
484
+ '950': "#2e1065";
485
+ };
486
+ info: {
487
+ '50': "#f0f9ff";
488
+ '100': "#e0f2fe";
489
+ '200': "#bae6fd";
490
+ '300': "#7dd3fc";
491
+ '400': "#38bdf8";
492
+ '500': "#0ea5e9";
493
+ '600': "#0284c7";
494
+ '700': "#0369a1";
495
+ '800': "#075985";
496
+ '900': "#0c4a6e";
497
+ '950': "#082f49";
498
+ };
499
+ success: {
500
+ '50': "#f0fdfa";
501
+ '100': "#ccfbf1";
502
+ '200': "#99f6e4";
503
+ '300': "#5eead4";
504
+ '400': "#2dd4bf";
505
+ '500': "#14b8a6";
506
+ '600': "#0d9488";
507
+ '700': "#0f766e";
508
+ '800': "#115e59";
509
+ '900': "#134e4a";
510
+ '950': "#042f2e";
511
+ };
512
+ warning: {
513
+ '50': "#fffbeb";
514
+ '100': "#fef3c7";
515
+ '200': "#fde68a";
516
+ '300': "#fcd34d";
517
+ '400': "#fbbf24";
518
+ '500': "#f59e0b";
519
+ '600': "#d97706";
520
+ '700': "#b45309";
521
+ '800': "#92400e";
522
+ '900': "#78350f";
523
+ '950': "#451a03";
524
+ };
525
+ danger: {
526
+ '50': "#fff1f2";
527
+ '100': "#ffe4e6";
528
+ '200': "#fecdd3";
529
+ '300': "#fda4af";
530
+ '400': "#fb7185";
531
+ '500': "#f43f5e";
532
+ '600': "#e11d48";
533
+ '700': "#be123c";
534
+ '800': "#9f1239";
535
+ '900': "#881337";
536
+ '950': "#4c0519";
537
+ };
538
+ };
539
+ screens: {
540
+ xs: {
541
+ max: string;
542
+ };
543
+ lg: string;
544
+ ptablet: {
545
+ raw: string;
546
+ };
547
+ ltablet: {
548
+ raw: string;
549
+ };
550
+ };
551
+ typography: ({ theme }: any) => {
552
+ primary: {
553
+ css: {
554
+ '--tw-prose-links': any;
555
+ '--tw-prose-quote-borders': any;
556
+ '--tw-prose-invert-links': any;
557
+ '--tw-prose-invert-quote-borders': any;
558
+ };
559
+ };
560
+ muted: {
561
+ css: {
562
+ '--tw-prose-body': any;
563
+ '--tw-prose-headings': any;
564
+ '--tw-prose-lead': any;
565
+ '--tw-prose-bold': any;
566
+ '--tw-prose-counters': any;
567
+ '--tw-prose-bullets': any;
568
+ '--tw-prose-hr': any;
569
+ '--tw-prose-quotes': any;
570
+ '--tw-prose-captions': any;
571
+ '--tw-prose-code': any;
572
+ '--tw-prose-pre-code': any;
573
+ '--tw-prose-pre-bg': any;
574
+ '--tw-prose-th-borders': any;
575
+ '--tw-prose-td-borders': any;
576
+ '--tw-prose-invert-body': any;
577
+ '--tw-prose-invert-headings': any;
578
+ '--tw-prose-invert-lead': any;
579
+ '--tw-prose-invert-bold': any;
580
+ '--tw-prose-invert-counters': any;
581
+ '--tw-prose-invert-bullets': any;
582
+ '--tw-prose-invert-hr': any;
583
+ '--tw-prose-invert-quotes': any;
584
+ '--tw-prose-invert-captions': any;
585
+ '--tw-prose-invert-code': any;
586
+ '--tw-prose-invert-pre-code': any;
587
+ '--tw-prose-invert-pre-bg': any;
588
+ '--tw-prose-invert-th-borders': any;
589
+ '--tw-prose-invert-td-borders': any;
590
+ };
591
+ };
592
+ css: {
593
+ h1: {
594
+ fontWeight: number;
595
+ };
596
+ h2: {
597
+ fontWeight: number;
598
+ };
599
+ h3: {
600
+ fontWeight: number;
601
+ };
602
+ h4: {
603
+ fontWeight: number;
604
+ };
605
+ li: {
606
+ fontSize: string;
607
+ padding: string;
608
+ };
609
+ em: {
610
+ fontSize: string;
611
+ lineHeight: number;
612
+ };
613
+ blockquote: {
614
+ fontSize: string;
615
+ lineHeight: number;
616
+ fontWeight: number;
617
+ padding: string;
618
+ };
619
+ pre: {
620
+ fontFamily: any;
621
+ };
622
+ code: {
623
+ fontFamily: any;
624
+ padding: string;
625
+ fontWeight: number;
626
+ fontSize: string;
627
+ };
628
+ };
629
+ };
630
+ keyframes: {
631
+ indeterminate: {
632
+ '0%': {
633
+ 'margin-left': string;
634
+ };
635
+ '100%': {
636
+ 'margin-left': string;
637
+ };
638
+ };
639
+ placeload: {
640
+ '0%': {
641
+ 'background-position': string;
642
+ };
643
+ '100%': {
644
+ 'background-position': string;
645
+ };
646
+ };
647
+ };
648
+ animation: {
649
+ indeterminate: string;
650
+ placeload: string;
651
+ };
652
+ };
653
+ };
654
+ } | undefined)[];
655
+ content: (string | tailwindcss_types_config.RawFile)[] | (Omit<{
656
+ files: (string | tailwindcss_types_config.RawFile)[];
657
+ relative?: boolean | undefined;
658
+ extract?: tailwindcss_types_config.ExtractorFn | {
659
+ [extension: string]: tailwindcss_types_config.ExtractorFn;
660
+ } | undefined;
661
+ transform?: tailwindcss_types_config.TransformerFn | {
662
+ [extension: string]: tailwindcss_types_config.TransformerFn;
663
+ } | undefined;
664
+ }, never> & Omit<never[], never> & {});
665
+ };
666
+
667
+ export { withShurikenUI };
package/dist/index.mjs ADDED
@@ -0,0 +1,13 @@
1
+ import { defu } from 'defu';
2
+ import config from './config.mjs';
3
+ import './preset.mjs';
4
+ import 'tailwindcss/colors';
5
+ import '@tailwindcss/typography';
6
+ import '@tailwindcss/aspect-ratio';
7
+ import 'tailwindcss/plugin';
8
+
9
+ function withShurikenUI(userConfig) {
10
+ return defu(userConfig, config);
11
+ }
12
+
13
+ export { withShurikenUI };