@removify/tailwind-preset 0.1.9 → 0.1.10

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.
@@ -1,3 +1,57 @@
1
+ // src/theme/animation.ts
2
+ var uiAnimation = {
3
+ "radix-accordion-down": "radix-accordion-down 0.2s ease-out",
4
+ "radix-accordion-up": "radix-accordion-up 0.2s ease-out",
5
+ "radix-collapsible-down": "radix-collapsible-down 0.2s ease-in-out",
6
+ "radix-collapsible-up": "radix-collapsible-up 0.2s ease-in-out",
7
+ // V2 aka reka animation
8
+ "reka-accordion-down": "reka-accordion-down 0.2s ease-out",
9
+ "reka-accordion-up": "reka-accordion-up 0.2s ease-out",
10
+ "reka-collapsible-down": "reka-collapsible-down 0.2s ease-in-out",
11
+ "reka-collapsible-up": "reka-collapsible-up 0.2s ease-in-out"
12
+ };
13
+ var uiKeyframes = {
14
+ "radix-accordion-down": {
15
+ from: { height: "0" },
16
+ to: { height: "var(--radix-accordion-content-height)" }
17
+ },
18
+ "radix-accordion-up": {
19
+ from: { height: "var(--radix-accordion-content-height)" },
20
+ to: { height: "0" }
21
+ },
22
+ "radix-collapsible-down": {
23
+ from: { height: "0" },
24
+ to: { height: "var(--radix-collapsible-content-height)" }
25
+ },
26
+ "radix-collapsible-up": {
27
+ from: { height: "var(--radix-collapsible-content-height)" },
28
+ to: { height: "0" }
29
+ },
30
+ // V2 aka reka animation
31
+ "reka-accordion-down": {
32
+ from: { height: "0" },
33
+ to: { height: "var(--reka-accordion-content-height)" }
34
+ },
35
+ "reka-accordion-up": {
36
+ from: { height: "var(--reka-accordion-content-height)" },
37
+ to: { height: "0" }
38
+ },
39
+ "reka-collapsible-down": {
40
+ from: { height: "0" },
41
+ to: { height: "var(--reka-collapsible-content-height)" }
42
+ },
43
+ "reka-collapsible-up": {
44
+ from: { height: "var(--reka-collapsible-content-height)" },
45
+ to: { height: "0" }
46
+ }
47
+ };
48
+ var animation = {
49
+ ...uiAnimation
50
+ };
51
+ var keyframes = {
52
+ ...uiKeyframes
53
+ };
54
+
1
55
  // src/theme/colors.ts
2
56
  var mainColors = {
3
57
  inherit: "inherit",
@@ -157,6 +211,20 @@ var colors = {
157
211
  secondary: mainColors.pompelmo
158
212
  };
159
213
 
214
+ // src/theme/fontFamily.ts
215
+ var fontFamilySans = [
216
+ "ui-sans-serif",
217
+ "system-ui",
218
+ "sans-serif",
219
+ '"Apple Color Emoji"',
220
+ '"Segoe UI Emoji"',
221
+ '"Segoe UI Symbol"',
222
+ '"Noto Color Emoji"'
223
+ ];
224
+ var customFontFamily = {
225
+ sans: ["DM Sans", ...fontFamilySans]
226
+ };
227
+
160
228
  // src/util/font.ts
161
229
  import { kebabKeys } from "string-ts";
162
230
 
@@ -189,6 +257,7 @@ var fontSizes = {
189
257
  "xs": ["0.75rem", "1rem"],
190
258
  "sm": ["0.875rem", "1.25rem"],
191
259
  "base": ["1rem", "1.5rem"],
260
+ "md": ["1.125rem", "1.5rem"],
192
261
  "lg": ["1.25rem", "1.625rem"],
193
262
  "display1": ["3.75rem", {
194
263
  fontWeight: 700,
@@ -238,62 +307,6 @@ var fontSizes = {
238
307
  };
239
308
  var unocssFontSizes = fontConfigKeysKebabCase(fontSizes);
240
309
 
241
- // src/theme/shadows.ts
242
- var shadows = {
243
- "elevation-0": "0 0 0 0 rgba(0, 0, 0, 0.10)",
244
- "elevation-1": "0 1px 2px 0 rgba(0, 0, 0, 0.10)",
245
- "elevation-2": "0 4px 8px 0 rgba(0, 0, 0, 0.10)",
246
- "elevation-3": "0 6px 12px 0 rgba(0, 0, 0, 0.10)",
247
- "elevation-4": "0 8px 16px 0 rgba(0, 0, 0, 0.10)",
248
- "elevation-5": "0 12px 24px 0 rgba(0, 0, 0, 0.10)"
249
- };
250
-
251
- // src/theme/fontFamily.ts
252
- var fontFamilySans = [
253
- "ui-sans-serif",
254
- "system-ui",
255
- "sans-serif",
256
- '"Apple Color Emoji"',
257
- '"Segoe UI Emoji"',
258
- '"Segoe UI Symbol"',
259
- '"Noto Color Emoji"'
260
- ];
261
- var customFontFamily = {
262
- sans: ["DM Sans", ...fontFamilySans]
263
- };
264
-
265
- // src/theme/animation.ts
266
- var radixAnimation = {
267
- "radix-accordion-down": "radix-accordion-down 0.2s ease-out",
268
- "radix-accordion-up": "radix-accordion-up 0.2s ease-out",
269
- "radix-collapsible-down": "radix-collapsible-down 0.2s ease-in-out",
270
- "radix-collapsible-up": "radix-collapsible-up 0.2s ease-in-out"
271
- };
272
- var radixKeyframes = {
273
- "radix-accordion-down": {
274
- from: { height: "0" },
275
- to: { height: "var(--radix-accordion-content-height)" }
276
- },
277
- "radix-accordion-up": {
278
- from: { height: "var(--radix-accordion-content-height)" },
279
- to: { height: "0" }
280
- },
281
- "radix-collapsible-down": {
282
- from: { height: "0" },
283
- to: { height: "var(--radix-collapsible-content-height)" }
284
- },
285
- "radix-collapsible-up": {
286
- from: { height: "var(--radix-collapsible-content-height)" },
287
- to: { height: "0" }
288
- }
289
- };
290
- var animation = {
291
- ...radixAnimation
292
- };
293
- var keyframes = {
294
- ...radixKeyframes
295
- };
296
-
297
310
  // src/theme/screen.ts
298
311
  var screensNumber = {
299
312
  "sm": 640,
@@ -316,6 +329,16 @@ var screens = {
316
329
  "desktop": `${screensNumber.desktop}px`
317
330
  };
318
331
 
332
+ // src/theme/shadows.ts
333
+ var shadows = {
334
+ "elevation-0": "0 0 0 0 rgba(0, 0, 0, 0.10)",
335
+ "elevation-1": "0 1px 2px 0 rgba(0, 0, 0, 0.10)",
336
+ "elevation-2": "0 4px 8px 0 rgba(0, 0, 0, 0.10)",
337
+ "elevation-3": "0 6px 12px 0 rgba(0, 0, 0, 0.10)",
338
+ "elevation-4": "0 8px 16px 0 rgba(0, 0, 0, 0.10)",
339
+ "elevation-5": "0 12px 24px 0 rgba(0, 0, 0, 0.10)"
340
+ };
341
+
319
342
  // src/theme/index.ts
320
343
  var theme = {
321
344
  colors,
@@ -333,14 +356,14 @@ var unocssTheme = {
333
356
  };
334
357
 
335
358
  export {
336
- colors,
337
- fontSizes,
338
- shadows,
339
- customFontFamily,
340
359
  animation,
341
360
  keyframes,
361
+ colors,
362
+ customFontFamily,
363
+ fontSizes,
342
364
  screensNumber,
343
365
  screens,
366
+ shadows,
344
367
  theme,
345
368
  unocssTheme
346
369
  };
@@ -24,8 +24,62 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
 
25
25
  // src/cli/index.ts
26
26
  var import_node_process = __toESM(require("process"), 1);
27
- var import_helpers = require("yargs/helpers");
28
27
  var import_yargs = __toESM(require("yargs"), 1);
28
+ var import_helpers = require("yargs/helpers");
29
+
30
+ // src/theme/animation.ts
31
+ var uiAnimation = {
32
+ "radix-accordion-down": "radix-accordion-down 0.2s ease-out",
33
+ "radix-accordion-up": "radix-accordion-up 0.2s ease-out",
34
+ "radix-collapsible-down": "radix-collapsible-down 0.2s ease-in-out",
35
+ "radix-collapsible-up": "radix-collapsible-up 0.2s ease-in-out",
36
+ // V2 aka reka animation
37
+ "reka-accordion-down": "reka-accordion-down 0.2s ease-out",
38
+ "reka-accordion-up": "reka-accordion-up 0.2s ease-out",
39
+ "reka-collapsible-down": "reka-collapsible-down 0.2s ease-in-out",
40
+ "reka-collapsible-up": "reka-collapsible-up 0.2s ease-in-out"
41
+ };
42
+ var uiKeyframes = {
43
+ "radix-accordion-down": {
44
+ from: { height: "0" },
45
+ to: { height: "var(--radix-accordion-content-height)" }
46
+ },
47
+ "radix-accordion-up": {
48
+ from: { height: "var(--radix-accordion-content-height)" },
49
+ to: { height: "0" }
50
+ },
51
+ "radix-collapsible-down": {
52
+ from: { height: "0" },
53
+ to: { height: "var(--radix-collapsible-content-height)" }
54
+ },
55
+ "radix-collapsible-up": {
56
+ from: { height: "var(--radix-collapsible-content-height)" },
57
+ to: { height: "0" }
58
+ },
59
+ // V2 aka reka animation
60
+ "reka-accordion-down": {
61
+ from: { height: "0" },
62
+ to: { height: "var(--reka-accordion-content-height)" }
63
+ },
64
+ "reka-accordion-up": {
65
+ from: { height: "var(--reka-accordion-content-height)" },
66
+ to: { height: "0" }
67
+ },
68
+ "reka-collapsible-down": {
69
+ from: { height: "0" },
70
+ to: { height: "var(--reka-collapsible-content-height)" }
71
+ },
72
+ "reka-collapsible-up": {
73
+ from: { height: "var(--reka-collapsible-content-height)" },
74
+ to: { height: "0" }
75
+ }
76
+ };
77
+ var animation = {
78
+ ...uiAnimation
79
+ };
80
+ var keyframes = {
81
+ ...uiKeyframes
82
+ };
29
83
 
30
84
  // src/theme/colors.ts
31
85
  var mainColors = {
@@ -186,6 +240,20 @@ var colors = {
186
240
  secondary: mainColors.pompelmo
187
241
  };
188
242
 
243
+ // src/theme/fontFamily.ts
244
+ var fontFamilySans = [
245
+ "ui-sans-serif",
246
+ "system-ui",
247
+ "sans-serif",
248
+ '"Apple Color Emoji"',
249
+ '"Segoe UI Emoji"',
250
+ '"Segoe UI Symbol"',
251
+ '"Noto Color Emoji"'
252
+ ];
253
+ var customFontFamily = {
254
+ sans: ["DM Sans", ...fontFamilySans]
255
+ };
256
+
189
257
  // src/util/font.ts
190
258
  var import_string_ts = require("string-ts");
191
259
 
@@ -218,6 +286,7 @@ var fontSizes = {
218
286
  "xs": ["0.75rem", "1rem"],
219
287
  "sm": ["0.875rem", "1.25rem"],
220
288
  "base": ["1rem", "1.5rem"],
289
+ "md": ["1.125rem", "1.5rem"],
221
290
  "lg": ["1.25rem", "1.625rem"],
222
291
  "display1": ["3.75rem", {
223
292
  fontWeight: 700,
@@ -267,52 +336,6 @@ var fontSizes = {
267
336
  };
268
337
  var unocssFontSizes = fontConfigKeysKebabCase(fontSizes);
269
338
 
270
- // src/theme/fontFamily.ts
271
- var fontFamilySans = [
272
- "ui-sans-serif",
273
- "system-ui",
274
- "sans-serif",
275
- '"Apple Color Emoji"',
276
- '"Segoe UI Emoji"',
277
- '"Segoe UI Symbol"',
278
- '"Noto Color Emoji"'
279
- ];
280
- var customFontFamily = {
281
- sans: ["DM Sans", ...fontFamilySans]
282
- };
283
-
284
- // src/theme/animation.ts
285
- var radixAnimation = {
286
- "radix-accordion-down": "radix-accordion-down 0.2s ease-out",
287
- "radix-accordion-up": "radix-accordion-up 0.2s ease-out",
288
- "radix-collapsible-down": "radix-collapsible-down 0.2s ease-in-out",
289
- "radix-collapsible-up": "radix-collapsible-up 0.2s ease-in-out"
290
- };
291
- var radixKeyframes = {
292
- "radix-accordion-down": {
293
- from: { height: "0" },
294
- to: { height: "var(--radix-accordion-content-height)" }
295
- },
296
- "radix-accordion-up": {
297
- from: { height: "var(--radix-accordion-content-height)" },
298
- to: { height: "0" }
299
- },
300
- "radix-collapsible-down": {
301
- from: { height: "0" },
302
- to: { height: "var(--radix-collapsible-content-height)" }
303
- },
304
- "radix-collapsible-up": {
305
- from: { height: "var(--radix-collapsible-content-height)" },
306
- to: { height: "0" }
307
- }
308
- };
309
- var animation = {
310
- ...radixAnimation
311
- };
312
- var keyframes = {
313
- ...radixKeyframes
314
- };
315
-
316
339
  // src/theme/screen.ts
317
340
  var screensNumber = {
318
341
  "sm": 640,
package/dist/cli/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-JF5QV6S4.js";
3
+ } from "../chunk-J5XGEDSE.js";
4
4
 
5
5
  // src/cli/index.ts
6
6
  import process from "process";
7
- import { hideBin } from "yargs/helpers";
8
7
  import yargs from "yargs";
8
+ import { hideBin } from "yargs/helpers";
9
9
 
10
10
  // src/cli/src/theme/color.ts
11
11
  var css = String.raw;
package/dist/index.cjs CHANGED
@@ -30,7 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var src_exports = {};
32
32
  __export(src_exports, {
33
- animation: () => animation,
33
+ animation: () => animation2,
34
34
  colors: () => colors,
35
35
  colorsNames: () => colorsNames,
36
36
  config: () => config,
@@ -46,6 +46,64 @@ __export(src_exports, {
46
46
  });
47
47
  module.exports = __toCommonJS(src_exports);
48
48
 
49
+ // src/plugins/index.ts
50
+ var import_tailwindcss_animate = __toESM(require("tailwindcss-animate"), 1);
51
+ var plugins = [import_tailwindcss_animate.default];
52
+
53
+ // src/theme/animation.ts
54
+ var uiAnimation = {
55
+ "radix-accordion-down": "radix-accordion-down 0.2s ease-out",
56
+ "radix-accordion-up": "radix-accordion-up 0.2s ease-out",
57
+ "radix-collapsible-down": "radix-collapsible-down 0.2s ease-in-out",
58
+ "radix-collapsible-up": "radix-collapsible-up 0.2s ease-in-out",
59
+ // V2 aka reka animation
60
+ "reka-accordion-down": "reka-accordion-down 0.2s ease-out",
61
+ "reka-accordion-up": "reka-accordion-up 0.2s ease-out",
62
+ "reka-collapsible-down": "reka-collapsible-down 0.2s ease-in-out",
63
+ "reka-collapsible-up": "reka-collapsible-up 0.2s ease-in-out"
64
+ };
65
+ var uiKeyframes = {
66
+ "radix-accordion-down": {
67
+ from: { height: "0" },
68
+ to: { height: "var(--radix-accordion-content-height)" }
69
+ },
70
+ "radix-accordion-up": {
71
+ from: { height: "var(--radix-accordion-content-height)" },
72
+ to: { height: "0" }
73
+ },
74
+ "radix-collapsible-down": {
75
+ from: { height: "0" },
76
+ to: { height: "var(--radix-collapsible-content-height)" }
77
+ },
78
+ "radix-collapsible-up": {
79
+ from: { height: "var(--radix-collapsible-content-height)" },
80
+ to: { height: "0" }
81
+ },
82
+ // V2 aka reka animation
83
+ "reka-accordion-down": {
84
+ from: { height: "0" },
85
+ to: { height: "var(--reka-accordion-content-height)" }
86
+ },
87
+ "reka-accordion-up": {
88
+ from: { height: "var(--reka-accordion-content-height)" },
89
+ to: { height: "0" }
90
+ },
91
+ "reka-collapsible-down": {
92
+ from: { height: "0" },
93
+ to: { height: "var(--reka-collapsible-content-height)" }
94
+ },
95
+ "reka-collapsible-up": {
96
+ from: { height: "var(--reka-collapsible-content-height)" },
97
+ to: { height: "0" }
98
+ }
99
+ };
100
+ var animation2 = {
101
+ ...uiAnimation
102
+ };
103
+ var keyframes = {
104
+ ...uiKeyframes
105
+ };
106
+
49
107
  // src/theme/colors.ts
50
108
  var mainColors = {
51
109
  inherit: "inherit",
@@ -205,6 +263,20 @@ var colors = {
205
263
  secondary: mainColors.pompelmo
206
264
  };
207
265
 
266
+ // src/theme/fontFamily.ts
267
+ var fontFamilySans = [
268
+ "ui-sans-serif",
269
+ "system-ui",
270
+ "sans-serif",
271
+ '"Apple Color Emoji"',
272
+ '"Segoe UI Emoji"',
273
+ '"Segoe UI Symbol"',
274
+ '"Noto Color Emoji"'
275
+ ];
276
+ var customFontFamily = {
277
+ sans: ["DM Sans", ...fontFamilySans]
278
+ };
279
+
208
280
  // src/util/font.ts
209
281
  var import_string_ts = require("string-ts");
210
282
 
@@ -237,6 +309,7 @@ var fontSizes = {
237
309
  "xs": ["0.75rem", "1rem"],
238
310
  "sm": ["0.875rem", "1.25rem"],
239
311
  "base": ["1rem", "1.5rem"],
312
+ "md": ["1.125rem", "1.5rem"],
240
313
  "lg": ["1.25rem", "1.625rem"],
241
314
  "display1": ["3.75rem", {
242
315
  fontWeight: 700,
@@ -286,62 +359,6 @@ var fontSizes = {
286
359
  };
287
360
  var unocssFontSizes = fontConfigKeysKebabCase(fontSizes);
288
361
 
289
- // src/theme/shadows.ts
290
- var shadows = {
291
- "elevation-0": "0 0 0 0 rgba(0, 0, 0, 0.10)",
292
- "elevation-1": "0 1px 2px 0 rgba(0, 0, 0, 0.10)",
293
- "elevation-2": "0 4px 8px 0 rgba(0, 0, 0, 0.10)",
294
- "elevation-3": "0 6px 12px 0 rgba(0, 0, 0, 0.10)",
295
- "elevation-4": "0 8px 16px 0 rgba(0, 0, 0, 0.10)",
296
- "elevation-5": "0 12px 24px 0 rgba(0, 0, 0, 0.10)"
297
- };
298
-
299
- // src/theme/fontFamily.ts
300
- var fontFamilySans = [
301
- "ui-sans-serif",
302
- "system-ui",
303
- "sans-serif",
304
- '"Apple Color Emoji"',
305
- '"Segoe UI Emoji"',
306
- '"Segoe UI Symbol"',
307
- '"Noto Color Emoji"'
308
- ];
309
- var customFontFamily = {
310
- sans: ["DM Sans", ...fontFamilySans]
311
- };
312
-
313
- // src/theme/animation.ts
314
- var radixAnimation = {
315
- "radix-accordion-down": "radix-accordion-down 0.2s ease-out",
316
- "radix-accordion-up": "radix-accordion-up 0.2s ease-out",
317
- "radix-collapsible-down": "radix-collapsible-down 0.2s ease-in-out",
318
- "radix-collapsible-up": "radix-collapsible-up 0.2s ease-in-out"
319
- };
320
- var radixKeyframes = {
321
- "radix-accordion-down": {
322
- from: { height: "0" },
323
- to: { height: "var(--radix-accordion-content-height)" }
324
- },
325
- "radix-accordion-up": {
326
- from: { height: "var(--radix-accordion-content-height)" },
327
- to: { height: "0" }
328
- },
329
- "radix-collapsible-down": {
330
- from: { height: "0" },
331
- to: { height: "var(--radix-collapsible-content-height)" }
332
- },
333
- "radix-collapsible-up": {
334
- from: { height: "var(--radix-collapsible-content-height)" },
335
- to: { height: "0" }
336
- }
337
- };
338
- var animation = {
339
- ...radixAnimation
340
- };
341
- var keyframes = {
342
- ...radixKeyframes
343
- };
344
-
345
362
  // src/theme/screen.ts
346
363
  var screensNumber = {
347
364
  "sm": 640,
@@ -364,13 +381,23 @@ var screens = {
364
381
  "desktop": `${screensNumber.desktop}px`
365
382
  };
366
383
 
384
+ // src/theme/shadows.ts
385
+ var shadows = {
386
+ "elevation-0": "0 0 0 0 rgba(0, 0, 0, 0.10)",
387
+ "elevation-1": "0 1px 2px 0 rgba(0, 0, 0, 0.10)",
388
+ "elevation-2": "0 4px 8px 0 rgba(0, 0, 0, 0.10)",
389
+ "elevation-3": "0 6px 12px 0 rgba(0, 0, 0, 0.10)",
390
+ "elevation-4": "0 8px 16px 0 rgba(0, 0, 0, 0.10)",
391
+ "elevation-5": "0 12px 24px 0 rgba(0, 0, 0, 0.10)"
392
+ };
393
+
367
394
  // src/theme/index.ts
368
395
  var theme = {
369
396
  colors,
370
397
  boxShadow: shadows,
371
398
  fontSize: fontSizes,
372
399
  fontFamily: customFontFamily,
373
- animation,
400
+ animation: animation2,
374
401
  keyframes,
375
402
  screens
376
403
  };
@@ -380,10 +407,6 @@ var unocssTheme = {
380
407
  fontSize: unocssFontSizes
381
408
  };
382
409
 
383
- // src/plugins/index.ts
384
- var import_tailwindcss_animate = __toESM(require("tailwindcss-animate"), 1);
385
- var plugins = [import_tailwindcss_animate.default];
386
-
387
410
  // src/constant/index.ts
388
411
  var colorsNames = [
389
412
  "primary",
package/dist/index.d.cts CHANGED
@@ -1,6 +1,85 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
2
  import { Config } from 'tailwindcss';
3
3
 
4
+ declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
5
+
6
+ declare const animation: {
7
+ 'radix-accordion-down': string;
8
+ 'radix-accordion-up': string;
9
+ 'radix-collapsible-down': string;
10
+ 'radix-collapsible-up': string;
11
+ 'reka-accordion-down': string;
12
+ 'reka-accordion-up': string;
13
+ 'reka-collapsible-down': string;
14
+ 'reka-collapsible-up': string;
15
+ };
16
+ declare const keyframes: {
17
+ 'radix-accordion-down': {
18
+ from: {
19
+ height: string;
20
+ };
21
+ to: {
22
+ height: string;
23
+ };
24
+ };
25
+ 'radix-accordion-up': {
26
+ from: {
27
+ height: string;
28
+ };
29
+ to: {
30
+ height: string;
31
+ };
32
+ };
33
+ 'radix-collapsible-down': {
34
+ from: {
35
+ height: string;
36
+ };
37
+ to: {
38
+ height: string;
39
+ };
40
+ };
41
+ 'radix-collapsible-up': {
42
+ from: {
43
+ height: string;
44
+ };
45
+ to: {
46
+ height: string;
47
+ };
48
+ };
49
+ 'reka-accordion-down': {
50
+ from: {
51
+ height: string;
52
+ };
53
+ to: {
54
+ height: string;
55
+ };
56
+ };
57
+ 'reka-accordion-up': {
58
+ from: {
59
+ height: string;
60
+ };
61
+ to: {
62
+ height: string;
63
+ };
64
+ };
65
+ 'reka-collapsible-down': {
66
+ from: {
67
+ height: string;
68
+ };
69
+ to: {
70
+ height: string;
71
+ };
72
+ };
73
+ 'reka-collapsible-up': {
74
+ from: {
75
+ height: string;
76
+ };
77
+ to: {
78
+ height: string;
79
+ };
80
+ };
81
+ };
82
+
4
83
  declare const colors: {
5
84
  primary: {
6
85
  DEFAULT: string;
@@ -182,6 +261,10 @@ declare const colors: {
182
261
  };
183
262
  };
184
263
 
264
+ declare const customFontFamily: {
265
+ sans: string[];
266
+ };
267
+
185
268
  /**
186
269
  * Converts the given string from camel-case to kebab-case.
187
270
  * @template T The string to convert the case.
@@ -217,7 +300,7 @@ type DetailFont = [
217
300
  type UnocssDetailFont = [FontValue, CamelToKebabKeys<FontSizeDetail>];
218
301
  type FontSize = FontAndLineHeight | FontValue | DetailFont;
219
302
  type UnocssFontSize = FontValue | FontAndLineHeight | UnocssDetailFont;
220
- type SizeKeys = `${number}xs` | 'xs' | 'sm' | 'base' | 'lg' | 'xl' | `${number}xl`;
303
+ type SizeKeys = `${number}xs` | 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | `${number}xl`;
221
304
  type HeadingKeys = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
222
305
  type DisplayKeys = 'display1' | 'display2' | 'display3' | 'display4';
223
306
  type FontSizeKeys = SizeKeys | HeadingKeys | DisplayKeys;
@@ -234,6 +317,7 @@ declare const fontSizes: {
234
317
  xs: ["0.75rem", "1rem"];
235
318
  sm: ["0.875rem", "1.25rem"];
236
319
  base: ["1rem", "1.5rem"];
320
+ md: ["1.125rem", "1.5rem"];
237
321
  lg: ["1.25rem", "1.625rem"];
238
322
  display1: ["3.75rem", {
239
323
  fontWeight: number;
@@ -282,60 +366,6 @@ declare const fontSizes: {
282
366
  }];
283
367
  };
284
368
 
285
- declare const shadows: {
286
- 'elevation-0': "0 0 0 0 rgba(0, 0, 0, 0.10)";
287
- 'elevation-1': "0 1px 2px 0 rgba(0, 0, 0, 0.10)";
288
- 'elevation-2': "0 4px 8px 0 rgba(0, 0, 0, 0.10)";
289
- 'elevation-3': "0 6px 12px 0 rgba(0, 0, 0, 0.10)";
290
- 'elevation-4': "0 8px 16px 0 rgba(0, 0, 0, 0.10)";
291
- 'elevation-5': "0 12px 24px 0 rgba(0, 0, 0, 0.10)";
292
- };
293
-
294
- declare const customFontFamily: {
295
- sans: string[];
296
- };
297
-
298
- declare const animation: {
299
- 'radix-accordion-down': string;
300
- 'radix-accordion-up': string;
301
- 'radix-collapsible-down': string;
302
- 'radix-collapsible-up': string;
303
- };
304
- declare const keyframes: {
305
- 'radix-accordion-down': {
306
- from: {
307
- height: string;
308
- };
309
- to: {
310
- height: string;
311
- };
312
- };
313
- 'radix-accordion-up': {
314
- from: {
315
- height: string;
316
- };
317
- to: {
318
- height: string;
319
- };
320
- };
321
- 'radix-collapsible-down': {
322
- from: {
323
- height: string;
324
- };
325
- to: {
326
- height: string;
327
- };
328
- };
329
- 'radix-collapsible-up': {
330
- from: {
331
- height: string;
332
- };
333
- to: {
334
- height: string;
335
- };
336
- };
337
- };
338
-
339
369
  declare const screensNumber: {
340
370
  sm: number;
341
371
  md: number;
@@ -357,6 +387,15 @@ declare const screens: {
357
387
  desktop: `${number}px`;
358
388
  };
359
389
 
390
+ declare const shadows: {
391
+ 'elevation-0': "0 0 0 0 rgba(0, 0, 0, 0.10)";
392
+ 'elevation-1': "0 1px 2px 0 rgba(0, 0, 0, 0.10)";
393
+ 'elevation-2': "0 4px 8px 0 rgba(0, 0, 0, 0.10)";
394
+ 'elevation-3': "0 6px 12px 0 rgba(0, 0, 0, 0.10)";
395
+ 'elevation-4': "0 8px 16px 0 rgba(0, 0, 0, 0.10)";
396
+ 'elevation-5': "0 12px 24px 0 rgba(0, 0, 0, 0.10)";
397
+ };
398
+
360
399
  declare const theme: Config['theme'];
361
400
  declare const unocssTheme: {
362
401
  colors: {
@@ -550,8 +589,6 @@ declare const unocssTheme: {
550
589
  fontSize: UnocssFontSizes;
551
590
  };
552
591
 
553
- declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
554
-
555
592
  type ColorsNames = typeof colorsNames[number];
556
593
  type ColorsVariations = 'DEFAULT' | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
557
594
  interface MainColors {
@@ -573,6 +610,13 @@ type Colors = DefaultColors & MainColors & Record<ColorsNames, {
573
610
  }>;
574
611
  type ColorString = `${ColorsNames}-${ColorsVariations}` | keyof DefaultColors | keyof MainColors;
575
612
 
613
+ declare const screenSizes: readonly ["sm", "md", "lg", "xl", "2xl", "tablet", "laptop", "desktop"];
614
+ type Screens = Record<typeof screenSizes[number], `${number}px`>;
615
+ type ExtractNumber<T extends string> = T extends `${infer N extends number}px` ? N : never;
616
+ type ScreensNumber = {
617
+ [K in keyof Screens]: ExtractNumber<Screens[K]>;
618
+ };
619
+
576
620
  type BorderSize = 0 | `${number}px`;
577
621
  type RgbValue = number;
578
622
  type Shadow = `${BorderSize} ${BorderSize} ${BorderSize} ${BorderSize} rgba(${RgbValue}, ${RgbValue}, ${RgbValue}, ${RgbValue})`;
@@ -581,13 +625,6 @@ type Shadows = {
581
625
  [K in ShadowSize as `elevation-${K}`]?: Shadow;
582
626
  };
583
627
 
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
-
591
628
  declare function config(extend?: boolean): Partial<Config>;
592
629
  declare const _default: Partial<tailwindcss_types_config.Config>;
593
630
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,85 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
2
  import { Config } from 'tailwindcss';
3
3
 
4
+ declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
5
+
6
+ declare const animation: {
7
+ 'radix-accordion-down': string;
8
+ 'radix-accordion-up': string;
9
+ 'radix-collapsible-down': string;
10
+ 'radix-collapsible-up': string;
11
+ 'reka-accordion-down': string;
12
+ 'reka-accordion-up': string;
13
+ 'reka-collapsible-down': string;
14
+ 'reka-collapsible-up': string;
15
+ };
16
+ declare const keyframes: {
17
+ 'radix-accordion-down': {
18
+ from: {
19
+ height: string;
20
+ };
21
+ to: {
22
+ height: string;
23
+ };
24
+ };
25
+ 'radix-accordion-up': {
26
+ from: {
27
+ height: string;
28
+ };
29
+ to: {
30
+ height: string;
31
+ };
32
+ };
33
+ 'radix-collapsible-down': {
34
+ from: {
35
+ height: string;
36
+ };
37
+ to: {
38
+ height: string;
39
+ };
40
+ };
41
+ 'radix-collapsible-up': {
42
+ from: {
43
+ height: string;
44
+ };
45
+ to: {
46
+ height: string;
47
+ };
48
+ };
49
+ 'reka-accordion-down': {
50
+ from: {
51
+ height: string;
52
+ };
53
+ to: {
54
+ height: string;
55
+ };
56
+ };
57
+ 'reka-accordion-up': {
58
+ from: {
59
+ height: string;
60
+ };
61
+ to: {
62
+ height: string;
63
+ };
64
+ };
65
+ 'reka-collapsible-down': {
66
+ from: {
67
+ height: string;
68
+ };
69
+ to: {
70
+ height: string;
71
+ };
72
+ };
73
+ 'reka-collapsible-up': {
74
+ from: {
75
+ height: string;
76
+ };
77
+ to: {
78
+ height: string;
79
+ };
80
+ };
81
+ };
82
+
4
83
  declare const colors: {
5
84
  primary: {
6
85
  DEFAULT: string;
@@ -182,6 +261,10 @@ declare const colors: {
182
261
  };
183
262
  };
184
263
 
264
+ declare const customFontFamily: {
265
+ sans: string[];
266
+ };
267
+
185
268
  /**
186
269
  * Converts the given string from camel-case to kebab-case.
187
270
  * @template T The string to convert the case.
@@ -217,7 +300,7 @@ type DetailFont = [
217
300
  type UnocssDetailFont = [FontValue, CamelToKebabKeys<FontSizeDetail>];
218
301
  type FontSize = FontAndLineHeight | FontValue | DetailFont;
219
302
  type UnocssFontSize = FontValue | FontAndLineHeight | UnocssDetailFont;
220
- type SizeKeys = `${number}xs` | 'xs' | 'sm' | 'base' | 'lg' | 'xl' | `${number}xl`;
303
+ type SizeKeys = `${number}xs` | 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | `${number}xl`;
221
304
  type HeadingKeys = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
222
305
  type DisplayKeys = 'display1' | 'display2' | 'display3' | 'display4';
223
306
  type FontSizeKeys = SizeKeys | HeadingKeys | DisplayKeys;
@@ -234,6 +317,7 @@ declare const fontSizes: {
234
317
  xs: ["0.75rem", "1rem"];
235
318
  sm: ["0.875rem", "1.25rem"];
236
319
  base: ["1rem", "1.5rem"];
320
+ md: ["1.125rem", "1.5rem"];
237
321
  lg: ["1.25rem", "1.625rem"];
238
322
  display1: ["3.75rem", {
239
323
  fontWeight: number;
@@ -282,60 +366,6 @@ declare const fontSizes: {
282
366
  }];
283
367
  };
284
368
 
285
- declare const shadows: {
286
- 'elevation-0': "0 0 0 0 rgba(0, 0, 0, 0.10)";
287
- 'elevation-1': "0 1px 2px 0 rgba(0, 0, 0, 0.10)";
288
- 'elevation-2': "0 4px 8px 0 rgba(0, 0, 0, 0.10)";
289
- 'elevation-3': "0 6px 12px 0 rgba(0, 0, 0, 0.10)";
290
- 'elevation-4': "0 8px 16px 0 rgba(0, 0, 0, 0.10)";
291
- 'elevation-5': "0 12px 24px 0 rgba(0, 0, 0, 0.10)";
292
- };
293
-
294
- declare const customFontFamily: {
295
- sans: string[];
296
- };
297
-
298
- declare const animation: {
299
- 'radix-accordion-down': string;
300
- 'radix-accordion-up': string;
301
- 'radix-collapsible-down': string;
302
- 'radix-collapsible-up': string;
303
- };
304
- declare const keyframes: {
305
- 'radix-accordion-down': {
306
- from: {
307
- height: string;
308
- };
309
- to: {
310
- height: string;
311
- };
312
- };
313
- 'radix-accordion-up': {
314
- from: {
315
- height: string;
316
- };
317
- to: {
318
- height: string;
319
- };
320
- };
321
- 'radix-collapsible-down': {
322
- from: {
323
- height: string;
324
- };
325
- to: {
326
- height: string;
327
- };
328
- };
329
- 'radix-collapsible-up': {
330
- from: {
331
- height: string;
332
- };
333
- to: {
334
- height: string;
335
- };
336
- };
337
- };
338
-
339
369
  declare const screensNumber: {
340
370
  sm: number;
341
371
  md: number;
@@ -357,6 +387,15 @@ declare const screens: {
357
387
  desktop: `${number}px`;
358
388
  };
359
389
 
390
+ declare const shadows: {
391
+ 'elevation-0': "0 0 0 0 rgba(0, 0, 0, 0.10)";
392
+ 'elevation-1': "0 1px 2px 0 rgba(0, 0, 0, 0.10)";
393
+ 'elevation-2': "0 4px 8px 0 rgba(0, 0, 0, 0.10)";
394
+ 'elevation-3': "0 6px 12px 0 rgba(0, 0, 0, 0.10)";
395
+ 'elevation-4': "0 8px 16px 0 rgba(0, 0, 0, 0.10)";
396
+ 'elevation-5': "0 12px 24px 0 rgba(0, 0, 0, 0.10)";
397
+ };
398
+
360
399
  declare const theme: Config['theme'];
361
400
  declare const unocssTheme: {
362
401
  colors: {
@@ -550,8 +589,6 @@ declare const unocssTheme: {
550
589
  fontSize: UnocssFontSizes;
551
590
  };
552
591
 
553
- declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
554
-
555
592
  type ColorsNames = typeof colorsNames[number];
556
593
  type ColorsVariations = 'DEFAULT' | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
557
594
  interface MainColors {
@@ -573,6 +610,13 @@ type Colors = DefaultColors & MainColors & Record<ColorsNames, {
573
610
  }>;
574
611
  type ColorString = `${ColorsNames}-${ColorsVariations}` | keyof DefaultColors | keyof MainColors;
575
612
 
613
+ declare const screenSizes: readonly ["sm", "md", "lg", "xl", "2xl", "tablet", "laptop", "desktop"];
614
+ type Screens = Record<typeof screenSizes[number], `${number}px`>;
615
+ type ExtractNumber<T extends string> = T extends `${infer N extends number}px` ? N : never;
616
+ type ScreensNumber = {
617
+ [K in keyof Screens]: ExtractNumber<Screens[K]>;
618
+ };
619
+
576
620
  type BorderSize = 0 | `${number}px`;
577
621
  type RgbValue = number;
578
622
  type Shadow = `${BorderSize} ${BorderSize} ${BorderSize} ${BorderSize} rgba(${RgbValue}, ${RgbValue}, ${RgbValue}, ${RgbValue})`;
@@ -581,13 +625,6 @@ type Shadows = {
581
625
  [K in ShadowSize as `elevation-${K}`]?: Shadow;
582
626
  };
583
627
 
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
-
591
628
  declare function config(extend?: boolean): Partial<Config>;
592
629
  declare const _default: Partial<tailwindcss_types_config.Config>;
593
630
 
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  shadows,
10
10
  theme,
11
11
  unocssTheme
12
- } from "./chunk-JF5QV6S4.js";
12
+ } from "./chunk-J5XGEDSE.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.9",
4
+ "version": "0.1.10",
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.4.0",
35
- "@commitlint/config-conventional": "^19.2.2",
36
- "@removify/eslint-config": "^1.4.3",
37
- "@types/node": "^22.3.0",
34
+ "@commitlint/cli": "^19.5.0",
35
+ "@commitlint/config-conventional": "^19.5.0",
36
+ "@removify/eslint-config": "^1.5.4",
37
+ "@types/node": "^22.5.4",
38
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",
39
+ "bumpp": "^9.5.2",
40
+ "eslint": "^9.10.0",
41
+ "husky": "^9.1.6",
42
+ "lint-staged": "^15.2.10",
43
43
  "rimraf": "^6.0.1",
44
44
  "tailwind-config-viewer": "^2.0.4",
45
- "tailwindcss": "^3.4.10",
45
+ "tailwindcss": "^3.4.11",
46
46
  "tsup": "^8.2.4",
47
- "tsx": "^4.17.0",
48
- "typescript": "^5.5.4",
47
+ "tsx": "^4.19.0",
48
+ "typescript": "^5.6.2",
49
49
  "vitest": "^2.0.5",
50
- "@removify/tailwind-preset": "0.1.9"
50
+ "@removify/tailwind-preset": "0.1.10"
51
51
  },
52
52
  "lint-staged": {
53
53
  "**/*.{js,ts,vue,html}": [
package/readme.md CHANGED
@@ -23,6 +23,7 @@ npx @removify/tailwind-preset > src/style.css
23
23
  ```ts
24
24
  // tailwind.config.{t,j}s
25
25
  import removify from '@removify/tailwind-preset';
26
+
26
27
  import type { Config } from 'tailwindcss';
27
28
 
28
29
  export default {