@removify/tailwind-preset 0.1.7 → 0.1.9

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.
@@ -11,6 +11,7 @@ var mainColors = {
11
11
  black: "#000000",
12
12
  white: "#FFFFFF",
13
13
  bateau: {
14
+ DEFAULT: "#1C749F",
14
15
  50: "#F2F5F7",
15
16
  100: "#E7ECF0",
16
17
  200: "#CCD7E1",
@@ -24,6 +25,7 @@ var mainColors = {
24
25
  950: "#0C3144"
25
26
  },
26
27
  pompelmo: {
28
+ DEFAULT: "#FF6663",
27
29
  50: "#FFF4F4",
28
30
  100: "#FFEBEA",
29
31
  200: "#FFD4D4",
@@ -37,6 +39,7 @@ var mainColors = {
37
39
  950: "#6D2C2A"
38
40
  },
39
41
  neutral: {
42
+ DEFAULT: "#BEC7D1",
40
43
  50: "#F9FAFB",
41
44
  100: "#F4F6F7",
42
45
  200: "#E9ECEF",
@@ -50,6 +53,7 @@ var mainColors = {
50
53
  950: "#515559"
51
54
  },
52
55
  orange: {
56
+ DEFAULT: "#F97316",
53
57
  50: "#FEF5F2",
54
58
  100: "#FEECE7",
55
59
  200: "#FDD7CC",
@@ -63,6 +67,7 @@ var mainColors = {
63
67
  950: "#6A3109"
64
68
  },
65
69
  amber: {
70
+ DEFAULT: "#FBBF24",
66
71
  50: "#FFF9F2",
67
72
  100: "#FEF5E7",
68
73
  200: "#FEEACD",
@@ -76,6 +81,7 @@ var mainColors = {
76
81
  950: "#6B510F"
77
82
  },
78
83
  indigo: {
84
+ DEFAULT: "#686DF4",
79
85
  50: "#F4F4FE",
80
86
  100: "#EBEBFD",
81
87
  200: "#D5D6FB",
@@ -89,6 +95,7 @@ var mainColors = {
89
95
  950: "#2C2F68"
90
96
  },
91
97
  seafoam: {
98
+ DEFAULT: "#3EC2C9",
92
99
  50: "#F3FAFA",
93
100
  100: "#E8F5F6",
94
101
  200: "#CFEBED",
@@ -102,6 +109,7 @@ var mainColors = {
102
109
  950: "#1A5356"
103
110
  },
104
111
  green: {
112
+ DEFAULT: "#15A46E",
105
113
  50: "#F2F7F4",
106
114
  100: "#E7F1EB",
107
115
  200: "#CCE2D6",
@@ -115,6 +123,7 @@ var mainColors = {
115
123
  950: "#09462F"
116
124
  },
117
125
  fuchsia: {
126
+ DEFAULT: "#C53DE7",
118
127
  50: "#FAF3FD",
119
128
  100: "#F5E8FB",
120
129
  200: "#ECCFF7",
@@ -128,6 +137,7 @@ var mainColors = {
128
137
  950: "#541A63"
129
138
  },
130
139
  red: {
140
+ DEFAULT: "#EA3529",
131
141
  50: "#FDF2F2",
132
142
  100: "#FBE8E7",
133
143
  200: "#F8CECD",
@@ -295,9 +305,16 @@ var screensNumber = {
295
305
  "laptop": 1024,
296
306
  "desktop": 1280
297
307
  };
298
- var screens = Object.fromEntries(
299
- Object.entries(screensNumber).map(([key, value]) => [key, `${value}px`])
300
- );
308
+ var screens = {
309
+ "sm": `${screensNumber.sm}px`,
310
+ "md": `${screensNumber.md}px`,
311
+ "lg": `${screensNumber.lg}px`,
312
+ "xl": `${screensNumber.xl}px`,
313
+ "2xl": `${screensNumber["2xl"]}px`,
314
+ "tablet": `${screensNumber.tablet}px`,
315
+ "laptop": `${screensNumber.laptop}px`,
316
+ "desktop": `${screensNumber.desktop}px`
317
+ };
301
318
 
302
319
  // src/theme/index.ts
303
320
  var theme = {
@@ -40,6 +40,7 @@ var mainColors = {
40
40
  black: "#000000",
41
41
  white: "#FFFFFF",
42
42
  bateau: {
43
+ DEFAULT: "#1C749F",
43
44
  50: "#F2F5F7",
44
45
  100: "#E7ECF0",
45
46
  200: "#CCD7E1",
@@ -53,6 +54,7 @@ var mainColors = {
53
54
  950: "#0C3144"
54
55
  },
55
56
  pompelmo: {
57
+ DEFAULT: "#FF6663",
56
58
  50: "#FFF4F4",
57
59
  100: "#FFEBEA",
58
60
  200: "#FFD4D4",
@@ -66,6 +68,7 @@ var mainColors = {
66
68
  950: "#6D2C2A"
67
69
  },
68
70
  neutral: {
71
+ DEFAULT: "#BEC7D1",
69
72
  50: "#F9FAFB",
70
73
  100: "#F4F6F7",
71
74
  200: "#E9ECEF",
@@ -79,6 +82,7 @@ var mainColors = {
79
82
  950: "#515559"
80
83
  },
81
84
  orange: {
85
+ DEFAULT: "#F97316",
82
86
  50: "#FEF5F2",
83
87
  100: "#FEECE7",
84
88
  200: "#FDD7CC",
@@ -92,6 +96,7 @@ var mainColors = {
92
96
  950: "#6A3109"
93
97
  },
94
98
  amber: {
99
+ DEFAULT: "#FBBF24",
95
100
  50: "#FFF9F2",
96
101
  100: "#FEF5E7",
97
102
  200: "#FEEACD",
@@ -105,6 +110,7 @@ var mainColors = {
105
110
  950: "#6B510F"
106
111
  },
107
112
  indigo: {
113
+ DEFAULT: "#686DF4",
108
114
  50: "#F4F4FE",
109
115
  100: "#EBEBFD",
110
116
  200: "#D5D6FB",
@@ -118,6 +124,7 @@ var mainColors = {
118
124
  950: "#2C2F68"
119
125
  },
120
126
  seafoam: {
127
+ DEFAULT: "#3EC2C9",
121
128
  50: "#F3FAFA",
122
129
  100: "#E8F5F6",
123
130
  200: "#CFEBED",
@@ -131,6 +138,7 @@ var mainColors = {
131
138
  950: "#1A5356"
132
139
  },
133
140
  green: {
141
+ DEFAULT: "#15A46E",
134
142
  50: "#F2F7F4",
135
143
  100: "#E7F1EB",
136
144
  200: "#CCE2D6",
@@ -144,6 +152,7 @@ var mainColors = {
144
152
  950: "#09462F"
145
153
  },
146
154
  fuchsia: {
155
+ DEFAULT: "#C53DE7",
147
156
  50: "#FAF3FD",
148
157
  100: "#F5E8FB",
149
158
  200: "#ECCFF7",
@@ -157,6 +166,7 @@ var mainColors = {
157
166
  950: "#541A63"
158
167
  },
159
168
  red: {
169
+ DEFAULT: "#EA3529",
160
170
  50: "#FDF2F2",
161
171
  100: "#FBE8E7",
162
172
  200: "#F8CECD",
@@ -314,9 +324,16 @@ var screensNumber = {
314
324
  "laptop": 1024,
315
325
  "desktop": 1280
316
326
  };
317
- var screens = Object.fromEntries(
318
- Object.entries(screensNumber).map(([key, value]) => [key, `${value}px`])
319
- );
327
+ var screens = {
328
+ "sm": `${screensNumber.sm}px`,
329
+ "md": `${screensNumber.md}px`,
330
+ "lg": `${screensNumber.lg}px`,
331
+ "xl": `${screensNumber.xl}px`,
332
+ "2xl": `${screensNumber["2xl"]}px`,
333
+ "tablet": `${screensNumber.tablet}px`,
334
+ "laptop": `${screensNumber.laptop}px`,
335
+ "desktop": `${screensNumber.desktop}px`
336
+ };
320
337
 
321
338
  // src/cli/src/theme/color.ts
322
339
  var css = String.raw;
package/dist/cli/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-AYMXORCG.js";
3
+ } from "../chunk-JF5QV6S4.js";
4
4
 
5
5
  // src/cli/index.ts
6
6
  import process from "process";
package/dist/index.cjs CHANGED
@@ -59,6 +59,7 @@ var mainColors = {
59
59
  black: "#000000",
60
60
  white: "#FFFFFF",
61
61
  bateau: {
62
+ DEFAULT: "#1C749F",
62
63
  50: "#F2F5F7",
63
64
  100: "#E7ECF0",
64
65
  200: "#CCD7E1",
@@ -72,6 +73,7 @@ var mainColors = {
72
73
  950: "#0C3144"
73
74
  },
74
75
  pompelmo: {
76
+ DEFAULT: "#FF6663",
75
77
  50: "#FFF4F4",
76
78
  100: "#FFEBEA",
77
79
  200: "#FFD4D4",
@@ -85,6 +87,7 @@ var mainColors = {
85
87
  950: "#6D2C2A"
86
88
  },
87
89
  neutral: {
90
+ DEFAULT: "#BEC7D1",
88
91
  50: "#F9FAFB",
89
92
  100: "#F4F6F7",
90
93
  200: "#E9ECEF",
@@ -98,6 +101,7 @@ var mainColors = {
98
101
  950: "#515559"
99
102
  },
100
103
  orange: {
104
+ DEFAULT: "#F97316",
101
105
  50: "#FEF5F2",
102
106
  100: "#FEECE7",
103
107
  200: "#FDD7CC",
@@ -111,6 +115,7 @@ var mainColors = {
111
115
  950: "#6A3109"
112
116
  },
113
117
  amber: {
118
+ DEFAULT: "#FBBF24",
114
119
  50: "#FFF9F2",
115
120
  100: "#FEF5E7",
116
121
  200: "#FEEACD",
@@ -124,6 +129,7 @@ var mainColors = {
124
129
  950: "#6B510F"
125
130
  },
126
131
  indigo: {
132
+ DEFAULT: "#686DF4",
127
133
  50: "#F4F4FE",
128
134
  100: "#EBEBFD",
129
135
  200: "#D5D6FB",
@@ -137,6 +143,7 @@ var mainColors = {
137
143
  950: "#2C2F68"
138
144
  },
139
145
  seafoam: {
146
+ DEFAULT: "#3EC2C9",
140
147
  50: "#F3FAFA",
141
148
  100: "#E8F5F6",
142
149
  200: "#CFEBED",
@@ -150,6 +157,7 @@ var mainColors = {
150
157
  950: "#1A5356"
151
158
  },
152
159
  green: {
160
+ DEFAULT: "#15A46E",
153
161
  50: "#F2F7F4",
154
162
  100: "#E7F1EB",
155
163
  200: "#CCE2D6",
@@ -163,6 +171,7 @@ var mainColors = {
163
171
  950: "#09462F"
164
172
  },
165
173
  fuchsia: {
174
+ DEFAULT: "#C53DE7",
166
175
  50: "#FAF3FD",
167
176
  100: "#F5E8FB",
168
177
  200: "#ECCFF7",
@@ -176,6 +185,7 @@ var mainColors = {
176
185
  950: "#541A63"
177
186
  },
178
187
  red: {
188
+ DEFAULT: "#EA3529",
179
189
  50: "#FDF2F2",
180
190
  100: "#FBE8E7",
181
191
  200: "#F8CECD",
@@ -343,9 +353,16 @@ var screensNumber = {
343
353
  "laptop": 1024,
344
354
  "desktop": 1280
345
355
  };
346
- var screens = Object.fromEntries(
347
- Object.entries(screensNumber).map(([key, value]) => [key, `${value}px`])
348
- );
356
+ var screens = {
357
+ "sm": `${screensNumber.sm}px`,
358
+ "md": `${screensNumber.md}px`,
359
+ "lg": `${screensNumber.lg}px`,
360
+ "xl": `${screensNumber.xl}px`,
361
+ "2xl": `${screensNumber["2xl"]}px`,
362
+ "tablet": `${screensNumber.tablet}px`,
363
+ "laptop": `${screensNumber.laptop}px`,
364
+ "desktop": `${screensNumber.desktop}px`
365
+ };
349
366
 
350
367
  // src/theme/index.ts
351
368
  var theme = {
package/dist/index.d.cts CHANGED
@@ -3,6 +3,7 @@ import { Config } from 'tailwindcss';
3
3
 
4
4
  declare const colors: {
5
5
  primary: {
6
+ DEFAULT: string;
6
7
  50: string;
7
8
  100: string;
8
9
  200: string;
@@ -16,6 +17,7 @@ declare const colors: {
16
17
  950: string;
17
18
  };
18
19
  secondary: {
20
+ DEFAULT: string;
19
21
  50: string;
20
22
  100: string;
21
23
  200: string;
@@ -39,6 +41,7 @@ declare const colors: {
39
41
  black: string;
40
42
  white: string;
41
43
  bateau: {
44
+ DEFAULT: string;
42
45
  50: string;
43
46
  100: string;
44
47
  200: string;
@@ -52,6 +55,7 @@ declare const colors: {
52
55
  950: string;
53
56
  };
54
57
  pompelmo: {
58
+ DEFAULT: string;
55
59
  50: string;
56
60
  100: string;
57
61
  200: string;
@@ -65,6 +69,7 @@ declare const colors: {
65
69
  950: string;
66
70
  };
67
71
  neutral: {
72
+ DEFAULT: string;
68
73
  50: string;
69
74
  100: string;
70
75
  200: string;
@@ -78,6 +83,7 @@ declare const colors: {
78
83
  950: string;
79
84
  };
80
85
  orange: {
86
+ DEFAULT: string;
81
87
  50: string;
82
88
  100: string;
83
89
  200: string;
@@ -91,6 +97,7 @@ declare const colors: {
91
97
  950: string;
92
98
  };
93
99
  amber: {
100
+ DEFAULT: string;
94
101
  50: string;
95
102
  100: string;
96
103
  200: string;
@@ -104,6 +111,7 @@ declare const colors: {
104
111
  950: string;
105
112
  };
106
113
  indigo: {
114
+ DEFAULT: string;
107
115
  50: string;
108
116
  100: string;
109
117
  200: string;
@@ -117,6 +125,7 @@ declare const colors: {
117
125
  950: string;
118
126
  };
119
127
  seafoam: {
128
+ DEFAULT: string;
120
129
  50: string;
121
130
  100: string;
122
131
  200: string;
@@ -130,6 +139,7 @@ declare const colors: {
130
139
  950: string;
131
140
  };
132
141
  green: {
142
+ DEFAULT: string;
133
143
  50: string;
134
144
  100: string;
135
145
  200: string;
@@ -143,6 +153,7 @@ declare const colors: {
143
153
  950: string;
144
154
  };
145
155
  fuchsia: {
156
+ DEFAULT: string;
146
157
  50: string;
147
158
  100: string;
148
159
  200: string;
@@ -156,6 +167,7 @@ declare const colors: {
156
167
  950: string;
157
168
  };
158
169
  red: {
170
+ DEFAULT: string;
159
171
  50: string;
160
172
  100: string;
161
173
  200: string;
@@ -324,19 +336,32 @@ declare const keyframes: {
324
336
  };
325
337
  };
326
338
 
327
- type Screens = Record<string, `${number}px`>;
328
- type ExtractNumber<T extends string> = T extends `${infer N extends number}px` ? N : never;
329
- type ScreensNumber = {
330
- [K in keyof Screens]: ExtractNumber<Screens[K]>;
339
+ declare const screensNumber: {
340
+ sm: number;
341
+ md: number;
342
+ lg: number;
343
+ xl: number;
344
+ '2xl': number;
345
+ tablet: number;
346
+ laptop: number;
347
+ desktop: number;
348
+ };
349
+ declare const screens: {
350
+ sm: `${number}px`;
351
+ md: `${number}px`;
352
+ lg: `${number}px`;
353
+ xl: `${number}px`;
354
+ '2xl': `${number}px`;
355
+ tablet: `${number}px`;
356
+ laptop: `${number}px`;
357
+ desktop: `${number}px`;
331
358
  };
332
-
333
- declare const screensNumber: ScreensNumber;
334
- declare const screens: Screens;
335
359
 
336
360
  declare const theme: Config['theme'];
337
361
  declare const unocssTheme: {
338
362
  colors: {
339
363
  primary: {
364
+ DEFAULT: string;
340
365
  50: string;
341
366
  100: string;
342
367
  200: string;
@@ -350,6 +375,7 @@ declare const unocssTheme: {
350
375
  950: string;
351
376
  };
352
377
  secondary: {
378
+ DEFAULT: string;
353
379
  50: string;
354
380
  100: string;
355
381
  200: string;
@@ -373,6 +399,7 @@ declare const unocssTheme: {
373
399
  black: string;
374
400
  white: string;
375
401
  bateau: {
402
+ DEFAULT: string;
376
403
  50: string;
377
404
  100: string;
378
405
  200: string;
@@ -386,6 +413,7 @@ declare const unocssTheme: {
386
413
  950: string;
387
414
  };
388
415
  pompelmo: {
416
+ DEFAULT: string;
389
417
  50: string;
390
418
  100: string;
391
419
  200: string;
@@ -399,6 +427,7 @@ declare const unocssTheme: {
399
427
  950: string;
400
428
  };
401
429
  neutral: {
430
+ DEFAULT: string;
402
431
  50: string;
403
432
  100: string;
404
433
  200: string;
@@ -412,6 +441,7 @@ declare const unocssTheme: {
412
441
  950: string;
413
442
  };
414
443
  orange: {
444
+ DEFAULT: string;
415
445
  50: string;
416
446
  100: string;
417
447
  200: string;
@@ -425,6 +455,7 @@ declare const unocssTheme: {
425
455
  950: string;
426
456
  };
427
457
  amber: {
458
+ DEFAULT: string;
428
459
  50: string;
429
460
  100: string;
430
461
  200: string;
@@ -438,6 +469,7 @@ declare const unocssTheme: {
438
469
  950: string;
439
470
  };
440
471
  indigo: {
472
+ DEFAULT: string;
441
473
  50: string;
442
474
  100: string;
443
475
  200: string;
@@ -451,6 +483,7 @@ declare const unocssTheme: {
451
483
  950: string;
452
484
  };
453
485
  seafoam: {
486
+ DEFAULT: string;
454
487
  50: string;
455
488
  100: string;
456
489
  200: string;
@@ -464,6 +497,7 @@ declare const unocssTheme: {
464
497
  950: string;
465
498
  };
466
499
  green: {
500
+ DEFAULT: string;
467
501
  50: string;
468
502
  100: string;
469
503
  200: string;
@@ -477,6 +511,7 @@ declare const unocssTheme: {
477
511
  950: string;
478
512
  };
479
513
  fuchsia: {
514
+ DEFAULT: string;
480
515
  50: string;
481
516
  100: string;
482
517
  200: string;
@@ -490,6 +525,7 @@ declare const unocssTheme: {
490
525
  950: string;
491
526
  };
492
527
  red: {
528
+ DEFAULT: string;
493
529
  50: string;
494
530
  100: string;
495
531
  200: string;
@@ -517,7 +553,7 @@ declare const unocssTheme: {
517
553
  declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
518
554
 
519
555
  type ColorsNames = typeof colorsNames[number];
520
- type ColorsVariations = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
556
+ type ColorsVariations = 'DEFAULT' | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
521
557
  interface MainColors {
522
558
  black: string;
523
559
  white: string;
@@ -545,7 +581,14 @@ type Shadows = {
545
581
  [K in ShadowSize as `elevation-${K}`]?: Shadow;
546
582
  };
547
583
 
584
+ declare const screenSizes: readonly ["sm", "md", "lg", "xl", "2xl", "tablet", "laptop", "desktop"];
585
+ type Screens = Record<typeof screenSizes[number], `${number}px`>;
586
+ type ExtractNumber<T extends string> = T extends `${infer N extends number}px` ? N : never;
587
+ type ScreensNumber = {
588
+ [K in keyof Screens]: ExtractNumber<Screens[K]>;
589
+ };
590
+
548
591
  declare function config(extend?: boolean): Partial<Config>;
549
592
  declare const _default: Partial<tailwindcss_types_config.Config>;
550
593
 
551
- export { type ColorString, type Colors, type ColorsNames, type FontSizes, type Screens, type ScreensNumber, type Shadows, type UnocssFontSizes, animation, colors, colorsNames, config, _default as default, customFontFamily as fontFamily, fontSizes, isDetailFont, keyframes, screens, screensNumber, shadows, theme, unocssTheme };
594
+ export { type ColorString, type Colors, type ColorsNames, type FontSizes, type Screens, type ScreensNumber, type Shadows, type UnocssFontSizes, animation, colors, colorsNames, config, _default as default, customFontFamily as fontFamily, fontSizes, isDetailFont, keyframes, screenSizes, screens, screensNumber, shadows, theme, unocssTheme };
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { Config } from 'tailwindcss';
3
3
 
4
4
  declare const colors: {
5
5
  primary: {
6
+ DEFAULT: string;
6
7
  50: string;
7
8
  100: string;
8
9
  200: string;
@@ -16,6 +17,7 @@ declare const colors: {
16
17
  950: string;
17
18
  };
18
19
  secondary: {
20
+ DEFAULT: string;
19
21
  50: string;
20
22
  100: string;
21
23
  200: string;
@@ -39,6 +41,7 @@ declare const colors: {
39
41
  black: string;
40
42
  white: string;
41
43
  bateau: {
44
+ DEFAULT: string;
42
45
  50: string;
43
46
  100: string;
44
47
  200: string;
@@ -52,6 +55,7 @@ declare const colors: {
52
55
  950: string;
53
56
  };
54
57
  pompelmo: {
58
+ DEFAULT: string;
55
59
  50: string;
56
60
  100: string;
57
61
  200: string;
@@ -65,6 +69,7 @@ declare const colors: {
65
69
  950: string;
66
70
  };
67
71
  neutral: {
72
+ DEFAULT: string;
68
73
  50: string;
69
74
  100: string;
70
75
  200: string;
@@ -78,6 +83,7 @@ declare const colors: {
78
83
  950: string;
79
84
  };
80
85
  orange: {
86
+ DEFAULT: string;
81
87
  50: string;
82
88
  100: string;
83
89
  200: string;
@@ -91,6 +97,7 @@ declare const colors: {
91
97
  950: string;
92
98
  };
93
99
  amber: {
100
+ DEFAULT: string;
94
101
  50: string;
95
102
  100: string;
96
103
  200: string;
@@ -104,6 +111,7 @@ declare const colors: {
104
111
  950: string;
105
112
  };
106
113
  indigo: {
114
+ DEFAULT: string;
107
115
  50: string;
108
116
  100: string;
109
117
  200: string;
@@ -117,6 +125,7 @@ declare const colors: {
117
125
  950: string;
118
126
  };
119
127
  seafoam: {
128
+ DEFAULT: string;
120
129
  50: string;
121
130
  100: string;
122
131
  200: string;
@@ -130,6 +139,7 @@ declare const colors: {
130
139
  950: string;
131
140
  };
132
141
  green: {
142
+ DEFAULT: string;
133
143
  50: string;
134
144
  100: string;
135
145
  200: string;
@@ -143,6 +153,7 @@ declare const colors: {
143
153
  950: string;
144
154
  };
145
155
  fuchsia: {
156
+ DEFAULT: string;
146
157
  50: string;
147
158
  100: string;
148
159
  200: string;
@@ -156,6 +167,7 @@ declare const colors: {
156
167
  950: string;
157
168
  };
158
169
  red: {
170
+ DEFAULT: string;
159
171
  50: string;
160
172
  100: string;
161
173
  200: string;
@@ -324,19 +336,32 @@ declare const keyframes: {
324
336
  };
325
337
  };
326
338
 
327
- type Screens = Record<string, `${number}px`>;
328
- type ExtractNumber<T extends string> = T extends `${infer N extends number}px` ? N : never;
329
- type ScreensNumber = {
330
- [K in keyof Screens]: ExtractNumber<Screens[K]>;
339
+ declare const screensNumber: {
340
+ sm: number;
341
+ md: number;
342
+ lg: number;
343
+ xl: number;
344
+ '2xl': number;
345
+ tablet: number;
346
+ laptop: number;
347
+ desktop: number;
348
+ };
349
+ declare const screens: {
350
+ sm: `${number}px`;
351
+ md: `${number}px`;
352
+ lg: `${number}px`;
353
+ xl: `${number}px`;
354
+ '2xl': `${number}px`;
355
+ tablet: `${number}px`;
356
+ laptop: `${number}px`;
357
+ desktop: `${number}px`;
331
358
  };
332
-
333
- declare const screensNumber: ScreensNumber;
334
- declare const screens: Screens;
335
359
 
336
360
  declare const theme: Config['theme'];
337
361
  declare const unocssTheme: {
338
362
  colors: {
339
363
  primary: {
364
+ DEFAULT: string;
340
365
  50: string;
341
366
  100: string;
342
367
  200: string;
@@ -350,6 +375,7 @@ declare const unocssTheme: {
350
375
  950: string;
351
376
  };
352
377
  secondary: {
378
+ DEFAULT: string;
353
379
  50: string;
354
380
  100: string;
355
381
  200: string;
@@ -373,6 +399,7 @@ declare const unocssTheme: {
373
399
  black: string;
374
400
  white: string;
375
401
  bateau: {
402
+ DEFAULT: string;
376
403
  50: string;
377
404
  100: string;
378
405
  200: string;
@@ -386,6 +413,7 @@ declare const unocssTheme: {
386
413
  950: string;
387
414
  };
388
415
  pompelmo: {
416
+ DEFAULT: string;
389
417
  50: string;
390
418
  100: string;
391
419
  200: string;
@@ -399,6 +427,7 @@ declare const unocssTheme: {
399
427
  950: string;
400
428
  };
401
429
  neutral: {
430
+ DEFAULT: string;
402
431
  50: string;
403
432
  100: string;
404
433
  200: string;
@@ -412,6 +441,7 @@ declare const unocssTheme: {
412
441
  950: string;
413
442
  };
414
443
  orange: {
444
+ DEFAULT: string;
415
445
  50: string;
416
446
  100: string;
417
447
  200: string;
@@ -425,6 +455,7 @@ declare const unocssTheme: {
425
455
  950: string;
426
456
  };
427
457
  amber: {
458
+ DEFAULT: string;
428
459
  50: string;
429
460
  100: string;
430
461
  200: string;
@@ -438,6 +469,7 @@ declare const unocssTheme: {
438
469
  950: string;
439
470
  };
440
471
  indigo: {
472
+ DEFAULT: string;
441
473
  50: string;
442
474
  100: string;
443
475
  200: string;
@@ -451,6 +483,7 @@ declare const unocssTheme: {
451
483
  950: string;
452
484
  };
453
485
  seafoam: {
486
+ DEFAULT: string;
454
487
  50: string;
455
488
  100: string;
456
489
  200: string;
@@ -464,6 +497,7 @@ declare const unocssTheme: {
464
497
  950: string;
465
498
  };
466
499
  green: {
500
+ DEFAULT: string;
467
501
  50: string;
468
502
  100: string;
469
503
  200: string;
@@ -477,6 +511,7 @@ declare const unocssTheme: {
477
511
  950: string;
478
512
  };
479
513
  fuchsia: {
514
+ DEFAULT: string;
480
515
  50: string;
481
516
  100: string;
482
517
  200: string;
@@ -490,6 +525,7 @@ declare const unocssTheme: {
490
525
  950: string;
491
526
  };
492
527
  red: {
528
+ DEFAULT: string;
493
529
  50: string;
494
530
  100: string;
495
531
  200: string;
@@ -517,7 +553,7 @@ declare const unocssTheme: {
517
553
  declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
518
554
 
519
555
  type ColorsNames = typeof colorsNames[number];
520
- type ColorsVariations = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
556
+ type ColorsVariations = 'DEFAULT' | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
521
557
  interface MainColors {
522
558
  black: string;
523
559
  white: string;
@@ -545,7 +581,14 @@ type Shadows = {
545
581
  [K in ShadowSize as `elevation-${K}`]?: Shadow;
546
582
  };
547
583
 
584
+ declare const screenSizes: readonly ["sm", "md", "lg", "xl", "2xl", "tablet", "laptop", "desktop"];
585
+ type Screens = Record<typeof screenSizes[number], `${number}px`>;
586
+ type ExtractNumber<T extends string> = T extends `${infer N extends number}px` ? N : never;
587
+ type ScreensNumber = {
588
+ [K in keyof Screens]: ExtractNumber<Screens[K]>;
589
+ };
590
+
548
591
  declare function config(extend?: boolean): Partial<Config>;
549
592
  declare const _default: Partial<tailwindcss_types_config.Config>;
550
593
 
551
- export { type ColorString, type Colors, type ColorsNames, type FontSizes, type Screens, type ScreensNumber, type Shadows, type UnocssFontSizes, animation, colors, colorsNames, config, _default as default, customFontFamily as fontFamily, fontSizes, isDetailFont, keyframes, screens, screensNumber, shadows, theme, unocssTheme };
594
+ export { type ColorString, type Colors, type ColorsNames, type FontSizes, type Screens, type ScreensNumber, type Shadows, type UnocssFontSizes, animation, colors, colorsNames, config, _default as default, customFontFamily as fontFamily, fontSizes, isDetailFont, keyframes, screenSizes, screens, screensNumber, shadows, theme, unocssTheme };
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  shadows,
10
10
  theme,
11
11
  unocssTheme
12
- } from "./chunk-AYMXORCG.js";
12
+ } from "./chunk-JF5QV6S4.js";
13
13
 
14
14
  // src/plugins/index.ts
15
15
  import animation2 from "tailwindcss-animate";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@removify/tailwind-preset",
3
3
  "type": "module",
4
- "version": "0.1.7",
4
+ "version": "0.1.9",
5
5
  "description": "Tailwind CSS preset for Removify",
6
6
  "keywords": [
7
7
  "tailwind"
@@ -31,23 +31,23 @@
31
31
  "yargs": "17.7.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@commitlint/cli": "^19.3.0",
34
+ "@commitlint/cli": "^19.4.0",
35
35
  "@commitlint/config-conventional": "^19.2.2",
36
- "@removify/eslint-config": "^1.4.0-beta.5",
37
- "@types/node": "^20.14.11",
38
- "@types/yargs": "^17.0.32",
39
- "bumpp": "^9.4.1",
40
- "eslint": "^9.7.0",
41
- "husky": "^9.1.1",
42
- "lint-staged": "^15.2.7",
36
+ "@removify/eslint-config": "^1.4.3",
37
+ "@types/node": "^22.3.0",
38
+ "@types/yargs": "^17.0.33",
39
+ "bumpp": "^9.5.1",
40
+ "eslint": "^9.9.0",
41
+ "husky": "^9.1.4",
42
+ "lint-staged": "^15.2.9",
43
43
  "rimraf": "^6.0.1",
44
44
  "tailwind-config-viewer": "^2.0.4",
45
- "tailwindcss": "^3.4.6",
46
- "tsup": "^8.2.2",
47
- "tsx": "^4.16.2",
45
+ "tailwindcss": "^3.4.10",
46
+ "tsup": "^8.2.4",
47
+ "tsx": "^4.17.0",
48
48
  "typescript": "^5.5.4",
49
- "vitest": "^2.0.4",
50
- "@removify/tailwind-preset": "0.1.7"
49
+ "vitest": "^2.0.5",
50
+ "@removify/tailwind-preset": "0.1.9"
51
51
  },
52
52
  "lint-staged": {
53
53
  "**/*.{js,ts,vue,html}": [