@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.
@@ -203,6 +203,11 @@ 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: "#8D2019"
206
211
  }
207
212
  };
208
213
  var colors = {
@@ -178,6 +178,11 @@ 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: "#8D2019"
181
186
  }
182
187
  };
183
188
  var colors = {
package/dist/cli/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-2EJHJW3A.js";
3
+ } from "../chunk-ZH7BDNIX.js";
4
4
 
5
5
  // src/cli/index.ts
6
- import process from "node:process";
6
+ import process from "process";
7
7
  import yargs from "yargs";
8
8
  import { hideBin } from "yargs/helpers";
9
9
 
package/dist/index.cjs CHANGED
@@ -259,6 +259,11 @@ 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: "#8D2019"
262
267
  }
263
268
  };
264
269
  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';
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
- [K in ColorsVariations]: string;
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
- [K in ColorsVariations]: string;
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
@@ -12,7 +12,7 @@ import {
12
12
  screens,
13
13
  screensNumber,
14
14
  unocssTheme
15
- } from "./chunk-2EJHJW3A.js";
15
+ } from "./chunk-ZH7BDNIX.js";
16
16
 
17
17
  // src/plugins/index.ts
18
18
  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.2.9",
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.0",
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.6.1",
36
- "@commitlint/config-conventional": "^19.6.0",
37
- "@removify/eslint-config": "^1.9.3",
38
- "@types/node": "^22.10.3",
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": "^9.9.2",
41
- "eslint": "^9.17.0",
40
+ "bumpp": "^10.2.0",
41
+ "eslint": "^9.31.0",
42
42
  "husky": "^9.1.7",
43
- "lint-staged": "^15.3.0",
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.3.5",
48
- "tsx": "^4.19.2",
49
- "typescript": "^5.7.2",
50
- "vitest": "^2.1.8",
51
- "@removify/tailwind-preset": "0.2.9"
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",