@removify/tailwind-preset 0.2.9 → 0.2.11
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-Y7GWGRSA.js} +8 -0
- package/dist/cli/index.cjs +8 -0
- package/dist/cli/index.js +2 -2
- package/dist/index.cjs +8 -0
- package/dist/index.d.cts +20 -3
- package/dist/index.d.ts +20 -3
- package/dist/index.js +1 -1
- package/package.json +15 -14
|
@@ -203,6 +203,14 @@ var mainColors = {
|
|
|
203
203
|
800: "#AD271E",
|
|
204
204
|
900: "#8D2019",
|
|
205
205
|
950: "#641711"
|
|
206
|
+
},
|
|
207
|
+
rating: {
|
|
208
|
+
"high": "#15A46E",
|
|
209
|
+
"medium": "#EC5818",
|
|
210
|
+
"low": "#EA3529",
|
|
211
|
+
"high-star": "#86C1A3",
|
|
212
|
+
"medium-star": "#FCD288",
|
|
213
|
+
"low-star": "#F08C8A"
|
|
206
214
|
}
|
|
207
215
|
};
|
|
208
216
|
var colors = {
|
package/dist/cli/index.cjs
CHANGED
|
@@ -178,6 +178,14 @@ var mainColors = {
|
|
|
178
178
|
800: "#AD271E",
|
|
179
179
|
900: "#8D2019",
|
|
180
180
|
950: "#641711"
|
|
181
|
+
},
|
|
182
|
+
rating: {
|
|
183
|
+
"high": "#15A46E",
|
|
184
|
+
"medium": "#EC5818",
|
|
185
|
+
"low": "#EA3529",
|
|
186
|
+
"high-star": "#86C1A3",
|
|
187
|
+
"medium-star": "#FCD288",
|
|
188
|
+
"low-star": "#F08C8A"
|
|
181
189
|
}
|
|
182
190
|
};
|
|
183
191
|
var colors = {
|
package/dist/cli/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -259,6 +259,14 @@ var mainColors = {
|
|
|
259
259
|
800: "#AD271E",
|
|
260
260
|
900: "#8D2019",
|
|
261
261
|
950: "#641711"
|
|
262
|
+
},
|
|
263
|
+
rating: {
|
|
264
|
+
"high": "#15A46E",
|
|
265
|
+
"medium": "#EC5818",
|
|
266
|
+
"low": "#EA3529",
|
|
267
|
+
"high-star": "#86C1A3",
|
|
268
|
+
"medium-star": "#FCD288",
|
|
269
|
+
"low-star": "#F08C8A"
|
|
262
270
|
}
|
|
263
271
|
};
|
|
264
272
|
var colors = {
|
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'}${'' | '-star'}`;
|
|
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,14 @@ 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
|
+
'high-star': string;
|
|
360
|
+
'medium-star': string;
|
|
361
|
+
'low-star': string;
|
|
362
|
+
};
|
|
354
363
|
};
|
|
355
364
|
|
|
356
365
|
declare const customFontFamily: {
|
|
@@ -630,6 +639,14 @@ declare const unocssTheme: {
|
|
|
630
639
|
900: string;
|
|
631
640
|
950: string;
|
|
632
641
|
};
|
|
642
|
+
rating: {
|
|
643
|
+
high: string;
|
|
644
|
+
medium: string;
|
|
645
|
+
low: string;
|
|
646
|
+
'high-star': string;
|
|
647
|
+
'medium-star': string;
|
|
648
|
+
'low-star': string;
|
|
649
|
+
};
|
|
633
650
|
};
|
|
634
651
|
boxShadow: {
|
|
635
652
|
'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'}${'' | '-star'}`;
|
|
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,14 @@ 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
|
+
'high-star': string;
|
|
360
|
+
'medium-star': string;
|
|
361
|
+
'low-star': string;
|
|
362
|
+
};
|
|
354
363
|
};
|
|
355
364
|
|
|
356
365
|
declare const customFontFamily: {
|
|
@@ -630,6 +639,14 @@ declare const unocssTheme: {
|
|
|
630
639
|
900: string;
|
|
631
640
|
950: string;
|
|
632
641
|
};
|
|
642
|
+
rating: {
|
|
643
|
+
high: string;
|
|
644
|
+
medium: string;
|
|
645
|
+
low: string;
|
|
646
|
+
'high-star': string;
|
|
647
|
+
'medium-star': string;
|
|
648
|
+
'low-star': string;
|
|
649
|
+
};
|
|
633
650
|
};
|
|
634
651
|
boxShadow: {
|
|
635
652
|
'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.11",
|
|
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.11"
|
|
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",
|