@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.
Files changed (133) hide show
  1. package/es/dealDsl/index.d.ts +1 -2
  2. package/es/dealDsl/index.js +1 -2
  3. package/es/dealDsl/preprocess/common.js +179 -37
  4. package/es/dealDsl/preprocessDSL.d.ts +2 -14
  5. package/es/dealDsl/preprocessDSL.js +2 -42
  6. package/es/error/errorDisplay/Web/Drawer/Drawer.js +6 -2
  7. package/es/error/errorDisplay/Web/Drawer/Drawer.less +25 -0
  8. package/es/error/errorDisplay/Web/ErrorMsg/index.js +187 -43
  9. package/es/error/errorDisplay/Web/Notification/Notice.js +5 -1
  10. package/es/error/errorDisplay/Web/Notification/Notification.js +10 -3
  11. package/es/error/errorDisplay/Web/Notification/Notification.less +13 -1
  12. package/es/error/errorDisplay/Web/Notification/index.js +8 -9
  13. package/es/error/errorDisplay/Web/defaultGlobalConfig.js +3 -1
  14. package/es/error/errorDisplay/compUtils.js +17 -1
  15. package/es/error/errorDisplay/const.js +1 -1
  16. package/es/error/errorDisplay/http.js +1 -1
  17. package/es/error/index.js +3 -1
  18. package/es/index.d.ts +2 -2
  19. package/es/index.js +2 -2
  20. package/es/rootConfig/mobile/BusiComp.d.ts +5 -0
  21. package/es/rootConfig/mobile/BusiComp.js +32 -3
  22. package/es/rootConfig/mobile/MobileModal.d.ts +13 -5
  23. package/es/rootConfig/mobile/MobileModal.js +38 -9
  24. package/es/rootConfig/mobile/MobilePopover.d.ts +5 -0
  25. package/es/rootConfig/mobile/MobilePopover.js +31 -2
  26. package/es/rootConfig/mobile/page.d.ts +25 -5
  27. package/es/rootConfig/mobile/page.js +70 -10
  28. package/es/rootConfig/pc/BusiComp.d.ts +4 -0
  29. package/es/rootConfig/pc/BusiComp.js +64 -3
  30. package/es/rootConfig/pc/Drawer.d.ts +12 -0
  31. package/es/rootConfig/pc/Drawer.js +68 -2
  32. package/es/rootConfig/pc/Modal.d.ts +6 -0
  33. package/es/rootConfig/pc/Modal.js +62 -2
  34. package/es/rootConfig/pc/Popover.d.ts +5 -0
  35. package/es/rootConfig/pc/Popover.js +58 -2
  36. package/es/rootConfig/pc/page.d.ts +25 -10
  37. package/es/rootConfig/pc/page.js +103 -15
  38. package/es/rootConfig/todoActionList.d.ts +170 -50
  39. package/es/rootConfig/todoActionList.js +221 -70
  40. package/es/rootConfig/todoOptionList.d.ts +38 -6
  41. package/es/rootConfig/todoOptionList.js +44 -6
  42. package/es/security/encipher/sign.js +8 -1
  43. package/es/security/encipher/token.d.ts +3 -0
  44. package/es/security/encipher/token.js +30 -0
  45. package/es/security/index.d.ts +2 -0
  46. package/es/security/index.js +4 -1
  47. package/es/theme/bin/default/modalWidth.js +8 -0
  48. package/es/theme/bin/default/theme.js +282 -207
  49. package/es/theme/bin/default/theme.less +282 -207
  50. package/es/theme/bin/default/theme.scss +282 -207
  51. package/es/theme/build.js +9 -0
  52. package/es/theme/src/default/index.js +169 -61
  53. package/es/theme/utils/renderColors.js +13 -2
  54. package/es/utils/cookieUtil.js +36 -0
  55. package/lib/dealDsl/index.d.ts +1 -2
  56. package/lib/dealDsl/index.js +1 -20
  57. package/lib/dealDsl/preprocess/common.js +179 -37
  58. package/lib/dealDsl/preprocessDSL.d.ts +2 -14
  59. package/lib/dealDsl/preprocessDSL.js +4 -46
  60. package/lib/error/errorDisplay/Web/Drawer/Drawer.js +6 -2
  61. package/lib/error/errorDisplay/Web/Drawer/Drawer.less +25 -0
  62. package/lib/error/errorDisplay/Web/ErrorMsg/index.js +186 -43
  63. package/lib/error/errorDisplay/Web/Notification/Notice.js +5 -1
  64. package/lib/error/errorDisplay/Web/Notification/Notification.js +10 -3
  65. package/lib/error/errorDisplay/Web/Notification/Notification.less +13 -1
  66. package/lib/error/errorDisplay/Web/Notification/index.js +8 -9
  67. package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +2 -1
  68. package/lib/error/errorDisplay/compUtils.js +19 -1
  69. package/lib/error/errorDisplay/const.js +1 -1
  70. package/lib/error/errorDisplay/http.js +1 -1
  71. package/lib/error/index.js +14 -0
  72. package/lib/index.d.ts +2 -2
  73. package/lib/index.js +14 -0
  74. package/lib/rootConfig/mobile/BusiComp.d.ts +5 -0
  75. package/lib/rootConfig/mobile/BusiComp.js +32 -3
  76. package/lib/rootConfig/mobile/MobileModal.d.ts +13 -5
  77. package/lib/rootConfig/mobile/MobileModal.js +38 -9
  78. package/lib/rootConfig/mobile/MobilePopover.d.ts +5 -0
  79. package/lib/rootConfig/mobile/MobilePopover.js +31 -2
  80. package/lib/rootConfig/mobile/page.d.ts +25 -5
  81. package/lib/rootConfig/mobile/page.js +70 -10
  82. package/lib/rootConfig/pc/BusiComp.d.ts +4 -0
  83. package/lib/rootConfig/pc/BusiComp.js +64 -3
  84. package/lib/rootConfig/pc/Drawer.d.ts +12 -0
  85. package/lib/rootConfig/pc/Drawer.js +68 -2
  86. package/lib/rootConfig/pc/Modal.d.ts +6 -0
  87. package/lib/rootConfig/pc/Modal.js +62 -2
  88. package/lib/rootConfig/pc/Popover.d.ts +5 -0
  89. package/lib/rootConfig/pc/Popover.js +58 -2
  90. package/lib/rootConfig/pc/page.d.ts +25 -10
  91. package/lib/rootConfig/pc/page.js +103 -15
  92. package/lib/rootConfig/todoActionList.d.ts +170 -50
  93. package/lib/rootConfig/todoActionList.js +221 -70
  94. package/lib/rootConfig/todoOptionList.d.ts +38 -6
  95. package/lib/rootConfig/todoOptionList.js +44 -6
  96. package/lib/security/encipher/sign.js +9 -1
  97. package/lib/security/encipher/token.d.ts +3 -0
  98. package/lib/security/encipher/token.js +38 -0
  99. package/lib/security/index.d.ts +2 -0
  100. package/lib/security/index.js +4 -1
  101. package/lib/theme/bin/default/modalWidth.js +15 -0
  102. package/lib/theme/bin/default/theme.js +282 -207
  103. package/lib/theme/bin/default/theme.less +282 -207
  104. package/lib/theme/bin/default/theme.scss +282 -207
  105. package/lib/theme/build.js +9 -0
  106. package/lib/theme/src/default/index.js +169 -61
  107. package/lib/theme/utils/renderColors.js +13 -2
  108. package/lib/utils/cookieUtil.js +43 -0
  109. package/package.json +1 -1
  110. package/es/dealDsl/events/actionObj.d.ts +0 -3
  111. package/es/dealDsl/events/actionObj.js +0 -6
  112. package/es/dealDsl/events/index.d.ts +0 -6
  113. package/es/dealDsl/events/index.js +0 -14
  114. package/es/dealDsl/preprocess/editor.d.ts +0 -9
  115. package/es/dealDsl/preprocess/editor.js +0 -21
  116. package/es/dealDsl/preprocess/engine.d.ts +0 -9
  117. package/es/dealDsl/preprocess/engine.js +0 -19
  118. package/es/theme/bin/cucc/theme.js +0 -275
  119. package/es/theme/bin/cucc/theme.less +0 -272
  120. package/es/theme/bin/cucc/theme.scss +0 -272
  121. package/es/theme/src/cucc/index.js +0 -131
  122. package/lib/dealDsl/events/actionObj.d.ts +0 -3
  123. package/lib/dealDsl/events/actionObj.js +0 -13
  124. package/lib/dealDsl/events/index.d.ts +0 -6
  125. package/lib/dealDsl/events/index.js +0 -21
  126. package/lib/dealDsl/preprocess/editor.d.ts +0 -9
  127. package/lib/dealDsl/preprocess/editor.js +0 -28
  128. package/lib/dealDsl/preprocess/engine.d.ts +0 -9
  129. package/lib/dealDsl/preprocess/engine.js +0 -26
  130. package/lib/theme/bin/cucc/theme.js +0 -277
  131. package/lib/theme/bin/cucc/theme.less +0 -272
  132. package/lib/theme/bin/cucc/theme.scss +0 -272
  133. 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
- $purple-base: #6732e6;
68
- $purple-1: #f7f0ff;
69
- $purple-2: #ebdbff;
70
- $purple-3: #d1b3ff;
71
- $purple-4: #b58aff;
72
- $purple-5: #8e5cf2;
73
- $purple-6: #6832e6;
74
- $purple-7: #4b21bf;
75
- $purple-8: #321299;
76
- $purple-9: #1d0873;
77
- $purple-10: #11054d;
78
- $geekblue-base: #3366ee;
79
- $geekblue-1: #f0f6ff;
80
- $geekblue-2: #d9e8ff;
81
- $geekblue-3: #b0cdff;
82
- $geekblue-4: #87afff;
83
- $geekblue-5: #5c8cfa;
84
- $geekblue-6: #3264ed;
85
- $geekblue-7: #2047c7;
86
- $geekblue-8: #122ea1;
87
- $geekblue-9: #071b7a;
88
- $geekblue-10: #040f54;
89
- $pink-base: #eb2f96;
90
- $pink-1: #fff0f6;
91
- $pink-2: #ffd6e7;
92
- $pink-3: #ffadd2;
93
- $pink-4: #ff85c0;
94
- $pink-5: #f759ab;
95
- $pink-6: #eb2f96;
96
- $pink-7: #c41d7f;
97
- $pink-8: #9e1068;
98
- $pink-9: #780650;
99
- $pink-10: #520339;
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
- $primary-color: #4477ee;
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: #edf5ff;
136
- $primary-3: #c4dcff;
137
- $primary-4: #9cc0ff;
138
- $primary-5: #709efa;
139
- $primary-6: #4577ed;
140
- $primary-7: #3058c7;
141
- $primary-8: #1f3da1;
142
- $primary-9: #11267a;
143
- $primary-10: #0b1754;
144
- $info-color: #4477ee;
145
- $info-1: #f0f7ff;
146
- $info-2: #edf5ff;
147
- $info-3: #c4dcff;
148
- $info-4: #9cc0ff;
149
- $info-5: #709efa;
150
- $info-6: #4577ed;
151
- $info-7: #3058c7;
152
- $info-8: #1f3da1;
153
- $info-9: #11267a;
154
- $info-10: #0b1754;
155
- $success-color: #36bf36;
156
- $success-1: #f2fff0;
157
- $success-2: #e1f2df;
158
- $success-3: #b4e6ae;
159
- $success-4: #88d982;
160
- $success-5: #5ecc5a;
161
- $success-6: #36bf36;
162
- $success-7: #239927;
163
- $success-8: #15731b;
164
- $success-9: #0a4d11;
165
- $success-10: #052609;
166
- $warning-color: #faad14;
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: #fff1b8;
169
- $warning-3: #ffe58f;
170
- $warning-4: #ffd666;
171
- $warning-5: #ffc53d;
172
- $warning-6: #faad14;
173
- $warning-7: #d48806;
174
- $warning-8: #ad6800;
175
- $warning-9: #874d00;
176
- $warning-10: #613400;
177
- $error-color: #f52230;
178
- $error-1: #fff1f0;
179
- $error-2: #ffcbc7;
180
- $error-3: #ffa19e;
181
- $error-4: #ff7575;
182
- $error-5: #ff4d52;
183
- $error-6: #f52230;
184
- $error-7: #cf1325;
185
- $error-8: #a8071c;
186
- $error-9: #820016;
187
- $error-10: #5c0012;
188
- $highlight-color: #fa6432;
189
- $highlight-1: #fff6f0;
190
- $highlight-2: #ffe6d6;
191
- $highlight-3: #ffcaad;
192
- $highlight-4: #ffab85;
193
- $highlight-5: #ff8a5c;
194
- $highlight-6: #fa6432;
195
- $highlight-7: #d44720;
196
- $highlight-8: #ad2e11;
197
- $highlight-9: #871a07;
198
- $highlight-10: #610f04;
199
- $black-1: rgba(28, 36, 46, 0.15);
200
- $black-2: rgba(28, 36, 46, 0.25);
201
- $black-3: rgba(28, 36, 46, 0.35);
202
- $black-4: rgba(28, 36, 46, 0.45);
203
- $black-5: rgba(28, 36, 46, 0.55);
204
- $black-6: rgba(28, 36, 46, 0.65);
205
- $black-7: rgba(28, 36, 46, 0.75);
206
- $black-8: rgba(28, 36, 46, 0.85);
207
- $black-9: rgba(28, 36, 46, 0.95);
208
- $black-10: rgba(28, 36, 46, 1);
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: rgba(28, 36, 46, 1);
211
- $link-color: #2299ff;
212
- $body-background: #fff;
213
- $background-color-base: #edf0f5;
214
- $border-color-base: #e5e5e5;
215
- $dividing-color: #e5e5e5;
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
- $line-height-base: 1.5715;
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
- $icon-color-hover: rgba(28, 36, 46, 0.75);
231
- $icon-color-secondary: rgba(28, 36, 46, 0.45);
232
- $icon-color-heading: rgba(28, 36, 46, 1);
233
- $font-size-base: 14px;
234
- $font-size-lg: 16px;
235
- $font-size-md: 15px;
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
- $heading-1-size: 38px;
239
- $heading-2-size: 30px;
240
- $heading-3-size: 24px;
241
- $heading-4-size: 20px;
242
- $heading-5-size: 16px;
243
- $heading-6-size: 14px;
244
- $border-radius-base: 2px;
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
- $padding-lg: 20px;
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
- $btn-height-base: 32px;
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: 32px;
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
  });