@removify/tailwind-preset 0.2.9 → 0.2.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.
- package/dist/{chunk-2EJHJW3A.js → chunk-ZH7BDNIX.js} +5 -0
- package/dist/cli/index.cjs +5 -0
- package/dist/cli/index.js +2 -2
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +14 -3
- package/dist/index.d.ts +14 -3
- package/dist/index.js +1 -1
- package/package.json +15 -14
package/dist/cli/index.cjs
CHANGED
package/dist/cli/index.js
CHANGED
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -3,6 +3,7 @@ import { Config } from 'tailwindcss';
|
|
|
3
3
|
declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
|
|
4
4
|
|
|
5
5
|
type ColorsNames = typeof colorsNames[number];
|
|
6
|
+
type RatingVariations = 'low' | 'high' | 'medium';
|
|
6
7
|
type ColorsVariations = 'DEFAULT' | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
|
|
7
8
|
interface MainColors {
|
|
8
9
|
black: string;
|
|
@@ -18,9 +19,9 @@ interface DefaultColors {
|
|
|
18
19
|
info: string;
|
|
19
20
|
special: string;
|
|
20
21
|
}
|
|
21
|
-
type Colors = DefaultColors & MainColors & Record<ColorsNames, {
|
|
22
|
-
|
|
23
|
-
}
|
|
22
|
+
type Colors = DefaultColors & MainColors & Record<ColorsNames, Record<ColorsVariations, string>> & {
|
|
23
|
+
rating: Record<RatingVariations, string>;
|
|
24
|
+
};
|
|
24
25
|
type ColorString = `${ColorsNames}-${ColorsVariations}` | keyof DefaultColors | keyof MainColors;
|
|
25
26
|
|
|
26
27
|
declare const configuredThemes: readonly ["colors", "boxShadow", "fontSize", "fontFamily", "animation", "keyframes", "screens"];
|
|
@@ -351,6 +352,11 @@ declare const colors: {
|
|
|
351
352
|
900: string;
|
|
352
353
|
950: string;
|
|
353
354
|
};
|
|
355
|
+
rating: {
|
|
356
|
+
high: string;
|
|
357
|
+
medium: string;
|
|
358
|
+
low: string;
|
|
359
|
+
};
|
|
354
360
|
};
|
|
355
361
|
|
|
356
362
|
declare const customFontFamily: {
|
|
@@ -630,6 +636,11 @@ declare const unocssTheme: {
|
|
|
630
636
|
900: string;
|
|
631
637
|
950: string;
|
|
632
638
|
};
|
|
639
|
+
rating: {
|
|
640
|
+
high: string;
|
|
641
|
+
medium: string;
|
|
642
|
+
low: string;
|
|
643
|
+
};
|
|
633
644
|
};
|
|
634
645
|
boxShadow: {
|
|
635
646
|
'elevation-0': "0 0 0 0 rgba(0, 0, 0, 0.10)";
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Config } from 'tailwindcss';
|
|
|
3
3
|
declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
|
|
4
4
|
|
|
5
5
|
type ColorsNames = typeof colorsNames[number];
|
|
6
|
+
type RatingVariations = 'low' | 'high' | 'medium';
|
|
6
7
|
type ColorsVariations = 'DEFAULT' | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
|
|
7
8
|
interface MainColors {
|
|
8
9
|
black: string;
|
|
@@ -18,9 +19,9 @@ interface DefaultColors {
|
|
|
18
19
|
info: string;
|
|
19
20
|
special: string;
|
|
20
21
|
}
|
|
21
|
-
type Colors = DefaultColors & MainColors & Record<ColorsNames, {
|
|
22
|
-
|
|
23
|
-
}
|
|
22
|
+
type Colors = DefaultColors & MainColors & Record<ColorsNames, Record<ColorsVariations, string>> & {
|
|
23
|
+
rating: Record<RatingVariations, string>;
|
|
24
|
+
};
|
|
24
25
|
type ColorString = `${ColorsNames}-${ColorsVariations}` | keyof DefaultColors | keyof MainColors;
|
|
25
26
|
|
|
26
27
|
declare const configuredThemes: readonly ["colors", "boxShadow", "fontSize", "fontFamily", "animation", "keyframes", "screens"];
|
|
@@ -351,6 +352,11 @@ declare const colors: {
|
|
|
351
352
|
900: string;
|
|
352
353
|
950: string;
|
|
353
354
|
};
|
|
355
|
+
rating: {
|
|
356
|
+
high: string;
|
|
357
|
+
medium: string;
|
|
358
|
+
low: string;
|
|
359
|
+
};
|
|
354
360
|
};
|
|
355
361
|
|
|
356
362
|
declare const customFontFamily: {
|
|
@@ -630,6 +636,11 @@ declare const unocssTheme: {
|
|
|
630
636
|
900: string;
|
|
631
637
|
950: string;
|
|
632
638
|
};
|
|
639
|
+
rating: {
|
|
640
|
+
high: string;
|
|
641
|
+
medium: string;
|
|
642
|
+
low: string;
|
|
643
|
+
};
|
|
633
644
|
};
|
|
634
645
|
boxShadow: {
|
|
635
646
|
'elevation-0': "0 0 0 0 rgba(0, 0, 0, 0.10)";
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@removify/tailwind-preset",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.10",
|
|
5
5
|
"description": "Tailwind CSS preset for Removify",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tailwind"
|
|
@@ -27,28 +27,28 @@
|
|
|
27
27
|
"tailwindcss": "^3.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"string-ts": "^2.2.
|
|
30
|
+
"string-ts": "^2.2.1",
|
|
31
31
|
"tailwindcss-animate": "^1.0.7",
|
|
32
32
|
"yargs": "17.7.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@commitlint/cli": "^19.
|
|
36
|
-
"@commitlint/config-conventional": "^19.
|
|
37
|
-
"@removify/eslint-config": "^1.
|
|
38
|
-
"@types/node": "^22.
|
|
35
|
+
"@commitlint/cli": "^19.8.1",
|
|
36
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
37
|
+
"@removify/eslint-config": "^3.1.2",
|
|
38
|
+
"@types/node": "^22.16.5",
|
|
39
39
|
"@types/yargs": "^17.0.33",
|
|
40
|
-
"bumpp": "^
|
|
41
|
-
"eslint": "^9.
|
|
40
|
+
"bumpp": "^10.2.0",
|
|
41
|
+
"eslint": "^9.31.0",
|
|
42
42
|
"husky": "^9.1.7",
|
|
43
|
-
"lint-staged": "^
|
|
43
|
+
"lint-staged": "^16.1.2",
|
|
44
44
|
"rimraf": "^6.0.1",
|
|
45
45
|
"tailwind-config-viewer": "^2.0.4",
|
|
46
46
|
"tailwindcss": "^3.4.17",
|
|
47
|
-
"tsup": "^8.
|
|
48
|
-
"tsx": "^4.
|
|
49
|
-
"typescript": "^5.
|
|
50
|
-
"vitest": "^2.
|
|
51
|
-
"@removify/tailwind-preset": "0.2.
|
|
47
|
+
"tsup": "^8.5.0",
|
|
48
|
+
"tsx": "^4.20.3",
|
|
49
|
+
"typescript": "^5.8.3",
|
|
50
|
+
"vitest": "^3.2.4",
|
|
51
|
+
"@removify/tailwind-preset": "0.2.10"
|
|
52
52
|
},
|
|
53
53
|
"lint-staged": {
|
|
54
54
|
"**/*.{js,ts,vue,html}": [
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"scripts": {
|
|
59
59
|
"start": "tsx ./src/index.ts",
|
|
60
60
|
"build": "rimraf dist && tsup src/index.ts src/cli/index.ts --format esm,cjs --clean --dts",
|
|
61
|
+
"typecheck": "tsc --noEmit",
|
|
61
62
|
"watch": "tsup --format esm,cjs --watch",
|
|
62
63
|
"dev": "tsx watch ./src/index.ts",
|
|
63
64
|
"dev:cli": "tsx watch ./src/cli/index.ts",
|