@removify/tailwind-preset 0.1.3 → 0.1.4

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
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
23
  colors: () => colors,
24
+ colorsNames: () => colorsNames,
24
25
  config: () => config,
25
26
  default: () => src_default,
26
27
  fontFamily: () => customFontFamily,
@@ -298,6 +299,22 @@ var unocssTheme = {
298
299
  fontSize: unocssFontSizes
299
300
  };
300
301
 
302
+ // src/constant/index.ts
303
+ var colorsNames = [
304
+ "primary",
305
+ "bateau",
306
+ "secondary",
307
+ "pompelmo",
308
+ "green",
309
+ "fuchsia",
310
+ "indigo",
311
+ "neutral",
312
+ "orange",
313
+ "red",
314
+ "amber",
315
+ "seafoam"
316
+ ];
317
+
301
318
  // src/index.ts
302
319
  function config(extend = true) {
303
320
  if (extend === false) {
@@ -315,6 +332,7 @@ var src_default = config();
315
332
  // Annotate the CommonJS export names for ESM import in node:
316
333
  0 && (module.exports = {
317
334
  colors,
335
+ colorsNames,
318
336
  config,
319
337
  fontFamily,
320
338
  fontSizes,
package/dist/index.d.cts CHANGED
@@ -465,6 +465,7 @@ declare const unocssTheme: {
465
465
  };
466
466
 
467
467
  declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
468
+
468
469
  type ColorsNames = typeof colorsNames[number];
469
470
  type ColorsVariations = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
470
471
  interface MainColors {
package/dist/index.d.ts CHANGED
@@ -465,6 +465,7 @@ declare const unocssTheme: {
465
465
  };
466
466
 
467
467
  declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
468
+
468
469
  type ColorsNames = typeof colorsNames[number];
469
470
  type ColorsVariations = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
470
471
  interface MainColors {
package/dist/index.js CHANGED
@@ -7,6 +7,22 @@ import {
7
7
  unocssTheme
8
8
  } from "./chunk-IUSDLEUF.js";
9
9
 
10
+ // src/constant/index.ts
11
+ var colorsNames = [
12
+ "primary",
13
+ "bateau",
14
+ "secondary",
15
+ "pompelmo",
16
+ "green",
17
+ "fuchsia",
18
+ "indigo",
19
+ "neutral",
20
+ "orange",
21
+ "red",
22
+ "amber",
23
+ "seafoam"
24
+ ];
25
+
10
26
  // src/index.ts
11
27
  function config(extend = true) {
12
28
  if (extend === false) {
@@ -23,6 +39,7 @@ function config(extend = true) {
23
39
  var src_default = config();
24
40
  export {
25
41
  colors,
42
+ colorsNames,
26
43
  config,
27
44
  src_default as default,
28
45
  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.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "Tailwind CSS preset for Removify",
6
6
  "keywords": [
7
7
  "tailwind"
@@ -46,7 +46,7 @@
46
46
  "tsx": "^4.7.3",
47
47
  "typescript": "^5.4.5",
48
48
  "vitest": "^1.5.2",
49
- "@removify/tailwind-preset": "0.1.3"
49
+ "@removify/tailwind-preset": "0.1.4"
50
50
  },
51
51
  "lint-staged": {
52
52
  "**/*.{js,ts,vue,html}": [