sunyard-szyy-ui 0.2.2 → 0.2.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/hooks/index.cjs +56792 -0
- package/dist/hooks/index.d.ts +39 -0
- package/dist/hooks/index.js +56775 -0
- package/dist/utils/index.cjs +170 -0
- package/dist/utils/index.d.ts +188 -0
- package/dist/utils/index.js +138 -0
- package/es/components/search-bar/index.mjs +1 -0
- package/es/components/search-bar/style/css.mjs +1 -0
- package/es/components/search-bar/style/index.mjs +1 -0
- package/es/index.d.ts +1 -6
- package/es/index.d.ts.map +1 -1
- package/es/index.mjs +1 -1
- package/es/search-bar/index.d.ts +2 -0
- package/es/search-bar/index.d.ts.map +1 -0
- package/es/search-bar/src/search-bar.d.ts +118 -0
- package/es/search-bar/src/search-bar.d.ts.map +1 -0
- package/es/search-bar/src/search-bar.mjs +1 -0
- package/es/search-bar/style/css.d.ts +4 -0
- package/es/search-bar/style/css.d.ts.map +1 -0
- package/es/search-bar/style/index.d.ts +4 -0
- package/es/search-bar/style/index.d.ts.map +1 -0
- package/lib/components/search-bar/index.js +1 -0
- package/lib/components/search-bar/style/css.js +1 -0
- package/lib/components/search-bar/style/index.js +1 -0
- package/lib/index.d.ts +1 -6
- package/lib/index.js +1 -1
- package/lib/search-bar/index.d.ts +2 -0
- package/lib/search-bar/src/search-bar.d.ts +118 -0
- package/lib/search-bar/src/search-bar.js +1 -0
- package/lib/search-bar/style/css.d.ts +4 -0
- package/lib/search-bar/style/index.d.ts +4 -0
- package/package.json +27 -12
- package/theme-chalk/base.css +1 -0
- package/theme-chalk/index.css +1 -0
- package/theme-chalk/search-bar.css +1 -0
- package/theme-chalk/src/base.scss +75 -0
- package/theme-chalk/src/index.scss +9 -0
- package/theme-chalk/src/search-bar.scss +14 -0
- package/theme-chalk/src/var.scss +22 -0
- package/theme-chalk/var.scss +22 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require("element-plus/es/components/button/style/css");require("element-plus/es/components/input/style/css");require("@sunyard-szyy-ui/theme-chalk/src/search-bar.scss");
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export * from '@sunyard-szyy-ui/components';
|
|
3
|
-
export * from '@sunyard-szyy-ui/hooks';
|
|
4
|
-
export * from '@sunyard-szyy-ui/utils';
|
|
5
|
-
export declare const SunyardSzyyUI: Plugin;
|
|
6
|
-
export default SunyardSzyyUI;
|
|
1
|
+
export * from './search-bar';
|
|
7
2
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./search-bar/src/search-bar.js");exports.SySearchBar=e.SySearchBar;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
declare const SearchBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
placeholder: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
buttonText: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "search")[], "update:modelValue" | "search", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
placeholder: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
buttonText: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
modelValue: string;
|
|
34
|
+
placeholder: string;
|
|
35
|
+
buttonText: string;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
export declare const SySearchBar: import("@sunyard-szyy-ui/utils").SFCWithInstall<{
|
|
38
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
placeholder: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
buttonText: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "search")[], import("vue").PublicProps, {
|
|
57
|
+
modelValue: string;
|
|
58
|
+
placeholder: string;
|
|
59
|
+
buttonText: string;
|
|
60
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
61
|
+
P: {};
|
|
62
|
+
B: {};
|
|
63
|
+
D: {};
|
|
64
|
+
C: {};
|
|
65
|
+
M: {};
|
|
66
|
+
Defaults: {};
|
|
67
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
modelValue: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
placeholder: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
buttonText: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{
|
|
81
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
}>, {}, {}, {}, {
|
|
86
|
+
modelValue: string;
|
|
87
|
+
placeholder: string;
|
|
88
|
+
buttonText: string;
|
|
89
|
+
}>;
|
|
90
|
+
__isFragment?: never;
|
|
91
|
+
__isTeleport?: never;
|
|
92
|
+
__isSuspense?: never;
|
|
93
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
+
modelValue: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
placeholder: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
buttonText: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "search")[], "update:modelValue" | "search", {
|
|
112
|
+
modelValue: string;
|
|
113
|
+
placeholder: string;
|
|
114
|
+
buttonText: string;
|
|
115
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>;
|
|
116
|
+
export type SySearchBarInstance = InstanceType<typeof SearchBar>;
|
|
117
|
+
export {};
|
|
118
|
+
//# sourceMappingURL=search-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("element-plus"),t=require("vue"),c=require("@sunyard-szyy-ui/hooks"),s=require("@sunyard-szyy-ui/utils"),d=t.defineComponent({name:"SySearchBar",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"请输入关键字"},buttonText:{type:String,default:"搜索"}},emits:["update:modelValue","search"],setup(l,{emit:u}){const r=c.useNamespace("search-bar"),a=t.ref(l.modelValue);t.watch(()=>l.modelValue,e=>{e!==a.value&&(a.value=e)});function n(){u("search",a.value)}return()=>t.h("div",{class:r.b()},[t.h(o.ElInput,{class:r.e("input"),modelValue:a.value,placeholder:l.placeholder,clearable:!0,"onUpdate:modelValue":e=>{a.value=e,u("update:modelValue",e)},onKeydown:e=>{e.key==="Enter"&&n()}}),t.h(o.ElButton,{class:r.e("button"),type:"primary",onClick:n},()=>l.buttonText)])}}),i=s.withInstall(d);exports.SySearchBar=i;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunyard-szyy-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -20,14 +20,18 @@
|
|
|
20
20
|
"require": "./lib/index.js"
|
|
21
21
|
},
|
|
22
22
|
"./hooks": {
|
|
23
|
-
"types": "./
|
|
24
|
-
"import": "./
|
|
25
|
-
"require": "./
|
|
23
|
+
"types": "./dist/hooks/index.d.ts",
|
|
24
|
+
"import": "./dist/hooks/index.js",
|
|
25
|
+
"require": "./dist/hooks/index.cjs"
|
|
26
26
|
},
|
|
27
27
|
"./utils": {
|
|
28
|
-
"types": "./
|
|
29
|
-
"import": "./
|
|
30
|
-
"require": "./
|
|
28
|
+
"types": "./dist/utils/index.d.ts",
|
|
29
|
+
"import": "./dist/utils/index.js",
|
|
30
|
+
"require": "./dist/utils/index.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./es/*.mjs": {
|
|
33
|
+
"types": "./es/*.d.ts",
|
|
34
|
+
"import": "./es/*.mjs"
|
|
31
35
|
},
|
|
32
36
|
"./es/*": {
|
|
33
37
|
"types": [
|
|
@@ -36,13 +40,20 @@
|
|
|
36
40
|
],
|
|
37
41
|
"import": "./es/*.mjs"
|
|
38
42
|
},
|
|
43
|
+
"./lib/*.js": {
|
|
44
|
+
"types": "./lib/*.d.ts",
|
|
45
|
+
"require": "./lib/*.js"
|
|
46
|
+
},
|
|
39
47
|
"./lib/*": {
|
|
40
48
|
"types": [
|
|
41
49
|
"./lib/*.d.ts",
|
|
42
50
|
"./lib/*/index.d.ts"
|
|
43
51
|
],
|
|
44
52
|
"require": "./lib/*.js"
|
|
45
|
-
}
|
|
53
|
+
},
|
|
54
|
+
"./theme-chalk/*": "./theme-chalk/*",
|
|
55
|
+
"./theme-chalk": "./theme-chalk/index.css",
|
|
56
|
+
"./*": "./*"
|
|
46
57
|
},
|
|
47
58
|
"files": [
|
|
48
59
|
"es",
|
|
@@ -51,16 +62,20 @@
|
|
|
51
62
|
"theme-chalk"
|
|
52
63
|
],
|
|
53
64
|
"sideEffects": [
|
|
54
|
-
"**/*.css"
|
|
65
|
+
"**/*.css",
|
|
66
|
+
"theme-chalk/**/*.css",
|
|
67
|
+
"theme-chalk/src/**/*.scss",
|
|
68
|
+
"es/components/*/style/*",
|
|
69
|
+
"lib/components/*/style/*"
|
|
55
70
|
],
|
|
56
71
|
"peerDependencies": {
|
|
57
72
|
"element-plus": "^2.0.0",
|
|
58
73
|
"vue": "^3.0.0"
|
|
59
74
|
},
|
|
60
75
|
"dependencies": {
|
|
61
|
-
"@sunyard-szyy-ui/components": "0.2.
|
|
62
|
-
"@sunyard-szyy-ui/hooks": "0.2.
|
|
63
|
-
"@sunyard-szyy-ui/utils": "0.2.
|
|
76
|
+
"@sunyard-szyy-ui/components": "0.2.4",
|
|
77
|
+
"@sunyard-szyy-ui/hooks": "0.2.4",
|
|
78
|
+
"@sunyard-szyy-ui/utils": "0.2.4"
|
|
64
79
|
},
|
|
65
80
|
"publishConfig": {
|
|
66
81
|
"access": "public"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,*::before,*::after{box-sizing:border-box}:root{--el-color-primary: #2b6ef6 !important;--el-color-primary-light-3: #6b9bf8 !important;--el-color-primary-light-5: #95b8fa !important;--el-color-primary-light-7: #bfd5fc !important;--el-color-primary-light-8: #d2e2fd !important;--el-color-primary-light-9: #e6f0fe !important;--el-color-primary-dark-2: #2358c5 !important;--el-color-success: #16a34a !important;--el-color-success-light-3: #4ec277 !important;--el-color-success-light-5: #76d196 !important;--el-color-success-light-7: #9fe0b5 !important;--el-color-success-light-8: #b7e8c7 !important;--el-color-success-light-9: #d0f0d9 !important;--el-color-success-dark-2: #12823b !important;--el-color-warning: #f59e0b !important;--el-color-warning-light-3: #f8b84b !important;--el-color-warning-light-5: #fac776 !important;--el-color-warning-light-7: #fcd5a1 !important;--el-color-warning-light-8: #fde0b7 !important;--el-color-warning-light-9: #feeacc !important;--el-color-warning-dark-2: #c47e09 !important;--el-color-danger: #ef4444 !important;--el-color-danger-light-3: #f47777 !important;--el-color-danger-light-5: #f79a9a !important;--el-color-danger-light-7: #fabbbb !important;--el-color-danger-light-8: #fccccc !important;--el-color-danger-light-9: #fddddd !important;--el-color-danger-dark-2: #bf3636 !important;--el-color-error: #ef4444 !important;--el-color-error-light-3: #f47777 !important;--el-color-error-light-5: #f79a9a !important;--el-color-error-light-7: #fabbbb !important;--el-color-error-light-8: #fccccc !important;--el-color-error-light-9: #fddddd !important;--el-color-error-dark-2: #bf3636 !important;--el-color-info: #64748b !important;--el-color-info-light-3: #8c99a9 !important;--el-color-info-light-5: #a5b0bc !important;--el-color-info-light-7: #bec6d0 !important;--el-color-info-light-8: #ced4db !important;--el-color-info-light-9: #dee2e7 !important;--el-color-info-dark-2: #505d6f !important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,*::before,*::after{box-sizing:border-box}:root{--el-color-primary: #2b6ef6 !important;--el-color-primary-light-3: #6b9bf8 !important;--el-color-primary-light-5: #95b8fa !important;--el-color-primary-light-7: #bfd5fc !important;--el-color-primary-light-8: #d2e2fd !important;--el-color-primary-light-9: #e6f0fe !important;--el-color-primary-dark-2: #2358c5 !important;--el-color-success: #16a34a !important;--el-color-success-light-3: #4ec277 !important;--el-color-success-light-5: #76d196 !important;--el-color-success-light-7: #9fe0b5 !important;--el-color-success-light-8: #b7e8c7 !important;--el-color-success-light-9: #d0f0d9 !important;--el-color-success-dark-2: #12823b !important;--el-color-warning: #f59e0b !important;--el-color-warning-light-3: #f8b84b !important;--el-color-warning-light-5: #fac776 !important;--el-color-warning-light-7: #fcd5a1 !important;--el-color-warning-light-8: #fde0b7 !important;--el-color-warning-light-9: #feeacc !important;--el-color-warning-dark-2: #c47e09 !important;--el-color-danger: #ef4444 !important;--el-color-danger-light-3: #f47777 !important;--el-color-danger-light-5: #f79a9a !important;--el-color-danger-light-7: #fabbbb !important;--el-color-danger-light-8: #fccccc !important;--el-color-danger-light-9: #fddddd !important;--el-color-danger-dark-2: #bf3636 !important;--el-color-error: #ef4444 !important;--el-color-error-light-3: #f47777 !important;--el-color-error-light-5: #f79a9a !important;--el-color-error-light-7: #fabbbb !important;--el-color-error-light-8: #fccccc !important;--el-color-error-light-9: #fddddd !important;--el-color-error-dark-2: #bf3636 !important;--el-color-info: #64748b !important;--el-color-info-light-3: #8c99a9 !important;--el-color-info-light-5: #a5b0bc !important;--el-color-info-light-7: #bec6d0 !important;--el-color-info-light-8: #ced4db !important;--el-color-info-light-9: #dee2e7 !important;--el-color-info-dark-2: #505d6f !important}.sy-search-bar{display:flex;gap:8px;align-items:center}.sy-search-bar__input{flex:1;min-width:0}.sy-search-bar__button{flex:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.sy-search-bar{display:flex;gap:8px;align-items:center}.sy-search-bar__input{flex:1;min-width:0}.sy-search-bar__button{flex:none}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// sunyard-szyy-ui 基础样式文件
|
|
2
|
+
// 用于覆盖 Element Plus 的默认样式和定义公共变量
|
|
3
|
+
|
|
4
|
+
// 注意:这里不能 @use './var.scss',因为 var.scss 会引入 Element Plus 完整样式
|
|
5
|
+
// 我们只需要定义 CSS 变量来覆盖 Element Plus 的主题色
|
|
6
|
+
|
|
7
|
+
// 统一 box-sizing
|
|
8
|
+
*,
|
|
9
|
+
*::before,
|
|
10
|
+
*::after {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// 覆盖 Element Plus 的 CSS 变量(主题色)
|
|
15
|
+
// 使用 !important 确保优先级最高,避免被 Element Plus 的 base.scss 覆盖
|
|
16
|
+
:root {
|
|
17
|
+
// Primary 主色
|
|
18
|
+
--el-color-primary: #2b6ef6 !important;
|
|
19
|
+
--el-color-primary-light-3: #6b9bf8 !important;
|
|
20
|
+
--el-color-primary-light-5: #95b8fa !important;
|
|
21
|
+
--el-color-primary-light-7: #bfd5fc !important;
|
|
22
|
+
--el-color-primary-light-8: #d2e2fd !important;
|
|
23
|
+
--el-color-primary-light-9: #e6f0fe !important;
|
|
24
|
+
--el-color-primary-dark-2: #2358c5 !important;
|
|
25
|
+
|
|
26
|
+
// Success 成功色
|
|
27
|
+
--el-color-success: #16a34a !important;
|
|
28
|
+
--el-color-success-light-3: #4ec277 !important;
|
|
29
|
+
--el-color-success-light-5: #76d196 !important;
|
|
30
|
+
--el-color-success-light-7: #9fe0b5 !important;
|
|
31
|
+
--el-color-success-light-8: #b7e8c7 !important;
|
|
32
|
+
--el-color-success-light-9: #d0f0d9 !important;
|
|
33
|
+
--el-color-success-dark-2: #12823b !important;
|
|
34
|
+
|
|
35
|
+
// Warning 警告色
|
|
36
|
+
--el-color-warning: #f59e0b !important;
|
|
37
|
+
--el-color-warning-light-3: #f8b84b !important;
|
|
38
|
+
--el-color-warning-light-5: #fac776 !important;
|
|
39
|
+
--el-color-warning-light-7: #fcd5a1 !important;
|
|
40
|
+
--el-color-warning-light-8: #fde0b7 !important;
|
|
41
|
+
--el-color-warning-light-9: #feeacc !important;
|
|
42
|
+
--el-color-warning-dark-2: #c47e09 !important;
|
|
43
|
+
|
|
44
|
+
// Danger/Error 危险/错误色
|
|
45
|
+
--el-color-danger: #ef4444 !important;
|
|
46
|
+
--el-color-danger-light-3: #f47777 !important;
|
|
47
|
+
--el-color-danger-light-5: #f79a9a !important;
|
|
48
|
+
--el-color-danger-light-7: #fabbbb !important;
|
|
49
|
+
--el-color-danger-light-8: #fccccc !important;
|
|
50
|
+
--el-color-danger-light-9: #fddddd !important;
|
|
51
|
+
--el-color-danger-dark-2: #bf3636 !important;
|
|
52
|
+
|
|
53
|
+
--el-color-error: #ef4444 !important;
|
|
54
|
+
--el-color-error-light-3: #f47777 !important;
|
|
55
|
+
--el-color-error-light-5: #f79a9a !important;
|
|
56
|
+
--el-color-error-light-7: #fabbbb !important;
|
|
57
|
+
--el-color-error-light-8: #fccccc !important;
|
|
58
|
+
--el-color-error-light-9: #fddddd !important;
|
|
59
|
+
--el-color-error-dark-2: #bf3636 !important;
|
|
60
|
+
|
|
61
|
+
// Info 信息色
|
|
62
|
+
--el-color-info: #64748b !important;
|
|
63
|
+
--el-color-info-light-3: #8c99a9 !important;
|
|
64
|
+
--el-color-info-light-5: #a5b0bc !important;
|
|
65
|
+
--el-color-info-light-7: #bec6d0 !important;
|
|
66
|
+
--el-color-info-light-8: #ced4db !important;
|
|
67
|
+
--el-color-info-light-9: #dee2e7 !important;
|
|
68
|
+
--el-color-info-dark-2: #505d6f !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// 如果需要覆盖 Element Plus 的某些全局样式,可以在这里添加
|
|
72
|
+
// 例如:
|
|
73
|
+
// .el-button {
|
|
74
|
+
// // 覆盖按钮的默认样式
|
|
75
|
+
// }
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
|
|
2
|
+
$colors: (
|
|
3
|
+
'primary': (
|
|
4
|
+
'base': #2b6ef6
|
|
5
|
+
),
|
|
6
|
+
'success': (
|
|
7
|
+
'base': #16a34a
|
|
8
|
+
),
|
|
9
|
+
'warning': (
|
|
10
|
+
'base': #f59e0b
|
|
11
|
+
),
|
|
12
|
+
'danger': (
|
|
13
|
+
'base': #ef4444
|
|
14
|
+
),
|
|
15
|
+
'error': (
|
|
16
|
+
'base': #ef4444
|
|
17
|
+
),
|
|
18
|
+
'info': (
|
|
19
|
+
'base': #64748b
|
|
20
|
+
)
|
|
21
|
+
)
|
|
22
|
+
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
|
|
2
|
+
$colors: (
|
|
3
|
+
'primary': (
|
|
4
|
+
'base': #2b6ef6
|
|
5
|
+
),
|
|
6
|
+
'success': (
|
|
7
|
+
'base': #16a34a
|
|
8
|
+
),
|
|
9
|
+
'warning': (
|
|
10
|
+
'base': #f59e0b
|
|
11
|
+
),
|
|
12
|
+
'danger': (
|
|
13
|
+
'base': #ef4444
|
|
14
|
+
),
|
|
15
|
+
'error': (
|
|
16
|
+
'base': #ef4444
|
|
17
|
+
),
|
|
18
|
+
'info': (
|
|
19
|
+
'base': #64748b
|
|
20
|
+
)
|
|
21
|
+
)
|
|
22
|
+
);
|