ct-component-plus 0.0.3 → 0.0.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ct-component-plus",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "packages/components/index.js",
|
|
7
7
|
"files": [
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
"vuepress": "^2.0.0-beta.63",
|
|
34
34
|
"vuepress-plugin-demo-container": "^0.2.0"
|
|
35
35
|
}
|
|
36
|
-
}
|
|
36
|
+
}
|
|
@@ -23,8 +23,8 @@ import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
|
23
23
|
import cingtaIcon from 'cingta-icon';
|
|
24
24
|
// import cingtaIcon from '../../icon/components/index';
|
|
25
25
|
import { isObject } from '../utils';
|
|
26
|
-
import '../style/init.less';
|
|
27
|
-
import '../style/element.less';
|
|
26
|
+
// import '../style/init.less';
|
|
27
|
+
// import '../style/element.less';
|
|
28
28
|
|
|
29
29
|
const components = [
|
|
30
30
|
button,
|
|
@@ -217,7 +217,7 @@ onMounted(() => {
|
|
|
217
217
|
vertical-align: middle;
|
|
218
218
|
@R: .ct-year-select;
|
|
219
219
|
&:not(.is-disabled):hover {
|
|
220
|
-
--ct-component-border-color: var(--ct-
|
|
220
|
+
--ct-component-border-color: var(--ct-component-hover-border-color);
|
|
221
221
|
}
|
|
222
222
|
&.is-disabled {
|
|
223
223
|
cursor: not-allowed;
|
package/packages/style/init.less
CHANGED
|
@@ -17,11 +17,12 @@
|
|
|
17
17
|
--ct-color-primary: var(--ct-color-blue); //系统默认主色,这里取的的蓝色
|
|
18
18
|
--ct-color-blue: #4D64FF; //主色-蓝
|
|
19
19
|
--ct-color-yellow: #FFAD2C; //主色-黄
|
|
20
|
-
--ct-color-green: #
|
|
20
|
+
--ct-color-green: #1EB7AD; //主色-绿
|
|
21
21
|
--ct-color-purple: #664FFF; //主色-紫
|
|
22
22
|
--ct-color-orange: #FF9218; //主色-橙
|
|
23
23
|
--ct-color-sky: #42A6FF; //主色-天蓝
|
|
24
24
|
--ct-color-red: #FF643E; //主色-橘红
|
|
25
|
+
--ct-color-grass: #88CE77; //主色-草绿
|
|
25
26
|
--ct-color-sub-blue: #3A45FF; //辅色-蓝色
|
|
26
27
|
--ct-color-sub-purple: #7B4CF4; //辅色-紫色
|
|
27
28
|
// 中性色
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
--ct-component-color: var(--ct-color-black);
|
|
71
72
|
--ct-component-disabled-bg-color: #F6F7F9;
|
|
72
73
|
--ct-component-hover-color: #F5F7FC;
|
|
74
|
+
--ct-component-hover-border-color: var(--ct-color-grey-sub);
|
|
73
75
|
|
|
74
76
|
--ct-popper-light-border: none;
|
|
75
77
|
}
|