@removify/tailwind-preset 0.2.7 → 0.2.8

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.cjs CHANGED
@@ -36,7 +36,6 @@ __export(index_exports, {
36
36
  buildTheme: () => buildTheme,
37
37
  colors: () => colors,
38
38
  colorsNames: () => colorsNames,
39
- default: () => index_default,
40
39
  defaultTheme: () => defaultTheme,
41
40
  factory: () => factory,
42
41
  fontFamily: () => customFontFamily,
@@ -506,8 +505,6 @@ function buildPreset(extend = true, buildOptions = {}) {
506
505
  plugins
507
506
  };
508
507
  }
509
- var preset = buildPreset();
510
- var index_default = preset;
511
508
  // Annotate the CommonJS export names for ESM import in node:
512
509
  0 && (module.exports = {
513
510
  animation,
package/dist/index.d.cts CHANGED
@@ -1,4 +1,3 @@
1
- import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
1
  import { Config } from 'tailwindcss';
3
2
 
4
3
  declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
@@ -96,6 +95,60 @@ type Shadows = {
96
95
  [K in ShadowSize as `elevation-${K}`]?: Shadow;
97
96
  };
98
97
 
98
+ declare const fontSize: {
99
+ '2xs': ["0.6875rem", "1rem"];
100
+ xs: ["0.75rem", "1rem"];
101
+ sm: ["0.875rem", "1.25rem"];
102
+ base: ["1rem", "1.5rem"];
103
+ md: ["1.125rem", "1.5rem"];
104
+ lg: ["1.25rem", "1.625rem"];
105
+ display1: ["3.75rem", {
106
+ fontWeight: number;
107
+ lineHeight: string;
108
+ letterSpacing: string;
109
+ }];
110
+ display2: ["3.25rem", {
111
+ fontWeight: number;
112
+ lineHeight: string;
113
+ letterSpacing: string;
114
+ }];
115
+ display3: ["2.75rem", {
116
+ fontWeight: number;
117
+ lineHeight: string;
118
+ letterSpacing: string;
119
+ }];
120
+ h1: ["3rem", {
121
+ fontWeight: number;
122
+ lineHeight: string;
123
+ letterSpacing: string;
124
+ }];
125
+ h2: ["2.5rem", {
126
+ fontWeight: number;
127
+ lineHeight: string;
128
+ letterSpacing: string;
129
+ }];
130
+ h3: ["2.25rem", {
131
+ fontWeight: number;
132
+ lineHeight: string;
133
+ letterSpacing: string;
134
+ }];
135
+ h4: ["2rem", {
136
+ fontWeight: number;
137
+ lineHeight: string;
138
+ letterSpacing: string;
139
+ }];
140
+ h5: ["1.5rem", {
141
+ fontWeight: number;
142
+ lineHeight: string;
143
+ letterSpacing: string;
144
+ }];
145
+ h6: ["1.25rem", {
146
+ fontWeight: number;
147
+ lineHeight: string;
148
+ letterSpacing: string;
149
+ }];
150
+ };
151
+
99
152
  declare const animation: {
100
153
  'radix-accordion-down': string;
101
154
  'radix-accordion-up': string;
@@ -358,60 +411,6 @@ declare const customFontFamily: {
358
411
  sans: string[];
359
412
  };
360
413
 
361
- declare const fontSize: {
362
- '2xs': ["0.6875rem", "1rem"];
363
- xs: ["0.75rem", "1rem"];
364
- sm: ["0.875rem", "1.25rem"];
365
- base: ["1rem", "1.5rem"];
366
- md: ["1.125rem", "1.5rem"];
367
- lg: ["1.25rem", "1.625rem"];
368
- display1: ["3.75rem", {
369
- fontWeight: number;
370
- lineHeight: string;
371
- letterSpacing: string;
372
- }];
373
- display2: ["3.25rem", {
374
- fontWeight: number;
375
- lineHeight: string;
376
- letterSpacing: string;
377
- }];
378
- display3: ["2.75rem", {
379
- fontWeight: number;
380
- lineHeight: string;
381
- letterSpacing: string;
382
- }];
383
- h1: ["3rem", {
384
- fontWeight: number;
385
- lineHeight: string;
386
- letterSpacing: string;
387
- }];
388
- h2: ["2.5rem", {
389
- fontWeight: number;
390
- lineHeight: string;
391
- letterSpacing: string;
392
- }];
393
- h3: ["2.25rem", {
394
- fontWeight: number;
395
- lineHeight: string;
396
- letterSpacing: string;
397
- }];
398
- h4: ["2rem", {
399
- fontWeight: number;
400
- lineHeight: string;
401
- letterSpacing: string;
402
- }];
403
- h5: ["1.5rem", {
404
- fontWeight: number;
405
- lineHeight: string;
406
- letterSpacing: string;
407
- }];
408
- h6: ["1.25rem", {
409
- fontWeight: number;
410
- lineHeight: string;
411
- letterSpacing: string;
412
- }];
413
- };
414
-
415
414
  declare const screensNumber: {
416
415
  xs: number;
417
416
  sm: number;
@@ -644,6 +643,5 @@ declare const unocssTheme: {
644
643
  };
645
644
 
646
645
  declare function buildPreset(extend?: boolean, buildOptions?: BuildThemeOptions): Partial<Config>;
647
- declare const preset: Partial<tailwindcss_types_config.Config>;
648
646
 
649
- export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, preset as default, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
647
+ export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
1
  import { Config } from 'tailwindcss';
3
2
 
4
3
  declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
@@ -96,6 +95,60 @@ type Shadows = {
96
95
  [K in ShadowSize as `elevation-${K}`]?: Shadow;
97
96
  };
98
97
 
98
+ declare const fontSize: {
99
+ '2xs': ["0.6875rem", "1rem"];
100
+ xs: ["0.75rem", "1rem"];
101
+ sm: ["0.875rem", "1.25rem"];
102
+ base: ["1rem", "1.5rem"];
103
+ md: ["1.125rem", "1.5rem"];
104
+ lg: ["1.25rem", "1.625rem"];
105
+ display1: ["3.75rem", {
106
+ fontWeight: number;
107
+ lineHeight: string;
108
+ letterSpacing: string;
109
+ }];
110
+ display2: ["3.25rem", {
111
+ fontWeight: number;
112
+ lineHeight: string;
113
+ letterSpacing: string;
114
+ }];
115
+ display3: ["2.75rem", {
116
+ fontWeight: number;
117
+ lineHeight: string;
118
+ letterSpacing: string;
119
+ }];
120
+ h1: ["3rem", {
121
+ fontWeight: number;
122
+ lineHeight: string;
123
+ letterSpacing: string;
124
+ }];
125
+ h2: ["2.5rem", {
126
+ fontWeight: number;
127
+ lineHeight: string;
128
+ letterSpacing: string;
129
+ }];
130
+ h3: ["2.25rem", {
131
+ fontWeight: number;
132
+ lineHeight: string;
133
+ letterSpacing: string;
134
+ }];
135
+ h4: ["2rem", {
136
+ fontWeight: number;
137
+ lineHeight: string;
138
+ letterSpacing: string;
139
+ }];
140
+ h5: ["1.5rem", {
141
+ fontWeight: number;
142
+ lineHeight: string;
143
+ letterSpacing: string;
144
+ }];
145
+ h6: ["1.25rem", {
146
+ fontWeight: number;
147
+ lineHeight: string;
148
+ letterSpacing: string;
149
+ }];
150
+ };
151
+
99
152
  declare const animation: {
100
153
  'radix-accordion-down': string;
101
154
  'radix-accordion-up': string;
@@ -358,60 +411,6 @@ declare const customFontFamily: {
358
411
  sans: string[];
359
412
  };
360
413
 
361
- declare const fontSize: {
362
- '2xs': ["0.6875rem", "1rem"];
363
- xs: ["0.75rem", "1rem"];
364
- sm: ["0.875rem", "1.25rem"];
365
- base: ["1rem", "1.5rem"];
366
- md: ["1.125rem", "1.5rem"];
367
- lg: ["1.25rem", "1.625rem"];
368
- display1: ["3.75rem", {
369
- fontWeight: number;
370
- lineHeight: string;
371
- letterSpacing: string;
372
- }];
373
- display2: ["3.25rem", {
374
- fontWeight: number;
375
- lineHeight: string;
376
- letterSpacing: string;
377
- }];
378
- display3: ["2.75rem", {
379
- fontWeight: number;
380
- lineHeight: string;
381
- letterSpacing: string;
382
- }];
383
- h1: ["3rem", {
384
- fontWeight: number;
385
- lineHeight: string;
386
- letterSpacing: string;
387
- }];
388
- h2: ["2.5rem", {
389
- fontWeight: number;
390
- lineHeight: string;
391
- letterSpacing: string;
392
- }];
393
- h3: ["2.25rem", {
394
- fontWeight: number;
395
- lineHeight: string;
396
- letterSpacing: string;
397
- }];
398
- h4: ["2rem", {
399
- fontWeight: number;
400
- lineHeight: string;
401
- letterSpacing: string;
402
- }];
403
- h5: ["1.5rem", {
404
- fontWeight: number;
405
- lineHeight: string;
406
- letterSpacing: string;
407
- }];
408
- h6: ["1.25rem", {
409
- fontWeight: number;
410
- lineHeight: string;
411
- letterSpacing: string;
412
- }];
413
- };
414
-
415
414
  declare const screensNumber: {
416
415
  xs: number;
417
416
  sm: number;
@@ -644,6 +643,5 @@ declare const unocssTheme: {
644
643
  };
645
644
 
646
645
  declare function buildPreset(extend?: boolean, buildOptions?: BuildThemeOptions): Partial<Config>;
647
- declare const preset: Partial<tailwindcss_types_config.Config>;
648
646
 
649
- export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, preset as default, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
647
+ export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
package/dist/index.js CHANGED
@@ -48,8 +48,6 @@ function buildPreset(extend = true, buildOptions = {}) {
48
48
  plugins
49
49
  };
50
50
  }
51
- var preset = buildPreset();
52
- var index_default = preset;
53
51
  export {
54
52
  animation,
55
53
  boxShadow,
@@ -57,7 +55,6 @@ export {
57
55
  buildTheme,
58
56
  colors,
59
57
  colorsNames,
60
- index_default as default,
61
58
  defaultTheme,
62
59
  factory,
63
60
  customFontFamily as fontFamily,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@removify/tailwind-preset",
3
3
  "type": "module",
4
- "version": "0.2.7",
4
+ "version": "0.2.8",
5
5
  "description": "Tailwind CSS preset for Removify",
6
6
  "keywords": [
7
7
  "tailwind"
@@ -48,7 +48,7 @@
48
48
  "tsx": "^4.19.2",
49
49
  "typescript": "^5.7.2",
50
50
  "vitest": "^2.1.8",
51
- "@removify/tailwind-preset": "0.2.7"
51
+ "@removify/tailwind-preset": "0.2.8"
52
52
  },
53
53
  "lint-staged": {
54
54
  "**/*.{js,ts,vue,html}": [