@removify/tailwind-preset 0.0.5

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 ADDED
@@ -0,0 +1,158 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ colors: () => colors,
24
+ config: () => config,
25
+ default: () => src_default
26
+ });
27
+ module.exports = __toCommonJS(src_exports);
28
+ var colors = {
29
+ inherit: "inherit",
30
+ current: "currentColor",
31
+ transparent: "transparent",
32
+ danger: "#EA3529",
33
+ warning: "#FFA037",
34
+ success: "#15A46E",
35
+ info: "#3EC2C9",
36
+ special: "#686DF4",
37
+ black: "#000000",
38
+ white: "#FFFFFF",
39
+ overlay: "#00000080",
40
+ primary: {
41
+ 50: "#E8F1F6",
42
+ 100: "#BED9E6",
43
+ 200: "#95C0D5",
44
+ 300: "#6CA7C3",
45
+ 400: "#448DB1",
46
+ 500: "#1C749F",
47
+ 600: "#166085",
48
+ 700: "#104C6A",
49
+ 800: "#0B384E",
50
+ 900: "#062432"
51
+ },
52
+ secondary: {
53
+ 50: "#FFEFEF",
54
+ 100: "#FFD3D2",
55
+ 200: "#FFB7B5",
56
+ 300: "#FF9B99",
57
+ 400: "#FF807E",
58
+ 500: "#FF6663",
59
+ 600: "#D25350",
60
+ 700: "#A6403E",
61
+ 800: "#792E2C",
62
+ 900: "#4D1C1B"
63
+ },
64
+ green: {
65
+ 50: "#E7F7F1",
66
+ 100: "#BCE7D7",
67
+ 200: "#91D7BD",
68
+ 300: "#67C7A3",
69
+ 400: "#3EB688",
70
+ 500: "#15A46E",
71
+ 600: "#10895B",
72
+ 700: "#0B6D48",
73
+ 800: "#075035",
74
+ 900: "#043322"
75
+ },
76
+ fuchsia: {
77
+ 50: "#FAEBFD",
78
+ 100: "#F0C7FA",
79
+ 200: "#E6A3F6",
80
+ 300: "#DB81F2",
81
+ 400: "#D05FED",
82
+ 500: "#C53DE7",
83
+ 600: "#A431C0",
84
+ 700: "#822599",
85
+ 800: "#5F1A71",
86
+ 900: "#3D1048"
87
+ },
88
+ indigo: {
89
+ 50: "#EFF0FF",
90
+ 100: "#D3D5FE",
91
+ 200: "#B8BAFC",
92
+ 300: "#9DA0FA",
93
+ 400: "#8286F7",
94
+ 500: "#686DF4",
95
+ 600: "#5459CB",
96
+ 700: "#4145A1",
97
+ 800: "#2F3276",
98
+ 900: "#1D1F4B"
99
+ },
100
+ neutral: {
101
+ 50: "#F1F2F5",
102
+ 100: "#EAEDF2",
103
+ 200: "#E1E5EA",
104
+ 300: "#D5DBE2",
105
+ 400: "#CAD1D9",
106
+ 500: "#BEC7D1",
107
+ 600: "#9DA4AD",
108
+ 700: "#7B8188",
109
+ 800: "#5A5F64",
110
+ 900: "#393C3F"
111
+ },
112
+ orange: {
113
+ 50: "#FFF6EA",
114
+ 100: "#FFE5C5",
115
+ 200: "#FFD3A0",
116
+ 300: "#FFC27C",
117
+ 400: "#FFB159",
118
+ 500: "#FFA037",
119
+ 600: "#D2842B",
120
+ 700: "#A66821",
121
+ 800: "#794C17",
122
+ 900: "#4D300E"
123
+ },
124
+ seafoam: {
125
+ 50: "#EBFAFA",
126
+ 100: "#C7EFF1",
127
+ 200: "#A4E5E8",
128
+ 300: "#82DADE",
129
+ 400: "#60CED4",
130
+ 500: "#3EC2C9",
131
+ 600: "#32A1A7",
132
+ 700: "#268085",
133
+ 800: "#1B5E62",
134
+ 900: "#113C3E"
135
+ }
136
+ };
137
+ function config(extend = false) {
138
+ if (extend) {
139
+ return {
140
+ theme: {
141
+ extend: {
142
+ colors
143
+ }
144
+ }
145
+ };
146
+ }
147
+ return {
148
+ theme: {
149
+ colors
150
+ }
151
+ };
152
+ }
153
+ var src_default = config();
154
+ // Annotate the CommonJS export names for ESM import in node:
155
+ 0 && (module.exports = {
156
+ colors,
157
+ config
158
+ });
@@ -0,0 +1,116 @@
1
+ import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
+ import { Config } from 'tailwindcss';
3
+
4
+ declare const colors: {
5
+ inherit: "inherit";
6
+ current: "currentColor";
7
+ transparent: "transparent";
8
+ danger: string;
9
+ warning: string;
10
+ success: string;
11
+ info: string;
12
+ special: string;
13
+ black: string;
14
+ white: string;
15
+ overlay: string;
16
+ primary: {
17
+ 50: string;
18
+ 100: string;
19
+ 200: string;
20
+ 300: string;
21
+ 400: string;
22
+ 500: string;
23
+ 600: string;
24
+ 700: string;
25
+ 800: string;
26
+ 900: string;
27
+ };
28
+ secondary: {
29
+ 50: string;
30
+ 100: string;
31
+ 200: string;
32
+ 300: string;
33
+ 400: string;
34
+ 500: string;
35
+ 600: string;
36
+ 700: string;
37
+ 800: string;
38
+ 900: string;
39
+ };
40
+ green: {
41
+ 50: string;
42
+ 100: string;
43
+ 200: string;
44
+ 300: string;
45
+ 400: string;
46
+ 500: string;
47
+ 600: string;
48
+ 700: string;
49
+ 800: string;
50
+ 900: string;
51
+ };
52
+ fuchsia: {
53
+ 50: string;
54
+ 100: string;
55
+ 200: string;
56
+ 300: string;
57
+ 400: string;
58
+ 500: string;
59
+ 600: string;
60
+ 700: string;
61
+ 800: string;
62
+ 900: string;
63
+ };
64
+ indigo: {
65
+ 50: string;
66
+ 100: string;
67
+ 200: string;
68
+ 300: string;
69
+ 400: string;
70
+ 500: string;
71
+ 600: string;
72
+ 700: string;
73
+ 800: string;
74
+ 900: string;
75
+ };
76
+ neutral: {
77
+ 50: string;
78
+ 100: string;
79
+ 200: string;
80
+ 300: string;
81
+ 400: string;
82
+ 500: string;
83
+ 600: string;
84
+ 700: string;
85
+ 800: string;
86
+ 900: string;
87
+ };
88
+ orange: {
89
+ 50: string;
90
+ 100: string;
91
+ 200: string;
92
+ 300: string;
93
+ 400: string;
94
+ 500: string;
95
+ 600: string;
96
+ 700: string;
97
+ 800: string;
98
+ 900: string;
99
+ };
100
+ seafoam: {
101
+ 50: string;
102
+ 100: string;
103
+ 200: string;
104
+ 300: string;
105
+ 400: string;
106
+ 500: string;
107
+ 600: string;
108
+ 700: string;
109
+ 800: string;
110
+ 900: string;
111
+ };
112
+ };
113
+ declare function config(extend?: boolean): Partial<Config>;
114
+ declare const _default: Partial<tailwindcss_types_config.Config>;
115
+
116
+ export { colors, config, _default as default };
@@ -0,0 +1,116 @@
1
+ import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
+ import { Config } from 'tailwindcss';
3
+
4
+ declare const colors: {
5
+ inherit: "inherit";
6
+ current: "currentColor";
7
+ transparent: "transparent";
8
+ danger: string;
9
+ warning: string;
10
+ success: string;
11
+ info: string;
12
+ special: string;
13
+ black: string;
14
+ white: string;
15
+ overlay: string;
16
+ primary: {
17
+ 50: string;
18
+ 100: string;
19
+ 200: string;
20
+ 300: string;
21
+ 400: string;
22
+ 500: string;
23
+ 600: string;
24
+ 700: string;
25
+ 800: string;
26
+ 900: string;
27
+ };
28
+ secondary: {
29
+ 50: string;
30
+ 100: string;
31
+ 200: string;
32
+ 300: string;
33
+ 400: string;
34
+ 500: string;
35
+ 600: string;
36
+ 700: string;
37
+ 800: string;
38
+ 900: string;
39
+ };
40
+ green: {
41
+ 50: string;
42
+ 100: string;
43
+ 200: string;
44
+ 300: string;
45
+ 400: string;
46
+ 500: string;
47
+ 600: string;
48
+ 700: string;
49
+ 800: string;
50
+ 900: string;
51
+ };
52
+ fuchsia: {
53
+ 50: string;
54
+ 100: string;
55
+ 200: string;
56
+ 300: string;
57
+ 400: string;
58
+ 500: string;
59
+ 600: string;
60
+ 700: string;
61
+ 800: string;
62
+ 900: string;
63
+ };
64
+ indigo: {
65
+ 50: string;
66
+ 100: string;
67
+ 200: string;
68
+ 300: string;
69
+ 400: string;
70
+ 500: string;
71
+ 600: string;
72
+ 700: string;
73
+ 800: string;
74
+ 900: string;
75
+ };
76
+ neutral: {
77
+ 50: string;
78
+ 100: string;
79
+ 200: string;
80
+ 300: string;
81
+ 400: string;
82
+ 500: string;
83
+ 600: string;
84
+ 700: string;
85
+ 800: string;
86
+ 900: string;
87
+ };
88
+ orange: {
89
+ 50: string;
90
+ 100: string;
91
+ 200: string;
92
+ 300: string;
93
+ 400: string;
94
+ 500: string;
95
+ 600: string;
96
+ 700: string;
97
+ 800: string;
98
+ 900: string;
99
+ };
100
+ seafoam: {
101
+ 50: string;
102
+ 100: string;
103
+ 200: string;
104
+ 300: string;
105
+ 400: string;
106
+ 500: string;
107
+ 600: string;
108
+ 700: string;
109
+ 800: string;
110
+ 900: string;
111
+ };
112
+ };
113
+ declare function config(extend?: boolean): Partial<Config>;
114
+ declare const _default: Partial<tailwindcss_types_config.Config>;
115
+
116
+ export { colors, config, _default as default };
package/dist/index.js ADDED
@@ -0,0 +1,132 @@
1
+ // src/index.ts
2
+ var colors = {
3
+ inherit: "inherit",
4
+ current: "currentColor",
5
+ transparent: "transparent",
6
+ danger: "#EA3529",
7
+ warning: "#FFA037",
8
+ success: "#15A46E",
9
+ info: "#3EC2C9",
10
+ special: "#686DF4",
11
+ black: "#000000",
12
+ white: "#FFFFFF",
13
+ overlay: "#00000080",
14
+ primary: {
15
+ 50: "#E8F1F6",
16
+ 100: "#BED9E6",
17
+ 200: "#95C0D5",
18
+ 300: "#6CA7C3",
19
+ 400: "#448DB1",
20
+ 500: "#1C749F",
21
+ 600: "#166085",
22
+ 700: "#104C6A",
23
+ 800: "#0B384E",
24
+ 900: "#062432"
25
+ },
26
+ secondary: {
27
+ 50: "#FFEFEF",
28
+ 100: "#FFD3D2",
29
+ 200: "#FFB7B5",
30
+ 300: "#FF9B99",
31
+ 400: "#FF807E",
32
+ 500: "#FF6663",
33
+ 600: "#D25350",
34
+ 700: "#A6403E",
35
+ 800: "#792E2C",
36
+ 900: "#4D1C1B"
37
+ },
38
+ green: {
39
+ 50: "#E7F7F1",
40
+ 100: "#BCE7D7",
41
+ 200: "#91D7BD",
42
+ 300: "#67C7A3",
43
+ 400: "#3EB688",
44
+ 500: "#15A46E",
45
+ 600: "#10895B",
46
+ 700: "#0B6D48",
47
+ 800: "#075035",
48
+ 900: "#043322"
49
+ },
50
+ fuchsia: {
51
+ 50: "#FAEBFD",
52
+ 100: "#F0C7FA",
53
+ 200: "#E6A3F6",
54
+ 300: "#DB81F2",
55
+ 400: "#D05FED",
56
+ 500: "#C53DE7",
57
+ 600: "#A431C0",
58
+ 700: "#822599",
59
+ 800: "#5F1A71",
60
+ 900: "#3D1048"
61
+ },
62
+ indigo: {
63
+ 50: "#EFF0FF",
64
+ 100: "#D3D5FE",
65
+ 200: "#B8BAFC",
66
+ 300: "#9DA0FA",
67
+ 400: "#8286F7",
68
+ 500: "#686DF4",
69
+ 600: "#5459CB",
70
+ 700: "#4145A1",
71
+ 800: "#2F3276",
72
+ 900: "#1D1F4B"
73
+ },
74
+ neutral: {
75
+ 50: "#F1F2F5",
76
+ 100: "#EAEDF2",
77
+ 200: "#E1E5EA",
78
+ 300: "#D5DBE2",
79
+ 400: "#CAD1D9",
80
+ 500: "#BEC7D1",
81
+ 600: "#9DA4AD",
82
+ 700: "#7B8188",
83
+ 800: "#5A5F64",
84
+ 900: "#393C3F"
85
+ },
86
+ orange: {
87
+ 50: "#FFF6EA",
88
+ 100: "#FFE5C5",
89
+ 200: "#FFD3A0",
90
+ 300: "#FFC27C",
91
+ 400: "#FFB159",
92
+ 500: "#FFA037",
93
+ 600: "#D2842B",
94
+ 700: "#A66821",
95
+ 800: "#794C17",
96
+ 900: "#4D300E"
97
+ },
98
+ seafoam: {
99
+ 50: "#EBFAFA",
100
+ 100: "#C7EFF1",
101
+ 200: "#A4E5E8",
102
+ 300: "#82DADE",
103
+ 400: "#60CED4",
104
+ 500: "#3EC2C9",
105
+ 600: "#32A1A7",
106
+ 700: "#268085",
107
+ 800: "#1B5E62",
108
+ 900: "#113C3E"
109
+ }
110
+ };
111
+ function config(extend = false) {
112
+ if (extend) {
113
+ return {
114
+ theme: {
115
+ extend: {
116
+ colors
117
+ }
118
+ }
119
+ };
120
+ }
121
+ return {
122
+ theme: {
123
+ colors
124
+ }
125
+ };
126
+ }
127
+ var src_default = config();
128
+ export {
129
+ colors,
130
+ config,
131
+ src_default as default
132
+ };
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@removify/tailwind-preset",
3
+ "type": "module",
4
+ "version": "0.0.5",
5
+ "description": "Tailwind CSS preset for Removify",
6
+ "keywords": [
7
+ "tailwind"
8
+ ],
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs"
13
+ }
14
+ },
15
+ "main": "./dist/index.js",
16
+ "types": "./dist/index.d.ts",
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "engines": {
21
+ "node": ">=18"
22
+ },
23
+ "devDependencies": {
24
+ "@commitlint/cli": "^18.6.0",
25
+ "@commitlint/config-conventional": "^18.6.0",
26
+ "@types/node": "^20.11.10",
27
+ "bumpp": "^9.3.0",
28
+ "eslint": "^8.56.0",
29
+ "eslint-config-removify": "^1.2.11",
30
+ "husky": "^8.0.3",
31
+ "lint-staged": "^15.2.0",
32
+ "tailwind-config-viewer": "^1.7.3",
33
+ "tailwindcss": "^3.4.1",
34
+ "tsup": "^8.0.1",
35
+ "tsx": "^4.7.0",
36
+ "typescript": "^5.3.3",
37
+ "vitest": "^1.2.2",
38
+ "removify-tailwind-preset": "npm:@removify/tailwind-preset@0.0.5"
39
+ },
40
+ "lint-staged": {
41
+ "**/*.{js,ts,vue,html}": [
42
+ "pnpm lint:fix"
43
+ ]
44
+ },
45
+ "scripts": {
46
+ "start": "tsx ./src/index.ts",
47
+ "build": "tsup src/index.ts --format esm,cjs --clean --dts",
48
+ "watch": "tsup --format esm,cjs --watch",
49
+ "dev": "tsx watch ./src/index.ts",
50
+ "test": "vitest",
51
+ "lint": "eslint .",
52
+ "lint:fix": "eslint --fix .",
53
+ "husky:install": "husky install",
54
+ "release": "bumpp && pnpm publish --access=public",
55
+ "tailwind-config-viewer": "tailwind-config-viewer -o -c tailwind.config.cjs",
56
+ "tailwind-config-viewer:build": "tailwind-config-viewer export tailwind-dist -c tailwind.config.cjs"
57
+ }
58
+ }
package/readme.md ADDED
@@ -0,0 +1,25 @@
1
+ # Removify Tailwind preset.
2
+
3
+ This is tailwind preset for removify.
4
+
5
+ ## Usage
6
+
7
+ ```bash
8
+ npm install -D removify-tailwind-preset
9
+
10
+ yarn add -D removify-tailwind-preset
11
+
12
+ pnpm add -D removify-tailwind-preset
13
+ ```
14
+
15
+ ```ts
16
+ // tailwind.config.{t,j}s
17
+ import removify from 'removify-tailwind-preset';
18
+ import type { Config } from 'tailwindcss';
19
+
20
+ export default {
21
+ content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
22
+ presets: [removify],
23
+ ...restOfConfig,
24
+ } satisfies Config;
25
+ ```