@vef-framework/dev 1.0.122 → 1.0.123
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/cjs/cli.cjs +228 -0
- package/cjs/commitlint-config.cjs +14 -0
- package/cjs/config.cjs +82 -0
- package/cjs/constants.cjs +27 -0
- package/cjs/eslint-config.cjs +413 -0
- package/cjs/index.cjs +16 -0
- package/cjs/json/monaco.nls.json.cjs +7 -0
- package/cjs/json/monaco.theme.github-light.json.cjs +7 -0
- package/cjs/modules.d.cjs +4 -0
- package/cjs/plugin-app-config.cjs +37 -0
- package/cjs/plugin-conventional-config.cjs +116 -0
- package/cjs/plugin-eslint.cjs +23 -0
- package/cjs/plugin-html.cjs +85 -0
- package/cjs/plugin-icons.cjs +21 -0
- package/{lib → cjs}/plugin-initialization.cjs +26 -2
- package/cjs/plugin-injection.cjs +20 -0
- package/cjs/plugin-inspect.cjs +14 -0
- package/{lib → cjs}/plugin-monaco-nls.cjs +59 -2
- package/cjs/plugin-react-swc.cjs +13 -0
- package/cjs/plugin-router.cjs +47 -0
- package/cjs/plugin-stylelint.cjs +23 -0
- package/cjs/plugin-svgr.cjs +58 -0
- package/cjs/plugin-tailwind.cjs +11 -0
- package/cjs/plugin-tailwindcss.cjs +24 -0
- package/cjs/plugin-tsconfig-paths.cjs +13 -0
- package/cjs/plugin-visualizer.cjs +15 -0
- package/cjs/plugin-webfont.cjs +14 -0
- package/cjs/stylelint-config.cjs +67 -0
- package/cjs/tailwind-config.cjs +395 -0
- package/cjs/types.cjs +4 -0
- package/esm/cli.js +226 -0
- package/esm/commitlint-config.js +12 -0
- package/esm/config.js +80 -0
- package/esm/constants.js +15 -0
- package/esm/eslint-config.js +411 -0
- package/esm/index.js +8 -0
- package/esm/json/monaco.nls.json.js +3 -0
- package/esm/json/monaco.theme.github-light.json.js +3 -0
- package/esm/modules.d.js +2 -0
- package/esm/plugin-app-config.js +35 -0
- package/esm/plugin-conventional-config.js +114 -0
- package/esm/plugin-eslint.js +21 -0
- package/esm/plugin-html.js +83 -0
- package/esm/plugin-icons.js +18 -0
- package/{es → esm}/plugin-initialization.js +24 -2
- package/esm/plugin-injection.js +18 -0
- package/esm/plugin-inspect.js +12 -0
- package/{es → esm}/plugin-monaco-nls.js +56 -2
- package/esm/plugin-react-swc.js +11 -0
- package/esm/plugin-router.js +45 -0
- package/esm/plugin-stylelint.js +21 -0
- package/esm/plugin-svgr.js +56 -0
- package/esm/plugin-tailwind.js +9 -0
- package/esm/plugin-tailwindcss.js +22 -0
- package/esm/plugin-tsconfig-paths.js +11 -0
- package/esm/plugin-visualizer.js +13 -0
- package/esm/plugin-webfont.js +12 -0
- package/esm/stylelint-config.js +65 -0
- package/esm/tailwind-config.js +393 -0
- package/esm/types.js +2 -0
- package/package.json +19 -18
- package/template/_package.json +5 -5
- package/es/cli.js +0 -4
- package/es/commitlint-config.js +0 -1
- package/es/config.js +0 -1
- package/es/constants.js +0 -1
- package/es/eslint-config.js +0 -1
- package/es/index.js +0 -1
- package/es/json/monaco.nls.json.js +0 -15920
- package/es/json/monaco.theme.github-light.json.js +0 -349
- package/es/modules.d.js +0 -1
- package/es/plugin-app-config.js +0 -1
- package/es/plugin-conventional-config.js +0 -11
- package/es/plugin-eslint.js +0 -1
- package/es/plugin-html.js +0 -16
- package/es/plugin-icons.js +0 -1
- package/es/plugin-injection.js +0 -2
- package/es/plugin-inspect.js +0 -1
- package/es/plugin-react-swc.js +0 -1
- package/es/plugin-router.js +0 -10
- package/es/plugin-stylelint.js +0 -1
- package/es/plugin-svgr.js +0 -1
- package/es/plugin-tailwind.js +0 -1
- package/es/plugin-tailwindcss.js +0 -2
- package/es/plugin-tsconfig-paths.js +0 -1
- package/es/plugin-visualizer.js +0 -1
- package/es/plugin-webfont.js +0 -1
- package/es/stylelint-config.js +0 -1
- package/es/tailwind-config.js +0 -1
- package/lib/cli.cjs +0 -4
- package/lib/commitlint-config.cjs +0 -1
- package/lib/config.cjs +0 -1
- package/lib/constants.cjs +0 -1
- package/lib/eslint-config.cjs +0 -1
- package/lib/index.cjs +0 -1
- package/lib/json/monaco.nls.json.cjs +0 -15920
- package/lib/json/monaco.theme.github-light.json.cjs +0 -349
- package/lib/modules.d.cjs +0 -1
- package/lib/plugin-app-config.cjs +0 -1
- package/lib/plugin-conventional-config.cjs +0 -11
- package/lib/plugin-eslint.cjs +0 -1
- package/lib/plugin-html.cjs +0 -16
- package/lib/plugin-icons.cjs +0 -1
- package/lib/plugin-injection.cjs +0 -2
- package/lib/plugin-inspect.cjs +0 -1
- package/lib/plugin-react-swc.cjs +0 -1
- package/lib/plugin-router.cjs +0 -10
- package/lib/plugin-stylelint.cjs +0 -1
- package/lib/plugin-svgr.cjs +0 -1
- package/lib/plugin-tailwind.cjs +0 -1
- package/lib/plugin-tailwindcss.cjs +0 -2
- package/lib/plugin-tsconfig-paths.cjs +0 -1
- package/lib/plugin-visualizer.cjs +0 -1
- package/lib/plugin-webfont.cjs +0 -1
- package/lib/stylelint-config.cjs +0 -1
- package/lib/tailwind-config.cjs +0 -1
- package/lib/types.cjs +0 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var rollupPluginVisualizer = require('rollup-plugin-visualizer');
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
function createVisualizerPlugin(projectDir) {
|
|
8
|
+
return rollupPluginVisualizer.visualizer({
|
|
9
|
+
filename: "dist/stats.html",
|
|
10
|
+
title: "Building Visualizer",
|
|
11
|
+
projectRoot: projectDir
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
exports.createVisualizerPlugin = createVisualizerPlugin;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var webfont = require('vite-plugin-webfont-dl');
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
function createWebfontPlugin() {
|
|
8
|
+
return webfont([
|
|
9
|
+
"https://fonts.googleapis.com/css2?family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap",
|
|
10
|
+
"https://fonts.googleapis.com/css2?family=Martian+Mono:wght@100..800&family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"
|
|
11
|
+
]);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
exports.createWebfontPlugin = createWebfontPlugin;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var propertyGroups = require('stylelint-config-recess-order/groups');
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
function defineStylelintConfig() {
|
|
8
|
+
return {
|
|
9
|
+
extends: [
|
|
10
|
+
"stylelint-config-standard-scss",
|
|
11
|
+
"stylelint-config-recommended"
|
|
12
|
+
],
|
|
13
|
+
plugins: ["stylelint-order"],
|
|
14
|
+
rules: {
|
|
15
|
+
"order/order": [
|
|
16
|
+
"dollar-variables",
|
|
17
|
+
"at-variables",
|
|
18
|
+
"custom-properties",
|
|
19
|
+
"less-mixins",
|
|
20
|
+
"declarations",
|
|
21
|
+
"at-rules",
|
|
22
|
+
"rules"
|
|
23
|
+
],
|
|
24
|
+
"order/properties-order": propertyGroups.map((group) => ({
|
|
25
|
+
...group,
|
|
26
|
+
emptyLineBefore: "always",
|
|
27
|
+
noEmptyLineBetween: true
|
|
28
|
+
})),
|
|
29
|
+
"declaration-empty-line-before": null,
|
|
30
|
+
"at-rule-no-unknown": null,
|
|
31
|
+
"function-no-unknown": null,
|
|
32
|
+
"number-max-precision": null,
|
|
33
|
+
"color-hex-length": "long",
|
|
34
|
+
"color-hex-alpha": "never",
|
|
35
|
+
"color-named": "never",
|
|
36
|
+
"unit-allowed-list": [
|
|
37
|
+
"px",
|
|
38
|
+
"em",
|
|
39
|
+
"rem",
|
|
40
|
+
"%",
|
|
41
|
+
"vw",
|
|
42
|
+
"vh",
|
|
43
|
+
"fr",
|
|
44
|
+
"deg",
|
|
45
|
+
"rad",
|
|
46
|
+
"grad",
|
|
47
|
+
"turn",
|
|
48
|
+
"ms",
|
|
49
|
+
"s"
|
|
50
|
+
],
|
|
51
|
+
"scss/function-no-unknown": [
|
|
52
|
+
true,
|
|
53
|
+
{
|
|
54
|
+
ignoreFunctions: []
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"scss/at-rule-no-unknown": [
|
|
58
|
+
true,
|
|
59
|
+
{
|
|
60
|
+
ignoreAtRules: ["config"]
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
exports.defineStylelintConfig = defineStylelintConfig;
|
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var containerQueries = require('@tailwindcss/container-queries');
|
|
5
|
+
var colors = require('tailwindcss/colors');
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
function defineTailwindConfig() {
|
|
9
|
+
return {
|
|
10
|
+
content: ["./src/**/*.{ts,tsx}"],
|
|
11
|
+
plugins: [containerQueries],
|
|
12
|
+
theme: {
|
|
13
|
+
colors: {
|
|
14
|
+
"inherit": "inherit",
|
|
15
|
+
"current": "currentColor",
|
|
16
|
+
"transparent": "transparent",
|
|
17
|
+
"black": "#000000",
|
|
18
|
+
"white": "var(--vef-color-white)",
|
|
19
|
+
"primary": "var(--vef-color-primary)",
|
|
20
|
+
"primary-hover": "var(--vef-color-primary-hover)",
|
|
21
|
+
"primary-active": "var(--vef-color-primary-active)",
|
|
22
|
+
"success": "var(--vef-color-success)",
|
|
23
|
+
"success-hover": "var(--vef-color-success-hover)",
|
|
24
|
+
"success-active": "var(--vef-color-success-active)",
|
|
25
|
+
"warning": "var(--vef-color-warning)",
|
|
26
|
+
"warning-hover": "var(--vef-color-warning-hover)",
|
|
27
|
+
"warning-active": "var(--vef-color-warning-active)",
|
|
28
|
+
"error": "var(--vef-color-error)",
|
|
29
|
+
"error-hover": "var(--vef-color-error-hover)",
|
|
30
|
+
"error-active": "var(--vef-color-error-active)",
|
|
31
|
+
"info": "var(--vef-color-info)",
|
|
32
|
+
"info-hover": "var(--vef-color-info-hover)",
|
|
33
|
+
"info-active": "var(--vef-color-info-active)",
|
|
34
|
+
"link": "var(--vef-color-link)",
|
|
35
|
+
"link-hover": "var(--vef-color-link-hover)",
|
|
36
|
+
"link-active": "var(--vef-color-link-active)",
|
|
37
|
+
"blue": {
|
|
38
|
+
DEFAULT: "var(--vef-blue-6)",
|
|
39
|
+
1: "var(--vef-blue-1)",
|
|
40
|
+
2: "var(--vef-blue-2)",
|
|
41
|
+
3: "var(--vef-blue-3)",
|
|
42
|
+
4: "var(--vef-blue-4)",
|
|
43
|
+
5: "var(--vef-blue-5)",
|
|
44
|
+
6: "var(--vef-blue-6)",
|
|
45
|
+
7: "var(--vef-blue-7)",
|
|
46
|
+
8: "var(--vef-blue-8)",
|
|
47
|
+
9: "var(--vef-blue-9)",
|
|
48
|
+
10: "var(--vef-blue-10)"
|
|
49
|
+
},
|
|
50
|
+
"purple": {
|
|
51
|
+
DEFAULT: "var(--vef-purple-6)",
|
|
52
|
+
1: "var(--vef-purple-1)",
|
|
53
|
+
2: "var(--vef-purple-2)",
|
|
54
|
+
3: "var(--vef-purple-3)",
|
|
55
|
+
4: "var(--vef-purple-4)",
|
|
56
|
+
5: "var(--vef-purple-5)",
|
|
57
|
+
6: "var(--vef-purple-6)",
|
|
58
|
+
7: "var(--vef-purple-7)",
|
|
59
|
+
8: "var(--vef-purple-8)",
|
|
60
|
+
9: "var(--vef-purple-9)",
|
|
61
|
+
10: "var(--vef-purple-10)"
|
|
62
|
+
},
|
|
63
|
+
"cyan": {
|
|
64
|
+
DEFAULT: "var(--vef-cyan-6)",
|
|
65
|
+
1: "var(--vef-cyan-1)",
|
|
66
|
+
2: "var(--vef-cyan-2)",
|
|
67
|
+
3: "var(--vef-cyan-3)",
|
|
68
|
+
4: "var(--vef-cyan-4)",
|
|
69
|
+
5: "var(--vef-cyan-5)",
|
|
70
|
+
6: "var(--vef-cyan-6)",
|
|
71
|
+
7: "var(--vef-cyan-7)",
|
|
72
|
+
8: "var(--vef-cyan-8)",
|
|
73
|
+
9: "var(--vef-cyan-9)",
|
|
74
|
+
10: "var(--vef-cyan-10)"
|
|
75
|
+
},
|
|
76
|
+
"green": {
|
|
77
|
+
DEFAULT: "var(--vef-green-6)",
|
|
78
|
+
1: "var(--vef-green-1)",
|
|
79
|
+
2: "var(--vef-green-2)",
|
|
80
|
+
3: "var(--vef-green-3)",
|
|
81
|
+
4: "var(--vef-green-4)",
|
|
82
|
+
5: "var(--vef-green-5)",
|
|
83
|
+
6: "var(--vef-green-6)",
|
|
84
|
+
7: "var(--vef-green-7)",
|
|
85
|
+
8: "var(--vef-green-8)",
|
|
86
|
+
9: "var(--vef-green-9)",
|
|
87
|
+
10: "var(--vef-green-10)"
|
|
88
|
+
},
|
|
89
|
+
"magenta": {
|
|
90
|
+
DEFAULT: "var(--vef-magenta-6)",
|
|
91
|
+
1: "var(--vef-magenta-1)",
|
|
92
|
+
2: "var(--vef-magenta-2)",
|
|
93
|
+
3: "var(--vef-magenta-3)",
|
|
94
|
+
4: "var(--vef-magenta-4)",
|
|
95
|
+
5: "var(--vef-magenta-5)",
|
|
96
|
+
6: "var(--vef-magenta-6)",
|
|
97
|
+
7: "var(--vef-magenta-7)",
|
|
98
|
+
8: "var(--vef-magenta-8)",
|
|
99
|
+
9: "var(--vef-magenta-9)",
|
|
100
|
+
10: "var(--vef-magenta-10)"
|
|
101
|
+
},
|
|
102
|
+
"pink": {
|
|
103
|
+
DEFAULT: "var(--vef-pink-6)",
|
|
104
|
+
1: "var(--vef-pink-1)",
|
|
105
|
+
2: "var(--vef-pink-2)",
|
|
106
|
+
3: "var(--vef-pink-3)",
|
|
107
|
+
4: "var(--vef-pink-4)",
|
|
108
|
+
5: "var(--vef-pink-5)",
|
|
109
|
+
6: "var(--vef-pink-6)",
|
|
110
|
+
7: "var(--vef-pink-7)",
|
|
111
|
+
8: "var(--vef-pink-8)",
|
|
112
|
+
9: "var(--vef-pink-9)",
|
|
113
|
+
10: "var(--vef-pink-10)"
|
|
114
|
+
},
|
|
115
|
+
"red": {
|
|
116
|
+
DEFAULT: "var(--vef-red-6)",
|
|
117
|
+
1: "var(--vef-red-1)",
|
|
118
|
+
2: "var(--vef-red-2)",
|
|
119
|
+
3: "var(--vef-red-3)",
|
|
120
|
+
4: "var(--vef-red-4)",
|
|
121
|
+
5: "var(--vef-red-5)",
|
|
122
|
+
6: "var(--vef-red-6)",
|
|
123
|
+
7: "var(--vef-red-7)",
|
|
124
|
+
8: "var(--vef-red-8)",
|
|
125
|
+
9: "var(--vef-red-9)",
|
|
126
|
+
10: "var(--vef-red-10)"
|
|
127
|
+
},
|
|
128
|
+
"orange": {
|
|
129
|
+
DEFAULT: "var(--vef-orange-6)",
|
|
130
|
+
1: "var(--vef-orange-1)",
|
|
131
|
+
2: "var(--vef-orange-2)",
|
|
132
|
+
3: "var(--vef-orange-3)",
|
|
133
|
+
4: "var(--vef-orange-4)",
|
|
134
|
+
5: "var(--vef-orange-5)",
|
|
135
|
+
6: "var(--vef-orange-6)",
|
|
136
|
+
7: "var(--vef-orange-7)",
|
|
137
|
+
8: "var(--vef-orange-8)",
|
|
138
|
+
9: "var(--vef-orange-9)",
|
|
139
|
+
10: "var(--vef-orange-10)"
|
|
140
|
+
},
|
|
141
|
+
"yellow": {
|
|
142
|
+
DEFAULT: "var(--vef-yellow-6)",
|
|
143
|
+
1: "var(--vef-yellow-1)",
|
|
144
|
+
2: "var(--vef-yellow-2)",
|
|
145
|
+
3: "var(--vef-yellow-3)",
|
|
146
|
+
4: "var(--vef-yellow-4)",
|
|
147
|
+
5: "var(--vef-yellow-5)",
|
|
148
|
+
6: "var(--vef-yellow-6)",
|
|
149
|
+
7: "var(--vef-yellow-7)",
|
|
150
|
+
8: "var(--vef-yellow-8)",
|
|
151
|
+
9: "var(--vef-yellow-9)",
|
|
152
|
+
10: "var(--vef-yellow-10)"
|
|
153
|
+
},
|
|
154
|
+
"volcano": {
|
|
155
|
+
DEFAULT: "var(--vef-volcano-6)",
|
|
156
|
+
1: "var(--vef-volcano-1)",
|
|
157
|
+
2: "var(--vef-volcano-2)",
|
|
158
|
+
3: "var(--vef-volcano-3)",
|
|
159
|
+
4: "var(--vef-volcano-4)",
|
|
160
|
+
5: "var(--vef-volcano-5)",
|
|
161
|
+
6: "var(--vef-volcano-6)",
|
|
162
|
+
7: "var(--vef-volcano-7)",
|
|
163
|
+
8: "var(--vef-volcano-8)",
|
|
164
|
+
9: "var(--vef-volcano-9)",
|
|
165
|
+
10: "var(--vef-volcano-10)"
|
|
166
|
+
},
|
|
167
|
+
"geekblue": {
|
|
168
|
+
DEFAULT: "var(--vef-geekblue-6)",
|
|
169
|
+
1: "var(--vef-geekblue-1)",
|
|
170
|
+
2: "var(--vef-geekblue-2)",
|
|
171
|
+
3: "var(--vef-geekblue-3)",
|
|
172
|
+
4: "var(--vef-geekblue-4)",
|
|
173
|
+
5: "var(--vef-geekblue-5)",
|
|
174
|
+
6: "var(--vef-geekblue-6)",
|
|
175
|
+
7: "var(--vef-geekblue-7)",
|
|
176
|
+
8: "var(--vef-geekblue-8)",
|
|
177
|
+
9: "var(--vef-geekblue-9)",
|
|
178
|
+
10: "var(--vef-geekblue-10)"
|
|
179
|
+
},
|
|
180
|
+
"gold": {
|
|
181
|
+
DEFAULT: "var(--vef-gold-6)",
|
|
182
|
+
1: "var(--vef-gold-1)",
|
|
183
|
+
2: "var(--vef-gold-2)",
|
|
184
|
+
3: "var(--vef-gold-3)",
|
|
185
|
+
4: "var(--vef-gold-4)",
|
|
186
|
+
5: "var(--vef-gold-5)",
|
|
187
|
+
6: "var(--vef-gold-6)",
|
|
188
|
+
7: "var(--vef-gold-7)",
|
|
189
|
+
8: "var(--vef-gold-8)",
|
|
190
|
+
9: "var(--vef-gold-9)",
|
|
191
|
+
10: "var(--vef-gold-10)"
|
|
192
|
+
},
|
|
193
|
+
"lime": {
|
|
194
|
+
DEFAULT: "var(--vef-lime-6)",
|
|
195
|
+
1: "var(--vef-lime-1)",
|
|
196
|
+
2: "var(--vef-lime-2)",
|
|
197
|
+
3: "var(--vef-lime-3)",
|
|
198
|
+
4: "var(--vef-lime-4)",
|
|
199
|
+
5: "var(--vef-lime-5)",
|
|
200
|
+
6: "var(--vef-lime-6)",
|
|
201
|
+
7: "var(--vef-lime-7)",
|
|
202
|
+
8: "var(--vef-lime-8)",
|
|
203
|
+
9: "var(--vef-lime-9)",
|
|
204
|
+
10: "var(--vef-lime-10)"
|
|
205
|
+
},
|
|
206
|
+
"slate": {
|
|
207
|
+
DEFAULT: colors.slate[500],
|
|
208
|
+
1: colors.slate[50],
|
|
209
|
+
2: colors.slate[100],
|
|
210
|
+
3: colors.slate[200],
|
|
211
|
+
4: colors.slate[300],
|
|
212
|
+
5: colors.slate[400],
|
|
213
|
+
6: colors.slate[500],
|
|
214
|
+
7: colors.slate[600],
|
|
215
|
+
8: colors.slate[700],
|
|
216
|
+
9: colors.slate[800],
|
|
217
|
+
10: colors.slate[900]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
extend: {
|
|
221
|
+
textColor: {
|
|
222
|
+
"primary-alt": "var(--vef-color-primary-text)",
|
|
223
|
+
"primary-alt-hover": "var(--vef-color-primary-text-hover)",
|
|
224
|
+
"primary-alt-active": "var(--vef-color-primary-text-active)",
|
|
225
|
+
"success-alt": "var(--vef-color-success-text)",
|
|
226
|
+
"success-alt-hover": "var(--vef-color-success-text-hover)",
|
|
227
|
+
"success-alt-active": "var(--vef-color-success-text-active)",
|
|
228
|
+
"warning-alt": "var(--vef-color-warning-text)",
|
|
229
|
+
"warning-alt-hover": "var(--vef-color-warning-text-hover)",
|
|
230
|
+
"warning-alt-active": "var(--vef-color-warning-text-active)",
|
|
231
|
+
"error-alt": "var(--vef-color-error-text)",
|
|
232
|
+
"error-alt-hover": "var(--vef-color-error-text-hover)",
|
|
233
|
+
"error-alt-active": "var(--vef-color-error-text-active)",
|
|
234
|
+
"info-alt": "var(--vef-color-info-text)",
|
|
235
|
+
"info-alt-hover": "var(--vef-color-info-text-hover)",
|
|
236
|
+
"info-alt-active": "var(--vef-color-info-text-active)",
|
|
237
|
+
"base": "var(--vef-color-text-base)",
|
|
238
|
+
"default": "var(--vef-color-text)",
|
|
239
|
+
"secondary": "var(--vef-color-text-secondary)",
|
|
240
|
+
"tertiary": "var(--vef-color-text-tertiary)",
|
|
241
|
+
"quaternary": "var(--vef-color-text-quaternary)",
|
|
242
|
+
"placeholder": "var(--vef-color-text-placeholder)",
|
|
243
|
+
"disabled": "var(--vef-color-text-disabled)",
|
|
244
|
+
"heading": "var(--vef-color-text-heading)",
|
|
245
|
+
"label": "var(--vef-color-text-label)",
|
|
246
|
+
"description": "var(--vef-color-text-description)",
|
|
247
|
+
"light-solid": "var(--vef-color-text-light-solid)",
|
|
248
|
+
"highlight": "var(--vef-color-highlight)",
|
|
249
|
+
"icon": "var(--vef-color-icon)",
|
|
250
|
+
"icon-hover": "var(--vef-color-icon-hover)"
|
|
251
|
+
},
|
|
252
|
+
outlineColor: {
|
|
253
|
+
error: "var(--vef-color-error-outline)",
|
|
254
|
+
warning: "var(--vef-color-warning-outline)"
|
|
255
|
+
},
|
|
256
|
+
backgroundColor: {
|
|
257
|
+
"primary-alt": "var(--vef-color-primary-bg)",
|
|
258
|
+
"primary-alt-hover": "var(--vef-color-primary-bg-hover)",
|
|
259
|
+
"success-alt": "var(--vef-color-success-bg)",
|
|
260
|
+
"success-alt-hover": "var(--vef-color-success-bg-hover)",
|
|
261
|
+
"warning-alt": "var(--vef-color-warning-bg)",
|
|
262
|
+
"warning-alt-hover": "var(--vef-color-warning-bg-hover)",
|
|
263
|
+
"error-alt": "var(--vef-color-error-bg)",
|
|
264
|
+
"error-alt-hover": "var(--vef-color-error-bg-hover)",
|
|
265
|
+
"info-alt": "var(--vef-color-info-bg)",
|
|
266
|
+
"info-alt-hover": "var(--vef-color-info-bg-hover)",
|
|
267
|
+
"base": "var(--vef-color-bg-base)",
|
|
268
|
+
"layout": "var(--vef-color-bg-layout)",
|
|
269
|
+
"spotlight": "var(--vef-color-bg-spotlight)",
|
|
270
|
+
"solid": "var(--vef-color-bg-solid)",
|
|
271
|
+
"solid-hover": "var(--vef-color-bg-solid-hover)",
|
|
272
|
+
"solid-active": "var(--vef-color-bg-solid-active)",
|
|
273
|
+
"container": "var(--vef-color-bg-container)",
|
|
274
|
+
"container-disabled": "var(--vef-color-bg-container-disabled)",
|
|
275
|
+
"elevated": "var(--vef-color-bg-elevated)",
|
|
276
|
+
"blur": "var(--vef-color-bg-blur)",
|
|
277
|
+
"fill": "var(--vef-color-fill)",
|
|
278
|
+
"fill-secondary": "var(--vef-color-fill-secondary)",
|
|
279
|
+
"fill-tertiary": "var(--vef-color-fill-tertiary)",
|
|
280
|
+
"fill-quaternary": "var(--vef-color-fill-quaternary)",
|
|
281
|
+
"fill-content": "var(--vef-color-fill-content)",
|
|
282
|
+
"fill-content-hover": "var(--vef-color-fill-content-hover)",
|
|
283
|
+
"fill-alt": "var(--vef-color-fill-alter)",
|
|
284
|
+
"mask": "var(--vef-color-bg-mask)",
|
|
285
|
+
"text-hover": "var(--vef-color-bg-text-hover)",
|
|
286
|
+
"text-active": "var(--vef-color-bg-text-active)",
|
|
287
|
+
"control-item-hover": "var(--vef-control-item-bg-hover)",
|
|
288
|
+
"control-item-active": "var(--vef-control-item-bg-active)",
|
|
289
|
+
"control-item-active-hover": "var(--vef-control-item-bg-active-hover)",
|
|
290
|
+
"control-item-active-disabled": "var(--vef-control-item-bg-active-disabled)"
|
|
291
|
+
},
|
|
292
|
+
borderColor: {
|
|
293
|
+
"primary-alt": "var(--vef-color-primary-border)",
|
|
294
|
+
"primary-alt-hover": "var(--vef-color-primary-border-hover)",
|
|
295
|
+
"success-alt": "var(--vef-color-success-border)",
|
|
296
|
+
"success-alt-hover": "var(--vef-color-success-border-hover)",
|
|
297
|
+
"warning-alt": "var(--vef-color-warning-border)",
|
|
298
|
+
"warning-alt-hover": "var(--vef-color-warning-border-hover)",
|
|
299
|
+
"error-alt": "var(--vef-color-error-border)",
|
|
300
|
+
"error-alt-hover": "var(--vef-color-error-border-hover)",
|
|
301
|
+
"info-alt": "var(--vef-color-info-border)",
|
|
302
|
+
"info-alt-hover": "var(--vef-color-info-border-hover)",
|
|
303
|
+
"base": "var(--vef-color-border)",
|
|
304
|
+
"secondary": "var(--vef-color-border-secondary)"
|
|
305
|
+
},
|
|
306
|
+
fontFamily: {
|
|
307
|
+
base: "var(--vef-font-family)",
|
|
308
|
+
code: "var(--vef-font-family-code)"
|
|
309
|
+
},
|
|
310
|
+
fontSize: {
|
|
311
|
+
base: "var(--vef-font-size)",
|
|
312
|
+
sm: "var(--vef-font-size-sm)",
|
|
313
|
+
lg: "var(--vef-font-size-lg)",
|
|
314
|
+
xl: "var(--vef-font-size-xl)",
|
|
315
|
+
heading1: "var(--vef-font-size-heading-1)",
|
|
316
|
+
heading2: "var(--vef-font-size-heading-2)",
|
|
317
|
+
heading3: "var(--vef-font-size-heading-3)",
|
|
318
|
+
heading4: "var(--vef-font-size-heading-4)",
|
|
319
|
+
heading5: "var(--vef-font-size-heading-5)"
|
|
320
|
+
},
|
|
321
|
+
fontWeight: {
|
|
322
|
+
strong: "var(--vef-font-weight-strong)"
|
|
323
|
+
},
|
|
324
|
+
borderWidth: {
|
|
325
|
+
base: "var(--vef-line-width)",
|
|
326
|
+
bold: "var(--vef-line-width-bold)"
|
|
327
|
+
},
|
|
328
|
+
borderRadius: {
|
|
329
|
+
DEFAULT: "var(--vef-border-radius)",
|
|
330
|
+
xs: "var(--vef-border-radius-xs)",
|
|
331
|
+
sm: "var(--vef-border-radius-sm)",
|
|
332
|
+
lg: "var(--vef-border-radius-lg)",
|
|
333
|
+
outer: "var(--vef-border-radius-outer)"
|
|
334
|
+
},
|
|
335
|
+
height: {
|
|
336
|
+
"control": "var(--vef-control-height)",
|
|
337
|
+
"control-sm": "var(--vef-control-height-sm)",
|
|
338
|
+
"control-xs": "var(--vef-control-height-xs)",
|
|
339
|
+
"control-lg": "var(--vef-control-height-lg)",
|
|
340
|
+
"font": "var(--vef-font-height)",
|
|
341
|
+
"font-sm": "var(--vef-font-height-sm)",
|
|
342
|
+
"font-lg": "var(--vef-font-height-lg)"
|
|
343
|
+
},
|
|
344
|
+
lineHeight: {
|
|
345
|
+
"base": "var(--vef-line-height)",
|
|
346
|
+
"sm": "var(--vef-line-height-sm)",
|
|
347
|
+
"lg": "var(--vef-line-height-lg)",
|
|
348
|
+
"heading-1": "var(--vef-line-height-heading-1)",
|
|
349
|
+
"heading-2": "var(--vef-line-height-heading-2)",
|
|
350
|
+
"heading-3": "var(--vef-line-height-heading-3)",
|
|
351
|
+
"heading-4": "var(--vef-line-height-heading-4)",
|
|
352
|
+
"heading-5": "var(--vef-line-height-heading-5)"
|
|
353
|
+
},
|
|
354
|
+
spacing: {
|
|
355
|
+
base: "var(--vef-margin)",
|
|
356
|
+
xxs: "var(--vef-margin-xxs)",
|
|
357
|
+
xs: "var(--vef-margin-xs)",
|
|
358
|
+
sm: "var(--vef-margin-sm)",
|
|
359
|
+
md: "var(--vef-margin-md)",
|
|
360
|
+
lg: "var(--vef-margin-lg)",
|
|
361
|
+
xl: "var(--vef-margin-xl)",
|
|
362
|
+
xxl: "var(--vef-margin-xxl)"
|
|
363
|
+
},
|
|
364
|
+
boxShadow: {
|
|
365
|
+
base: "var(--vef-box-shadow)",
|
|
366
|
+
secondary: "var(--vef-box-shadow-secondary)",
|
|
367
|
+
tertiary: "var(--vef-box-shadow-tertiary)",
|
|
368
|
+
card: "var(--vef-box-shadow-card)",
|
|
369
|
+
elevated: "0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"
|
|
370
|
+
},
|
|
371
|
+
transitionDuration: {
|
|
372
|
+
fast: "var(--vef-motion-duration-fast)",
|
|
373
|
+
mid: "var(--vef-motion-duration-mid)",
|
|
374
|
+
slow: "var(--vef-motion-duration-slow)"
|
|
375
|
+
},
|
|
376
|
+
transitionTimingFunction: {
|
|
377
|
+
"ease-out-circ": "var(--vef-motion-ease-out-circ)",
|
|
378
|
+
"ease-in-out-circ": "var(--vef-motion-ease-in-out-circ)",
|
|
379
|
+
"ease-out": "var(--vef-motion-ease-out)",
|
|
380
|
+
"ease-in-out": "var(--vef-motion-ease-in-out)",
|
|
381
|
+
"ease-out-back": "var(--vef-motion-ease-out-back)",
|
|
382
|
+
"ease-in-back": "var(--vef-motion-ease-in-back)",
|
|
383
|
+
"ease-in-quint": "var(--vef-motion-ease-in-quint)",
|
|
384
|
+
"ease-out-quint": "var(--vef-motion-ease-out-quint)"
|
|
385
|
+
},
|
|
386
|
+
zIndex: {
|
|
387
|
+
base: "var(--vef-z-index-base)",
|
|
388
|
+
popup: "var(--vef-z-index-popup)"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
exports.defineTailwindConfig = defineTailwindConfig;
|
package/cjs/types.cjs
ADDED