@lark-apaas/miaoda-core 0.1.0-alpha.1

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 (181) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +8 -0
  3. package/lib/apis/components/AppContainer.d.ts +1 -0
  4. package/lib/apis/components/AppContainer.js +2 -0
  5. package/lib/apis/components/ErrorRender.d.ts +1 -0
  6. package/lib/apis/components/ErrorRender.js +2 -0
  7. package/lib/apis/components/NotFoundRender.d.ts +1 -0
  8. package/lib/apis/components/NotFoundRender.js +2 -0
  9. package/lib/apis/components/SidebarNav.d.ts +1 -0
  10. package/lib/apis/components/SidebarNav.js +2 -0
  11. package/lib/apis/components/TopNav.d.ts +1 -0
  12. package/lib/apis/components/TopNav.js +2 -0
  13. package/lib/apis/components/User.d.ts +1 -0
  14. package/lib/apis/components/User.js +1 -0
  15. package/lib/apis/components/Welcome.d.ts +1 -0
  16. package/lib/apis/components/Welcome.js +2 -0
  17. package/lib/apis/constants/img-resources/avatar.d.ts +11 -0
  18. package/lib/apis/constants/img-resources/avatar.js +12 -0
  19. package/lib/apis/constants/img-resources/banner.d.ts +24 -0
  20. package/lib/apis/constants/img-resources/banner.js +25 -0
  21. package/lib/apis/constants/img-resources/cover.d.ts +36 -0
  22. package/lib/apis/constants/img-resources/cover.js +37 -0
  23. package/lib/apis/dataloom.d.ts +1 -0
  24. package/lib/apis/dataloom.js +2 -0
  25. package/lib/apis/hooks/useCurrentAppInfo.d.ts +1 -0
  26. package/lib/apis/hooks/useCurrentAppInfo.js +1 -0
  27. package/lib/apis/hooks/useCurrentUserProfile.d.ts +1 -0
  28. package/lib/apis/hooks/useCurrentUserProfile.js +1 -0
  29. package/lib/apis/logger.d.ts +1 -0
  30. package/lib/apis/logger.js +1 -0
  31. package/lib/apis/tools/generateImage.d.ts +1 -0
  32. package/lib/apis/tools/generateImage.js +1 -0
  33. package/lib/apis/tools/generateTextStream.d.ts +1 -0
  34. package/lib/apis/tools/generateTextStream.js +1 -0
  35. package/lib/apis/tools/getAppInfo.d.ts +1 -0
  36. package/lib/apis/tools/getAppInfo.js +1 -0
  37. package/lib/apis/tools/getCurrentUserProfile.d.ts +1 -0
  38. package/lib/apis/tools/getCurrentUserProfile.js +1 -0
  39. package/lib/apis/tools/storage.d.ts +1 -0
  40. package/lib/apis/tools/storage.js +4 -0
  41. package/lib/apis/udt-types.d.ts +16 -0
  42. package/lib/apis/udt-types.js +0 -0
  43. package/lib/apis/utils/registerChinaMap.d.ts +1 -0
  44. package/lib/apis/utils/registerChinaMap.js +103319 -0
  45. package/lib/components/AppContainer/IframeBridge.d.ts +2 -0
  46. package/lib/components/AppContainer/IframeBridge.js +80 -0
  47. package/lib/components/AppContainer/PageHoc.d.ts +4 -0
  48. package/lib/components/AppContainer/PageHoc.js +20 -0
  49. package/lib/components/AppContainer/dayjsPlugins.d.ts +1 -0
  50. package/lib/components/AppContainer/dayjsPlugins.js +69 -0
  51. package/lib/components/AppContainer/index.d.ts +7 -0
  52. package/lib/components/AppContainer/index.js +65 -0
  53. package/lib/components/AppContainer/sonner.css +101 -0
  54. package/lib/components/AppContainer/sonner.d.ts +8 -0
  55. package/lib/components/AppContainer/sonner.js +26 -0
  56. package/lib/components/ErrorRender/index.d.ts +5 -0
  57. package/lib/components/ErrorRender/index.js +79 -0
  58. package/lib/components/NotFoundRender/index.d.ts +3 -0
  59. package/lib/components/NotFoundRender/index.js +59 -0
  60. package/lib/components/SidebarNav/DrawerNav.d.ts +3 -0
  61. package/lib/components/SidebarNav/DrawerNav.js +64 -0
  62. package/lib/components/SidebarNav/DropdownNav.d.ts +3 -0
  63. package/lib/components/SidebarNav/DropdownNav.js +40 -0
  64. package/lib/components/SidebarNav/Sidebar.d.ts +3 -0
  65. package/lib/components/SidebarNav/Sidebar.js +33 -0
  66. package/lib/components/SidebarNav/index.d.ts +5 -0
  67. package/lib/components/SidebarNav/index.js +61 -0
  68. package/lib/components/TopNav/BottomNav.d.ts +12 -0
  69. package/lib/components/TopNav/BottomNav.js +81 -0
  70. package/lib/components/TopNav/TitleBar.d.ts +10 -0
  71. package/lib/components/TopNav/TitleBar.js +127 -0
  72. package/lib/components/TopNav/TopNav.d.ts +10 -0
  73. package/lib/components/TopNav/TopNav.js +86 -0
  74. package/lib/components/TopNav/index.d.ts +12 -0
  75. package/lib/components/TopNav/index.js +65 -0
  76. package/lib/components/User/UserDisplay.d.ts +9 -0
  77. package/lib/components/User/UserDisplay.js +39 -0
  78. package/lib/components/User/UserProfile/UserProfile.css +34 -0
  79. package/lib/components/User/UserProfile/UserProfile.d.ts +6 -0
  80. package/lib/components/User/UserProfile/UserProfile.js +41 -0
  81. package/lib/components/User/UserProfile/UserProfileContainer.d.ts +4 -0
  82. package/lib/components/User/UserProfile/UserProfileContainer.js +8 -0
  83. package/lib/components/User/UserProfile/UserProfileSkeleton.d.ts +3 -0
  84. package/lib/components/User/UserProfile/UserProfileSkeleton.js +36 -0
  85. package/lib/components/User/UserProfile/UserProfileUI.d.ts +8 -0
  86. package/lib/components/User/UserProfile/UserProfileUI.js +113 -0
  87. package/lib/components/User/UserProfile/index.d.ts +1 -0
  88. package/lib/components/User/UserProfile/index.js +2 -0
  89. package/lib/components/User/UserProfile/type.d.ts +8 -0
  90. package/lib/components/User/UserProfile/type.js +0 -0
  91. package/lib/components/User/UserProfile/utils.d.ts +5 -0
  92. package/lib/components/User/UserProfile/utils.js +26 -0
  93. package/lib/components/User/UserSelect.css +11 -0
  94. package/lib/components/User/UserSelect.d.ts +11 -0
  95. package/lib/components/User/UserSelect.js +171 -0
  96. package/lib/components/User/UserWithAvatar.d.ts +3 -0
  97. package/lib/components/User/UserWithAvatar.js +41 -0
  98. package/lib/components/User/index.d.ts +7 -0
  99. package/lib/components/User/index.js +5 -0
  100. package/lib/components/User/type.d.ts +13 -0
  101. package/lib/components/User/type.js +0 -0
  102. package/lib/components/Welcome/index.d.ts +3 -0
  103. package/lib/components/Welcome/index.js +33 -0
  104. package/lib/components/common/LogoInfo.d.ts +5 -0
  105. package/lib/components/common/LogoInfo.js +30 -0
  106. package/lib/components/common/NavItem.d.ts +20 -0
  107. package/lib/components/common/NavItem.js +112 -0
  108. package/lib/components/common/NavMenu.d.ts +9 -0
  109. package/lib/components/common/NavMenu.js +50 -0
  110. package/lib/components/common/UserAvatarLayout.d.ts +4 -0
  111. package/lib/components/common/UserAvatarLayout.js +41 -0
  112. package/lib/components/common/UserAvatarMenu.d.ts +4 -0
  113. package/lib/components/common/UserAvatarMenu.js +58 -0
  114. package/lib/components/common/index.d.ts +9 -0
  115. package/lib/components/common/index.js +10 -0
  116. package/lib/components/index.d.ts +9 -0
  117. package/lib/components/index.js +7 -0
  118. package/lib/components/theme/ThemeProvider.d.ts +20 -0
  119. package/lib/components/theme/ThemeProvider.js +75 -0
  120. package/lib/components/theme/constants.d.ts +48 -0
  121. package/lib/components/theme/constants.js +556 -0
  122. package/lib/components/theme/index.d.ts +4 -0
  123. package/lib/components/theme/index.js +5 -0
  124. package/lib/components/theme/miaoDarkTheme.d.ts +2 -0
  125. package/lib/components/theme/miaoDarkTheme.js +310 -0
  126. package/lib/components/theme/miaoLightTheme.d.ts +2 -0
  127. package/lib/components/theme/miaoLightTheme.js +296 -0
  128. package/lib/components/theme/ui-config.d.ts +49 -0
  129. package/lib/components/theme/ui-config.js +758 -0
  130. package/lib/components/theme/util.d.ts +20 -0
  131. package/lib/components/theme/util.js +188 -0
  132. package/lib/hooks/index.d.ts +5 -0
  133. package/lib/hooks/index.js +5 -0
  134. package/lib/hooks/useCurrentAppInfo.d.ts +6 -0
  135. package/lib/hooks/useCurrentAppInfo.js +20 -0
  136. package/lib/hooks/useCurrentUserProfile.d.ts +12 -0
  137. package/lib/hooks/useCurrentUserProfile.js +26 -0
  138. package/lib/hooks/useIsMobile.d.ts +1 -0
  139. package/lib/hooks/useIsMobile.js +20 -0
  140. package/lib/hooks/useLogout.d.ts +4 -0
  141. package/lib/hooks/useLogout.js +23 -0
  142. package/lib/hooks/useTheme.d.ts +4 -0
  143. package/lib/hooks/useTheme.js +8 -0
  144. package/lib/hooks/useUpdatingRef.d.ts +1 -0
  145. package/lib/hooks/useUpdatingRef.js +7 -0
  146. package/lib/index.css +3 -0
  147. package/lib/index.d.ts +4 -0
  148. package/lib/index.js +5 -0
  149. package/lib/integrations/dataloom.d.ts +1 -0
  150. package/lib/integrations/dataloom.js +18 -0
  151. package/lib/integrations/generateImage.d.ts +1 -0
  152. package/lib/integrations/generateImage.js +32 -0
  153. package/lib/integrations/generateTextStream.d.ts +26 -0
  154. package/lib/integrations/generateTextStream.js +83 -0
  155. package/lib/integrations/getAppInfo.d.ts +2 -0
  156. package/lib/integrations/getAppInfo.js +4 -0
  157. package/lib/integrations/getCurrentUserProfile.d.ts +6 -0
  158. package/lib/integrations/getCurrentUserProfile.js +5 -0
  159. package/lib/logger/index.d.ts +6 -0
  160. package/lib/logger/index.js +54 -0
  161. package/lib/override.css +29 -0
  162. package/lib/tailwind-theme.css +435 -0
  163. package/lib/types/common.d.ts +11 -0
  164. package/lib/types/common.js +0 -0
  165. package/lib/types/index.d.ts +40 -0
  166. package/lib/types/index.js +0 -0
  167. package/lib/utils/copyToClipboard.d.ts +6 -0
  168. package/lib/utils/copyToClipboard.js +32 -0
  169. package/lib/utils/getAppId.d.ts +11 -0
  170. package/lib/utils/getAppId.js +9 -0
  171. package/lib/utils/getEnvPath.d.ts +4 -0
  172. package/lib/utils/getEnvPath.js +4 -0
  173. package/lib/utils/getParentOrigin.d.ts +5 -0
  174. package/lib/utils/getParentOrigin.js +7 -0
  175. package/lib/utils/getUserProfile.d.ts +47 -0
  176. package/lib/utils/getUserProfile.js +33 -0
  177. package/lib/utils/url.d.ts +8 -0
  178. package/lib/utils/url.js +22 -0
  179. package/lib/utils/utils.d.ts +11 -0
  180. package/lib/utils/utils.js +9 -0
  181. package/package.json +130 -0
@@ -0,0 +1,758 @@
1
+ const defaultUIConfig = {
2
+ version: '1.0.0',
3
+ common: {
4
+ fontSize: {
5
+ type: 'select',
6
+ options: [
7
+ {
8
+ value: 'text-xs',
9
+ label: 'xs(12px)',
10
+ rawValue: '12'
11
+ },
12
+ {
13
+ value: 'text-sm',
14
+ label: 'sm(14px)',
15
+ rawValue: '14'
16
+ },
17
+ {
18
+ value: 'text-base',
19
+ label: 'base(16px)',
20
+ rawValue: '16'
21
+ },
22
+ {
23
+ value: 'text-lg',
24
+ label: 'lg(18px)',
25
+ rawValue: '18'
26
+ },
27
+ {
28
+ value: 'text-xl',
29
+ label: 'xl(20px)',
30
+ rawValue: '20'
31
+ },
32
+ {
33
+ value: 'text-2xl',
34
+ label: '2xl(24px)',
35
+ rawValue: '24'
36
+ },
37
+ {
38
+ value: 'text-3xl',
39
+ label: '3xl(30px)',
40
+ rawValue: '30'
41
+ },
42
+ {
43
+ value: 'text-4xl',
44
+ label: '4xl(36px)',
45
+ rawValue: '36'
46
+ },
47
+ {
48
+ value: 'text-5xl',
49
+ label: '5xl(48px)',
50
+ rawValue: '48'
51
+ },
52
+ {
53
+ value: 'text-6xl',
54
+ label: '6xl(60px)',
55
+ rawValue: '60'
56
+ },
57
+ {
58
+ value: 'text-7xl',
59
+ label: '7xl(72px)',
60
+ rawValue: '72'
61
+ },
62
+ {
63
+ value: 'text-8xl',
64
+ label: '8xl(96px)',
65
+ rawValue: '96'
66
+ },
67
+ {
68
+ value: 'text-9xl',
69
+ label: '9xl(128px)',
70
+ rawValue: '128'
71
+ }
72
+ ]
73
+ },
74
+ fontWeight: {
75
+ type: 'select',
76
+ options: [
77
+ {
78
+ value: 'font-thin',
79
+ label: '极细(Thin)',
80
+ rawValue: '100'
81
+ },
82
+ {
83
+ value: 'font-extralight',
84
+ label: '极轻(Extra Light)',
85
+ rawValue: '200'
86
+ },
87
+ {
88
+ value: 'font-light',
89
+ label: '轻(Light)',
90
+ rawValue: '300'
91
+ },
92
+ {
93
+ value: 'font-normal',
94
+ label: '常规(Normal)',
95
+ rawValue: '400'
96
+ },
97
+ {
98
+ value: 'font-medium',
99
+ label: '中粗(Medium)',
100
+ rawValue: '500'
101
+ },
102
+ {
103
+ value: 'font-semibold',
104
+ label: '半粗(Semi Bold)',
105
+ rawValue: '600'
106
+ },
107
+ {
108
+ value: 'font-bold',
109
+ label: '粗(Bold)',
110
+ rawValue: '700'
111
+ },
112
+ {
113
+ value: 'font-extrabold',
114
+ label: '极粗(Extra Bold)',
115
+ rawValue: '800'
116
+ },
117
+ {
118
+ value: 'font-black',
119
+ label: '黑体(Black)',
120
+ rawValue: '900'
121
+ }
122
+ ]
123
+ },
124
+ borderRadius: {
125
+ type: 'select',
126
+ options: [
127
+ {
128
+ value: 'rounded-none',
129
+ label: 'none(0px)',
130
+ rawValue: '0'
131
+ },
132
+ {
133
+ value: 'rounded-sm',
134
+ label: 'sm (2px)',
135
+ rawValue: '2'
136
+ },
137
+ {
138
+ value: 'rounded',
139
+ label: 's (4px)',
140
+ rawValue: '4'
141
+ },
142
+ {
143
+ value: 'rounded-md',
144
+ label: 'm (6px)',
145
+ rawValue: '6'
146
+ },
147
+ {
148
+ value: 'rounded-lg',
149
+ label: 'l (8px)',
150
+ rawValue: '8'
151
+ },
152
+ {
153
+ value: 'rounded-xl',
154
+ label: 'xl (12px)',
155
+ rawValue: '12'
156
+ },
157
+ {
158
+ value: 'rounded-full',
159
+ label: 'Full',
160
+ rawValue: '9999'
161
+ }
162
+ ]
163
+ },
164
+ borderWidth: {
165
+ type: 'select',
166
+ options: [
167
+ {
168
+ value: 'border-0',
169
+ label: '0px',
170
+ rawValue: '0'
171
+ },
172
+ {
173
+ value: 'border',
174
+ label: '1px',
175
+ rawValue: '1'
176
+ },
177
+ {
178
+ value: 'border-2',
179
+ label: '2px',
180
+ rawValue: '2'
181
+ },
182
+ {
183
+ value: 'border-4',
184
+ label: '4px',
185
+ rawValue: '4'
186
+ },
187
+ {
188
+ value: 'border-8',
189
+ label: '8px',
190
+ rawValue: '8'
191
+ }
192
+ ]
193
+ },
194
+ textAlign: {
195
+ type: 'select',
196
+ options: [
197
+ {
198
+ value: 'text-left',
199
+ label: 'Left',
200
+ rawValue: 'left'
201
+ },
202
+ {
203
+ value: 'text-center',
204
+ label: 'Center',
205
+ rawValue: 'center'
206
+ },
207
+ {
208
+ value: 'text-right',
209
+ label: 'Right',
210
+ rawValue: 'right'
211
+ },
212
+ {
213
+ value: 'text-justify',
214
+ label: 'Justify',
215
+ rawValue: 'justify'
216
+ }
217
+ ]
218
+ },
219
+ padding: {
220
+ type: 'spacing',
221
+ options: [
222
+ {
223
+ label: '0',
224
+ value: '0',
225
+ rawValue: '0'
226
+ },
227
+ {
228
+ label: '4',
229
+ value: '4',
230
+ rawValue: '4'
231
+ },
232
+ {
233
+ label: '8',
234
+ value: '8',
235
+ rawValue: '8'
236
+ },
237
+ {
238
+ label: '12',
239
+ value: '12',
240
+ rawValue: '12'
241
+ },
242
+ {
243
+ label: '16',
244
+ value: '16',
245
+ rawValue: '16'
246
+ },
247
+ {
248
+ label: '20',
249
+ value: '20',
250
+ rawValue: '20'
251
+ },
252
+ {
253
+ label: '24',
254
+ value: '24',
255
+ rawValue: '24'
256
+ },
257
+ {
258
+ label: '32',
259
+ value: '32',
260
+ rawValue: '32'
261
+ },
262
+ {
263
+ label: '36',
264
+ value: '36',
265
+ rawValue: '36'
266
+ },
267
+ {
268
+ label: '40',
269
+ value: '40',
270
+ rawValue: '40'
271
+ }
272
+ ]
273
+ },
274
+ margin: {
275
+ type: 'spacing',
276
+ options: [
277
+ {
278
+ label: '0',
279
+ value: '0',
280
+ rawValue: '0'
281
+ },
282
+ {
283
+ label: '4',
284
+ value: '4',
285
+ rawValue: '4'
286
+ },
287
+ {
288
+ label: '8',
289
+ value: '8',
290
+ rawValue: '8'
291
+ },
292
+ {
293
+ label: '12',
294
+ value: '12',
295
+ rawValue: '12'
296
+ },
297
+ {
298
+ label: '16',
299
+ value: '16',
300
+ rawValue: '16'
301
+ },
302
+ {
303
+ label: '20',
304
+ value: '20',
305
+ rawValue: '20'
306
+ },
307
+ {
308
+ label: '24',
309
+ value: '24',
310
+ rawValue: '24'
311
+ },
312
+ {
313
+ label: '32',
314
+ value: '32',
315
+ rawValue: '32'
316
+ },
317
+ {
318
+ label: '36',
319
+ value: '36',
320
+ rawValue: '36'
321
+ },
322
+ {
323
+ label: '40',
324
+ value: '40',
325
+ rawValue: '40'
326
+ }
327
+ ]
328
+ },
329
+ color: {
330
+ type: 'color-picker',
331
+ recommendColors: [
332
+ {
333
+ title: '中性色',
334
+ options: [
335
+ {
336
+ value: 'text-neutral-00',
337
+ label: 'neutral-00',
338
+ type: 'tailwind',
339
+ rawValue: '#ffffff'
340
+ },
341
+ {
342
+ value: 'text-neutral-50',
343
+ label: 'neutral-50',
344
+ type: 'tailwind',
345
+ rawValue: '#f5f6f7'
346
+ },
347
+ {
348
+ value: 'text-neutral-100',
349
+ label: 'neutral-100',
350
+ type: 'tailwind',
351
+ rawValue: '#f2f3f5'
352
+ },
353
+ {
354
+ value: 'text-neutral-200',
355
+ label: 'neutral-200',
356
+ type: 'tailwind',
357
+ rawValue: '#eff0f1'
358
+ },
359
+ {
360
+ value: 'text-neutral-300',
361
+ label: 'neutral-300',
362
+ type: 'tailwind',
363
+ rawValue: '#dee0e3'
364
+ },
365
+ {
366
+ value: 'text-neutral-400',
367
+ label: 'neutral-400',
368
+ type: 'tailwind',
369
+ rawValue: '#d0d3d6'
370
+ },
371
+ {
372
+ value: 'text-neutral-500',
373
+ label: 'neutral-500',
374
+ type: 'tailwind',
375
+ rawValue: '#bbbfc4'
376
+ },
377
+ {
378
+ value: 'text-neutral-600',
379
+ label: 'neutral-600',
380
+ type: 'tailwind',
381
+ rawValue: '#8f959e'
382
+ },
383
+ {
384
+ value: 'text-neutral-650',
385
+ label: 'neutral-650',
386
+ type: 'tailwind',
387
+ rawValue: '#51565d'
388
+ },
389
+ {
390
+ value: 'text-neutral-700',
391
+ label: 'neutral-700',
392
+ type: 'tailwind',
393
+ rawValue: '#646a73'
394
+ },
395
+ {
396
+ value: 'text-neutral-800',
397
+ label: 'neutral-800',
398
+ type: 'tailwind',
399
+ rawValue: '#373c43'
400
+ },
401
+ {
402
+ value: 'text-neutral-900',
403
+ label: 'neutral-900',
404
+ type: 'tailwind',
405
+ rawValue: '#2b2f36'
406
+ },
407
+ {
408
+ value: 'text-neutral-950',
409
+ label: 'neutral-950',
410
+ type: 'tailwind',
411
+ rawValue: '#1f2329'
412
+ },
413
+ {
414
+ value: 'text-neutral-1000',
415
+ label: 'neutral-1000',
416
+ type: 'tailwind',
417
+ rawValue: '#000000'
418
+ }
419
+ ]
420
+ }
421
+ ]
422
+ },
423
+ backgroundColor: {
424
+ type: 'color-picker',
425
+ recommendColors: [
426
+ {
427
+ title: '中性色',
428
+ options: [
429
+ {
430
+ value: 'bg-neutral-00',
431
+ label: 'neutral-00',
432
+ type: 'tailwind',
433
+ rawValue: '#ffffff'
434
+ },
435
+ {
436
+ value: 'bg-neutral-50',
437
+ label: 'neutral-50',
438
+ type: 'tailwind',
439
+ rawValue: '#f5f6f7'
440
+ },
441
+ {
442
+ value: 'bg-neutral-100',
443
+ label: 'neutral-100',
444
+ type: 'tailwind',
445
+ rawValue: '#f2f3f5'
446
+ },
447
+ {
448
+ value: 'bg-neutral-200',
449
+ label: 'neutral-200',
450
+ type: 'tailwind',
451
+ rawValue: '#eff0f1'
452
+ },
453
+ {
454
+ value: 'bg-neutral-300',
455
+ label: 'neutral-300',
456
+ type: 'tailwind',
457
+ rawValue: '#dee0e3'
458
+ },
459
+ {
460
+ value: 'bg-neutral-400',
461
+ label: 'neutral-400',
462
+ type: 'tailwind',
463
+ rawValue: '#d0d3d6'
464
+ },
465
+ {
466
+ value: 'bg-neutral-500',
467
+ label: 'neutral-500',
468
+ type: 'tailwind',
469
+ rawValue: '#bbbfc4'
470
+ },
471
+ {
472
+ value: 'bg-neutral-600',
473
+ label: 'neutral-600',
474
+ type: 'tailwind',
475
+ rawValue: '#8f959e'
476
+ },
477
+ {
478
+ value: 'bg-neutral-650',
479
+ label: 'neutral-650',
480
+ type: 'tailwind',
481
+ rawValue: '#51565d'
482
+ },
483
+ {
484
+ value: 'bg-neutral-700',
485
+ label: 'neutral-700',
486
+ type: 'tailwind',
487
+ rawValue: '#646a73'
488
+ },
489
+ {
490
+ value: 'bg-neutral-800',
491
+ label: 'neutral-800',
492
+ type: 'tailwind',
493
+ rawValue: '#373c43'
494
+ },
495
+ {
496
+ value: 'bg-neutral-900',
497
+ label: 'neutral-900',
498
+ type: 'tailwind',
499
+ rawValue: '#2b2f36'
500
+ },
501
+ {
502
+ value: 'bg-neutral-950',
503
+ label: 'neutral-950',
504
+ type: 'tailwind',
505
+ rawValue: '#1f2329'
506
+ },
507
+ {
508
+ value: 'bg-neutral-1000',
509
+ label: 'neutral-1000',
510
+ type: 'tailwind',
511
+ rawValue: '#000000'
512
+ }
513
+ ]
514
+ }
515
+ ]
516
+ },
517
+ borderColor: {
518
+ type: 'color-picker',
519
+ recommendColors: [
520
+ {
521
+ title: '中性色',
522
+ options: [
523
+ {
524
+ value: 'border-neutral-00',
525
+ label: 'neutral-00',
526
+ type: 'tailwind',
527
+ rawValue: '#ffffff'
528
+ },
529
+ {
530
+ value: 'border-neutral-50',
531
+ label: 'neutral-50',
532
+ type: 'tailwind',
533
+ rawValue: '#f5f6f7'
534
+ },
535
+ {
536
+ value: 'border-neutral-100',
537
+ label: 'neutral-100',
538
+ type: 'tailwind',
539
+ rawValue: '#f2f3f5'
540
+ },
541
+ {
542
+ value: 'border-neutral-200',
543
+ label: 'neutral-200',
544
+ type: 'tailwind',
545
+ rawValue: '#eff0f1'
546
+ },
547
+ {
548
+ value: 'border-neutral-300',
549
+ label: 'neutral-300',
550
+ type: 'tailwind',
551
+ rawValue: '#dee0e3'
552
+ },
553
+ {
554
+ value: 'border-neutral-400',
555
+ label: 'neutral-400',
556
+ type: 'tailwind',
557
+ rawValue: '#d0d3d6'
558
+ },
559
+ {
560
+ value: 'border-neutral-500',
561
+ label: 'neutral-500',
562
+ type: 'tailwind',
563
+ rawValue: '#bbbfc4'
564
+ },
565
+ {
566
+ value: 'border-neutral-600',
567
+ label: 'neutral-600',
568
+ type: 'tailwind',
569
+ rawValue: '#8f959e'
570
+ },
571
+ {
572
+ value: 'border-neutral-650',
573
+ label: 'neutral-650',
574
+ type: 'tailwind',
575
+ rawValue: '#51565d'
576
+ },
577
+ {
578
+ value: 'border-neutral-700',
579
+ label: 'neutral-700',
580
+ type: 'tailwind',
581
+ rawValue: '#646a73'
582
+ },
583
+ {
584
+ value: 'border-neutral-800',
585
+ label: 'neutral-800',
586
+ type: 'tailwind',
587
+ rawValue: '#373c43'
588
+ },
589
+ {
590
+ value: 'border-neutral-900',
591
+ label: 'neutral-900',
592
+ type: 'tailwind',
593
+ rawValue: '#2b2f36'
594
+ },
595
+ {
596
+ value: 'border-neutral-950',
597
+ label: 'neutral-950',
598
+ type: 'tailwind',
599
+ rawValue: '#1f2329'
600
+ },
601
+ {
602
+ value: 'border-neutral-1000',
603
+ label: 'neutral-1000',
604
+ type: 'tailwind',
605
+ rawValue: '#000000'
606
+ }
607
+ ]
608
+ }
609
+ ]
610
+ }
611
+ },
612
+ tokens: {
613
+ 'blue-50': '#f0f4ff',
614
+ 'blue-100': '#e0e9ff',
615
+ 'blue-200': '#c2d4ff',
616
+ 'blue-300': '#94b4ff',
617
+ 'blue-400': '#7aa2ff',
618
+ 'blue-500': '#5083fb',
619
+ 'blue-600': '#336df4',
620
+ 'blue-700': '#1456f0',
621
+ 'blue-800': '#0442d2',
622
+ 'blue-900': '#002f9e',
623
+ 'blue-950': '#002270',
624
+ 'indigo-50': '#f2f3fd',
625
+ 'indigo-100': '#e9eafb',
626
+ 'indigo-200': '#cccff9',
627
+ 'indigo-300': '#abb0f2',
628
+ 'indigo-400': '#959bee',
629
+ 'indigo-500': '#757df0',
630
+ 'indigo-600': '#5b65f5',
631
+ 'indigo-700': '#4752e6',
632
+ 'indigo-800': '#333dcc',
633
+ 'indigo-900': '#1e27a4',
634
+ 'indigo-950': '#151b70',
635
+ 'purple-50': '#f5f0fe',
636
+ 'purple-100': '#efe6fe',
637
+ 'purple-200': '#dcc9fd',
638
+ 'purple-300': '#c8a9fc',
639
+ 'purple-400': '#b791fa',
640
+ 'purple-500': '#9f6ff1',
641
+ 'purple-600': '#8d55ed',
642
+ 'purple-700': '#7a35f0',
643
+ 'purple-800': '#611fd6',
644
+ 'purple-900': '#4811a6',
645
+ 'purple-950': '#2f0080',
646
+ 'violet-50': '#fceefc',
647
+ 'violet-100': '#f9e2f9',
648
+ 'violet-200': '#f3c4f3',
649
+ 'violet-300': '#e59ce5',
650
+ 'violet-400': '#de81de',
651
+ 'violet-500': '#cf5ecf',
652
+ 'violet-600': '#bf3dbf',
653
+ 'violet-700': '#a630a6',
654
+ 'violet-800': '#872787',
655
+ 'violet-900': '#6a116a',
656
+ 'violet-950': '#520052',
657
+ 'pink-50': '#fef0f8',
658
+ 'pink-100': '#fee2f2',
659
+ 'pink-200': '#f8c4e1',
660
+ 'pink-300': '#f598cc',
661
+ 'pink-400': '#eb78b8',
662
+ 'pink-500': '#df58a5',
663
+ 'pink-600': '#cc398c',
664
+ 'pink-700': '#b82879',
665
+ 'pink-800': '#9d1562',
666
+ 'pink-900': '#730744',
667
+ 'pink-950': '#550c35',
668
+ 'red-50': '#fef0f0',
669
+ 'red-100': '#fee3e2',
670
+ 'red-200': '#fdc6c4',
671
+ 'red-300': '#f89e9b',
672
+ 'red-400': '#ff7570',
673
+ 'red-500': '#f54a45',
674
+ 'red-600': '#e22e28',
675
+ 'red-700': '#c02a26',
676
+ 'red-800': '#a11c17',
677
+ 'red-900': '#741915',
678
+ 'red-950': '#590603',
679
+ 'orange-50': '#fff3e5',
680
+ 'orange-100': '#fee7cd',
681
+ 'orange-200': '#fec48b',
682
+ 'orange-300': '#ff9d4c',
683
+ 'orange-400': '#ff811a',
684
+ 'orange-500': '#ed6d0c',
685
+ 'orange-600': '#c25705',
686
+ 'orange-700': '#a44904',
687
+ 'orange-800': '#853a05',
688
+ 'orange-900': '#642b02',
689
+ 'orange-950': '#3b1a02',
690
+ 'yellow-50': '#fbf4df',
691
+ 'yellow-100': '#faedc2',
692
+ 'yellow-200': '#fcdf7e',
693
+ 'yellow-300': '#fad355',
694
+ 'yellow-400': '#ffc60a',
695
+ 'yellow-500': '#d99904',
696
+ 'yellow-600': '#ad7a03',
697
+ 'yellow-700': '#865b03',
698
+ 'yellow-800': '#6f4a01',
699
+ 'yellow-900': '#573601',
700
+ 'yellow-950': '#382201',
701
+ 'amber-50': '#ffffdb',
702
+ 'amber-100': '#fffca3',
703
+ 'amber-200': '#fff67a',
704
+ 'amber-300': '#fff258',
705
+ 'amber-400': '#ffe928',
706
+ 'amber-500': '#e5ce00',
707
+ 'amber-600': '#c2a800',
708
+ 'amber-700': '#8f7c00',
709
+ 'amber-800': '#5c4f00',
710
+ 'amber-900': '#423700',
711
+ 'amber-950': '#2c2502',
712
+ 'lime-50': '#f2f8d3',
713
+ 'lime-100': '#e3f0a3',
714
+ 'lime-200': '#c8dd5f',
715
+ 'lime-300': '#a2c10b',
716
+ 'lime-400': '#91ad00',
717
+ 'lime-500': '#7b9207',
718
+ 'lime-600': '#6b7f06',
719
+ 'lime-700': '#5c6d08',
720
+ 'lime-800': '#4a5804',
721
+ 'lime-900': '#333d00',
722
+ 'lime-950': '#262e00',
723
+ 'green-50': '#e4fae1',
724
+ 'green-100': '#d0f5ce',
725
+ 'green-200': '#95e599',
726
+ 'green-300': '#5cd168',
727
+ 'green-400': '#35bd4b',
728
+ 'green-500': '#32a645',
729
+ 'green-600': '#258832',
730
+ 'green-700': '#1a7526',
731
+ 'green-800': '#0b6017',
732
+ 'green-900': '#04430c',
733
+ 'green-950': '#022c07',
734
+ 'teal-50': '#e2f8f5',
735
+ 'teal-100': '#c4f2ec',
736
+ 'teal-200': '#6fe8d8',
737
+ 'teal-300': '#33d6c0',
738
+ 'teal-400': '#2dbeab',
739
+ 'teal-500': '#10a893',
740
+ 'teal-600': '#0f8575',
741
+ 'teal-700': '#067062',
742
+ 'teal-800': '#045d51',
743
+ 'teal-900': '#03443b',
744
+ 'teal-950': '#02312a',
745
+ 'cyan-50': '#e7f8fe',
746
+ 'cyan-100': '#caeffc',
747
+ 'cyan-200': '#97dcfc',
748
+ 'cyan-300': '#3ec3f7',
749
+ 'cyan-400': '#25b0e7',
750
+ 'cyan-500': '#1295ca',
751
+ 'cyan-600': '#047fb0',
752
+ 'cyan-700': '#076a94',
753
+ 'cyan-800': '#0f587a',
754
+ 'cyan-900': '#06415c',
755
+ 'cyan-950': '#072b3d'
756
+ }
757
+ };
758
+ export { defaultUIConfig };