@vef-framework/dev 1.0.100 → 1.0.101
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/es/cli.js +225 -2
- package/es/commitlint-config.js +11 -2
- package/es/config.js +77 -2
- package/es/constants.js +14 -2
- package/es/eslint-config.js +410 -2
- package/es/index.js +6 -2
- package/es/modules.d.js +2 -1
- package/es/plugin-app-config.js +34 -2
- package/es/plugin-conventional-config.js +95 -2
- package/es/plugin-eslint.js +20 -2
- package/es/plugin-html.js +82 -2
- package/es/plugin-icons.js +17 -2
- package/es/plugin-injection.js +17 -2
- package/es/plugin-inspect.js +11 -2
- package/es/plugin-react-swc.js +10 -2
- package/es/plugin-router.js +44 -2
- package/es/plugin-stylelint.js +20 -2
- package/es/plugin-svgr.js +55 -2
- package/es/plugin-tailwind.js +8 -2
- package/es/plugin-tailwindcss.js +21 -2
- package/es/plugin-tsconfig-paths.js +10 -2
- package/es/plugin-visualizer.js +12 -2
- package/es/plugin-webfont.js +11 -2
- package/es/stylelint-config.js +64 -2
- package/es/tailwind-config.js +392 -2
- package/lib/cli.cjs +227 -2
- package/lib/commitlint-config.cjs +15 -2
- package/lib/config.cjs +81 -2
- package/lib/constants.cjs +28 -2
- package/lib/eslint-config.cjs +414 -2
- package/lib/index.cjs +18 -2
- package/lib/modules.d.cjs +4 -2
- package/lib/plugin-app-config.cjs +38 -2
- package/lib/plugin-conventional-config.cjs +99 -2
- package/lib/plugin-eslint.cjs +24 -2
- package/lib/plugin-html.cjs +86 -2
- package/lib/plugin-icons.cjs +22 -2
- package/lib/plugin-injection.cjs +21 -2
- package/lib/plugin-inspect.cjs +15 -2
- package/lib/plugin-react-swc.cjs +14 -2
- package/lib/plugin-router.cjs +48 -2
- package/lib/plugin-stylelint.cjs +24 -2
- package/lib/plugin-svgr.cjs +59 -2
- package/lib/plugin-tailwind.cjs +12 -2
- package/lib/plugin-tailwindcss.cjs +25 -2
- package/lib/plugin-tsconfig-paths.cjs +14 -2
- package/lib/plugin-visualizer.cjs +16 -2
- package/lib/plugin-webfont.cjs +15 -2
- package/lib/stylelint-config.cjs +68 -2
- package/lib/tailwind-config.cjs +396 -2
- package/lib/types.cjs +4 -2
- package/package.json +1 -1
- package/template/_package.json +5 -5
package/lib/tailwind-config.cjs
CHANGED
|
@@ -1,3 +1,397 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@tailwindcss/container-queries"),r=require("tailwindcss/colors");exports.defineTailwindConfig=function defineTailwindConfig(){return{content:["./src/**/*.{ts,tsx}"],plugins:[e],theme:{colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000000",white:"var(--vef-color-white)",primary:"var(--vef-color-primary)","primary-hover":"var(--vef-color-primary-hover)","primary-active":"var(--vef-color-primary-active)",success:"var(--vef-color-success)","success-hover":"var(--vef-color-success-hover)","success-active":"var(--vef-color-success-active)",warning:"var(--vef-color-warning)","warning-hover":"var(--vef-color-warning-hover)","warning-active":"var(--vef-color-warning-active)",error:"var(--vef-color-error)","error-hover":"var(--vef-color-error-hover)","error-active":"var(--vef-color-error-active)",info:"var(--vef-color-info)","info-hover":"var(--vef-color-info-hover)","info-active":"var(--vef-color-info-active)",link:"var(--vef-color-link)","link-hover":"var(--vef-color-link-hover)","link-active":"var(--vef-color-link-active)",blue:{DEFAULT:"var(--vef-blue-6)",1:"var(--vef-blue-1)",2:"var(--vef-blue-2)",3:"var(--vef-blue-3)",4:"var(--vef-blue-4)",5:"var(--vef-blue-5)",6:"var(--vef-blue-6)",7:"var(--vef-blue-7)",8:"var(--vef-blue-8)",9:"var(--vef-blue-9)",10:"var(--vef-blue-10)"},purple:{DEFAULT:"var(--vef-purple-6)",1:"var(--vef-purple-1)",2:"var(--vef-purple-2)",3:"var(--vef-purple-3)",4:"var(--vef-purple-4)",5:"var(--vef-purple-5)",6:"var(--vef-purple-6)",7:"var(--vef-purple-7)",8:"var(--vef-purple-8)",9:"var(--vef-purple-9)",10:"var(--vef-purple-10)"},cyan:{DEFAULT:"var(--vef-cyan-6)",1:"var(--vef-cyan-1)",2:"var(--vef-cyan-2)",3:"var(--vef-cyan-3)",4:"var(--vef-cyan-4)",5:"var(--vef-cyan-5)",6:"var(--vef-cyan-6)",7:"var(--vef-cyan-7)",8:"var(--vef-cyan-8)",9:"var(--vef-cyan-9)",10:"var(--vef-cyan-10)"},green:{DEFAULT:"var(--vef-green-6)",1:"var(--vef-green-1)",2:"var(--vef-green-2)",3:"var(--vef-green-3)",4:"var(--vef-green-4)",5:"var(--vef-green-5)",6:"var(--vef-green-6)",7:"var(--vef-green-7)",8:"var(--vef-green-8)",9:"var(--vef-green-9)",10:"var(--vef-green-10)"},magenta:{DEFAULT:"var(--vef-magenta-6)",1:"var(--vef-magenta-1)",2:"var(--vef-magenta-2)",3:"var(--vef-magenta-3)",4:"var(--vef-magenta-4)",5:"var(--vef-magenta-5)",6:"var(--vef-magenta-6)",7:"var(--vef-magenta-7)",8:"var(--vef-magenta-8)",9:"var(--vef-magenta-9)",10:"var(--vef-magenta-10)"},pink:{DEFAULT:"var(--vef-pink-6)",1:"var(--vef-pink-1)",2:"var(--vef-pink-2)",3:"var(--vef-pink-3)",4:"var(--vef-pink-4)",5:"var(--vef-pink-5)",6:"var(--vef-pink-6)",7:"var(--vef-pink-7)",8:"var(--vef-pink-8)",9:"var(--vef-pink-9)",10:"var(--vef-pink-10)"},red:{DEFAULT:"var(--vef-red-6)",1:"var(--vef-red-1)",2:"var(--vef-red-2)",3:"var(--vef-red-3)",4:"var(--vef-red-4)",5:"var(--vef-red-5)",6:"var(--vef-red-6)",7:"var(--vef-red-7)",8:"var(--vef-red-8)",9:"var(--vef-red-9)",10:"var(--vef-red-10)"},orange:{DEFAULT:"var(--vef-orange-6)",1:"var(--vef-orange-1)",2:"var(--vef-orange-2)",3:"var(--vef-orange-3)",4:"var(--vef-orange-4)",5:"var(--vef-orange-5)",6:"var(--vef-orange-6)",7:"var(--vef-orange-7)",8:"var(--vef-orange-8)",9:"var(--vef-orange-9)",10:"var(--vef-orange-10)"},yellow:{DEFAULT:"var(--vef-yellow-6)",1:"var(--vef-yellow-1)",2:"var(--vef-yellow-2)",3:"var(--vef-yellow-3)",4:"var(--vef-yellow-4)",5:"var(--vef-yellow-5)",6:"var(--vef-yellow-6)",7:"var(--vef-yellow-7)",8:"var(--vef-yellow-8)",9:"var(--vef-yellow-9)",10:"var(--vef-yellow-10)"},volcano:{DEFAULT:"var(--vef-volcano-6)",1:"var(--vef-volcano-1)",2:"var(--vef-volcano-2)",3:"var(--vef-volcano-3)",4:"var(--vef-volcano-4)",5:"var(--vef-volcano-5)",6:"var(--vef-volcano-6)",7:"var(--vef-volcano-7)",8:"var(--vef-volcano-8)",9:"var(--vef-volcano-9)",10:"var(--vef-volcano-10)"},geekblue:{DEFAULT:"var(--vef-geekblue-6)",1:"var(--vef-geekblue-1)",2:"var(--vef-geekblue-2)",3:"var(--vef-geekblue-3)",4:"var(--vef-geekblue-4)",5:"var(--vef-geekblue-5)",6:"var(--vef-geekblue-6)",7:"var(--vef-geekblue-7)",8:"var(--vef-geekblue-8)",9:"var(--vef-geekblue-9)",10:"var(--vef-geekblue-10)"},gold:{DEFAULT:"var(--vef-gold-6)",1:"var(--vef-gold-1)",2:"var(--vef-gold-2)",3:"var(--vef-gold-3)",4:"var(--vef-gold-4)",5:"var(--vef-gold-5)",6:"var(--vef-gold-6)",7:"var(--vef-gold-7)",8:"var(--vef-gold-8)",9:"var(--vef-gold-9)",10:"var(--vef-gold-10)"},lime:{DEFAULT:"var(--vef-lime-6)",1:"var(--vef-lime-1)",2:"var(--vef-lime-2)",3:"var(--vef-lime-3)",4:"var(--vef-lime-4)",5:"var(--vef-lime-5)",6:"var(--vef-lime-6)",7:"var(--vef-lime-7)",8:"var(--vef-lime-8)",9:"var(--vef-lime-9)",10:"var(--vef-lime-10)"},slate:{DEFAULT:r.slate[500],1:r.slate[50],2:r.slate[100],3:r.slate[200],4:r.slate[300],5:r.slate[400],6:r.slate[500],7:r.slate[600],8:r.slate[700],9:r.slate[800],10:r.slate[900]}},extend:{textColor:{"primary-alt":"var(--vef-color-primary-text)","primary-alt-hover":"var(--vef-color-primary-text-hover)","primary-alt-active":"var(--vef-color-primary-text-active)","success-alt":"var(--vef-color-success-text)","success-alt-hover":"var(--vef-color-success-text-hover)","success-alt-active":"var(--vef-color-success-text-active)","warning-alt":"var(--vef-color-warning-text)","warning-alt-hover":"var(--vef-color-warning-text-hover)","warning-alt-active":"var(--vef-color-warning-text-active)","error-alt":"var(--vef-color-error-text)","error-alt-hover":"var(--vef-color-error-text-hover)","error-alt-active":"var(--vef-color-error-text-active)","info-alt":"var(--vef-color-info-text)","info-alt-hover":"var(--vef-color-info-text-hover)","info-alt-active":"var(--vef-color-info-text-active)",base:"var(--vef-color-text-base)",default:"var(--vef-color-text)",secondary:"var(--vef-color-text-secondary)",tertiary:"var(--vef-color-text-tertiary)",quaternary:"var(--vef-color-text-quaternary)",placeholder:"var(--vef-color-text-placeholder)",disabled:"var(--vef-color-text-disabled)",heading:"var(--vef-color-text-heading)",label:"var(--vef-color-text-label)",description:"var(--vef-color-text-description)","light-solid":"var(--vef-color-text-light-solid)",highlight:"var(--vef-color-highlight)",icon:"var(--vef-color-icon)","icon-hover":"var(--vef-color-icon-hover)"},outlineColor:{error:"var(--vef-color-error-outline)",warning:"var(--vef-color-warning-outline)"},backgroundColor:{"primary-alt":"var(--vef-color-primary-bg)","primary-alt-hover":"var(--vef-color-primary-bg-hover)","success-alt":"var(--vef-color-success-bg)","success-alt-hover":"var(--vef-color-success-bg-hover)","warning-alt":"var(--vef-color-warning-bg)","warning-alt-hover":"var(--vef-color-warning-bg-hover)","error-alt":"var(--vef-color-error-bg)","error-alt-hover":"var(--vef-color-error-bg-hover)","info-alt":"var(--vef-color-info-bg)","info-alt-hover":"var(--vef-color-info-bg-hover)",base:"var(--vef-color-bg-base)",layout:"var(--vef-color-bg-layout)",spotlight:"var(--vef-color-bg-spotlight)",solid:"var(--vef-color-bg-solid)","solid-hover":"var(--vef-color-bg-solid-hover)","solid-active":"var(--vef-color-bg-solid-active)",container:"var(--vef-color-bg-container)","container-disabled":"var(--vef-color-bg-container-disabled)",elevated:"var(--vef-color-bg-elevated)",blur:"var(--vef-color-bg-blur)",fill:"var(--vef-color-fill)","fill-secondary":"var(--vef-color-fill-secondary)","fill-tertiary":"var(--vef-color-fill-tertiary)","fill-quaternary":"var(--vef-color-fill-quaternary)","fill-content":"var(--vef-color-fill-content)","fill-content-hover":"var(--vef-color-fill-content-hover)","fill-alt":"var(--vef-color-fill-alter)",mask:"var(--vef-color-bg-mask)","text-hover":"var(--vef-color-bg-text-hover)","text-active":"var(--vef-color-bg-text-active)","control-item-hover":"var(--vef-control-item-bg-hover)","control-item-active":"var(--vef-control-item-bg-active)","control-item-active-hover":"var(--vef-control-item-bg-active-hover)","control-item-active-disabled":"var(--vef-control-item-bg-active-disabled)"},borderColor:{"primary-alt":"var(--vef-color-primary-border)","primary-alt-hover":"var(--vef-color-primary-border-hover)","success-alt":"var(--vef-color-success-border)","success-alt-hover":"var(--vef-color-success-border-hover)","warning-alt":"var(--vef-color-warning-border)","warning-alt-hover":"var(--vef-color-warning-border-hover)","error-alt":"var(--vef-color-error-border)","error-alt-hover":"var(--vef-color-error-border-hover)","info-alt":"var(--vef-color-info-border)","info-alt-hover":"var(--vef-color-info-border-hover)",base:"var(--vef-color-border)",secondary:"var(--vef-color-border-secondary)"},fontFamily:{base:"var(--vef-font-family)",code:"var(--vef-font-family-code)"},fontSize:{base:"var(--vef-font-size)",sm:"var(--vef-font-size-sm)",lg:"var(--vef-font-size-lg)",xl:"var(--vef-font-size-xl)",heading1:"var(--vef-font-size-heading-1)",heading2:"var(--vef-font-size-heading-2)",heading3:"var(--vef-font-size-heading-3)",heading4:"var(--vef-font-size-heading-4)",heading5:"var(--vef-font-size-heading-5)"},fontWeight:{strong:"var(--vef-font-weight-strong)"},borderWidth:{base:"var(--vef-line-width)",bold:"var(--vef-line-width-bold)"},borderRadius:{DEFAULT:"var(--vef-border-radius)",xs:"var(--vef-border-radius-xs)",sm:"var(--vef-border-radius-sm)",lg:"var(--vef-border-radius-lg)",outer:"var(--vef-border-radius-outer)"},height:{control:"var(--vef-control-height)","control-sm":"var(--vef-control-height-sm)","control-xs":"var(--vef-control-height-xs)","control-lg":"var(--vef-control-height-lg)",font:"var(--vef-font-height)","font-sm":"var(--vef-font-height-sm)","font-lg":"var(--vef-font-height-lg)"},lineHeight:{base:"var(--vef-line-height)",sm:"var(--vef-line-height-sm)",lg:"var(--vef-line-height-lg)","heading-1":"var(--vef-line-height-heading-1)","heading-2":"var(--vef-line-height-heading-2)","heading-3":"var(--vef-line-height-heading-3)","heading-4":"var(--vef-line-height-heading-4)","heading-5":"var(--vef-line-height-heading-5)"},spacing:{base:"var(--vef-margin)",xxs:"var(--vef-margin-xxs)",xs:"var(--vef-margin-xs)",sm:"var(--vef-margin-sm)",md:"var(--vef-margin-md)",lg:"var(--vef-margin-lg)",xl:"var(--vef-margin-xl)",xxl:"var(--vef-margin-xxl)"},boxShadow:{base:"var(--vef-box-shadow)",secondary:"var(--vef-box-shadow-secondary)",tertiary:"var(--vef-box-shadow-tertiary)",card:"var(--vef-box-shadow-card)",elevated:"0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"},transitionDuration:{fast:"var(--vef-motion-duration-fast)",mid:"var(--vef-motion-duration-mid)",slow:"var(--vef-motion-duration-slow)"},transitionTimingFunction:{"ease-out-circ":"var(--vef-motion-ease-out-circ)","ease-in-out-circ":"var(--vef-motion-ease-in-out-circ)","ease-out":"var(--vef-motion-ease-out)","ease-in-out":"var(--vef-motion-ease-in-out)","ease-out-back":"var(--vef-motion-ease-out-back)","ease-in-back":"var(--vef-motion-ease-in-back)","ease-in-quint":"var(--vef-motion-ease-in-quint)","ease-out-quint":"var(--vef-motion-ease-out-quint)"},zIndex:{base:"var(--vef-z-index-base)",popup:"var(--vef-z-index-popup)"}}}}};
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:15.261Z, made by Venus. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const containerQueries = require('@tailwindcss/container-queries');
|
|
7
|
+
const colors = require('tailwindcss/colors');
|
|
8
|
+
|
|
9
|
+
function defineTailwindConfig() {
|
|
10
|
+
return {
|
|
11
|
+
content: ["./src/**/*.{ts,tsx}"],
|
|
12
|
+
plugins: [containerQueries],
|
|
13
|
+
theme: {
|
|
14
|
+
colors: {
|
|
15
|
+
"inherit": "inherit",
|
|
16
|
+
"current": "currentColor",
|
|
17
|
+
"transparent": "transparent",
|
|
18
|
+
"black": "#000000",
|
|
19
|
+
"white": "var(--vef-color-white)",
|
|
20
|
+
"primary": "var(--vef-color-primary)",
|
|
21
|
+
"primary-hover": "var(--vef-color-primary-hover)",
|
|
22
|
+
"primary-active": "var(--vef-color-primary-active)",
|
|
23
|
+
"success": "var(--vef-color-success)",
|
|
24
|
+
"success-hover": "var(--vef-color-success-hover)",
|
|
25
|
+
"success-active": "var(--vef-color-success-active)",
|
|
26
|
+
"warning": "var(--vef-color-warning)",
|
|
27
|
+
"warning-hover": "var(--vef-color-warning-hover)",
|
|
28
|
+
"warning-active": "var(--vef-color-warning-active)",
|
|
29
|
+
"error": "var(--vef-color-error)",
|
|
30
|
+
"error-hover": "var(--vef-color-error-hover)",
|
|
31
|
+
"error-active": "var(--vef-color-error-active)",
|
|
32
|
+
"info": "var(--vef-color-info)",
|
|
33
|
+
"info-hover": "var(--vef-color-info-hover)",
|
|
34
|
+
"info-active": "var(--vef-color-info-active)",
|
|
35
|
+
"link": "var(--vef-color-link)",
|
|
36
|
+
"link-hover": "var(--vef-color-link-hover)",
|
|
37
|
+
"link-active": "var(--vef-color-link-active)",
|
|
38
|
+
"blue": {
|
|
39
|
+
DEFAULT: "var(--vef-blue-6)",
|
|
40
|
+
1: "var(--vef-blue-1)",
|
|
41
|
+
2: "var(--vef-blue-2)",
|
|
42
|
+
3: "var(--vef-blue-3)",
|
|
43
|
+
4: "var(--vef-blue-4)",
|
|
44
|
+
5: "var(--vef-blue-5)",
|
|
45
|
+
6: "var(--vef-blue-6)",
|
|
46
|
+
7: "var(--vef-blue-7)",
|
|
47
|
+
8: "var(--vef-blue-8)",
|
|
48
|
+
9: "var(--vef-blue-9)",
|
|
49
|
+
10: "var(--vef-blue-10)"
|
|
50
|
+
},
|
|
51
|
+
"purple": {
|
|
52
|
+
DEFAULT: "var(--vef-purple-6)",
|
|
53
|
+
1: "var(--vef-purple-1)",
|
|
54
|
+
2: "var(--vef-purple-2)",
|
|
55
|
+
3: "var(--vef-purple-3)",
|
|
56
|
+
4: "var(--vef-purple-4)",
|
|
57
|
+
5: "var(--vef-purple-5)",
|
|
58
|
+
6: "var(--vef-purple-6)",
|
|
59
|
+
7: "var(--vef-purple-7)",
|
|
60
|
+
8: "var(--vef-purple-8)",
|
|
61
|
+
9: "var(--vef-purple-9)",
|
|
62
|
+
10: "var(--vef-purple-10)"
|
|
63
|
+
},
|
|
64
|
+
"cyan": {
|
|
65
|
+
DEFAULT: "var(--vef-cyan-6)",
|
|
66
|
+
1: "var(--vef-cyan-1)",
|
|
67
|
+
2: "var(--vef-cyan-2)",
|
|
68
|
+
3: "var(--vef-cyan-3)",
|
|
69
|
+
4: "var(--vef-cyan-4)",
|
|
70
|
+
5: "var(--vef-cyan-5)",
|
|
71
|
+
6: "var(--vef-cyan-6)",
|
|
72
|
+
7: "var(--vef-cyan-7)",
|
|
73
|
+
8: "var(--vef-cyan-8)",
|
|
74
|
+
9: "var(--vef-cyan-9)",
|
|
75
|
+
10: "var(--vef-cyan-10)"
|
|
76
|
+
},
|
|
77
|
+
"green": {
|
|
78
|
+
DEFAULT: "var(--vef-green-6)",
|
|
79
|
+
1: "var(--vef-green-1)",
|
|
80
|
+
2: "var(--vef-green-2)",
|
|
81
|
+
3: "var(--vef-green-3)",
|
|
82
|
+
4: "var(--vef-green-4)",
|
|
83
|
+
5: "var(--vef-green-5)",
|
|
84
|
+
6: "var(--vef-green-6)",
|
|
85
|
+
7: "var(--vef-green-7)",
|
|
86
|
+
8: "var(--vef-green-8)",
|
|
87
|
+
9: "var(--vef-green-9)",
|
|
88
|
+
10: "var(--vef-green-10)"
|
|
89
|
+
},
|
|
90
|
+
"magenta": {
|
|
91
|
+
DEFAULT: "var(--vef-magenta-6)",
|
|
92
|
+
1: "var(--vef-magenta-1)",
|
|
93
|
+
2: "var(--vef-magenta-2)",
|
|
94
|
+
3: "var(--vef-magenta-3)",
|
|
95
|
+
4: "var(--vef-magenta-4)",
|
|
96
|
+
5: "var(--vef-magenta-5)",
|
|
97
|
+
6: "var(--vef-magenta-6)",
|
|
98
|
+
7: "var(--vef-magenta-7)",
|
|
99
|
+
8: "var(--vef-magenta-8)",
|
|
100
|
+
9: "var(--vef-magenta-9)",
|
|
101
|
+
10: "var(--vef-magenta-10)"
|
|
102
|
+
},
|
|
103
|
+
"pink": {
|
|
104
|
+
DEFAULT: "var(--vef-pink-6)",
|
|
105
|
+
1: "var(--vef-pink-1)",
|
|
106
|
+
2: "var(--vef-pink-2)",
|
|
107
|
+
3: "var(--vef-pink-3)",
|
|
108
|
+
4: "var(--vef-pink-4)",
|
|
109
|
+
5: "var(--vef-pink-5)",
|
|
110
|
+
6: "var(--vef-pink-6)",
|
|
111
|
+
7: "var(--vef-pink-7)",
|
|
112
|
+
8: "var(--vef-pink-8)",
|
|
113
|
+
9: "var(--vef-pink-9)",
|
|
114
|
+
10: "var(--vef-pink-10)"
|
|
115
|
+
},
|
|
116
|
+
"red": {
|
|
117
|
+
DEFAULT: "var(--vef-red-6)",
|
|
118
|
+
1: "var(--vef-red-1)",
|
|
119
|
+
2: "var(--vef-red-2)",
|
|
120
|
+
3: "var(--vef-red-3)",
|
|
121
|
+
4: "var(--vef-red-4)",
|
|
122
|
+
5: "var(--vef-red-5)",
|
|
123
|
+
6: "var(--vef-red-6)",
|
|
124
|
+
7: "var(--vef-red-7)",
|
|
125
|
+
8: "var(--vef-red-8)",
|
|
126
|
+
9: "var(--vef-red-9)",
|
|
127
|
+
10: "var(--vef-red-10)"
|
|
128
|
+
},
|
|
129
|
+
"orange": {
|
|
130
|
+
DEFAULT: "var(--vef-orange-6)",
|
|
131
|
+
1: "var(--vef-orange-1)",
|
|
132
|
+
2: "var(--vef-orange-2)",
|
|
133
|
+
3: "var(--vef-orange-3)",
|
|
134
|
+
4: "var(--vef-orange-4)",
|
|
135
|
+
5: "var(--vef-orange-5)",
|
|
136
|
+
6: "var(--vef-orange-6)",
|
|
137
|
+
7: "var(--vef-orange-7)",
|
|
138
|
+
8: "var(--vef-orange-8)",
|
|
139
|
+
9: "var(--vef-orange-9)",
|
|
140
|
+
10: "var(--vef-orange-10)"
|
|
141
|
+
},
|
|
142
|
+
"yellow": {
|
|
143
|
+
DEFAULT: "var(--vef-yellow-6)",
|
|
144
|
+
1: "var(--vef-yellow-1)",
|
|
145
|
+
2: "var(--vef-yellow-2)",
|
|
146
|
+
3: "var(--vef-yellow-3)",
|
|
147
|
+
4: "var(--vef-yellow-4)",
|
|
148
|
+
5: "var(--vef-yellow-5)",
|
|
149
|
+
6: "var(--vef-yellow-6)",
|
|
150
|
+
7: "var(--vef-yellow-7)",
|
|
151
|
+
8: "var(--vef-yellow-8)",
|
|
152
|
+
9: "var(--vef-yellow-9)",
|
|
153
|
+
10: "var(--vef-yellow-10)"
|
|
154
|
+
},
|
|
155
|
+
"volcano": {
|
|
156
|
+
DEFAULT: "var(--vef-volcano-6)",
|
|
157
|
+
1: "var(--vef-volcano-1)",
|
|
158
|
+
2: "var(--vef-volcano-2)",
|
|
159
|
+
3: "var(--vef-volcano-3)",
|
|
160
|
+
4: "var(--vef-volcano-4)",
|
|
161
|
+
5: "var(--vef-volcano-5)",
|
|
162
|
+
6: "var(--vef-volcano-6)",
|
|
163
|
+
7: "var(--vef-volcano-7)",
|
|
164
|
+
8: "var(--vef-volcano-8)",
|
|
165
|
+
9: "var(--vef-volcano-9)",
|
|
166
|
+
10: "var(--vef-volcano-10)"
|
|
167
|
+
},
|
|
168
|
+
"geekblue": {
|
|
169
|
+
DEFAULT: "var(--vef-geekblue-6)",
|
|
170
|
+
1: "var(--vef-geekblue-1)",
|
|
171
|
+
2: "var(--vef-geekblue-2)",
|
|
172
|
+
3: "var(--vef-geekblue-3)",
|
|
173
|
+
4: "var(--vef-geekblue-4)",
|
|
174
|
+
5: "var(--vef-geekblue-5)",
|
|
175
|
+
6: "var(--vef-geekblue-6)",
|
|
176
|
+
7: "var(--vef-geekblue-7)",
|
|
177
|
+
8: "var(--vef-geekblue-8)",
|
|
178
|
+
9: "var(--vef-geekblue-9)",
|
|
179
|
+
10: "var(--vef-geekblue-10)"
|
|
180
|
+
},
|
|
181
|
+
"gold": {
|
|
182
|
+
DEFAULT: "var(--vef-gold-6)",
|
|
183
|
+
1: "var(--vef-gold-1)",
|
|
184
|
+
2: "var(--vef-gold-2)",
|
|
185
|
+
3: "var(--vef-gold-3)",
|
|
186
|
+
4: "var(--vef-gold-4)",
|
|
187
|
+
5: "var(--vef-gold-5)",
|
|
188
|
+
6: "var(--vef-gold-6)",
|
|
189
|
+
7: "var(--vef-gold-7)",
|
|
190
|
+
8: "var(--vef-gold-8)",
|
|
191
|
+
9: "var(--vef-gold-9)",
|
|
192
|
+
10: "var(--vef-gold-10)"
|
|
193
|
+
},
|
|
194
|
+
"lime": {
|
|
195
|
+
DEFAULT: "var(--vef-lime-6)",
|
|
196
|
+
1: "var(--vef-lime-1)",
|
|
197
|
+
2: "var(--vef-lime-2)",
|
|
198
|
+
3: "var(--vef-lime-3)",
|
|
199
|
+
4: "var(--vef-lime-4)",
|
|
200
|
+
5: "var(--vef-lime-5)",
|
|
201
|
+
6: "var(--vef-lime-6)",
|
|
202
|
+
7: "var(--vef-lime-7)",
|
|
203
|
+
8: "var(--vef-lime-8)",
|
|
204
|
+
9: "var(--vef-lime-9)",
|
|
205
|
+
10: "var(--vef-lime-10)"
|
|
206
|
+
},
|
|
207
|
+
"slate": {
|
|
208
|
+
DEFAULT: colors.slate[500],
|
|
209
|
+
1: colors.slate[50],
|
|
210
|
+
2: colors.slate[100],
|
|
211
|
+
3: colors.slate[200],
|
|
212
|
+
4: colors.slate[300],
|
|
213
|
+
5: colors.slate[400],
|
|
214
|
+
6: colors.slate[500],
|
|
215
|
+
7: colors.slate[600],
|
|
216
|
+
8: colors.slate[700],
|
|
217
|
+
9: colors.slate[800],
|
|
218
|
+
10: colors.slate[900]
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
extend: {
|
|
222
|
+
textColor: {
|
|
223
|
+
"primary-alt": "var(--vef-color-primary-text)",
|
|
224
|
+
"primary-alt-hover": "var(--vef-color-primary-text-hover)",
|
|
225
|
+
"primary-alt-active": "var(--vef-color-primary-text-active)",
|
|
226
|
+
"success-alt": "var(--vef-color-success-text)",
|
|
227
|
+
"success-alt-hover": "var(--vef-color-success-text-hover)",
|
|
228
|
+
"success-alt-active": "var(--vef-color-success-text-active)",
|
|
229
|
+
"warning-alt": "var(--vef-color-warning-text)",
|
|
230
|
+
"warning-alt-hover": "var(--vef-color-warning-text-hover)",
|
|
231
|
+
"warning-alt-active": "var(--vef-color-warning-text-active)",
|
|
232
|
+
"error-alt": "var(--vef-color-error-text)",
|
|
233
|
+
"error-alt-hover": "var(--vef-color-error-text-hover)",
|
|
234
|
+
"error-alt-active": "var(--vef-color-error-text-active)",
|
|
235
|
+
"info-alt": "var(--vef-color-info-text)",
|
|
236
|
+
"info-alt-hover": "var(--vef-color-info-text-hover)",
|
|
237
|
+
"info-alt-active": "var(--vef-color-info-text-active)",
|
|
238
|
+
"base": "var(--vef-color-text-base)",
|
|
239
|
+
"default": "var(--vef-color-text)",
|
|
240
|
+
"secondary": "var(--vef-color-text-secondary)",
|
|
241
|
+
"tertiary": "var(--vef-color-text-tertiary)",
|
|
242
|
+
"quaternary": "var(--vef-color-text-quaternary)",
|
|
243
|
+
"placeholder": "var(--vef-color-text-placeholder)",
|
|
244
|
+
"disabled": "var(--vef-color-text-disabled)",
|
|
245
|
+
"heading": "var(--vef-color-text-heading)",
|
|
246
|
+
"label": "var(--vef-color-text-label)",
|
|
247
|
+
"description": "var(--vef-color-text-description)",
|
|
248
|
+
"light-solid": "var(--vef-color-text-light-solid)",
|
|
249
|
+
"highlight": "var(--vef-color-highlight)",
|
|
250
|
+
"icon": "var(--vef-color-icon)",
|
|
251
|
+
"icon-hover": "var(--vef-color-icon-hover)"
|
|
252
|
+
},
|
|
253
|
+
outlineColor: {
|
|
254
|
+
error: "var(--vef-color-error-outline)",
|
|
255
|
+
warning: "var(--vef-color-warning-outline)"
|
|
256
|
+
},
|
|
257
|
+
backgroundColor: {
|
|
258
|
+
"primary-alt": "var(--vef-color-primary-bg)",
|
|
259
|
+
"primary-alt-hover": "var(--vef-color-primary-bg-hover)",
|
|
260
|
+
"success-alt": "var(--vef-color-success-bg)",
|
|
261
|
+
"success-alt-hover": "var(--vef-color-success-bg-hover)",
|
|
262
|
+
"warning-alt": "var(--vef-color-warning-bg)",
|
|
263
|
+
"warning-alt-hover": "var(--vef-color-warning-bg-hover)",
|
|
264
|
+
"error-alt": "var(--vef-color-error-bg)",
|
|
265
|
+
"error-alt-hover": "var(--vef-color-error-bg-hover)",
|
|
266
|
+
"info-alt": "var(--vef-color-info-bg)",
|
|
267
|
+
"info-alt-hover": "var(--vef-color-info-bg-hover)",
|
|
268
|
+
"base": "var(--vef-color-bg-base)",
|
|
269
|
+
"layout": "var(--vef-color-bg-layout)",
|
|
270
|
+
"spotlight": "var(--vef-color-bg-spotlight)",
|
|
271
|
+
"solid": "var(--vef-color-bg-solid)",
|
|
272
|
+
"solid-hover": "var(--vef-color-bg-solid-hover)",
|
|
273
|
+
"solid-active": "var(--vef-color-bg-solid-active)",
|
|
274
|
+
"container": "var(--vef-color-bg-container)",
|
|
275
|
+
"container-disabled": "var(--vef-color-bg-container-disabled)",
|
|
276
|
+
"elevated": "var(--vef-color-bg-elevated)",
|
|
277
|
+
"blur": "var(--vef-color-bg-blur)",
|
|
278
|
+
"fill": "var(--vef-color-fill)",
|
|
279
|
+
"fill-secondary": "var(--vef-color-fill-secondary)",
|
|
280
|
+
"fill-tertiary": "var(--vef-color-fill-tertiary)",
|
|
281
|
+
"fill-quaternary": "var(--vef-color-fill-quaternary)",
|
|
282
|
+
"fill-content": "var(--vef-color-fill-content)",
|
|
283
|
+
"fill-content-hover": "var(--vef-color-fill-content-hover)",
|
|
284
|
+
"fill-alt": "var(--vef-color-fill-alter)",
|
|
285
|
+
"mask": "var(--vef-color-bg-mask)",
|
|
286
|
+
"text-hover": "var(--vef-color-bg-text-hover)",
|
|
287
|
+
"text-active": "var(--vef-color-bg-text-active)",
|
|
288
|
+
"control-item-hover": "var(--vef-control-item-bg-hover)",
|
|
289
|
+
"control-item-active": "var(--vef-control-item-bg-active)",
|
|
290
|
+
"control-item-active-hover": "var(--vef-control-item-bg-active-hover)",
|
|
291
|
+
"control-item-active-disabled": "var(--vef-control-item-bg-active-disabled)"
|
|
292
|
+
},
|
|
293
|
+
borderColor: {
|
|
294
|
+
"primary-alt": "var(--vef-color-primary-border)",
|
|
295
|
+
"primary-alt-hover": "var(--vef-color-primary-border-hover)",
|
|
296
|
+
"success-alt": "var(--vef-color-success-border)",
|
|
297
|
+
"success-alt-hover": "var(--vef-color-success-border-hover)",
|
|
298
|
+
"warning-alt": "var(--vef-color-warning-border)",
|
|
299
|
+
"warning-alt-hover": "var(--vef-color-warning-border-hover)",
|
|
300
|
+
"error-alt": "var(--vef-color-error-border)",
|
|
301
|
+
"error-alt-hover": "var(--vef-color-error-border-hover)",
|
|
302
|
+
"info-alt": "var(--vef-color-info-border)",
|
|
303
|
+
"info-alt-hover": "var(--vef-color-info-border-hover)",
|
|
304
|
+
"base": "var(--vef-color-border)",
|
|
305
|
+
"secondary": "var(--vef-color-border-secondary)"
|
|
306
|
+
},
|
|
307
|
+
fontFamily: {
|
|
308
|
+
base: "var(--vef-font-family)",
|
|
309
|
+
code: "var(--vef-font-family-code)"
|
|
310
|
+
},
|
|
311
|
+
fontSize: {
|
|
312
|
+
base: "var(--vef-font-size)",
|
|
313
|
+
sm: "var(--vef-font-size-sm)",
|
|
314
|
+
lg: "var(--vef-font-size-lg)",
|
|
315
|
+
xl: "var(--vef-font-size-xl)",
|
|
316
|
+
heading1: "var(--vef-font-size-heading-1)",
|
|
317
|
+
heading2: "var(--vef-font-size-heading-2)",
|
|
318
|
+
heading3: "var(--vef-font-size-heading-3)",
|
|
319
|
+
heading4: "var(--vef-font-size-heading-4)",
|
|
320
|
+
heading5: "var(--vef-font-size-heading-5)"
|
|
321
|
+
},
|
|
322
|
+
fontWeight: {
|
|
323
|
+
strong: "var(--vef-font-weight-strong)"
|
|
324
|
+
},
|
|
325
|
+
borderWidth: {
|
|
326
|
+
base: "var(--vef-line-width)",
|
|
327
|
+
bold: "var(--vef-line-width-bold)"
|
|
328
|
+
},
|
|
329
|
+
borderRadius: {
|
|
330
|
+
DEFAULT: "var(--vef-border-radius)",
|
|
331
|
+
xs: "var(--vef-border-radius-xs)",
|
|
332
|
+
sm: "var(--vef-border-radius-sm)",
|
|
333
|
+
lg: "var(--vef-border-radius-lg)",
|
|
334
|
+
outer: "var(--vef-border-radius-outer)"
|
|
335
|
+
},
|
|
336
|
+
height: {
|
|
337
|
+
"control": "var(--vef-control-height)",
|
|
338
|
+
"control-sm": "var(--vef-control-height-sm)",
|
|
339
|
+
"control-xs": "var(--vef-control-height-xs)",
|
|
340
|
+
"control-lg": "var(--vef-control-height-lg)",
|
|
341
|
+
"font": "var(--vef-font-height)",
|
|
342
|
+
"font-sm": "var(--vef-font-height-sm)",
|
|
343
|
+
"font-lg": "var(--vef-font-height-lg)"
|
|
344
|
+
},
|
|
345
|
+
lineHeight: {
|
|
346
|
+
"base": "var(--vef-line-height)",
|
|
347
|
+
"sm": "var(--vef-line-height-sm)",
|
|
348
|
+
"lg": "var(--vef-line-height-lg)",
|
|
349
|
+
"heading-1": "var(--vef-line-height-heading-1)",
|
|
350
|
+
"heading-2": "var(--vef-line-height-heading-2)",
|
|
351
|
+
"heading-3": "var(--vef-line-height-heading-3)",
|
|
352
|
+
"heading-4": "var(--vef-line-height-heading-4)",
|
|
353
|
+
"heading-5": "var(--vef-line-height-heading-5)"
|
|
354
|
+
},
|
|
355
|
+
spacing: {
|
|
356
|
+
base: "var(--vef-margin)",
|
|
357
|
+
xxs: "var(--vef-margin-xxs)",
|
|
358
|
+
xs: "var(--vef-margin-xs)",
|
|
359
|
+
sm: "var(--vef-margin-sm)",
|
|
360
|
+
md: "var(--vef-margin-md)",
|
|
361
|
+
lg: "var(--vef-margin-lg)",
|
|
362
|
+
xl: "var(--vef-margin-xl)",
|
|
363
|
+
xxl: "var(--vef-margin-xxl)"
|
|
364
|
+
},
|
|
365
|
+
boxShadow: {
|
|
366
|
+
base: "var(--vef-box-shadow)",
|
|
367
|
+
secondary: "var(--vef-box-shadow-secondary)",
|
|
368
|
+
tertiary: "var(--vef-box-shadow-tertiary)",
|
|
369
|
+
card: "var(--vef-box-shadow-card)",
|
|
370
|
+
elevated: "0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"
|
|
371
|
+
},
|
|
372
|
+
transitionDuration: {
|
|
373
|
+
fast: "var(--vef-motion-duration-fast)",
|
|
374
|
+
mid: "var(--vef-motion-duration-mid)",
|
|
375
|
+
slow: "var(--vef-motion-duration-slow)"
|
|
376
|
+
},
|
|
377
|
+
transitionTimingFunction: {
|
|
378
|
+
"ease-out-circ": "var(--vef-motion-ease-out-circ)",
|
|
379
|
+
"ease-in-out-circ": "var(--vef-motion-ease-in-out-circ)",
|
|
380
|
+
"ease-out": "var(--vef-motion-ease-out)",
|
|
381
|
+
"ease-in-out": "var(--vef-motion-ease-in-out)",
|
|
382
|
+
"ease-out-back": "var(--vef-motion-ease-out-back)",
|
|
383
|
+
"ease-in-back": "var(--vef-motion-ease-in-back)",
|
|
384
|
+
"ease-in-quint": "var(--vef-motion-ease-in-quint)",
|
|
385
|
+
"ease-out-quint": "var(--vef-motion-ease-out-quint)"
|
|
386
|
+
},
|
|
387
|
+
zIndex: {
|
|
388
|
+
base: "var(--vef-z-index-base)",
|
|
389
|
+
popup: "var(--vef-z-index-popup)"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
exports.defineTailwindConfig = defineTailwindConfig;
|
|
3
397
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/types.cjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:15.261Z, made by Venus. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
|
|
3
5
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/package.json
CHANGED
package/template/_package.json
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@tanstack/react-router": "^1.0.0",
|
|
21
|
-
"@vef-framework/components": "1.0.
|
|
22
|
-
"@vef-framework/core": "1.0.
|
|
23
|
-
"@vef-framework/hooks": "1.0.
|
|
24
|
-
"@vef-framework/shared": "1.0.
|
|
25
|
-
"@vef-framework/starter": "1.0.
|
|
21
|
+
"@vef-framework/components": "1.0.101",
|
|
22
|
+
"@vef-framework/core": "1.0.101",
|
|
23
|
+
"@vef-framework/hooks": "1.0.101",
|
|
24
|
+
"@vef-framework/shared": "1.0.101",
|
|
25
|
+
"@vef-framework/starter": "1.0.101",
|
|
26
26
|
"react": "18.3.1",
|
|
27
27
|
"react-dom": "18.3.1",
|
|
28
28
|
"zod": "^3.0.0"
|