@shuriken-ui/tailwind 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/config.d.cts +1 -193
- package/dist/config.d.mts +1 -193
- package/dist/config.d.ts +1 -193
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/preset.cjs +282 -249
- package/dist/preset.d.cts +4 -389
- package/dist/preset.d.mts +4 -389
- package/dist/preset.d.ts +4 -389
- package/dist/preset.mjs +282 -249
- package/dist/shared/tailwind.6e716239.d.cts +4724 -0
- package/dist/shared/tailwind.6e716239.d.mts +4724 -0
- package/dist/shared/tailwind.6e716239.d.ts +4724 -0
- package/package.json +19 -19
package/dist/preset.d.ts
CHANGED
@@ -1,389 +1,4 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
import
|
4
|
-
|
5
|
-
interface PluginOption {
|
6
|
-
prefix?: string;
|
7
|
-
}
|
8
|
-
|
9
|
-
declare function hasPreset(config: Config): boolean;
|
10
|
-
declare function createPreset(options?: PluginOption): {
|
11
|
-
darkMode: "class";
|
12
|
-
content: never[];
|
13
|
-
plugins: (typeof typography__default | {
|
14
|
-
handler: tailwindcss_types_config.PluginCreator;
|
15
|
-
config?: Partial<Config> | undefined;
|
16
|
-
})[];
|
17
|
-
theme: {
|
18
|
-
fontFamily: {
|
19
|
-
sans: string[];
|
20
|
-
heading: string[];
|
21
|
-
alt: string[];
|
22
|
-
mono: string[];
|
23
|
-
};
|
24
|
-
extend: {
|
25
|
-
colors: {
|
26
|
-
muted: {
|
27
|
-
'50': "#f8fafc";
|
28
|
-
'100': "#f1f5f9";
|
29
|
-
'200': "#e2e8f0";
|
30
|
-
'300': "#cbd5e1";
|
31
|
-
'400': "#94a3b8";
|
32
|
-
'500': "#64748b";
|
33
|
-
'600': "#475569";
|
34
|
-
'700': "#334155";
|
35
|
-
'800': "#1e293b";
|
36
|
-
'900': "#0f172a";
|
37
|
-
'950': "#020617";
|
38
|
-
};
|
39
|
-
primary: {
|
40
|
-
'50': "#f5f3ff";
|
41
|
-
'100': "#ede9fe";
|
42
|
-
'200': "#ddd6fe";
|
43
|
-
'300': "#c4b5fd";
|
44
|
-
'400': "#a78bfa";
|
45
|
-
'500': "#8b5cf6";
|
46
|
-
'600': "#7c3aed";
|
47
|
-
'700': "#6d28d9";
|
48
|
-
'800': "#5b21b6";
|
49
|
-
'900': "#4c1d95";
|
50
|
-
'950': "#2e1065";
|
51
|
-
};
|
52
|
-
info: {
|
53
|
-
'50': "#f0f9ff";
|
54
|
-
'100': "#e0f2fe";
|
55
|
-
'200': "#bae6fd";
|
56
|
-
'300': "#7dd3fc";
|
57
|
-
'400': "#38bdf8";
|
58
|
-
'500': "#0ea5e9";
|
59
|
-
'600': "#0284c7";
|
60
|
-
'700': "#0369a1";
|
61
|
-
'800': "#075985";
|
62
|
-
'900': "#0c4a6e";
|
63
|
-
'950': "#082f49";
|
64
|
-
};
|
65
|
-
success: {
|
66
|
-
'50': "#f0fdfa";
|
67
|
-
'100': "#ccfbf1";
|
68
|
-
'200': "#99f6e4";
|
69
|
-
'300': "#5eead4";
|
70
|
-
'400': "#2dd4bf";
|
71
|
-
'500': "#14b8a6";
|
72
|
-
'600': "#0d9488";
|
73
|
-
'700': "#0f766e";
|
74
|
-
'800': "#115e59";
|
75
|
-
'900': "#134e4a";
|
76
|
-
'950': "#042f2e";
|
77
|
-
};
|
78
|
-
warning: {
|
79
|
-
'50': "#fffbeb";
|
80
|
-
'100': "#fef3c7";
|
81
|
-
'200': "#fde68a";
|
82
|
-
'300': "#fcd34d";
|
83
|
-
'400': "#fbbf24";
|
84
|
-
'500': "#f59e0b";
|
85
|
-
'600': "#d97706";
|
86
|
-
'700': "#b45309";
|
87
|
-
'800': "#92400e";
|
88
|
-
'900': "#78350f";
|
89
|
-
'950': "#451a03";
|
90
|
-
};
|
91
|
-
danger: {
|
92
|
-
'50': "#fff1f2";
|
93
|
-
'100': "#ffe4e6";
|
94
|
-
'200': "#fecdd3";
|
95
|
-
'300': "#fda4af";
|
96
|
-
'400': "#fb7185";
|
97
|
-
'500': "#f43f5e";
|
98
|
-
'600': "#e11d48";
|
99
|
-
'700': "#be123c";
|
100
|
-
'800': "#9f1239";
|
101
|
-
'900': "#881337";
|
102
|
-
'950': "#4c0519";
|
103
|
-
};
|
104
|
-
};
|
105
|
-
screens: {
|
106
|
-
xs: {
|
107
|
-
max: string;
|
108
|
-
};
|
109
|
-
lg: string;
|
110
|
-
ptablet: {
|
111
|
-
raw: string;
|
112
|
-
};
|
113
|
-
ltablet: {
|
114
|
-
raw: string;
|
115
|
-
};
|
116
|
-
};
|
117
|
-
typography: ({ theme }: any) => {
|
118
|
-
primary: {
|
119
|
-
css: {
|
120
|
-
'--tw-prose-links': any;
|
121
|
-
'--tw-prose-quote-borders': any;
|
122
|
-
'--tw-prose-invert-links': any;
|
123
|
-
'--tw-prose-invert-quote-borders': any;
|
124
|
-
};
|
125
|
-
};
|
126
|
-
muted: {
|
127
|
-
css: {
|
128
|
-
'--tw-prose-body': any;
|
129
|
-
'--tw-prose-headings': any;
|
130
|
-
'--tw-prose-lead': any;
|
131
|
-
'--tw-prose-bold': any;
|
132
|
-
'--tw-prose-counters': any;
|
133
|
-
'--tw-prose-bullets': any;
|
134
|
-
'--tw-prose-hr': any;
|
135
|
-
'--tw-prose-quotes': any;
|
136
|
-
'--tw-prose-captions': any;
|
137
|
-
'--tw-prose-code': any;
|
138
|
-
'--tw-prose-pre-code': any;
|
139
|
-
'--tw-prose-pre-bg': any;
|
140
|
-
'--tw-prose-th-borders': any;
|
141
|
-
'--tw-prose-td-borders': any;
|
142
|
-
'--tw-prose-invert-body': any;
|
143
|
-
'--tw-prose-invert-headings': any;
|
144
|
-
'--tw-prose-invert-lead': any;
|
145
|
-
'--tw-prose-invert-bold': any;
|
146
|
-
'--tw-prose-invert-counters': any;
|
147
|
-
'--tw-prose-invert-bullets': any;
|
148
|
-
'--tw-prose-invert-hr': any;
|
149
|
-
'--tw-prose-invert-quotes': any;
|
150
|
-
'--tw-prose-invert-captions': any;
|
151
|
-
'--tw-prose-invert-code': any;
|
152
|
-
'--tw-prose-invert-pre-code': any;
|
153
|
-
'--tw-prose-invert-pre-bg': any;
|
154
|
-
'--tw-prose-invert-th-borders': any;
|
155
|
-
'--tw-prose-invert-td-borders': any;
|
156
|
-
};
|
157
|
-
};
|
158
|
-
css: {
|
159
|
-
h1: {
|
160
|
-
fontWeight: number;
|
161
|
-
};
|
162
|
-
h2: {
|
163
|
-
fontWeight: number;
|
164
|
-
};
|
165
|
-
h3: {
|
166
|
-
fontWeight: number;
|
167
|
-
};
|
168
|
-
h4: {
|
169
|
-
fontWeight: number;
|
170
|
-
};
|
171
|
-
li: {
|
172
|
-
fontSize: string;
|
173
|
-
padding: string;
|
174
|
-
};
|
175
|
-
em: {
|
176
|
-
fontSize: string;
|
177
|
-
lineHeight: number;
|
178
|
-
};
|
179
|
-
blockquote: {
|
180
|
-
fontSize: string;
|
181
|
-
lineHeight: number;
|
182
|
-
fontWeight: number;
|
183
|
-
padding: string;
|
184
|
-
};
|
185
|
-
pre: {
|
186
|
-
fontFamily: any;
|
187
|
-
};
|
188
|
-
code: {
|
189
|
-
fontFamily: any;
|
190
|
-
padding: string;
|
191
|
-
fontWeight: number;
|
192
|
-
fontSize: string;
|
193
|
-
};
|
194
|
-
};
|
195
|
-
};
|
196
|
-
};
|
197
|
-
};
|
198
|
-
};
|
199
|
-
declare const preset: {
|
200
|
-
darkMode: "class";
|
201
|
-
content: never[];
|
202
|
-
plugins: (typeof typography__default | {
|
203
|
-
handler: tailwindcss_types_config.PluginCreator;
|
204
|
-
config?: Partial<Config> | undefined;
|
205
|
-
})[];
|
206
|
-
theme: {
|
207
|
-
fontFamily: {
|
208
|
-
sans: string[];
|
209
|
-
heading: string[];
|
210
|
-
alt: string[];
|
211
|
-
mono: string[];
|
212
|
-
};
|
213
|
-
extend: {
|
214
|
-
colors: {
|
215
|
-
muted: {
|
216
|
-
'50': "#f8fafc";
|
217
|
-
'100': "#f1f5f9";
|
218
|
-
'200': "#e2e8f0";
|
219
|
-
'300': "#cbd5e1";
|
220
|
-
'400': "#94a3b8";
|
221
|
-
'500': "#64748b";
|
222
|
-
'600': "#475569";
|
223
|
-
'700': "#334155";
|
224
|
-
'800': "#1e293b";
|
225
|
-
'900': "#0f172a";
|
226
|
-
'950': "#020617";
|
227
|
-
};
|
228
|
-
primary: {
|
229
|
-
'50': "#f5f3ff";
|
230
|
-
'100': "#ede9fe";
|
231
|
-
'200': "#ddd6fe";
|
232
|
-
'300': "#c4b5fd";
|
233
|
-
'400': "#a78bfa";
|
234
|
-
'500': "#8b5cf6";
|
235
|
-
'600': "#7c3aed";
|
236
|
-
'700': "#6d28d9";
|
237
|
-
'800': "#5b21b6";
|
238
|
-
'900': "#4c1d95";
|
239
|
-
'950': "#2e1065";
|
240
|
-
};
|
241
|
-
info: {
|
242
|
-
'50': "#f0f9ff";
|
243
|
-
'100': "#e0f2fe";
|
244
|
-
'200': "#bae6fd";
|
245
|
-
'300': "#7dd3fc";
|
246
|
-
'400': "#38bdf8";
|
247
|
-
'500': "#0ea5e9";
|
248
|
-
'600': "#0284c7";
|
249
|
-
'700': "#0369a1";
|
250
|
-
'800': "#075985";
|
251
|
-
'900': "#0c4a6e";
|
252
|
-
'950': "#082f49";
|
253
|
-
};
|
254
|
-
success: {
|
255
|
-
'50': "#f0fdfa";
|
256
|
-
'100': "#ccfbf1";
|
257
|
-
'200': "#99f6e4";
|
258
|
-
'300': "#5eead4";
|
259
|
-
'400': "#2dd4bf";
|
260
|
-
'500': "#14b8a6";
|
261
|
-
'600': "#0d9488";
|
262
|
-
'700': "#0f766e";
|
263
|
-
'800': "#115e59";
|
264
|
-
'900': "#134e4a";
|
265
|
-
'950': "#042f2e";
|
266
|
-
};
|
267
|
-
warning: {
|
268
|
-
'50': "#fffbeb";
|
269
|
-
'100': "#fef3c7";
|
270
|
-
'200': "#fde68a";
|
271
|
-
'300': "#fcd34d";
|
272
|
-
'400': "#fbbf24";
|
273
|
-
'500': "#f59e0b";
|
274
|
-
'600': "#d97706";
|
275
|
-
'700': "#b45309";
|
276
|
-
'800': "#92400e";
|
277
|
-
'900': "#78350f";
|
278
|
-
'950': "#451a03";
|
279
|
-
};
|
280
|
-
danger: {
|
281
|
-
'50': "#fff1f2";
|
282
|
-
'100': "#ffe4e6";
|
283
|
-
'200': "#fecdd3";
|
284
|
-
'300': "#fda4af";
|
285
|
-
'400': "#fb7185";
|
286
|
-
'500': "#f43f5e";
|
287
|
-
'600': "#e11d48";
|
288
|
-
'700': "#be123c";
|
289
|
-
'800': "#9f1239";
|
290
|
-
'900': "#881337";
|
291
|
-
'950': "#4c0519";
|
292
|
-
};
|
293
|
-
};
|
294
|
-
screens: {
|
295
|
-
xs: {
|
296
|
-
max: string;
|
297
|
-
};
|
298
|
-
lg: string;
|
299
|
-
ptablet: {
|
300
|
-
raw: string;
|
301
|
-
};
|
302
|
-
ltablet: {
|
303
|
-
raw: string;
|
304
|
-
};
|
305
|
-
};
|
306
|
-
typography: ({ theme }: any) => {
|
307
|
-
primary: {
|
308
|
-
css: {
|
309
|
-
'--tw-prose-links': any;
|
310
|
-
'--tw-prose-quote-borders': any;
|
311
|
-
'--tw-prose-invert-links': any;
|
312
|
-
'--tw-prose-invert-quote-borders': any;
|
313
|
-
};
|
314
|
-
};
|
315
|
-
muted: {
|
316
|
-
css: {
|
317
|
-
'--tw-prose-body': any;
|
318
|
-
'--tw-prose-headings': any;
|
319
|
-
'--tw-prose-lead': any;
|
320
|
-
'--tw-prose-bold': any;
|
321
|
-
'--tw-prose-counters': any;
|
322
|
-
'--tw-prose-bullets': any;
|
323
|
-
'--tw-prose-hr': any;
|
324
|
-
'--tw-prose-quotes': any;
|
325
|
-
'--tw-prose-captions': any;
|
326
|
-
'--tw-prose-code': any;
|
327
|
-
'--tw-prose-pre-code': any;
|
328
|
-
'--tw-prose-pre-bg': any;
|
329
|
-
'--tw-prose-th-borders': any;
|
330
|
-
'--tw-prose-td-borders': any;
|
331
|
-
'--tw-prose-invert-body': any;
|
332
|
-
'--tw-prose-invert-headings': any;
|
333
|
-
'--tw-prose-invert-lead': any;
|
334
|
-
'--tw-prose-invert-bold': any;
|
335
|
-
'--tw-prose-invert-counters': any;
|
336
|
-
'--tw-prose-invert-bullets': any;
|
337
|
-
'--tw-prose-invert-hr': any;
|
338
|
-
'--tw-prose-invert-quotes': any;
|
339
|
-
'--tw-prose-invert-captions': any;
|
340
|
-
'--tw-prose-invert-code': any;
|
341
|
-
'--tw-prose-invert-pre-code': any;
|
342
|
-
'--tw-prose-invert-pre-bg': any;
|
343
|
-
'--tw-prose-invert-th-borders': any;
|
344
|
-
'--tw-prose-invert-td-borders': any;
|
345
|
-
};
|
346
|
-
};
|
347
|
-
css: {
|
348
|
-
h1: {
|
349
|
-
fontWeight: number;
|
350
|
-
};
|
351
|
-
h2: {
|
352
|
-
fontWeight: number;
|
353
|
-
};
|
354
|
-
h3: {
|
355
|
-
fontWeight: number;
|
356
|
-
};
|
357
|
-
h4: {
|
358
|
-
fontWeight: number;
|
359
|
-
};
|
360
|
-
li: {
|
361
|
-
fontSize: string;
|
362
|
-
padding: string;
|
363
|
-
};
|
364
|
-
em: {
|
365
|
-
fontSize: string;
|
366
|
-
lineHeight: number;
|
367
|
-
};
|
368
|
-
blockquote: {
|
369
|
-
fontSize: string;
|
370
|
-
lineHeight: number;
|
371
|
-
fontWeight: number;
|
372
|
-
padding: string;
|
373
|
-
};
|
374
|
-
pre: {
|
375
|
-
fontFamily: any;
|
376
|
-
};
|
377
|
-
code: {
|
378
|
-
fontFamily: any;
|
379
|
-
padding: string;
|
380
|
-
fontWeight: number;
|
381
|
-
fontSize: string;
|
382
|
-
};
|
383
|
-
};
|
384
|
-
};
|
385
|
-
};
|
386
|
-
};
|
387
|
-
};
|
388
|
-
|
389
|
-
export { createPreset, hasPreset, preset };
|
1
|
+
import 'tailwindcss/types/config';
|
2
|
+
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.6e716239.js';
|
3
|
+
import '@tailwindcss/typography';
|
4
|
+
import 'tailwindcss';
|