base6-ui 1.1.1 → 1.1.3

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 (126) hide show
  1. package/dist/index.css +1 -0
  2. package/dist/index.umd.js +1 -0
  3. package/es/components/BaseDataTable/index.vue.mjs +2 -2
  4. package/es/components/BaseDataTable/index.vue2.mjs +18 -15
  5. package/es/components/BaseDialog/options.mjs +2 -2
  6. package/es/components/BaseSwitch/index.vue.mjs +2 -2
  7. package/es/components/BaseSwitch/index.vue2.mjs +15 -15
  8. package/es/index.css +1 -1
  9. package/lib/components/BaseDataTable/index.vue.js +1 -1
  10. package/lib/components/BaseDataTable/index.vue2.js +1 -1
  11. package/lib/components/BaseDialog/options.js +1 -1
  12. package/lib/components/BaseSwitch/index.vue.js +1 -1
  13. package/lib/components/BaseSwitch/index.vue2.js +1 -1
  14. package/lib/index.css +1 -1
  15. package/package.json +16 -4
  16. package/CHANGELOG.md +0 -13
  17. package/build/plugins.ts +0 -31
  18. package/build/unPlugin.ts +0 -37
  19. package/eslint.config.js +0 -114
  20. package/src/components/AppProvider/index.ts +0 -1
  21. package/src/components/AppProvider/index.vue +0 -38
  22. package/src/components/BaseButton/index.ts +0 -1
  23. package/src/components/BaseButton/index.vue +0 -21
  24. package/src/components/BaseDataTable/index.ts +0 -1
  25. package/src/components/BaseDataTable/index.vue +0 -120
  26. package/src/components/BaseDialog/index.ts +0 -2
  27. package/src/components/BaseDialog/index.vue +0 -104
  28. package/src/components/BaseDialog/options.ts +0 -25
  29. package/src/components/BaseDialog/type.ts +0 -30
  30. package/src/components/BaseInputNumber/index.ts +0 -1
  31. package/src/components/BaseInputNumber/index.vue +0 -188
  32. package/src/components/BaseLayout/ASide/index.vue +0 -104
  33. package/src/components/BaseLayout/ASide/type.ts +0 -11
  34. package/src/components/BaseLayout/index.ts +0 -1
  35. package/src/components/BaseProgress/index.ts +0 -99
  36. package/src/components/BaseRadio/index.ts +0 -1
  37. package/src/components/BaseRadio/index.vue +0 -45
  38. package/src/components/BaseSelect/index.ts +0 -1
  39. package/src/components/BaseSelect/index.vue +0 -59
  40. package/src/components/BaseSlider/index.ts +0 -1
  41. package/src/components/BaseSlider/index.vue +0 -114
  42. package/src/components/BaseSwitch/index.ts +0 -1
  43. package/src/components/BaseSwitch/index.vue +0 -69
  44. package/src/components/index.ts +0 -11
  45. package/src/components/types/themes/extendThemes.ts +0 -50
  46. package/src/config/index.ts +0 -1
  47. package/src/config/themes/color/dark.ts +0 -60
  48. package/src/config/themes/color/index.ts +0 -2
  49. package/src/config/themes/color/light.ts +0 -59
  50. package/src/config/themes/common.ts +0 -50
  51. package/src/config/themes/components/alert/common.ts +0 -13
  52. package/src/config/themes/components/alert/dark.ts +0 -23
  53. package/src/config/themes/components/alert/light.ts +0 -18
  54. package/src/config/themes/components/baseComponent/dark.ts +0 -189
  55. package/src/config/themes/components/baseComponent/light.ts +0 -297
  56. package/src/config/themes/components/button/common.ts +0 -20
  57. package/src/config/themes/components/button/dark.ts +0 -127
  58. package/src/config/themes/components/button/light.ts +0 -102
  59. package/src/config/themes/components/card/dark.ts +0 -13
  60. package/src/config/themes/components/card/light.ts +0 -13
  61. package/src/config/themes/components/charts/dark.ts +0 -425
  62. package/src/config/themes/components/charts/light.ts +0 -424
  63. package/src/config/themes/components/checkbox/common.ts +0 -7
  64. package/src/config/themes/components/checkbox/dark.ts +0 -23
  65. package/src/config/themes/components/checkbox/light.ts +0 -22
  66. package/src/config/themes/components/dataTable/dark.ts +0 -14
  67. package/src/config/themes/components/dataTable/light.ts +0 -14
  68. package/src/config/themes/components/datePicker/dark.ts +0 -10
  69. package/src/config/themes/components/datePicker/light.ts +0 -10
  70. package/src/config/themes/components/dialog/common.ts +0 -8
  71. package/src/config/themes/components/dialog/dark.ts +0 -14
  72. package/src/config/themes/components/dialog/light.ts +0 -13
  73. package/src/config/themes/components/dropdown/dark.ts +0 -7
  74. package/src/config/themes/components/dropdown/light.ts +0 -7
  75. package/src/config/themes/components/form/dark.ts +0 -7
  76. package/src/config/themes/components/form/light.ts +0 -7
  77. package/src/config/themes/components/input/common.ts +0 -13
  78. package/src/config/themes/components/input/dark.ts +0 -25
  79. package/src/config/themes/components/input/light.ts +0 -24
  80. package/src/config/themes/components/inputNumber/common.ts +0 -14
  81. package/src/config/themes/components/inputNumber/dark.ts +0 -24
  82. package/src/config/themes/components/inputNumber/light.ts +0 -20
  83. package/src/config/themes/components/layout/dark.ts +0 -8
  84. package/src/config/themes/components/layout/light.ts +0 -9
  85. package/src/config/themes/components/menu/dark.ts +0 -18
  86. package/src/config/themes/components/menu/light.ts +0 -17
  87. package/src/config/themes/components/progress/dark.ts +0 -25
  88. package/src/config/themes/components/progress/light.ts +0 -25
  89. package/src/config/themes/components/radio/dark.ts +0 -20
  90. package/src/config/themes/components/radio/light.ts +0 -21
  91. package/src/config/themes/components/select/dark.ts +0 -42
  92. package/src/config/themes/components/select/light.ts +0 -38
  93. package/src/config/themes/components/slider/dark.ts +0 -16
  94. package/src/config/themes/components/slider/light.ts +0 -16
  95. package/src/config/themes/components/switch/common.ts +0 -17
  96. package/src/config/themes/components/switch/dark.ts +0 -17
  97. package/src/config/themes/components/switch/light.ts +0 -17
  98. package/src/config/themes/components/tag/dark.ts +0 -40
  99. package/src/config/themes/components/tag/light.ts +0 -39
  100. package/src/config/themes/components/transfer/dark.ts +0 -8
  101. package/src/config/themes/components/transfer/light.ts +0 -8
  102. package/src/config/themes/dark.ts +0 -61
  103. package/src/config/themes/index.ts +0 -12
  104. package/src/config/themes/light.ts +0 -61
  105. package/src/config/themes/token/dark.ts +0 -32
  106. package/src/config/themes/token/index.ts +0 -2
  107. package/src/config/themes/token/light.ts +0 -11
  108. package/src/globalMethods/index.ts +0 -8
  109. package/src/globalMethods/modules/confirmTip.ts +0 -49
  110. package/src/globalMethods/modules/message.ts +0 -20
  111. package/src/hooks/useNaiveConfigProvideContext.ts +0 -10
  112. package/src/index.ts +0 -8
  113. package/src/style/index.scss +0 -63
  114. package/src/svg-icons/add.svg +0 -1
  115. package/src/svg-icons/arrow/down.svg +0 -1
  116. package/src/svg-icons/arrow/top.svg +0 -1
  117. package/src/svg-icons/logo.svg +0 -4
  118. package/src/svg-icons/operate/add.svg +0 -1
  119. package/src/svg-icons/operate/close.svg +0 -1
  120. package/src/svg-icons/operate/minus.svg +0 -1
  121. package/src/svg-icons/progress-default.svg +0 -3
  122. package/src/types/themes/extendThemes.ts +0 -50
  123. package/tsconfig.json +0 -38
  124. package/typing/components.d.ts +0 -38
  125. package/typing/global.d.ts +0 -19
  126. package/vite.config.ts +0 -61
@@ -1,424 +0,0 @@
1
- import { lightBase } from '../../color'
2
-
3
- const nameTextStyle = {
4
- 'color': lightBase['color-gray-10'],
5
- 'fontWeight': 400,
6
- 'fontSize': 14,
7
- 'lineHeight': 20
8
- }
9
-
10
- export const ChartsThemeLight = {
11
- 'color': [
12
- '#5895ff',
13
- '#6dd68e',
14
- '#f7a55d',
15
- '#ef7173',
16
- '#cc84ff',
17
- '#70c1ff',
18
- '#71dad6'
19
- ],
20
- // 'backgroundColor': 'rgba(0,0,0,0)',
21
- 'textStyle': {},
22
- 'title': {
23
- 'textStyle': {
24
- 'color': lightBase['color-gray-10'],
25
- 'fontWeight': 400,
26
- 'fontSize': 14,
27
- 'lineHeight': 20
28
- },
29
- 'subtextStyle': {
30
- 'color': '#93b7e3'
31
- }
32
- },
33
- 'line': {
34
- 'itemStyle': {
35
- 'borderWidth': '0'
36
- },
37
- 'lineStyle': {
38
- 'width': '2'
39
- },
40
- 'symbolSize': 0,
41
- 'symbol': 'circle',
42
- 'smooth': false
43
- },
44
- 'radar': {
45
- 'itemStyle': {
46
- 'borderWidth': '0'
47
- },
48
- 'lineStyle': {
49
- 'width': '2'
50
- },
51
- 'symbolSize': '0',
52
- 'symbol': 'circle',
53
- 'smooth': false
54
- },
55
- 'bar': {
56
- 'itemStyle': {
57
- 'barBorderWidth': 0,
58
- 'barBorderColor': '#ccc',
59
- 'borderRadius': [4, 4, 0, 0]
60
- },
61
- 'barMaxWidth': 28
62
- },
63
- 'pie': {
64
- 'padAngle': 1,
65
- 'itemStyle': {
66
- 'borderWidth': 0,
67
- 'borderColor': '#ccc'
68
- }
69
- },
70
- 'scatter': {
71
- 'itemStyle': {
72
- 'borderWidth': 0,
73
- 'borderColor': '#ccc'
74
- }
75
- },
76
- 'boxplot': {
77
- 'itemStyle': {
78
- 'borderWidth': 0,
79
- 'borderColor': '#ccc'
80
- }
81
- },
82
- 'parallel': {
83
- 'itemStyle': {
84
- 'borderWidth': 0,
85
- 'borderColor': '#ccc'
86
- }
87
- },
88
- 'sankey': {
89
- 'itemStyle': {
90
- 'borderWidth': 0,
91
- 'borderColor': '#ccc'
92
- }
93
- },
94
- 'funnel': {
95
- 'itemStyle': {
96
- 'borderWidth': 0,
97
- 'borderColor': '#ccc'
98
- }
99
- },
100
- 'gauge': {
101
- 'itemStyle': {
102
- 'borderWidth': 0,
103
- 'borderColor': '#ccc'
104
- }
105
- },
106
- 'candlestick': {
107
- 'itemStyle': {
108
- 'color': '#edafda',
109
- 'color0': 'transparent',
110
- 'borderColor': '#d680bc',
111
- 'borderColor0': '#8fd3e8',
112
- 'borderWidth': '2'
113
- }
114
- },
115
- 'graph': {
116
- 'itemStyle': {
117
- 'borderWidth': 0,
118
- 'borderColor': '#ccc'
119
- },
120
- 'lineStyle': {
121
- 'width': 1,
122
- 'color': '#aaa'
123
- },
124
- 'symbolSize': '0',
125
- 'symbol': 'circle',
126
- 'smooth': false,
127
- 'color': [
128
- '#5895ff',
129
- '#6dd68e',
130
- '#f7a55d',
131
- '#ef7173',
132
- '#cc84ff',
133
- '#70c1ff',
134
- '#71dad6'
135
- ],
136
- 'label': {
137
- 'color': '#ffffff'
138
- }
139
- },
140
- 'map': {
141
- 'itemStyle': {
142
- 'areaColor': '#f3f3f3',
143
- 'borderColor': '#516b91',
144
- 'borderWidth': 0.5
145
- },
146
- 'label': {
147
- 'color': '#000'
148
- },
149
- 'emphasis': {
150
- 'itemStyle': {
151
- 'areaColor': '#a5e7f0',
152
- 'borderColor': '#516b91',
153
- 'borderWidth': 1
154
- },
155
- 'label': {
156
- 'color': '#516b91'
157
- }
158
- }
159
- },
160
- 'geo': {
161
- 'itemStyle': {
162
- 'areaColor': '#f3f3f3',
163
- 'borderColor': '#516b91',
164
- 'borderWidth': 0.5
165
- },
166
- 'label': {
167
- 'color': '#000'
168
- },
169
- 'emphasis': {
170
- 'itemStyle': {
171
- 'areaColor': '#a5e7f0',
172
- 'borderColor': '#516b91',
173
- 'borderWidth': 1
174
- },
175
- 'label': {
176
- 'color': '#516b91'
177
- }
178
- }
179
- },
180
- 'categoryAxis': {
181
- 'nameTextStyle': nameTextStyle,
182
- 'axisLine': {
183
- 'show': true,
184
- 'lineStyle': {
185
- 'color': lightBase['color-gray-4']
186
- }
187
- },
188
- 'axisTick': {
189
- 'show': false,
190
- 'lineStyle': {
191
- 'color': '#333'
192
- }
193
- },
194
- 'axisLabel': {
195
- 'show': true,
196
- 'color': lightBase['color-gray-8']
197
- },
198
- 'splitLine': {
199
- 'show': false,
200
- 'lineStyle': {
201
- 'color': [
202
- '#eeeeee'
203
- ]
204
- }
205
- },
206
- 'splitArea': {
207
- 'show': false,
208
- 'areaStyle': {
209
- 'color': [
210
- 'rgba(250,250,250,0.05)',
211
- 'rgba(200,200,200,0.02)'
212
- ]
213
- }
214
- }
215
- },
216
- 'valueAxis': {
217
- 'nameTextStyle': nameTextStyle,
218
- 'axisLine': {
219
- 'show': false,
220
- 'lineStyle': {
221
- 'color': lightBase['color-gray-4']
222
- }
223
- },
224
- 'axisTick': {
225
- 'show': false,
226
- 'lineStyle': {
227
- 'color': '#333'
228
- }
229
- },
230
- 'axisLabel': {
231
- 'show': true,
232
- 'color': lightBase['color-gray-8']
233
- },
234
- 'splitLine': {
235
- 'show': false,
236
- 'lineStyle': {
237
- 'color': [
238
- '#eeeeee'
239
- ]
240
- }
241
- },
242
- 'splitArea': {
243
- 'show': false,
244
- 'areaStyle': {
245
- 'color': [
246
- 'rgba(250,250,250,0.05)',
247
- 'rgba(200,200,200,0.02)'
248
- ]
249
- }
250
- }
251
- },
252
- 'logAxis': {
253
- 'nameTextStyle': nameTextStyle,
254
- 'axisLine': {
255
- 'show': true,
256
- 'lineStyle': {
257
- 'color': lightBase['color-gray-4']
258
- }
259
- },
260
- 'axisTick': {
261
- 'show': false,
262
- 'lineStyle': {
263
- 'color': '#333'
264
- }
265
- },
266
- 'axisLabel': {
267
- 'show': true,
268
- 'color': lightBase['color-gray-8']
269
- },
270
- 'splitLine': {
271
- 'show': false,
272
- 'lineStyle': {
273
- 'color': [
274
- '#eeeeee'
275
- ]
276
- }
277
- },
278
- 'splitArea': {
279
- 'show': false,
280
- 'areaStyle': {
281
- 'color': [
282
- 'rgba(250,250,250,0.05)',
283
- 'rgba(200,200,200,0.02)'
284
- ]
285
- }
286
- }
287
- },
288
- 'timeAxis': {
289
- 'nameTextStyle': nameTextStyle,
290
- 'axisLine': {
291
- 'show': true,
292
- 'lineStyle': {
293
- 'color': lightBase['color-gray-4']
294
- }
295
- },
296
- 'axisTick': {
297
- 'show': false,
298
- 'lineStyle': {
299
- 'color': '#333'
300
- }
301
- },
302
- 'axisLabel': {
303
- 'show': true,
304
- 'color': lightBase['color-gray-8']
305
- },
306
- 'splitLine': {
307
- 'show': false,
308
- 'lineStyle': {
309
- 'color': [
310
- '#eeeeee'
311
- ]
312
- }
313
- },
314
- 'splitArea': {
315
- 'show': false,
316
- 'areaStyle': {
317
- 'color': [
318
- 'rgba(250,250,250,0.05)',
319
- 'rgba(200,200,200,0.02)'
320
- ]
321
- }
322
- }
323
- },
324
- 'toolbox': {
325
- 'iconStyle': {
326
- 'borderColor': '#999'
327
- },
328
- 'emphasis': {
329
- 'iconStyle': {
330
- 'borderColor': '#666'
331
- }
332
- }
333
- },
334
- 'legend': {
335
- 'textStyle': {
336
- color: lightBase['color-gray-8'], 'lineHeight': 16, 'fontSize': 12
337
- },
338
- 'itemGap': 16,
339
- 'itemWidth': 12,
340
- 'itemHeight': 12,
341
- 'inactiveColor': lightBase['color-gray-4']
342
- },
343
- 'tooltip': {
344
- 'borderColor': '#fff',
345
- 'padding': 12,
346
- 'textStyle': {
347
- 'color': lightBase['color-gray-10'],
348
- 'fontSize': 12,
349
- 'fontWeight': 400
350
- },
351
- 'axisPointer': {
352
- 'lineStyle': {
353
- 'color': '#ccc',
354
- 'width': 1
355
- },
356
- 'crossStyle': {
357
- 'color': '#ccc',
358
- 'width': 1
359
- }
360
- }
361
- },
362
- 'timeline': {
363
- 'lineStyle': {
364
- 'color': '#4c8eff',
365
- 'width': 1
366
- },
367
- 'itemStyle': {
368
- 'color': '#4c8eff',
369
- 'borderWidth': 1
370
- },
371
- 'controlStyle': {
372
- 'color': '#4c8eff',
373
- 'borderColor': '#4c8eff',
374
- 'borderWidth': 0.5
375
- },
376
- 'checkpointStyle': {
377
- 'color': '#4c8eff',
378
- 'borderColor': '#8a7ca8'
379
- },
380
- 'label': {
381
- 'color': '#4c8eff'
382
- },
383
- 'emphasis': {
384
- 'itemStyle': {
385
- 'color': '#4c8eff'
386
- },
387
- 'controlStyle': {
388
- 'color': '#4c8eff',
389
- 'borderColor': '#4c8eff',
390
- 'borderWidth': 0.5
391
- },
392
- 'label': {
393
- 'color': '#4c8eff'
394
- }
395
- }
396
- },
397
- 'visualMap': {
398
- 'color': [
399
- '#516b91',
400
- '#59c4e6',
401
- '#a5e7f0'
402
- ]
403
- },
404
- 'dataZoom': {
405
- 'backgroundColor': 'rgba(0,0,0,0)',
406
- 'dataBackgroundColor': 'rgba(255,255,255,0.3)',
407
- 'fillerColor': 'rgba(167,183,204,0.4)',
408
- 'handleColor': '#a7b7cc',
409
- 'handleSize': '100%',
410
- 'textStyle': {
411
- 'color': '#333'
412
- }
413
- },
414
- 'markPoint': {
415
- 'label': {
416
- 'color': '#ffffff'
417
- },
418
- 'emphasis': {
419
- 'label': {
420
- 'color': '#ffffff'
421
- }
422
- }
423
- }
424
- }
@@ -1,7 +0,0 @@
1
- import { CheckboxProps } from 'naive-ui'
2
-
3
- export const CheckboxThemeCommon: CheckboxProps['themeOverrides'] = {
4
- borderRadius: '4px',
5
-
6
- boxShadowFocus: 'none'
7
- }
@@ -1,23 +0,0 @@
1
- import { CheckboxProps } from 'naive-ui'
2
- import { darkBase } from '../../color'
3
- import { darkToken } from '../../token'
4
- import { CheckboxThemeCommon } from './common'
5
-
6
- export const CheckboxThemeDark: CheckboxProps['themeOverrides'] = {
7
- ...CheckboxThemeCommon,
8
- border: `1.5px solid ${darkBase['color-gray-4']}`,
9
- borderChecked: `1.5px solid ${darkBase['color-primary-6']}`,
10
- borderDisabled: `1.5px solid ${darkBase['color-gray-4']}`,
11
- borderDisabledChecked: `1.5px solid ${darkBase['color-primary-3']}`,
12
- borderFocus: `1.5px solid ${darkBase['color-primary-5']}`,
13
-
14
- colorChecked: darkBase['color-primary-6'],
15
- colorDisabled: darkToken['fill-color-2'],
16
- colorDisabledChecked: darkBase['color-primary-3'],
17
-
18
- checkMarkColor: darkToken['color-text-1'],
19
- checkMarkColorDisabledChecked: darkToken['color-white-disabled-opacity'],
20
-
21
- textColor: darkToken['color-text-1'],
22
- textColorDisabled: darkToken['color-text-4']
23
- }
@@ -1,22 +0,0 @@
1
- import { CheckboxProps } from 'naive-ui'
2
- import { lightBase } from '../../color'
3
- import { lightToken } from '../../token'
4
- import { CheckboxThemeCommon } from './common'
5
-
6
- export const CheckboxThemeLight: CheckboxProps['themeOverrides'] = {
7
- ...CheckboxThemeCommon,
8
- border: `1.5px solid ${lightBase['color-gray-4']}`,
9
- borderChecked: `1.5px solid ${lightBase['color-primary-6']}`,
10
- borderDisabled: `1.5px solid ${lightBase['color-gray-4']}`,
11
- borderDisabledChecked: `1.5px solid ${lightBase['color-primary-3']}`,
12
- borderFocus: `1.5px solid ${lightBase['color-primary-5']}`,
13
-
14
- colorChecked: lightBase['color-primary-6'],
15
- colorDisabled: lightBase['color-gray-3'],
16
- colorDisabledChecked: lightBase['color-primary-3'],
17
-
18
- checkMarkColorDisabledChecked: lightToken['color-text-1'],
19
-
20
- textColor: lightBase['color-gray-10'],
21
- textColorDisabled: lightBase['color-gray-4']
22
- }
@@ -1,14 +0,0 @@
1
- import { DataTableProps } from 'naive-ui'
2
- import { darkBase } from '../../color'
3
- import { darkToken } from '../../token'
4
- // import { commonBase } from '../../common'
5
-
6
- export const DataTableThemeDark: DataTableProps['themeOverrides'] = {
7
- tdColor: darkToken['bg-color-2'],
8
- tdColorStriped: darkToken['fill-color-5'],
9
- tdTextColor: darkBase['color-gray-10'],
10
- thColor: darkToken['bg-color-2'],
11
- thTextColor: darkToken['color-text-2']
12
- // borderColor: darkBase['color-gray-4'],
13
- // borderRadius: commonBase['borderRadiusMedium']
14
- }
@@ -1,14 +0,0 @@
1
- import { DataTableProps } from 'naive-ui'
2
- import { lightBase } from '../../color'
3
- import { lightToken } from '../../token'
4
- // import { commonBase } from '../../common'
5
-
6
- export const DataTableThemeLight: DataTableProps['themeOverrides'] = {
7
- tdColor: lightToken['bg-color-2'],
8
- tdColorStriped: lightBase['color-gray-1'],
9
- tdTextColor: lightBase['color-gray-10'],
10
- thColor: lightToken['bg-color-2'],
11
- thTextColor: lightBase['color-gray-8']
12
- // borderColor: lightBase['color-gray-4'],
13
- // borderRadius: commonBase['borderRadiusMedium']
14
- }
@@ -1,10 +0,0 @@
1
- import { DatePickerProps } from 'naive-ui'
2
- import { darkBase } from '../../color'
3
-
4
- export const DatePickerThemeDark: DatePickerProps['themeOverrides'] = {
5
- itemColorActive: darkBase['color-primary-6'],
6
- itemColorIncluded: darkBase['color-primary-1'],
7
- itemColorHover: darkBase['color-primary-1'],
8
- itemTextColorCurrent: darkBase['color-primary-6'],
9
- itemBorderRadius: '4px'
10
- }
@@ -1,10 +0,0 @@
1
- import { DatePickerProps } from 'naive-ui'
2
- import { lightBase } from '../../color'
3
-
4
- export const DatePickerThemeLight: DatePickerProps['themeOverrides'] = {
5
- itemColorActive: lightBase['color-primary-6'],
6
- itemColorIncluded: lightBase['color-primary-1'],
7
- itemColorHover: lightBase['color-primary-1'],
8
- itemTextColorCurrent: lightBase['color-primary-6'],
9
- itemBorderRadius: '4px'
10
- }
@@ -1,8 +0,0 @@
1
- export const DialogThemeCommon = {
2
- closeMargin: '29px 24px 0 0',
3
- contentMargin: '24px 0',
4
- padding: '24px 24px 16px',
5
- titleFontSize: '24px',
6
- iconMargin: '0 6px 0 0',
7
- iconSize: '24px'
8
- }
@@ -1,14 +0,0 @@
1
- import { darkBase } from '../../color'
2
- import { darkToken } from '../../token'
3
- import { DialogThemeCommon } from './common'
4
-
5
- export const DialogThemeDark = {
6
- ...DialogThemeCommon,
7
- closeIconColor: darkToken['color-text-1'],
8
- titleTextColor: darkToken['color-text-1'],
9
- textColor: darkToken['color-text-1'],
10
- iconColorError: darkBase['color-red-6'],
11
- iconColorInfo: darkBase['color-primary-6'],
12
- iconColorSuccess: darkBase['color-green-6'],
13
- iconColorWarning: darkBase['color-origin-6']
14
- }
@@ -1,13 +0,0 @@
1
- import { lightBase } from '../../color'
2
- import { DialogThemeCommon } from './common'
3
-
4
- export const DialogThemeLight = {
5
- ...DialogThemeCommon,
6
- closeIconColor: lightBase['color-gray-10'],
7
- titleTextColor: lightBase['color-gray-10'],
8
- textColor: lightBase['color-gray-10'],
9
- iconColorError: lightBase['color-red-6'],
10
- iconColorInfo: lightBase['color-primary-6'],
11
- iconColorSuccess: lightBase['color-green-6'],
12
- iconColorWarning: lightBase['color-origin-6']
13
- }
@@ -1,7 +0,0 @@
1
- import { DropdownProps } from 'naive-ui'
2
- import { darkToken } from '../../token'
3
-
4
- export const DropdownThemeDark: DropdownProps['themeOverrides'] = {
5
- optionColorHover: darkToken['fill-color-5'],
6
- optionTextColor: darkToken['color-text-1']
7
- }
@@ -1,7 +0,0 @@
1
- import { DropdownProps } from 'naive-ui'
2
- import { lightBase } from '../../color'
3
-
4
- export const DropdownThemeLight: DropdownProps['themeOverrides'] = {
5
- optionColorHover: lightBase['color-primary-2'],
6
- optionTextColor: lightBase['color-gray-10']
7
- }
@@ -1,7 +0,0 @@
1
- import { FormProps } from 'naive-ui'
2
- import { darkBase } from '../../color'
3
-
4
- export const FormThemeDark: FormProps['themeOverrides'] = {
5
- asteriskColor: darkBase['color-red-6'],
6
- feedbackTextColorError: darkBase['color-red-6']
7
- }
@@ -1,7 +0,0 @@
1
- import { FormProps } from 'naive-ui'
2
- import { lightBase } from '../../color'
3
-
4
- export const FormThemeLight: FormProps['themeOverrides'] = {
5
- asteriskColor: lightBase['color-red-6'],
6
- feedbackTextColorError: lightBase['color-red-6']
7
- }
@@ -1,13 +0,0 @@
1
- import { InputProps } from 'naive-ui'
2
- import { commonBase } from '../../common'
3
-
4
- export const InputThemeCommon: InputProps['themeOverrides'] = {
5
-
6
- borderRadius: commonBase.borderRadiusMedium,
7
-
8
- fontSizeLarge: commonBase.fontSizeLarge,
9
-
10
- heightLarge: commonBase.heightLarge,
11
- heightMedium: commonBase.heightMedium,
12
- heightSmall: commonBase.heightSmall
13
- }
@@ -1,25 +0,0 @@
1
- import { InputProps } from 'naive-ui'
2
- import { darkBase } from '../../color'
3
- import { darkToken } from '../../token'
4
- import { InputThemeCommon } from './common'
5
-
6
- export const InputThemeDark: InputProps['themeOverrides'] = {
7
- ...InputThemeCommon,
8
- border: `1px solid ${darkBase['color-gray-4']}`,
9
- borderDisabled: '1px solid #0000',
10
- borderError: `1px solid ${darkBase['color-red-6']}`,
11
- borderFocus: `1.5px solid ${darkBase['color-primary-6']}`,
12
- borderHover: `1px solid ${darkBase['color-primary-5']}`,
13
-
14
- colorDisabled: darkToken['fill-color-1'],
15
-
16
- groupLabelBorder: `1px solid ${darkBase['color-gray-4']}`,
17
- groupLabelColor: darkBase['color-gray-2'],
18
- groupLabelTextColor: darkBase['color-gray-10'],
19
-
20
- placeholderColor: darkBase['color-gray-6'],
21
- placeholderColorDisabled: darkToken['color-text-4'],
22
-
23
- textColor: darkBase['color-gray-10'],
24
- textColorDisabled: darkToken['color-text-4']
25
- }
@@ -1,24 +0,0 @@
1
- import { InputProps } from 'naive-ui'
2
- import { lightBase } from '../../color'
3
- import { InputThemeCommon } from './common'
4
-
5
- export const InputThemeLight: InputProps['themeOverrides'] = {
6
- ...InputThemeCommon,
7
- border: `1px solid ${lightBase['color-gray-4']}`,
8
- borderDisabled: '1px solid #0000',
9
- borderError: `1px solid ${lightBase['color-red-6']}`,
10
- borderFocus: `1.5px solid ${lightBase['color-primary-6']}`,
11
- borderHover: `1px solid ${lightBase['color-primary-5']}`,
12
-
13
- colorDisabled: lightBase['color-gray-2'],
14
-
15
- groupLabelBorder: `1px solid ${lightBase['color-gray-4']}`,
16
- groupLabelColor: lightBase['color-gray-2'],
17
- groupLabelTextColor: lightBase['color-gray-10'],
18
-
19
- placeholderColor: lightBase['color-gray-6'],
20
- placeholderColorDisabled: lightBase['color-gray-4'],
21
-
22
- textColor: lightBase['color-gray-10'],
23
- textColorDisabled: lightBase['color-gray-4']
24
- }
@@ -1,14 +0,0 @@
1
- import { InputNumberProps } from 'naive-ui'
2
- import { ExtendInputNumber } from '@/types/themes/extendThemes'
3
-
4
- export const InputNumberThemeCommon: InputNumberProps['themeOverrides'] & ExtendInputNumber = {
5
- innerControlsLargeWidth: '24px',
6
- innerControlsMediumWidth: '24px',
7
- innerControlsSmallWidth: '16px',
8
- innerControlsLargeHeight: '12px',
9
- innerControlsMediumHeight: '12px',
10
- innerControlsSmallHeight: '8px',
11
- innerControlsLargeBorderRadius: '4px',
12
- innerControlsMediumBorderRadius: '4px',
13
- innerControlsSmallBorderRadius: '2.67px'
14
- }