@lingxiteam/assets 1.0.12 → 1.0.13-alpha.2
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/dealDsl/index.d.ts +1 -2
- package/es/dealDsl/index.js +1 -2
- package/es/dealDsl/preprocess/common.js +179 -37
- package/es/dealDsl/preprocessDSL.d.ts +2 -14
- package/es/dealDsl/preprocessDSL.js +2 -42
- package/es/error/errorDisplay/Web/Drawer/Drawer.js +6 -2
- package/es/error/errorDisplay/Web/Drawer/Drawer.less +25 -0
- package/es/error/errorDisplay/Web/ErrorMsg/index.js +187 -43
- package/es/error/errorDisplay/Web/Notification/Notice.js +5 -1
- package/es/error/errorDisplay/Web/Notification/Notification.js +10 -3
- package/es/error/errorDisplay/Web/Notification/Notification.less +13 -1
- package/es/error/errorDisplay/Web/Notification/index.js +8 -9
- package/es/error/errorDisplay/Web/defaultGlobalConfig.js +3 -1
- package/es/error/errorDisplay/compUtils.js +17 -1
- package/es/error/errorDisplay/const.js +1 -1
- package/es/error/errorDisplay/http.js +1 -1
- package/es/error/index.js +3 -1
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/es/rootConfig/mobile/BusiComp.d.ts +5 -0
- package/es/rootConfig/mobile/BusiComp.js +32 -3
- package/es/rootConfig/mobile/MobileModal.d.ts +13 -5
- package/es/rootConfig/mobile/MobileModal.js +38 -9
- package/es/rootConfig/mobile/MobilePopover.d.ts +5 -0
- package/es/rootConfig/mobile/MobilePopover.js +31 -2
- package/es/rootConfig/mobile/page.d.ts +25 -5
- package/es/rootConfig/mobile/page.js +70 -10
- package/es/rootConfig/pc/BusiComp.d.ts +4 -0
- package/es/rootConfig/pc/BusiComp.js +64 -3
- package/es/rootConfig/pc/Drawer.d.ts +12 -0
- package/es/rootConfig/pc/Drawer.js +68 -2
- package/es/rootConfig/pc/Modal.d.ts +6 -0
- package/es/rootConfig/pc/Modal.js +62 -2
- package/es/rootConfig/pc/Popover.d.ts +5 -0
- package/es/rootConfig/pc/Popover.js +58 -2
- package/es/rootConfig/pc/page.d.ts +25 -10
- package/es/rootConfig/pc/page.js +103 -15
- package/es/rootConfig/todoActionList.d.ts +170 -50
- package/es/rootConfig/todoActionList.js +221 -70
- package/es/rootConfig/todoOptionList.d.ts +38 -6
- package/es/rootConfig/todoOptionList.js +44 -6
- package/es/security/encipher/sign.js +8 -1
- package/es/security/encipher/token.d.ts +3 -0
- package/es/security/encipher/token.js +30 -0
- package/es/security/index.d.ts +2 -0
- package/es/security/index.js +4 -1
- package/es/theme/bin/default/modalWidth.js +8 -0
- package/es/theme/bin/default/theme.js +282 -207
- package/es/theme/bin/default/theme.less +282 -207
- package/es/theme/bin/default/theme.scss +282 -207
- package/es/theme/build.js +9 -0
- package/es/theme/src/default/index.js +169 -61
- package/es/theme/utils/renderColors.js +13 -2
- package/es/utils/cookieUtil.js +36 -0
- package/lib/dealDsl/index.d.ts +1 -2
- package/lib/dealDsl/index.js +1 -20
- package/lib/dealDsl/preprocess/common.js +179 -37
- package/lib/dealDsl/preprocessDSL.d.ts +2 -14
- package/lib/dealDsl/preprocessDSL.js +4 -46
- package/lib/error/errorDisplay/Web/Drawer/Drawer.js +6 -2
- package/lib/error/errorDisplay/Web/Drawer/Drawer.less +25 -0
- package/lib/error/errorDisplay/Web/ErrorMsg/index.js +186 -43
- package/lib/error/errorDisplay/Web/Notification/Notice.js +5 -1
- package/lib/error/errorDisplay/Web/Notification/Notification.js +10 -3
- package/lib/error/errorDisplay/Web/Notification/Notification.less +13 -1
- package/lib/error/errorDisplay/Web/Notification/index.js +8 -9
- package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +2 -1
- package/lib/error/errorDisplay/compUtils.js +19 -1
- package/lib/error/errorDisplay/const.js +1 -1
- package/lib/error/errorDisplay/http.js +1 -1
- package/lib/error/index.js +14 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js +14 -0
- package/lib/rootConfig/mobile/BusiComp.d.ts +5 -0
- package/lib/rootConfig/mobile/BusiComp.js +32 -3
- package/lib/rootConfig/mobile/MobileModal.d.ts +13 -5
- package/lib/rootConfig/mobile/MobileModal.js +38 -9
- package/lib/rootConfig/mobile/MobilePopover.d.ts +5 -0
- package/lib/rootConfig/mobile/MobilePopover.js +31 -2
- package/lib/rootConfig/mobile/page.d.ts +25 -5
- package/lib/rootConfig/mobile/page.js +70 -10
- package/lib/rootConfig/pc/BusiComp.d.ts +4 -0
- package/lib/rootConfig/pc/BusiComp.js +64 -3
- package/lib/rootConfig/pc/Drawer.d.ts +12 -0
- package/lib/rootConfig/pc/Drawer.js +68 -2
- package/lib/rootConfig/pc/Modal.d.ts +6 -0
- package/lib/rootConfig/pc/Modal.js +62 -2
- package/lib/rootConfig/pc/Popover.d.ts +5 -0
- package/lib/rootConfig/pc/Popover.js +58 -2
- package/lib/rootConfig/pc/page.d.ts +25 -10
- package/lib/rootConfig/pc/page.js +103 -15
- package/lib/rootConfig/todoActionList.d.ts +170 -50
- package/lib/rootConfig/todoActionList.js +221 -70
- package/lib/rootConfig/todoOptionList.d.ts +38 -6
- package/lib/rootConfig/todoOptionList.js +44 -6
- package/lib/security/encipher/sign.js +9 -1
- package/lib/security/encipher/token.d.ts +3 -0
- package/lib/security/encipher/token.js +38 -0
- package/lib/security/index.d.ts +2 -0
- package/lib/security/index.js +4 -1
- package/lib/theme/bin/default/modalWidth.js +15 -0
- package/lib/theme/bin/default/theme.js +282 -207
- package/lib/theme/bin/default/theme.less +282 -207
- package/lib/theme/bin/default/theme.scss +282 -207
- package/lib/theme/build.js +9 -0
- package/lib/theme/src/default/index.js +169 -61
- package/lib/theme/utils/renderColors.js +13 -2
- package/lib/utils/cookieUtil.js +43 -0
- package/package.json +1 -1
- package/es/dealDsl/events/actionObj.d.ts +0 -3
- package/es/dealDsl/events/actionObj.js +0 -6
- package/es/dealDsl/events/index.d.ts +0 -6
- package/es/dealDsl/events/index.js +0 -14
- package/es/dealDsl/preprocess/editor.d.ts +0 -9
- package/es/dealDsl/preprocess/editor.js +0 -21
- package/es/dealDsl/preprocess/engine.d.ts +0 -9
- package/es/dealDsl/preprocess/engine.js +0 -19
- package/es/theme/bin/cucc/theme.js +0 -275
- package/es/theme/bin/cucc/theme.less +0 -272
- package/es/theme/bin/cucc/theme.scss +0 -272
- package/es/theme/src/cucc/index.js +0 -131
- package/lib/dealDsl/events/actionObj.d.ts +0 -3
- package/lib/dealDsl/events/actionObj.js +0 -13
- package/lib/dealDsl/events/index.d.ts +0 -6
- package/lib/dealDsl/events/index.js +0 -21
- package/lib/dealDsl/preprocess/editor.d.ts +0 -9
- package/lib/dealDsl/preprocess/editor.js +0 -28
- package/lib/dealDsl/preprocess/engine.d.ts +0 -9
- package/lib/dealDsl/preprocess/engine.js +0 -26
- package/lib/theme/bin/cucc/theme.js +0 -277
- package/lib/theme/bin/cucc/theme.less +0 -272
- package/lib/theme/bin/cucc/theme.scss +0 -272
- package/lib/theme/src/cucc/index.js +0 -133
|
@@ -1,58 +1,3 @@
|
|
|
1
|
-
$blue-base: #3295fa;
|
|
2
|
-
$blue-1: #f0faff;
|
|
3
|
-
$blue-2: #d6f0ff;
|
|
4
|
-
$blue-3: #addeff;
|
|
5
|
-
$blue-4: #85caff;
|
|
6
|
-
$blue-5: #5cb3ff;
|
|
7
|
-
$blue-6: #3296fa;
|
|
8
|
-
$blue-7: #2074d4;
|
|
9
|
-
$blue-8: #1155ad;
|
|
10
|
-
$blue-9: #073a87;
|
|
11
|
-
$blue-10: #042661;
|
|
12
|
-
$cyan-base: #0dd1a9;
|
|
13
|
-
$cyan-1: #e6fff6;
|
|
14
|
-
$cyan-2: #b3ffe5;
|
|
15
|
-
$cyan-3: #86f7d5;
|
|
16
|
-
$cyan-4: #59ebc4;
|
|
17
|
-
$cyan-5: #31deb5;
|
|
18
|
-
$cyan-6: #0dd1aa;
|
|
19
|
-
$cyan-7: #02ab8f;
|
|
20
|
-
$cyan-8: #008573;
|
|
21
|
-
$cyan-9: #005e55;
|
|
22
|
-
$cyan-10: #003834;
|
|
23
|
-
$green-base: #02b342;
|
|
24
|
-
$green-1: #daf2df;
|
|
25
|
-
$green-2: #95e6a8;
|
|
26
|
-
$green-3: #6ad988;
|
|
27
|
-
$green-4: #43cc6c;
|
|
28
|
-
$green-5: #21bf55;
|
|
29
|
-
$green-6: #02b343;
|
|
30
|
-
$green-7: #008c38;
|
|
31
|
-
$green-8: #00662c;
|
|
32
|
-
$green-9: #00401e;
|
|
33
|
-
$green-10: #001a0d;
|
|
34
|
-
$gold-base: #faaf0c;
|
|
35
|
-
$gold-1: #fffbe6;
|
|
36
|
-
$gold-2: #fff1b0;
|
|
37
|
-
$gold-3: #ffe587;
|
|
38
|
-
$gold-4: #ffd75e;
|
|
39
|
-
$gold-5: #ffc636;
|
|
40
|
-
$gold-6: #faaf0c;
|
|
41
|
-
$gold-7: #d48a00;
|
|
42
|
-
$gold-8: #ad6b00;
|
|
43
|
-
$gold-9: #874f00;
|
|
44
|
-
$gold-10: #613500;
|
|
45
|
-
$volcano-base: #fa6432;
|
|
46
|
-
$volcano-1: #fff6f0;
|
|
47
|
-
$volcano-2: #ffe6d6;
|
|
48
|
-
$volcano-3: #ffcaad;
|
|
49
|
-
$volcano-4: #ffab85;
|
|
50
|
-
$volcano-5: #ff8a5c;
|
|
51
|
-
$volcano-6: #fa6432;
|
|
52
|
-
$volcano-7: #d44720;
|
|
53
|
-
$volcano-8: #ad2e11;
|
|
54
|
-
$volcano-9: #871a07;
|
|
55
|
-
$volcano-10: #610f04;
|
|
56
1
|
$red-base: #f23030;
|
|
57
2
|
$red-1: #fff2f0;
|
|
58
3
|
$red-2: #ffdcd6;
|
|
@@ -64,50 +9,39 @@ $red-7: #cc1f24;
|
|
|
64
9
|
$red-8: #a6111b;
|
|
65
10
|
$red-9: #800612;
|
|
66
11
|
$red-10: #59040f;
|
|
67
|
-
$
|
|
68
|
-
$
|
|
69
|
-
$
|
|
70
|
-
$
|
|
71
|
-
$
|
|
72
|
-
$
|
|
73
|
-
$
|
|
74
|
-
$
|
|
75
|
-
$
|
|
76
|
-
$
|
|
77
|
-
$
|
|
78
|
-
$
|
|
79
|
-
$
|
|
80
|
-
$
|
|
81
|
-
$
|
|
82
|
-
$
|
|
83
|
-
$
|
|
84
|
-
$
|
|
85
|
-
$
|
|
86
|
-
$
|
|
87
|
-
$
|
|
88
|
-
$
|
|
89
|
-
$
|
|
90
|
-
$
|
|
91
|
-
$
|
|
92
|
-
$
|
|
93
|
-
$
|
|
94
|
-
$
|
|
95
|
-
$
|
|
96
|
-
$
|
|
97
|
-
$
|
|
98
|
-
$
|
|
99
|
-
$
|
|
100
|
-
$orange-base: #fa8c16;
|
|
101
|
-
$orange-1: #fff7e6;
|
|
102
|
-
$orange-2: #ffe7ba;
|
|
103
|
-
$orange-3: #ffd591;
|
|
104
|
-
$orange-4: #ffc069;
|
|
105
|
-
$orange-5: #ffa940;
|
|
106
|
-
$orange-6: #fa8c16;
|
|
107
|
-
$orange-7: #d46b08;
|
|
108
|
-
$orange-8: #ad4e00;
|
|
109
|
-
$orange-9: #873800;
|
|
110
|
-
$orange-10: #612500;
|
|
12
|
+
$volcano-base: #fa541c;
|
|
13
|
+
$volcano-1: #fff2e8;
|
|
14
|
+
$volcano-2: #ffd8bf;
|
|
15
|
+
$volcano-3: #ffbb96;
|
|
16
|
+
$volcano-4: #ff9c6e;
|
|
17
|
+
$volcano-5: #ff7a45;
|
|
18
|
+
$volcano-6: #fa541c;
|
|
19
|
+
$volcano-7: #d4380d;
|
|
20
|
+
$volcano-8: #ad2102;
|
|
21
|
+
$volcano-9: #871400;
|
|
22
|
+
$volcano-10: #610b00;
|
|
23
|
+
$orange-base: #fa6432;
|
|
24
|
+
$orange-1: #fff6f0;
|
|
25
|
+
$orange-2: #ffe6d6;
|
|
26
|
+
$orange-3: #ffcaad;
|
|
27
|
+
$orange-4: #ffab85;
|
|
28
|
+
$orange-5: #ff8a5c;
|
|
29
|
+
$orange-6: #fa6432;
|
|
30
|
+
$orange-7: #d44720;
|
|
31
|
+
$orange-8: #ad2e11;
|
|
32
|
+
$orange-9: #871a07;
|
|
33
|
+
$orange-10: #610f04;
|
|
34
|
+
$gold-base: #faaf0c;
|
|
35
|
+
$gold-1: #fffbe6;
|
|
36
|
+
$gold-2: #fff1b0;
|
|
37
|
+
$gold-3: #ffe587;
|
|
38
|
+
$gold-4: #ffd75e;
|
|
39
|
+
$gold-5: #ffc636;
|
|
40
|
+
$gold-6: #faaf0c;
|
|
41
|
+
$gold-7: #d48a00;
|
|
42
|
+
$gold-8: #ad6b00;
|
|
43
|
+
$gold-9: #874f00;
|
|
44
|
+
$gold-10: #613500;
|
|
111
45
|
$yellow-base: #fadb14;
|
|
112
46
|
$yellow-1: #feffe6;
|
|
113
47
|
$yellow-2: #ffffb8;
|
|
@@ -130,139 +64,280 @@ $lime-7: #7cb305;
|
|
|
130
64
|
$lime-8: #5b8c00;
|
|
131
65
|
$lime-9: #3f6600;
|
|
132
66
|
$lime-10: #254000;
|
|
133
|
-
$
|
|
67
|
+
$green-base: #02b342;
|
|
68
|
+
$green-1: #daf2df;
|
|
69
|
+
$green-2: #95e6a8;
|
|
70
|
+
$green-3: #6ad988;
|
|
71
|
+
$green-4: #43cc6c;
|
|
72
|
+
$green-5: #21bf55;
|
|
73
|
+
$green-6: #02b342;
|
|
74
|
+
$green-7: #008c38;
|
|
75
|
+
$green-8: #00662c;
|
|
76
|
+
$green-9: #00401e;
|
|
77
|
+
$green-10: #001a0d;
|
|
78
|
+
$cyan-base: #0dd1a9;
|
|
79
|
+
$cyan-1: #e6fff6;
|
|
80
|
+
$cyan-2: #b3ffe5;
|
|
81
|
+
$cyan-3: #86f7d5;
|
|
82
|
+
$cyan-4: #59ebc4;
|
|
83
|
+
$cyan-5: #31deb5;
|
|
84
|
+
$cyan-6: #0dd1a9;
|
|
85
|
+
$cyan-7: #02ab8f;
|
|
86
|
+
$cyan-8: #008573;
|
|
87
|
+
$cyan-9: #005e55;
|
|
88
|
+
$cyan-10: #003834;
|
|
89
|
+
$blue-base: #3295fa;
|
|
90
|
+
$blue-1: #f0faff;
|
|
91
|
+
$blue-2: #d6f0ff;
|
|
92
|
+
$blue-3: #addeff;
|
|
93
|
+
$blue-4: #85caff;
|
|
94
|
+
$blue-5: #5cb3ff;
|
|
95
|
+
$blue-6: #3295fa;
|
|
96
|
+
$blue-7: #2074d4;
|
|
97
|
+
$blue-8: #1155ad;
|
|
98
|
+
$blue-9: #073a87;
|
|
99
|
+
$blue-10: #042661;
|
|
100
|
+
$geekblue-base: #3366ee;
|
|
101
|
+
$geekblue-1: #f0f6ff;
|
|
102
|
+
$geekblue-2: #d9e8ff;
|
|
103
|
+
$geekblue-3: #b0cdff;
|
|
104
|
+
$geekblue-4: #87afff;
|
|
105
|
+
$geekblue-5: #5c8cfa;
|
|
106
|
+
$geekblue-6: #3366ee;
|
|
107
|
+
$geekblue-7: #2047c7;
|
|
108
|
+
$geekblue-8: #122ea1;
|
|
109
|
+
$geekblue-9: #071b7a;
|
|
110
|
+
$geekblue-10: #040f54;
|
|
111
|
+
$purple-base: #6732e6;
|
|
112
|
+
$purple-1: #f7f0ff;
|
|
113
|
+
$purple-2: #ebdbff;
|
|
114
|
+
$purple-3: #d1b3ff;
|
|
115
|
+
$purple-4: #b58aff;
|
|
116
|
+
$purple-5: #8e5cf2;
|
|
117
|
+
$purple-6: #6732e6;
|
|
118
|
+
$purple-7: #4b21bf;
|
|
119
|
+
$purple-8: #321299;
|
|
120
|
+
$purple-9: #1d0873;
|
|
121
|
+
$purple-10: #11054d;
|
|
122
|
+
$magenta-base: #eb2f96;
|
|
123
|
+
$magenta-1: #fff0f6;
|
|
124
|
+
$magenta-2: #ffd6e7;
|
|
125
|
+
$magenta-3: #ffadd2;
|
|
126
|
+
$magenta-4: #ff85c0;
|
|
127
|
+
$magenta-5: #f759ab;
|
|
128
|
+
$magenta-6: #eb2f96;
|
|
129
|
+
$magenta-7: #c41d7f;
|
|
130
|
+
$magenta-8: #9e1068;
|
|
131
|
+
$magenta-9: #780650;
|
|
132
|
+
$magenta-10: #520339;
|
|
133
|
+
$pink-base: #eb2f96;
|
|
134
|
+
$pink-1: #fff0f6;
|
|
135
|
+
$pink-2: #ffd6e7;
|
|
136
|
+
$pink-3: #ffadd2;
|
|
137
|
+
$pink-4: #ff85c0;
|
|
138
|
+
$pink-5: #f759ab;
|
|
139
|
+
$pink-6: #eb2f96;
|
|
140
|
+
$pink-7: #c41d7f;
|
|
141
|
+
$pink-8: #9e1068;
|
|
142
|
+
$pink-9: #780650;
|
|
143
|
+
$pink-10: #520339;
|
|
144
|
+
$primary-color: #417ffb;
|
|
134
145
|
$primary-1: #f0f7ff;
|
|
135
|
-
$primary-2: #
|
|
136
|
-
$primary-3: #
|
|
137
|
-
$primary-4: #
|
|
138
|
-
$primary-5: #
|
|
139
|
-
$primary-6: #
|
|
140
|
-
$primary-7: #
|
|
141
|
-
$primary-8: #
|
|
142
|
-
$primary-9: #
|
|
143
|
-
$primary-10: #
|
|
144
|
-
$info-color: #
|
|
145
|
-
$info-1: #
|
|
146
|
-
$info-2: #
|
|
147
|
-
$info-3: #
|
|
148
|
-
$info-4: #
|
|
149
|
-
$info-5: #
|
|
150
|
-
$info-6: #
|
|
151
|
-
$info-7: #
|
|
152
|
-
$info-8: #
|
|
153
|
-
$info-9: #
|
|
154
|
-
$info-10: #
|
|
155
|
-
$success-color: #
|
|
156
|
-
$success-1: #
|
|
157
|
-
$success-2: #
|
|
158
|
-
$success-3: #
|
|
159
|
-
$success-4: #
|
|
160
|
-
$success-5: #
|
|
161
|
-
$success-6: #
|
|
162
|
-
$success-7: #
|
|
163
|
-
$success-8: #
|
|
164
|
-
$success-9: #
|
|
165
|
-
$success-10: #
|
|
166
|
-
$warning-color: #
|
|
146
|
+
$primary-2: #e6f1ff;
|
|
147
|
+
$primary-3: #bdd9ff;
|
|
148
|
+
$primary-4: #94bfff;
|
|
149
|
+
$primary-5: #6ba1ff;
|
|
150
|
+
$primary-6: #417ffb;
|
|
151
|
+
$primary-7: #2c5fd4;
|
|
152
|
+
$primary-8: #1c43ad;
|
|
153
|
+
$primary-9: #0f2b87;
|
|
154
|
+
$primary-10: #0a1b61;
|
|
155
|
+
$info-color: #3998f7;
|
|
156
|
+
$info-1: #f0faff;
|
|
157
|
+
$info-2: #def3ff;
|
|
158
|
+
$info-3: #b5e1ff;
|
|
159
|
+
$info-4: #8ccdff;
|
|
160
|
+
$info-5: #63b6ff;
|
|
161
|
+
$info-6: #3998f7;
|
|
162
|
+
$info-7: #2676d1;
|
|
163
|
+
$info-8: #1657ab;
|
|
164
|
+
$info-9: #0b3b85;
|
|
165
|
+
$info-10: #07275e;
|
|
166
|
+
$success-color: #02b342;
|
|
167
|
+
$success-1: #daf2df;
|
|
168
|
+
$success-2: #95e6a8;
|
|
169
|
+
$success-3: #6ad988;
|
|
170
|
+
$success-4: #43cc6c;
|
|
171
|
+
$success-5: #21bf55;
|
|
172
|
+
$success-6: #02b342;
|
|
173
|
+
$success-7: #008c38;
|
|
174
|
+
$success-8: #00662c;
|
|
175
|
+
$success-9: #00401e;
|
|
176
|
+
$success-10: #001a0d;
|
|
177
|
+
$warning-color: #faaf0c;
|
|
167
178
|
$warning-1: #fffbe6;
|
|
168
|
-
$warning-2: #
|
|
169
|
-
$warning-3: #
|
|
170
|
-
$warning-4: #
|
|
171
|
-
$warning-5: #
|
|
172
|
-
$warning-6: #
|
|
173
|
-
$warning-7: #
|
|
174
|
-
$warning-8: #
|
|
175
|
-
$warning-9: #
|
|
176
|
-
$warning-10: #
|
|
177
|
-
$error-color: #
|
|
178
|
-
$error-1: #
|
|
179
|
-
$error-2: #
|
|
180
|
-
$error-3: #
|
|
181
|
-
$error-4: #
|
|
182
|
-
$error-5: #
|
|
183
|
-
$error-6: #
|
|
184
|
-
$error-7: #
|
|
185
|
-
$error-8: #
|
|
186
|
-
$error-9: #
|
|
187
|
-
$error-10: #
|
|
188
|
-
$highlight-color: #
|
|
189
|
-
$highlight-1: #
|
|
190
|
-
$highlight-2: #
|
|
191
|
-
$highlight-3: #
|
|
192
|
-
$highlight-4: #
|
|
193
|
-
$highlight-5: #
|
|
194
|
-
$highlight-6: #
|
|
195
|
-
$highlight-7: #
|
|
196
|
-
$highlight-8: #
|
|
197
|
-
$highlight-9: #
|
|
198
|
-
$highlight-10: #
|
|
199
|
-
$black-1: rgba(
|
|
200
|
-
$black-2: rgba(
|
|
201
|
-
$black-3: rgba(
|
|
202
|
-
$black-4: rgba(
|
|
203
|
-
$black-5: rgba(
|
|
204
|
-
$black-6: rgba(
|
|
205
|
-
$black-7: rgba(
|
|
206
|
-
$black-8: rgba(
|
|
207
|
-
$black-9: rgba(
|
|
208
|
-
$black-10:
|
|
179
|
+
$warning-2: #fff1b0;
|
|
180
|
+
$warning-3: #ffe587;
|
|
181
|
+
$warning-4: #ffd75e;
|
|
182
|
+
$warning-5: #ffc636;
|
|
183
|
+
$warning-6: #faaf0c;
|
|
184
|
+
$warning-7: #d48a00;
|
|
185
|
+
$warning-8: #ad6b00;
|
|
186
|
+
$warning-9: #874f00;
|
|
187
|
+
$warning-10: #613500;
|
|
188
|
+
$error-color: #f23030;
|
|
189
|
+
$error-1: #fff2f0;
|
|
190
|
+
$error-2: #ffdcd6;
|
|
191
|
+
$error-3: #ffb6ad;
|
|
192
|
+
$error-4: #ff8d85;
|
|
193
|
+
$error-5: #ff615c;
|
|
194
|
+
$error-6: #f23030;
|
|
195
|
+
$error-7: #cc1f24;
|
|
196
|
+
$error-8: #a6111b;
|
|
197
|
+
$error-9: #800612;
|
|
198
|
+
$error-10: #59040f;
|
|
199
|
+
$highlight-color: #f23030;
|
|
200
|
+
$highlight-1: #fff2f0;
|
|
201
|
+
$highlight-2: #ffdcd6;
|
|
202
|
+
$highlight-3: #ffb6ad;
|
|
203
|
+
$highlight-4: #ff8d85;
|
|
204
|
+
$highlight-5: #ff615c;
|
|
205
|
+
$highlight-6: #f23030;
|
|
206
|
+
$highlight-7: #cc1f24;
|
|
207
|
+
$highlight-8: #a6111b;
|
|
208
|
+
$highlight-9: #800612;
|
|
209
|
+
$highlight-10: #59040f;
|
|
210
|
+
$black-1: rgba(42, 43, 51, 0.15);
|
|
211
|
+
$black-2: rgba(42, 43, 51, 0.25);
|
|
212
|
+
$black-3: rgba(42, 43, 51, 0.35);
|
|
213
|
+
$black-4: rgba(42, 43, 51, 0.45);
|
|
214
|
+
$black-5: rgba(42, 43, 51, 0.55);
|
|
215
|
+
$black-6: rgba(42, 43, 51, 0.65);
|
|
216
|
+
$black-7: rgba(42, 43, 51, 0.75);
|
|
217
|
+
$black-8: rgba(42, 43, 51, 0.85);
|
|
218
|
+
$black-9: rgba(42, 43, 51, 0.95);
|
|
219
|
+
$black-10: rgb(42, 43, 51);
|
|
220
|
+
$gray-1: #fff;
|
|
221
|
+
$gray-2: #f7f8fa;
|
|
222
|
+
$gray-3: #f2f3f5;
|
|
223
|
+
$gray-4: #ebebf0;
|
|
224
|
+
$gray-5: #e4e4eb;
|
|
225
|
+
$gray-6: #dcdde5;
|
|
226
|
+
$gray-7: #d5d6e0;
|
|
227
|
+
$gray-8: #c9cbd6;
|
|
228
|
+
$gray-9: #b0b2bf;
|
|
229
|
+
$gray-10: #9092a3;
|
|
230
|
+
$gray-11: #64677a;
|
|
231
|
+
$gray-12: #414352;
|
|
232
|
+
$gray-13: #2a2b33;
|
|
233
|
+
$color-fill-1: #fff;
|
|
234
|
+
$color-fill-2: #f7f8fa;
|
|
235
|
+
$color-fill-3: #f2f3f5;
|
|
236
|
+
$color-fill-4: #ebebf0;
|
|
237
|
+
$color-fill-5: #64677a;
|
|
238
|
+
$color-line-1: #f2f3f5;
|
|
239
|
+
$color-line-2: #e4e4eb;
|
|
240
|
+
$color-line-3: #dcdde5;
|
|
241
|
+
$color-line-4: #d5d6e0;
|
|
242
|
+
$box-shadow-1: 0px 1px 4px rgba(100, 103, 122, 0.06);
|
|
243
|
+
$box-shadow-2: 0px 2px 8px rgba(100, 103, 122, 0.08);
|
|
244
|
+
$box-shadow-3: 0px 4px 16px rgba(100, 103, 122, 0.12);
|
|
245
|
+
$box-shadow-4: 0px 8px 24px rgba(100, 103, 122, 0.24);
|
|
209
246
|
$white: #fff;
|
|
210
|
-
$black:
|
|
211
|
-
$
|
|
212
|
-
$
|
|
213
|
-
$
|
|
214
|
-
$
|
|
215
|
-
$
|
|
216
|
-
$border-color-split: #f0f0f0;
|
|
217
|
-
$component-background: #fff;
|
|
218
|
-
$background-color-light: hsv(0, 0, 98%);
|
|
219
|
-
$disabled-bg: #f5f5f5;
|
|
220
|
-
$modal-mask-bg: rgba(28, 36, 46, 0.45);
|
|
221
|
-
$item-hover-bg: #f5f5f5;
|
|
222
|
-
$heading-color: rgba(28, 36, 46, 1);
|
|
223
|
-
$text-color: rgba(28, 36, 46, 0.85);
|
|
224
|
-
$text-color-paragraph: rgba(28, 36, 46, 0.65);
|
|
225
|
-
$text-color-secondary: rgba(28, 36, 46, 0.45);
|
|
226
|
-
$disabled-color: rgba(28, 36, 46, 0.25);
|
|
247
|
+
$black: #000;
|
|
248
|
+
$heading-color: #2a2b33;
|
|
249
|
+
$text-color: #414352;
|
|
250
|
+
$text-color-paragraph: #64677a;
|
|
251
|
+
$text-color-secondary: #9092a3;
|
|
252
|
+
$disabled-color: #b0b2bf;
|
|
227
253
|
$text-color-inverse: #fff;
|
|
228
|
-
$
|
|
254
|
+
$text-color-dark: rgba(255, 255, 255, 0.85);
|
|
255
|
+
$text-color-paragraph-dark: rgba(255, 255, 255, 0.75);
|
|
256
|
+
$text-color-secondary-dark: rgba(255, 255, 255, 0.65);
|
|
257
|
+
$disabled-color-dark: rgba(255, 255, 255, 0.45);
|
|
258
|
+
$icon-color-hover: rgba(42, 43, 51, 0.75);
|
|
259
|
+
$icon-color-secondary: rgba(42, 43, 51, 0.45);
|
|
260
|
+
$icon-color-heading: rgb(42, 43, 51);
|
|
229
261
|
$icon-color: inherit;
|
|
230
|
-
$
|
|
231
|
-
$
|
|
232
|
-
$
|
|
233
|
-
$
|
|
234
|
-
$
|
|
235
|
-
$
|
|
262
|
+
$link-color: #417ffb;
|
|
263
|
+
$body-background: linear-gradient(180deg, #EBF0FF 0%, #F2F3F7 100%);
|
|
264
|
+
$background-color-base: #f2f3f5;
|
|
265
|
+
$component-background: #fff;
|
|
266
|
+
$background-color-light: #f7f8fa;
|
|
267
|
+
$border-color-base: #dcdde5;
|
|
268
|
+
$border-color-split: #e4e4eb;
|
|
269
|
+
$dividing-color: #dcdde5;
|
|
270
|
+
$disabled-bg: #f2f3f5;
|
|
271
|
+
$disabled-active-bg: #ebebf0;
|
|
272
|
+
$modal-mask-bg: rgba(42, 43, 51, 0.45);
|
|
273
|
+
$item-hover-bg: rgba(42, 43, 51, 0.06);
|
|
274
|
+
$item-active-bg: #f0f7ff;
|
|
275
|
+
$label-required-color: #f23030;
|
|
276
|
+
$line-height-base: 1.5715;
|
|
236
277
|
$font-size-sm: 12px;
|
|
278
|
+
$font-size-base: 13px;
|
|
279
|
+
$font-size-md: 14px;
|
|
280
|
+
$font-size-lg: 16px;
|
|
237
281
|
$font-weight: 500;
|
|
238
|
-
$
|
|
239
|
-
$
|
|
240
|
-
$
|
|
241
|
-
$
|
|
242
|
-
$heading-
|
|
243
|
-
$heading-
|
|
244
|
-
$
|
|
282
|
+
$article-size-sm: 12px;
|
|
283
|
+
$article-size-md: 14px;
|
|
284
|
+
$article-size-lg: 16px;
|
|
285
|
+
$article-line-height: 2;
|
|
286
|
+
$heading-1-size: 36px;
|
|
287
|
+
$heading-2-size: 28px;
|
|
288
|
+
$heading-3-size: 23px;
|
|
289
|
+
$heading-4-size: 19px;
|
|
290
|
+
$heading-5-size: 15px;
|
|
291
|
+
$heading-6-size: 13px;
|
|
292
|
+
$border-radius-base: 4px;
|
|
293
|
+
$border-radius-sm: 2px;
|
|
245
294
|
$border-radius-md: 4px;
|
|
246
295
|
$border-radius-lg: 8px;
|
|
247
296
|
$border-radius-round: 50%;
|
|
248
|
-
$
|
|
297
|
+
$box-border-radius: 8px;
|
|
298
|
+
$space-xxs: 2px;
|
|
299
|
+
$space-xs: 4px;
|
|
300
|
+
$space-sm: 8px;
|
|
301
|
+
$space-md: 12px;
|
|
302
|
+
$space-lg: 16px;
|
|
303
|
+
$space-xl: 20px;
|
|
304
|
+
$space-xxl: 24px;
|
|
305
|
+
$padding-lg: 24px;
|
|
249
306
|
$padding-md: 16px;
|
|
250
307
|
$padding-sm: 12px;
|
|
251
308
|
$padding-xs: 8px;
|
|
252
309
|
$padding-xxs: 4px;
|
|
253
310
|
$padding-xxxs: 2px;
|
|
311
|
+
$margin-lg: 24px;
|
|
312
|
+
$margin-md: 16px;
|
|
313
|
+
$margin-sm: 12px;
|
|
314
|
+
$margin-xs: 8px;
|
|
315
|
+
$margin-xxs: 4px;
|
|
316
|
+
$margin-xxxs: 2px;
|
|
317
|
+
$page-space: 0 40px 16px 40px;
|
|
318
|
+
$box-padding-base: 20px;
|
|
319
|
+
$box-padding-sm: 12px;
|
|
254
320
|
$size-xs: 16px;
|
|
255
321
|
$size-sm: 24px;
|
|
256
322
|
$size-md: 28px;
|
|
257
323
|
$size-base: 32px;
|
|
258
324
|
$size-lg: 40px;
|
|
259
325
|
$size-xl: 56px;
|
|
260
|
-
$
|
|
326
|
+
$width-xs: 256px;
|
|
327
|
+
$width-sm: 500px;
|
|
328
|
+
$width-md: 768px;
|
|
329
|
+
$width-lg: 1000px;
|
|
330
|
+
$width-xl: 80%;
|
|
331
|
+
$height-base: 28px;
|
|
332
|
+
$height-lg: 40px;
|
|
333
|
+
$height-sm: 24px;
|
|
334
|
+
$table-header-bg: #f7f8fa;
|
|
335
|
+
$btn-height-base: 28px;
|
|
261
336
|
$btn-height-lg: 40px;
|
|
262
337
|
$btn-height-sm: 24px;
|
|
263
338
|
$radio-size: 16px;
|
|
264
339
|
$checkbox-size: 16px;
|
|
265
|
-
$input-height-base:
|
|
340
|
+
$input-height-base: 28px;
|
|
266
341
|
$input-height-lg: 40px;
|
|
267
342
|
$input-height-sm: 24px;
|
|
268
343
|
$menu-inline-toplevel-item-height: 40px;
|
package/es/theme/build.js
CHANGED
|
@@ -21,12 +21,18 @@ fs.readdir(srcPath, function (err, files) {
|
|
|
21
21
|
var jsonStr = 'const theme = {\n';
|
|
22
22
|
var lessStr = '';
|
|
23
23
|
var sassStr = '';
|
|
24
|
+
var modalWidthStr = 'const modalWidths = {\n';
|
|
24
25
|
Object.keys(modules).forEach(function (item) {
|
|
26
|
+
if (/width+/gi.test(item)) {
|
|
27
|
+
var name = item.replace(/width-/, '');
|
|
28
|
+
modalWidthStr += " ".concat(name, ": '").concat(modules[item], "',\n");
|
|
29
|
+
}
|
|
25
30
|
lessStr += "@".concat(item, ": ").concat(modules[item], ";\n");
|
|
26
31
|
sassStr += "$".concat(item, ": ").concat(modules[item], ";\n");
|
|
27
32
|
jsonStr += " ".concat(item.indexOf('-') > -1 ? "'".concat(item, "'") : item, ": '").concat(modules[item], "',\n");
|
|
28
33
|
});
|
|
29
34
|
jsonStr += '};\n\nmodule.exports = theme;\n';
|
|
35
|
+
modalWidthStr += '};\n\nexport default modalWidths;\n';
|
|
30
36
|
fs.writeFileSync(path.resolve(__dirname, "".concat(binDir, "/theme.less")), lessStr, {
|
|
31
37
|
encoding: 'utf-8'
|
|
32
38
|
});
|
|
@@ -36,6 +42,9 @@ fs.readdir(srcPath, function (err, files) {
|
|
|
36
42
|
fs.writeFileSync(path.resolve(__dirname, "".concat(binDir, "/theme.js")), jsonStr, {
|
|
37
43
|
encoding: 'utf-8'
|
|
38
44
|
});
|
|
45
|
+
fs.writeFileSync(path.resolve(__dirname, "".concat(binDir, "/modalWidth.js")), modalWidthStr, {
|
|
46
|
+
encoding: 'utf-8'
|
|
47
|
+
});
|
|
39
48
|
}
|
|
40
49
|
}
|
|
41
50
|
});
|