base6-ui 1.1.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 (575) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/build/plugins.ts +31 -0
  3. package/build/unPlugin.ts +37 -0
  4. package/dist/components/AppProvider/index.d.ts +1 -0
  5. package/dist/components/AppProvider/index.vue.d.ts +17 -0
  6. package/dist/components/BaseButton/index.d.ts +1 -0
  7. package/dist/components/BaseButton/index.vue.d.ts +24 -0
  8. package/dist/components/BaseDataTable/index.d.ts +1 -0
  9. package/dist/components/BaseDataTable/index.vue.d.ts +22 -0
  10. package/dist/components/BaseDialog/index.d.ts +2 -0
  11. package/dist/components/BaseDialog/index.vue.d.ts +56 -0
  12. package/dist/components/BaseDialog/options.d.ts +2 -0
  13. package/dist/components/BaseDialog/type.d.ts +29 -0
  14. package/dist/components/BaseInputNumber/index.d.ts +1 -0
  15. package/dist/components/BaseInputNumber/index.vue.d.ts +5368 -0
  16. package/dist/components/BaseLayout/ASide/index.vue.d.ts +20 -0
  17. package/dist/components/BaseLayout/ASide/type.d.ts +7 -0
  18. package/dist/components/BaseLayout/index.d.ts +1 -0
  19. package/dist/components/BaseProgress/index.d.ts +264 -0
  20. package/dist/components/BaseRadio/index.d.ts +1 -0
  21. package/dist/components/BaseRadio/index.vue.d.ts +23 -0
  22. package/dist/components/BaseSelect/index.d.ts +1 -0
  23. package/dist/components/BaseSelect/index.vue.d.ts +20 -0
  24. package/dist/components/BaseSlider/index.d.ts +1 -0
  25. package/dist/components/BaseSlider/index.vue.d.ts +27 -0
  26. package/dist/components/BaseSwitch/index.d.ts +1 -0
  27. package/dist/components/BaseSwitch/index.vue.d.ts +23 -0
  28. package/dist/components/index.d.ts +11 -0
  29. package/dist/components/types/themes/extendThemes.d.ts +44 -0
  30. package/dist/config/index.d.ts +1 -0
  31. package/dist/config/themes/color/dark.d.ts +54 -0
  32. package/dist/config/themes/color/index.d.ts +2 -0
  33. package/dist/config/themes/color/light.d.ts +53 -0
  34. package/dist/config/themes/common.d.ts +41 -0
  35. package/dist/config/themes/components/alert/common.d.ts +2 -0
  36. package/dist/config/themes/components/alert/dark.d.ts +2 -0
  37. package/dist/config/themes/components/alert/light.d.ts +2 -0
  38. package/dist/config/themes/components/baseComponent/dark.d.ts +8 -0
  39. package/dist/config/themes/components/baseComponent/light.d.ts +8 -0
  40. package/dist/config/themes/components/button/common.d.ts +2 -0
  41. package/dist/config/themes/components/button/dark.d.ts +2 -0
  42. package/dist/config/themes/components/button/light.d.ts +2 -0
  43. package/dist/config/themes/components/card/dark.d.ts +2 -0
  44. package/dist/config/themes/components/card/light.d.ts +2 -0
  45. package/dist/config/themes/components/charts/dark.d.ts +398 -0
  46. package/dist/config/themes/components/charts/light.d.ts +396 -0
  47. package/dist/config/themes/components/checkbox/common.d.ts +2 -0
  48. package/dist/config/themes/components/checkbox/dark.d.ts +2 -0
  49. package/dist/config/themes/components/checkbox/light.d.ts +2 -0
  50. package/dist/config/themes/components/dataTable/dark.d.ts +2 -0
  51. package/dist/config/themes/components/dataTable/light.d.ts +2 -0
  52. package/dist/config/themes/components/datePicker/dark.d.ts +2 -0
  53. package/dist/config/themes/components/datePicker/light.d.ts +2 -0
  54. package/dist/config/themes/components/dialog/common.d.ts +8 -0
  55. package/dist/config/themes/components/dialog/dark.d.ts +15 -0
  56. package/dist/config/themes/components/dialog/light.d.ts +15 -0
  57. package/dist/config/themes/components/dropdown/dark.d.ts +2 -0
  58. package/dist/config/themes/components/dropdown/light.d.ts +2 -0
  59. package/dist/config/themes/components/form/dark.d.ts +2 -0
  60. package/dist/config/themes/components/form/light.d.ts +2 -0
  61. package/dist/config/themes/components/input/common.d.ts +2 -0
  62. package/dist/config/themes/components/input/dark.d.ts +2 -0
  63. package/dist/config/themes/components/input/light.d.ts +2 -0
  64. package/dist/config/themes/components/inputNumber/common.d.ts +3 -0
  65. package/dist/config/themes/components/inputNumber/dark.d.ts +3 -0
  66. package/dist/config/themes/components/inputNumber/light.d.ts +3 -0
  67. package/dist/config/themes/components/layout/dark.d.ts +5 -0
  68. package/dist/config/themes/components/layout/light.d.ts +5 -0
  69. package/dist/config/themes/components/menu/dark.d.ts +2 -0
  70. package/dist/config/themes/components/menu/light.d.ts +2 -0
  71. package/dist/config/themes/components/progress/dark.d.ts +3 -0
  72. package/dist/config/themes/components/progress/light.d.ts +3 -0
  73. package/dist/config/themes/components/radio/dark.d.ts +3 -0
  74. package/dist/config/themes/components/radio/light.d.ts +3 -0
  75. package/dist/config/themes/components/select/dark.d.ts +2 -0
  76. package/dist/config/themes/components/select/light.d.ts +2 -0
  77. package/dist/config/themes/components/slider/dark.d.ts +3 -0
  78. package/dist/config/themes/components/slider/light.d.ts +3 -0
  79. package/dist/config/themes/components/switch/common.d.ts +3 -0
  80. package/dist/config/themes/components/switch/dark.d.ts +3 -0
  81. package/dist/config/themes/components/switch/light.d.ts +3 -0
  82. package/dist/config/themes/components/tag/dark.d.ts +2 -0
  83. package/dist/config/themes/components/tag/light.d.ts +2 -0
  84. package/dist/config/themes/components/transfer/dark.d.ts +2 -0
  85. package/dist/config/themes/components/transfer/light.d.ts +2 -0
  86. package/dist/config/themes/dark.d.ts +2 -0
  87. package/dist/config/themes/index.d.ts +7 -0
  88. package/dist/config/themes/light.d.ts +2 -0
  89. package/dist/config/themes/token/dark.d.ts +28 -0
  90. package/dist/config/themes/token/index.d.ts +2 -0
  91. package/dist/config/themes/token/light.d.ts +9 -0
  92. package/dist/globalMethods/index.d.ts +2 -0
  93. package/dist/globalMethods/modules/confirmTip.d.ts +2 -0
  94. package/dist/globalMethods/modules/message.d.ts +4 -0
  95. package/dist/hooks/useNaiveConfigProvideContext.d.ts +2 -0
  96. package/dist/index.d.ts +3 -0
  97. package/dist/types/themes/extendThemes.d.ts +44 -0
  98. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  99. package/es/_virtual/virtual_svg-icons-register.mjs +7 -0
  100. package/es/components/AppProvider/index.d.ts +1 -0
  101. package/es/components/AppProvider/index.vue.d.ts +17 -0
  102. package/es/components/AppProvider/index.vue.mjs +45 -0
  103. package/es/components/AppProvider/index.vue2.mjs +4 -0
  104. package/es/components/BaseButton/index.d.ts +1 -0
  105. package/es/components/BaseButton/index.vue.d.ts +24 -0
  106. package/es/components/BaseButton/index.vue.mjs +36 -0
  107. package/es/components/BaseButton/index.vue2.mjs +4 -0
  108. package/es/components/BaseDataTable/index.d.ts +1 -0
  109. package/es/components/BaseDataTable/index.vue.d.ts +22 -0
  110. package/es/components/BaseDataTable/index.vue.mjs +7 -0
  111. package/es/components/BaseDataTable/index.vue2.mjs +70 -0
  112. package/es/components/BaseDialog/index.d.ts +2 -0
  113. package/es/components/BaseDialog/index.vue.d.ts +56 -0
  114. package/es/components/BaseDialog/index.vue.mjs +141 -0
  115. package/es/components/BaseDialog/index.vue2.mjs +4 -0
  116. package/es/components/BaseDialog/options.d.ts +2 -0
  117. package/es/components/BaseDialog/options.mjs +27 -0
  118. package/es/components/BaseDialog/type.d.ts +29 -0
  119. package/es/components/BaseInputNumber/index.d.ts +1 -0
  120. package/es/components/BaseInputNumber/index.vue.d.ts +5368 -0
  121. package/es/components/BaseInputNumber/index.vue.mjs +7 -0
  122. package/es/components/BaseInputNumber/index.vue2.mjs +155 -0
  123. package/es/components/BaseLayout/ASide/index.vue.d.ts +20 -0
  124. package/es/components/BaseLayout/ASide/index.vue.mjs +7 -0
  125. package/es/components/BaseLayout/ASide/index.vue2.mjs +56 -0
  126. package/es/components/BaseLayout/ASide/type.d.ts +7 -0
  127. package/es/components/BaseLayout/index.d.ts +1 -0
  128. package/es/components/BaseProgress/index.d.ts +264 -0
  129. package/es/components/BaseProgress/index.mjs +81 -0
  130. package/es/components/BaseRadio/index.d.ts +1 -0
  131. package/es/components/BaseRadio/index.vue.d.ts +23 -0
  132. package/es/components/BaseRadio/index.vue.mjs +7 -0
  133. package/es/components/BaseRadio/index.vue2.mjs +42 -0
  134. package/es/components/BaseSelect/index.d.ts +1 -0
  135. package/es/components/BaseSelect/index.vue.d.ts +20 -0
  136. package/es/components/BaseSelect/index.vue.mjs +56 -0
  137. package/es/components/BaseSelect/index.vue2.mjs +4 -0
  138. package/es/components/BaseSlider/index.d.ts +1 -0
  139. package/es/components/BaseSlider/index.vue.d.ts +27 -0
  140. package/es/components/BaseSlider/index.vue.mjs +7 -0
  141. package/es/components/BaseSlider/index.vue2.mjs +107 -0
  142. package/es/components/BaseSwitch/index.d.ts +1 -0
  143. package/es/components/BaseSwitch/index.vue.d.ts +23 -0
  144. package/es/components/BaseSwitch/index.vue.mjs +7 -0
  145. package/es/components/BaseSwitch/index.vue2.mjs +44 -0
  146. package/es/components/index.d.ts +11 -0
  147. package/es/components/types/themes/extendThemes.d.ts +44 -0
  148. package/es/config/index.d.ts +1 -0
  149. package/es/config/themes/color/dark.d.ts +54 -0
  150. package/es/config/themes/color/dark.mjs +61 -0
  151. package/es/config/themes/color/index.d.ts +2 -0
  152. package/es/config/themes/color/light.d.ts +53 -0
  153. package/es/config/themes/color/light.mjs +60 -0
  154. package/es/config/themes/common.d.ts +41 -0
  155. package/es/config/themes/common.mjs +39 -0
  156. package/es/config/themes/components/alert/common.d.ts +2 -0
  157. package/es/config/themes/components/alert/common.mjs +10 -0
  158. package/es/config/themes/components/alert/dark.d.ts +2 -0
  159. package/es/config/themes/components/alert/dark.mjs +21 -0
  160. package/es/config/themes/components/alert/light.d.ts +2 -0
  161. package/es/config/themes/components/alert/light.mjs +17 -0
  162. package/es/config/themes/components/baseComponent/dark.d.ts +8 -0
  163. package/es/config/themes/components/baseComponent/dark.mjs +249 -0
  164. package/es/config/themes/components/baseComponent/light.d.ts +8 -0
  165. package/es/config/themes/components/baseComponent/light.mjs +350 -0
  166. package/es/config/themes/components/button/common.d.ts +2 -0
  167. package/es/config/themes/components/button/common.mjs +17 -0
  168. package/es/config/themes/components/button/dark.d.ts +2 -0
  169. package/es/config/themes/components/button/dark.mjs +109 -0
  170. package/es/config/themes/components/button/light.d.ts +2 -0
  171. package/es/config/themes/components/button/light.mjs +88 -0
  172. package/es/config/themes/components/card/dark.d.ts +2 -0
  173. package/es/config/themes/components/card/dark.mjs +14 -0
  174. package/es/config/themes/components/card/light.d.ts +2 -0
  175. package/es/config/themes/components/card/light.mjs +14 -0
  176. package/es/config/themes/components/charts/dark.d.ts +398 -0
  177. package/es/config/themes/components/charts/dark.mjs +428 -0
  178. package/es/config/themes/components/charts/light.d.ts +396 -0
  179. package/es/config/themes/components/charts/light.mjs +426 -0
  180. package/es/config/themes/components/checkbox/common.d.ts +2 -0
  181. package/es/config/themes/components/checkbox/common.mjs +7 -0
  182. package/es/config/themes/components/checkbox/dark.d.ts +2 -0
  183. package/es/config/themes/components/checkbox/dark.mjs +21 -0
  184. package/es/config/themes/components/checkbox/light.d.ts +2 -0
  185. package/es/config/themes/components/checkbox/light.mjs +20 -0
  186. package/es/config/themes/components/dataTable/dark.d.ts +2 -0
  187. package/es/config/themes/components/dataTable/dark.mjs +14 -0
  188. package/es/config/themes/components/dataTable/light.d.ts +2 -0
  189. package/es/config/themes/components/dataTable/light.mjs +14 -0
  190. package/es/config/themes/components/datePicker/dark.d.ts +2 -0
  191. package/es/config/themes/components/datePicker/dark.mjs +11 -0
  192. package/es/config/themes/components/datePicker/light.d.ts +2 -0
  193. package/es/config/themes/components/datePicker/light.mjs +11 -0
  194. package/es/config/themes/components/dialog/common.d.ts +8 -0
  195. package/es/config/themes/components/dialog/common.mjs +11 -0
  196. package/es/config/themes/components/dialog/dark.d.ts +15 -0
  197. package/es/config/themes/components/dialog/dark.mjs +16 -0
  198. package/es/config/themes/components/dialog/light.d.ts +15 -0
  199. package/es/config/themes/components/dialog/light.mjs +15 -0
  200. package/es/config/themes/components/dropdown/dark.d.ts +2 -0
  201. package/es/config/themes/components/dropdown/dark.mjs +8 -0
  202. package/es/config/themes/components/dropdown/light.d.ts +2 -0
  203. package/es/config/themes/components/dropdown/light.mjs +8 -0
  204. package/es/config/themes/components/form/dark.d.ts +2 -0
  205. package/es/config/themes/components/form/dark.mjs +8 -0
  206. package/es/config/themes/components/form/light.d.ts +2 -0
  207. package/es/config/themes/components/form/light.mjs +8 -0
  208. package/es/config/themes/components/input/common.d.ts +2 -0
  209. package/es/config/themes/components/input/common.mjs +11 -0
  210. package/es/config/themes/components/input/dark.d.ts +2 -0
  211. package/es/config/themes/components/input/dark.mjs +22 -0
  212. package/es/config/themes/components/input/light.d.ts +2 -0
  213. package/es/config/themes/components/input/light.mjs +21 -0
  214. package/es/config/themes/components/inputNumber/common.d.ts +3 -0
  215. package/es/config/themes/components/inputNumber/common.mjs +14 -0
  216. package/es/config/themes/components/inputNumber/dark.d.ts +3 -0
  217. package/es/config/themes/components/inputNumber/dark.mjs +21 -0
  218. package/es/config/themes/components/inputNumber/light.d.ts +3 -0
  219. package/es/config/themes/components/inputNumber/light.mjs +17 -0
  220. package/es/config/themes/components/layout/dark.d.ts +5 -0
  221. package/es/config/themes/components/layout/dark.mjs +10 -0
  222. package/es/config/themes/components/layout/light.d.ts +5 -0
  223. package/es/config/themes/components/layout/light.mjs +11 -0
  224. package/es/config/themes/components/menu/dark.d.ts +2 -0
  225. package/es/config/themes/components/menu/dark.mjs +17 -0
  226. package/es/config/themes/components/menu/light.d.ts +2 -0
  227. package/es/config/themes/components/menu/light.mjs +16 -0
  228. package/es/config/themes/components/progress/dark.d.ts +3 -0
  229. package/es/config/themes/components/progress/dark.mjs +21 -0
  230. package/es/config/themes/components/progress/light.d.ts +3 -0
  231. package/es/config/themes/components/progress/light.mjs +20 -0
  232. package/es/config/themes/components/radio/dark.d.ts +3 -0
  233. package/es/config/themes/components/radio/dark.mjs +20 -0
  234. package/es/config/themes/components/radio/light.d.ts +3 -0
  235. package/es/config/themes/components/radio/light.mjs +18 -0
  236. package/es/config/themes/components/select/dark.d.ts +2 -0
  237. package/es/config/themes/components/select/dark.mjs +40 -0
  238. package/es/config/themes/components/select/light.d.ts +2 -0
  239. package/es/config/themes/components/select/light.mjs +36 -0
  240. package/es/config/themes/components/slider/dark.d.ts +3 -0
  241. package/es/config/themes/components/slider/dark.mjs +15 -0
  242. package/es/config/themes/components/slider/light.d.ts +3 -0
  243. package/es/config/themes/components/slider/light.mjs +15 -0
  244. package/es/config/themes/components/switch/common.d.ts +3 -0
  245. package/es/config/themes/components/switch/common.mjs +14 -0
  246. package/es/config/themes/components/switch/dark.d.ts +3 -0
  247. package/es/config/themes/components/switch/dark.mjs +15 -0
  248. package/es/config/themes/components/switch/light.d.ts +3 -0
  249. package/es/config/themes/components/switch/light.mjs +15 -0
  250. package/es/config/themes/components/tag/dark.d.ts +2 -0
  251. package/es/config/themes/components/tag/dark.mjs +34 -0
  252. package/es/config/themes/components/tag/light.d.ts +2 -0
  253. package/es/config/themes/components/tag/light.mjs +33 -0
  254. package/es/config/themes/components/transfer/dark.d.ts +2 -0
  255. package/es/config/themes/components/transfer/dark.mjs +9 -0
  256. package/es/config/themes/components/transfer/light.d.ts +2 -0
  257. package/es/config/themes/components/transfer/light.mjs +9 -0
  258. package/es/config/themes/dark.d.ts +2 -0
  259. package/es/config/themes/dark.mjs +53 -0
  260. package/es/config/themes/index.d.ts +7 -0
  261. package/es/config/themes/index.mjs +50 -0
  262. package/es/config/themes/light.d.ts +2 -0
  263. package/es/config/themes/light.mjs +53 -0
  264. package/es/config/themes/token/dark.d.ts +28 -0
  265. package/es/config/themes/token/dark.mjs +31 -0
  266. package/es/config/themes/token/index.d.ts +2 -0
  267. package/es/config/themes/token/light.d.ts +9 -0
  268. package/es/config/themes/token/light.mjs +11 -0
  269. package/es/globalMethods/index.d.ts +2 -0
  270. package/es/globalMethods/index.mjs +8 -0
  271. package/es/globalMethods/modules/confirmTip.d.ts +2 -0
  272. package/es/globalMethods/modules/confirmTip.mjs +45 -0
  273. package/es/globalMethods/modules/message.d.ts +4 -0
  274. package/es/globalMethods/modules/message.mjs +15 -0
  275. package/es/hooks/useNaiveConfigProvideContext.d.ts +2 -0
  276. package/es/hooks/useNaiveConfigProvideContext.mjs +8 -0
  277. package/es/index.css +1 -0
  278. package/es/index.d.ts +3 -0
  279. package/es/index.mjs +47 -0
  280. package/es/node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.mjs +750 -0
  281. package/es/types/themes/extendThemes.d.ts +44 -0
  282. package/eslint.config.js +114 -0
  283. package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
  284. package/lib/_virtual/virtual_svg-icons-register.js +1 -0
  285. package/lib/components/AppProvider/index.d.ts +1 -0
  286. package/lib/components/AppProvider/index.vue.d.ts +17 -0
  287. package/lib/components/AppProvider/index.vue.js +1 -0
  288. package/lib/components/AppProvider/index.vue2.js +1 -0
  289. package/lib/components/BaseButton/index.d.ts +1 -0
  290. package/lib/components/BaseButton/index.vue.d.ts +24 -0
  291. package/lib/components/BaseButton/index.vue.js +1 -0
  292. package/lib/components/BaseButton/index.vue2.js +1 -0
  293. package/lib/components/BaseDataTable/index.d.ts +1 -0
  294. package/lib/components/BaseDataTable/index.vue.d.ts +22 -0
  295. package/lib/components/BaseDataTable/index.vue.js +1 -0
  296. package/lib/components/BaseDataTable/index.vue2.js +1 -0
  297. package/lib/components/BaseDialog/index.d.ts +2 -0
  298. package/lib/components/BaseDialog/index.vue.d.ts +56 -0
  299. package/lib/components/BaseDialog/index.vue.js +1 -0
  300. package/lib/components/BaseDialog/index.vue2.js +1 -0
  301. package/lib/components/BaseDialog/options.d.ts +2 -0
  302. package/lib/components/BaseDialog/options.js +1 -0
  303. package/lib/components/BaseDialog/type.d.ts +29 -0
  304. package/lib/components/BaseInputNumber/index.d.ts +1 -0
  305. package/lib/components/BaseInputNumber/index.vue.d.ts +5368 -0
  306. package/lib/components/BaseInputNumber/index.vue.js +1 -0
  307. package/lib/components/BaseInputNumber/index.vue2.js +1 -0
  308. package/lib/components/BaseLayout/ASide/index.vue.d.ts +20 -0
  309. package/lib/components/BaseLayout/ASide/index.vue.js +1 -0
  310. package/lib/components/BaseLayout/ASide/index.vue2.js +1 -0
  311. package/lib/components/BaseLayout/ASide/type.d.ts +7 -0
  312. package/lib/components/BaseLayout/index.d.ts +1 -0
  313. package/lib/components/BaseProgress/index.d.ts +264 -0
  314. package/lib/components/BaseProgress/index.js +1 -0
  315. package/lib/components/BaseRadio/index.d.ts +1 -0
  316. package/lib/components/BaseRadio/index.vue.d.ts +23 -0
  317. package/lib/components/BaseRadio/index.vue.js +1 -0
  318. package/lib/components/BaseRadio/index.vue2.js +1 -0
  319. package/lib/components/BaseSelect/index.d.ts +1 -0
  320. package/lib/components/BaseSelect/index.vue.d.ts +20 -0
  321. package/lib/components/BaseSelect/index.vue.js +1 -0
  322. package/lib/components/BaseSelect/index.vue2.js +1 -0
  323. package/lib/components/BaseSlider/index.d.ts +1 -0
  324. package/lib/components/BaseSlider/index.vue.d.ts +27 -0
  325. package/lib/components/BaseSlider/index.vue.js +1 -0
  326. package/lib/components/BaseSlider/index.vue2.js +1 -0
  327. package/lib/components/BaseSwitch/index.d.ts +1 -0
  328. package/lib/components/BaseSwitch/index.vue.d.ts +23 -0
  329. package/lib/components/BaseSwitch/index.vue.js +1 -0
  330. package/lib/components/BaseSwitch/index.vue2.js +1 -0
  331. package/lib/components/index.d.ts +11 -0
  332. package/lib/components/types/themes/extendThemes.d.ts +44 -0
  333. package/lib/config/index.d.ts +1 -0
  334. package/lib/config/themes/color/dark.d.ts +54 -0
  335. package/lib/config/themes/color/dark.js +1 -0
  336. package/lib/config/themes/color/index.d.ts +2 -0
  337. package/lib/config/themes/color/light.d.ts +53 -0
  338. package/lib/config/themes/color/light.js +1 -0
  339. package/lib/config/themes/common.d.ts +41 -0
  340. package/lib/config/themes/common.js +1 -0
  341. package/lib/config/themes/components/alert/common.d.ts +2 -0
  342. package/lib/config/themes/components/alert/common.js +1 -0
  343. package/lib/config/themes/components/alert/dark.d.ts +2 -0
  344. package/lib/config/themes/components/alert/dark.js +1 -0
  345. package/lib/config/themes/components/alert/light.d.ts +2 -0
  346. package/lib/config/themes/components/alert/light.js +1 -0
  347. package/lib/config/themes/components/baseComponent/dark.d.ts +8 -0
  348. package/lib/config/themes/components/baseComponent/dark.js +1 -0
  349. package/lib/config/themes/components/baseComponent/light.d.ts +8 -0
  350. package/lib/config/themes/components/baseComponent/light.js +1 -0
  351. package/lib/config/themes/components/button/common.d.ts +2 -0
  352. package/lib/config/themes/components/button/common.js +1 -0
  353. package/lib/config/themes/components/button/dark.d.ts +2 -0
  354. package/lib/config/themes/components/button/dark.js +1 -0
  355. package/lib/config/themes/components/button/light.d.ts +2 -0
  356. package/lib/config/themes/components/button/light.js +1 -0
  357. package/lib/config/themes/components/card/dark.d.ts +2 -0
  358. package/lib/config/themes/components/card/dark.js +1 -0
  359. package/lib/config/themes/components/card/light.d.ts +2 -0
  360. package/lib/config/themes/components/card/light.js +1 -0
  361. package/lib/config/themes/components/charts/dark.d.ts +398 -0
  362. package/lib/config/themes/components/charts/dark.js +1 -0
  363. package/lib/config/themes/components/charts/light.d.ts +396 -0
  364. package/lib/config/themes/components/charts/light.js +1 -0
  365. package/lib/config/themes/components/checkbox/common.d.ts +2 -0
  366. package/lib/config/themes/components/checkbox/common.js +1 -0
  367. package/lib/config/themes/components/checkbox/dark.d.ts +2 -0
  368. package/lib/config/themes/components/checkbox/dark.js +1 -0
  369. package/lib/config/themes/components/checkbox/light.d.ts +2 -0
  370. package/lib/config/themes/components/checkbox/light.js +1 -0
  371. package/lib/config/themes/components/dataTable/dark.d.ts +2 -0
  372. package/lib/config/themes/components/dataTable/dark.js +1 -0
  373. package/lib/config/themes/components/dataTable/light.d.ts +2 -0
  374. package/lib/config/themes/components/dataTable/light.js +1 -0
  375. package/lib/config/themes/components/datePicker/dark.d.ts +2 -0
  376. package/lib/config/themes/components/datePicker/dark.js +1 -0
  377. package/lib/config/themes/components/datePicker/light.d.ts +2 -0
  378. package/lib/config/themes/components/datePicker/light.js +1 -0
  379. package/lib/config/themes/components/dialog/common.d.ts +8 -0
  380. package/lib/config/themes/components/dialog/common.js +1 -0
  381. package/lib/config/themes/components/dialog/dark.d.ts +15 -0
  382. package/lib/config/themes/components/dialog/dark.js +1 -0
  383. package/lib/config/themes/components/dialog/light.d.ts +15 -0
  384. package/lib/config/themes/components/dialog/light.js +1 -0
  385. package/lib/config/themes/components/dropdown/dark.d.ts +2 -0
  386. package/lib/config/themes/components/dropdown/dark.js +1 -0
  387. package/lib/config/themes/components/dropdown/light.d.ts +2 -0
  388. package/lib/config/themes/components/dropdown/light.js +1 -0
  389. package/lib/config/themes/components/form/dark.d.ts +2 -0
  390. package/lib/config/themes/components/form/dark.js +1 -0
  391. package/lib/config/themes/components/form/light.d.ts +2 -0
  392. package/lib/config/themes/components/form/light.js +1 -0
  393. package/lib/config/themes/components/input/common.d.ts +2 -0
  394. package/lib/config/themes/components/input/common.js +1 -0
  395. package/lib/config/themes/components/input/dark.d.ts +2 -0
  396. package/lib/config/themes/components/input/dark.js +1 -0
  397. package/lib/config/themes/components/input/light.d.ts +2 -0
  398. package/lib/config/themes/components/input/light.js +1 -0
  399. package/lib/config/themes/components/inputNumber/common.d.ts +3 -0
  400. package/lib/config/themes/components/inputNumber/common.js +1 -0
  401. package/lib/config/themes/components/inputNumber/dark.d.ts +3 -0
  402. package/lib/config/themes/components/inputNumber/dark.js +1 -0
  403. package/lib/config/themes/components/inputNumber/light.d.ts +3 -0
  404. package/lib/config/themes/components/inputNumber/light.js +1 -0
  405. package/lib/config/themes/components/layout/dark.d.ts +5 -0
  406. package/lib/config/themes/components/layout/dark.js +1 -0
  407. package/lib/config/themes/components/layout/light.d.ts +5 -0
  408. package/lib/config/themes/components/layout/light.js +1 -0
  409. package/lib/config/themes/components/menu/dark.d.ts +2 -0
  410. package/lib/config/themes/components/menu/dark.js +1 -0
  411. package/lib/config/themes/components/menu/light.d.ts +2 -0
  412. package/lib/config/themes/components/menu/light.js +1 -0
  413. package/lib/config/themes/components/progress/dark.d.ts +3 -0
  414. package/lib/config/themes/components/progress/dark.js +1 -0
  415. package/lib/config/themes/components/progress/light.d.ts +3 -0
  416. package/lib/config/themes/components/progress/light.js +1 -0
  417. package/lib/config/themes/components/radio/dark.d.ts +3 -0
  418. package/lib/config/themes/components/radio/dark.js +1 -0
  419. package/lib/config/themes/components/radio/light.d.ts +3 -0
  420. package/lib/config/themes/components/radio/light.js +1 -0
  421. package/lib/config/themes/components/select/dark.d.ts +2 -0
  422. package/lib/config/themes/components/select/dark.js +1 -0
  423. package/lib/config/themes/components/select/light.d.ts +2 -0
  424. package/lib/config/themes/components/select/light.js +1 -0
  425. package/lib/config/themes/components/slider/dark.d.ts +3 -0
  426. package/lib/config/themes/components/slider/dark.js +1 -0
  427. package/lib/config/themes/components/slider/light.d.ts +3 -0
  428. package/lib/config/themes/components/slider/light.js +1 -0
  429. package/lib/config/themes/components/switch/common.d.ts +3 -0
  430. package/lib/config/themes/components/switch/common.js +1 -0
  431. package/lib/config/themes/components/switch/dark.d.ts +3 -0
  432. package/lib/config/themes/components/switch/dark.js +1 -0
  433. package/lib/config/themes/components/switch/light.d.ts +3 -0
  434. package/lib/config/themes/components/switch/light.js +1 -0
  435. package/lib/config/themes/components/tag/dark.d.ts +2 -0
  436. package/lib/config/themes/components/tag/dark.js +1 -0
  437. package/lib/config/themes/components/tag/light.d.ts +2 -0
  438. package/lib/config/themes/components/tag/light.js +1 -0
  439. package/lib/config/themes/components/transfer/dark.d.ts +2 -0
  440. package/lib/config/themes/components/transfer/dark.js +1 -0
  441. package/lib/config/themes/components/transfer/light.d.ts +2 -0
  442. package/lib/config/themes/components/transfer/light.js +1 -0
  443. package/lib/config/themes/dark.d.ts +2 -0
  444. package/lib/config/themes/dark.js +1 -0
  445. package/lib/config/themes/index.d.ts +7 -0
  446. package/lib/config/themes/index.js +1 -0
  447. package/lib/config/themes/light.d.ts +2 -0
  448. package/lib/config/themes/light.js +1 -0
  449. package/lib/config/themes/token/dark.d.ts +28 -0
  450. package/lib/config/themes/token/dark.js +1 -0
  451. package/lib/config/themes/token/index.d.ts +2 -0
  452. package/lib/config/themes/token/light.d.ts +9 -0
  453. package/lib/config/themes/token/light.js +1 -0
  454. package/lib/globalMethods/index.d.ts +2 -0
  455. package/lib/globalMethods/index.js +1 -0
  456. package/lib/globalMethods/modules/confirmTip.d.ts +2 -0
  457. package/lib/globalMethods/modules/confirmTip.js +1 -0
  458. package/lib/globalMethods/modules/message.d.ts +4 -0
  459. package/lib/globalMethods/modules/message.js +1 -0
  460. package/lib/hooks/useNaiveConfigProvideContext.d.ts +2 -0
  461. package/lib/hooks/useNaiveConfigProvideContext.js +1 -0
  462. package/lib/index.css +1 -0
  463. package/lib/index.d.ts +3 -0
  464. package/lib/index.js +1 -0
  465. package/lib/node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.js +1 -0
  466. package/lib/types/themes/extendThemes.d.ts +44 -0
  467. package/package.json +43 -0
  468. package/readme.md +83 -0
  469. package/src/components/AppProvider/index.ts +1 -0
  470. package/src/components/AppProvider/index.vue +38 -0
  471. package/src/components/BaseButton/index.ts +1 -0
  472. package/src/components/BaseButton/index.vue +21 -0
  473. package/src/components/BaseDataTable/index.ts +1 -0
  474. package/src/components/BaseDataTable/index.vue +120 -0
  475. package/src/components/BaseDialog/index.ts +2 -0
  476. package/src/components/BaseDialog/index.vue +104 -0
  477. package/src/components/BaseDialog/options.ts +25 -0
  478. package/src/components/BaseDialog/type.ts +30 -0
  479. package/src/components/BaseInputNumber/index.ts +1 -0
  480. package/src/components/BaseInputNumber/index.vue +188 -0
  481. package/src/components/BaseLayout/ASide/index.vue +104 -0
  482. package/src/components/BaseLayout/ASide/type.ts +11 -0
  483. package/src/components/BaseLayout/index.ts +1 -0
  484. package/src/components/BaseProgress/index.ts +99 -0
  485. package/src/components/BaseRadio/index.ts +1 -0
  486. package/src/components/BaseRadio/index.vue +45 -0
  487. package/src/components/BaseSelect/index.ts +1 -0
  488. package/src/components/BaseSelect/index.vue +59 -0
  489. package/src/components/BaseSlider/index.ts +1 -0
  490. package/src/components/BaseSlider/index.vue +114 -0
  491. package/src/components/BaseSwitch/index.ts +1 -0
  492. package/src/components/BaseSwitch/index.vue +69 -0
  493. package/src/components/index.ts +11 -0
  494. package/src/components/types/themes/extendThemes.ts +50 -0
  495. package/src/config/index.ts +1 -0
  496. package/src/config/themes/color/dark.ts +60 -0
  497. package/src/config/themes/color/index.ts +2 -0
  498. package/src/config/themes/color/light.ts +59 -0
  499. package/src/config/themes/common.ts +50 -0
  500. package/src/config/themes/components/alert/common.ts +13 -0
  501. package/src/config/themes/components/alert/dark.ts +23 -0
  502. package/src/config/themes/components/alert/light.ts +18 -0
  503. package/src/config/themes/components/baseComponent/dark.ts +189 -0
  504. package/src/config/themes/components/baseComponent/light.ts +297 -0
  505. package/src/config/themes/components/button/common.ts +20 -0
  506. package/src/config/themes/components/button/dark.ts +127 -0
  507. package/src/config/themes/components/button/light.ts +102 -0
  508. package/src/config/themes/components/card/dark.ts +13 -0
  509. package/src/config/themes/components/card/light.ts +13 -0
  510. package/src/config/themes/components/charts/dark.ts +425 -0
  511. package/src/config/themes/components/charts/light.ts +424 -0
  512. package/src/config/themes/components/checkbox/common.ts +7 -0
  513. package/src/config/themes/components/checkbox/dark.ts +23 -0
  514. package/src/config/themes/components/checkbox/light.ts +22 -0
  515. package/src/config/themes/components/dataTable/dark.ts +14 -0
  516. package/src/config/themes/components/dataTable/light.ts +14 -0
  517. package/src/config/themes/components/datePicker/dark.ts +10 -0
  518. package/src/config/themes/components/datePicker/light.ts +10 -0
  519. package/src/config/themes/components/dialog/common.ts +8 -0
  520. package/src/config/themes/components/dialog/dark.ts +14 -0
  521. package/src/config/themes/components/dialog/light.ts +13 -0
  522. package/src/config/themes/components/dropdown/dark.ts +7 -0
  523. package/src/config/themes/components/dropdown/light.ts +7 -0
  524. package/src/config/themes/components/form/dark.ts +7 -0
  525. package/src/config/themes/components/form/light.ts +7 -0
  526. package/src/config/themes/components/input/common.ts +13 -0
  527. package/src/config/themes/components/input/dark.ts +25 -0
  528. package/src/config/themes/components/input/light.ts +24 -0
  529. package/src/config/themes/components/inputNumber/common.ts +14 -0
  530. package/src/config/themes/components/inputNumber/dark.ts +24 -0
  531. package/src/config/themes/components/inputNumber/light.ts +20 -0
  532. package/src/config/themes/components/layout/dark.ts +8 -0
  533. package/src/config/themes/components/layout/light.ts +9 -0
  534. package/src/config/themes/components/menu/dark.ts +18 -0
  535. package/src/config/themes/components/menu/light.ts +17 -0
  536. package/src/config/themes/components/progress/dark.ts +25 -0
  537. package/src/config/themes/components/progress/light.ts +25 -0
  538. package/src/config/themes/components/radio/dark.ts +20 -0
  539. package/src/config/themes/components/radio/light.ts +21 -0
  540. package/src/config/themes/components/select/dark.ts +42 -0
  541. package/src/config/themes/components/select/light.ts +38 -0
  542. package/src/config/themes/components/slider/dark.ts +16 -0
  543. package/src/config/themes/components/slider/light.ts +16 -0
  544. package/src/config/themes/components/switch/common.ts +17 -0
  545. package/src/config/themes/components/switch/dark.ts +17 -0
  546. package/src/config/themes/components/switch/light.ts +17 -0
  547. package/src/config/themes/components/tag/dark.ts +40 -0
  548. package/src/config/themes/components/tag/light.ts +39 -0
  549. package/src/config/themes/components/transfer/dark.ts +8 -0
  550. package/src/config/themes/components/transfer/light.ts +8 -0
  551. package/src/config/themes/dark.ts +61 -0
  552. package/src/config/themes/index.ts +12 -0
  553. package/src/config/themes/light.ts +61 -0
  554. package/src/config/themes/token/dark.ts +32 -0
  555. package/src/config/themes/token/index.ts +2 -0
  556. package/src/config/themes/token/light.ts +11 -0
  557. package/src/globalMethods/index.ts +8 -0
  558. package/src/globalMethods/modules/confirmTip.ts +49 -0
  559. package/src/globalMethods/modules/message.ts +20 -0
  560. package/src/hooks/useNaiveConfigProvideContext.ts +10 -0
  561. package/src/index.ts +8 -0
  562. package/src/style/index.scss +63 -0
  563. package/src/svg-icons/add.svg +1 -0
  564. package/src/svg-icons/arrow/down.svg +1 -0
  565. package/src/svg-icons/arrow/top.svg +1 -0
  566. package/src/svg-icons/logo.svg +4 -0
  567. package/src/svg-icons/operate/add.svg +1 -0
  568. package/src/svg-icons/operate/close.svg +1 -0
  569. package/src/svg-icons/operate/minus.svg +1 -0
  570. package/src/svg-icons/progress-default.svg +3 -0
  571. package/src/types/themes/extendThemes.ts +50 -0
  572. package/tsconfig.json +38 -0
  573. package/typing/components.d.ts +38 -0
  574. package/typing/global.d.ts +19 -0
  575. package/vite.config.ts +61 -0
@@ -0,0 +1,18 @@
1
+ import { AlertProps } from 'naive-ui'
2
+ import { lightBase } from '../../color'
3
+ import { AlertThemeCommon } from './common'
4
+
5
+ export const AlertThemeLight: AlertProps['themeOverrides'] = {
6
+ ...AlertThemeCommon,
7
+ colorInfo: lightBase['color-primary-1'],
8
+ colorSuccess: lightBase['color-green-1'],
9
+ colorError: lightBase['color-red-1'],
10
+ colorWarning: lightBase['color-origin-1'],
11
+
12
+ contentTextColorError: lightBase['color-gray-10'],
13
+ contentTextColorInfo: lightBase['color-gray-10'],
14
+ contentTextColorSuccess: lightBase['color-gray-10'],
15
+ contentTextColorWarning: lightBase['color-gray-10'],
16
+
17
+ titleTextColor: lightBase['color-gray-10']
18
+ }
@@ -0,0 +1,189 @@
1
+ import { TooltipProps, StepsProps, TabsProps, PopconfirmProps, TreeProps, PaginationProps, BreadcrumbProps } from 'naive-ui'
2
+ import { darkBase } from '../../color'
3
+ import { darkToken } from '../../token'
4
+ import { commonBase } from '../../common'
5
+
6
+ export const TooltipThemeDark: TooltipProps['themeOverrides'] = {
7
+ borderRadius: commonBase.borderRadiusMedium,
8
+ color: darkBase['color-gray-3'],
9
+ textColor: darkToken['color-text-6'],
10
+ padding: commonBase.paddingBase
11
+ }
12
+ export const PopconfirmThemeDark: PopconfirmProps['themeOverrides'] = {
13
+ fontSize: commonBase.fontSizeMedium,
14
+ iconColor: darkBase['color-primary-6'],
15
+ iconSize: commonBase.iconSizeBase
16
+ }
17
+ export const TreeThemeDark: TreeProps['themeOverrides'] = {
18
+ nodeTextColor: darkToken['color-text-6'],
19
+ arrowColor: darkToken['color-text-3'],
20
+ lineColor: darkBase['color-gray-11']
21
+ // nodeColorHover: 'red'
22
+ // nodeColorActive: 'transparent',
23
+ // nodeColorHover: 'transparent',
24
+ // nodeColorPressed: 'transparent'
25
+
26
+ // fontSize: string;
27
+ // lineHeight: string; // 行高(每个节点的高度)
28
+ // nodeHeight: string; // 节点高度(可能已废弃,用lineHeight)
29
+ // nodeWrapperPadding: string; // 节点内边距(文字与边框的间距)
30
+ // nodeBorderRadius: string; // 节点圆角
31
+ // // nodeColorHover: string; // 节点悬停时的背景色
32
+ // nodeColorPressed: string; // 节点按下时的背景色
33
+ // nodeColorActive: string; // 节点激活/选中时的背景色
34
+ // // nodeTextColor: string; // 节点文字颜色
35
+ // nodeTextColorDisabled: string; // 禁用节点文字颜色
36
+ // arrowColor: string; // 展开/收起箭头的颜色
37
+ // loadingColor: string; // 加载中图标的颜色
38
+ // // dropMarkColor: string; // 拖拽放置指示线的颜色
39
+ // lineColor: string; // 节点连接线的颜色(您刚才问的!)
40
+ }
41
+ export const PaginationThemeDark: PaginationProps['themeOverrides'] = {
42
+ buttonBorderHover: '0px solid transparent',
43
+ buttonBorderPressed: '0px solid transparent',
44
+ itemTextColorHover: darkToken['color-text-6'],
45
+ itemTextColorPressed: darkToken['color-text-6'],
46
+ itemColorActive: darkBase['color-primary-6'],
47
+ itemColorActiveHover: darkBase['color-primary-6'],
48
+ itemBorderDisabled: '0px solid transparent',
49
+ buttonBorder: darkBase['color-gray-3'],
50
+ // // 按钮相关样式(上一页/下一页按钮)
51
+ buttonIconColor: darkToken['color-text-6'], /* 按钮图标颜色 */
52
+ buttonIconColorPressed: darkToken['color-text-6'],
53
+ buttonIconColorHover: darkToken['color-text-6'],
54
+ itemTextColorDisabled: darkToken['color-text-6'], /* 禁用页码文字颜色 */
55
+ /* 文字颜色 */
56
+ itemTextColor: darkToken['color-text-6'],
57
+ // itemTextColorPressed: 'red', /* 按下页码文字颜色 */
58
+ itemColorDisabled: 'transparent', /* 禁用页码背景颜色 */
59
+
60
+ itemTextColorActive: darkToken['color-text-5'], /* 当前页码文字颜色 */
61
+ /* 背景颜色 */
62
+ itemBorderRadius: commonBase.borderRadiusMedium,
63
+ itemSizeMedium: commonBase.heightMedium, // 修改默认高度
64
+ itemFontSizeMedium: commonBase.fontSizeMedium, // 修改默认字体
65
+ itemPaddingMedium: commonBase.paddingMedium, // 修改默认内边距
66
+
67
+ /** 跳转文字*/
68
+ jumperTextColor: darkToken['color-text-6'] // 修改跳转文字颜色
69
+ }
70
+ export const BreadcrumbThemeDark: BreadcrumbProps['themeOverrides'] = {
71
+ // fontSize: string; /* 面包屑整体字体大小 */
72
+ // itemLineHeight: string; /* 面包屑项的行高 */
73
+ // fontWeightActive: string; /* 当前项的字重(如:bold)*/
74
+ itemTextColor: darkToken['color-text-2'], /* 普通面包屑项文字颜色 */
75
+ itemTextColorHover: darkToken['color-text-6'], /* 鼠标悬停时文字颜色 */
76
+ itemTextColorPressed: darkToken['color-text-6'], /* 鼠标按下时文字颜色 */
77
+ itemTextColorActive: darkToken['color-text-6'], /* 当前页面项文字颜色(不可点击)*/
78
+ // itemColorHover: string; /* 鼠标悬停时背景颜色 */
79
+ // itemColorPressed: string; /* 鼠标按下时背景颜色 */
80
+ // itemBorderRadius: string; /* 面包屑项的圆角大小 */
81
+ separatorColor: darkToken['color-text-4'] /* 分隔符颜色(如 > 或 / 的颜色)*/
82
+ }
83
+ export const TabsThemeDark: TabsProps['themeOverrides'] = {
84
+ /* Line 类型文字颜色 */
85
+ tabTextColorLine: darkToken['color-text-3'], /* 普通文字颜色 */
86
+ tabTextColorActiveLine: darkBase['color-primary-6'], /* 激活状态文字颜色 */
87
+ tabTextColorHoverLine: darkBase['color-primary-5'], /* 悬停状态文字颜色 */
88
+ tabTextColorDisabledLine: darkToken['color-text-6'], /* 禁用状态文字颜色 */
89
+
90
+ // /* Bar 类型文字颜色 */
91
+ tabTextColorBar: darkToken['color-text-3'], /* 普通文字颜色 */
92
+ tabTextColorActiveBar: darkBase['color-primary-6'], /* 激活状态文字颜色 */
93
+ tabTextColorHoverBar: darkBase['color-primary-5'], /* 悬停状态文字颜色 */
94
+ tabTextColorDisabledBar: darkToken['color-text-6'], /* 禁用状态文字颜色 */
95
+
96
+ // /* Card 类型文字颜色 */
97
+ tabTextColorCard: darkToken['color-text-3'], /* 普通文字颜色 */
98
+ tabTextColorActiveCard: darkBase['color-primary-6'], /* 激活状态文字颜色 */
99
+ tabTextColorHoverCard: darkBase['color-primary-5'], /* 悬停状态文字颜色 */
100
+ tabTextColorDisabledCard: darkToken['color-text-6'], /* 禁用状态文字颜色 */
101
+
102
+ // /* Segment 类型文字颜色 */
103
+ tabTextColorSegment: darkToken['color-text-3'], /* 普通文字颜色 */
104
+ tabTextColorActiveSegment: darkBase['color-primary-6'], /* 激活状态文字颜色 */
105
+ tabTextColorHoverSegment: darkBase['color-primary-5'], /* 悬停状态文字颜色 */
106
+ tabTextColorDisabledSegment: darkToken['color-text-6'], /* 禁用状态文字颜色 */
107
+
108
+ tabPaddingSmallSegment: '10px 12px',
109
+ tabPaddingMediumSegment: '10px 0',
110
+ tabPaddingLargeSegment: '10px 0',
111
+
112
+ // tabColor: 'green', /* 标签页背景色 */
113
+ // tabColorSegment: darkBase['color-primary-6'], /* Segment 类型标签背景色 */
114
+ // tabBorderColor: string; /* 标签页边框颜色 */
115
+ barColor: darkBase['color-primary-6'], /* Bar 类型指示条颜色 */
116
+ // closeIconColor: string; /* 关闭图标颜色 */
117
+ // closeIconColorHover: string; /* 关闭图标悬停颜色 */
118
+ // closeIconColorPressed: string;/* 关闭图标按下颜色 */
119
+ // closeColorHover: string; /* 关闭按钮悬停背景色 */
120
+ // closeColorPressed: string; /* 关闭按钮按下背景色 */
121
+ // closeBorderRadius: string; /* 关闭按钮圆角 */
122
+ // closeSize: string; /* 关闭按钮大小 */
123
+ // closeIconSize: string; /* 关闭图标大小 */
124
+ // tabFontSizeCard: string; /* Card 类型字体大小 */
125
+ tabFontSizeSmall: commonBase.fontSizeSmall, /* 小尺寸字体 */
126
+ tabFontSizeMedium: commonBase.fontSizeMedium, /* 中尺寸字体 */
127
+ tabFontSizeLarge: commonBase.fontSizeLarge, /* 大尺寸字体 */
128
+ tabFontWeight: commonBase.fontWeightNormal, /* 普通字重 */
129
+ tabFontWeightActive: commonBase.fontWeightActive, /* 激活状态字重 */
130
+ // fontWeightStrong: string; /* 强调字重 */
131
+ // paneTextColor: string; /* 标签内容区域文字颜色 */
132
+ // panePaddingSmall: string; /* 小尺寸内容区域内边距 */
133
+ // panePaddingMedium: string; /* 中尺寸内容区域内边距 */
134
+ // panePaddingLarge: string; /* 大尺寸内容区域内边距 *//* 各种间距变量命名规则:
135
+ // tab[属性][尺寸][类型][方向]
136
+ // 例如:tabGapSmallLineVertical = 小尺寸 + Line类型 + 垂直方向的间隙
137
+ // */
138
+
139
+ // /* 间隙(Gap)*/
140
+ tabGapSmallLine: commonBase.tabGapSmall, /* 小尺寸Line类型水平间隙 */
141
+ tabGapMediumLine: commonBase.tabGapMedium, /* 中尺寸Line类型水平间隙 */
142
+ tabGapLargeLine: commonBase.tabGapLarge, /* 大尺寸Line类型水平间隙 */
143
+
144
+ // /* 内边距(Padding)*/
145
+ tabPaddingSmallLine: commonBase.tabPaddingSmall, /* 小尺寸Line类型水平内边距 */
146
+ tabPaddingMediumLine: commonBase.tabPaddingMedium, /* 中尺寸Line类型水平内边距 */
147
+ tabPaddingLargeLine: commonBase.tabPaddingLarge, /* 大尺寸Line类型水平内边距 */
148
+
149
+ // /* 垂直方向变量(带Vertical后缀)*/
150
+ // tabGapSmallLineVertical: string; /* 垂直方向间隙 */
151
+ // tabPaddingVerticalSmallLine: string; /* 垂直方向内边距 */
152
+ tabBorderRadius: commonBase.tabBorderRadius /* 标签页圆角 */
153
+ // closeBorderRadius: string; /* 关闭按钮圆角 */
154
+ }
155
+ export const StepsThemeDark: StepsProps['themeOverrides'] = {
156
+ indicatorColorWait: 'transparent', /* 等待状态指示器背景色 */
157
+ indicatorColorProcess: darkBase['color-primary-6'], /* 进行状态指示器背景色 */
158
+ indicatorColorFinish: 'transparent', /* 完成状态指示器背景色 */
159
+ indicatorColorError: 'transparent', /* 错误状态指示器背景色 */
160
+ indicatorTextColorWait: darkBase['color-gray-6'], /* 等待状态指示器文字颜色 */
161
+ indicatorTextColorProcess: darkToken['color-text-5'], /* 进行状态指示器文字颜色 */
162
+ indicatorTextColorFinish: darkBase['color-primary-6'], /* 完成状态指示器文字颜色 */
163
+ indicatorTextColorError: darkBase['color-red-6'], /* 错误状态指示器文字颜色 */
164
+ indicatorBorderColorWait: darkBase['color-gray-6'], /* 等待状态指示器边框颜色 */
165
+ indicatorBorderColorProcess: darkBase['color-primary-6'], /* 进行状态指示器边框颜色 */
166
+ indicatorBorderColorFinish: darkBase['color-primary-6'], /* 完成状态指示器边框颜色 */
167
+ indicatorBorderColorError: darkBase['color-red-6'], /* 错误状态指示器边框颜色 */
168
+ headerTextColorWait: darkToken['color-text-6'], /* 等待状态标题颜色 */
169
+ headerTextColorProcess: darkBase['color-gray-10'], /* 进行状态标题颜色 */
170
+ headerTextColorFinish: darkBase['color-gray-10'], /* 完成状态标题颜色 */
171
+ headerTextColorError: darkBase['color-gray-10'], /* 错误状态标题颜色 */
172
+ descriptionTextColorWait: darkToken['color-text-3'], /* 等待状态描述颜色 */
173
+ descriptionTextColorProcess: darkBase['color-gray-6'], /* 进行状态描述颜色 */
174
+ descriptionTextColorFinish: darkBase['color-gray-6'], /* 完成状态描述颜色 */
175
+ descriptionTextColorError: darkBase['color-gray-6'], /* 错误状态描述颜色 */
176
+ splitorColorProcess: darkBase['color-primary-6'],
177
+ splitorColorWait: darkBase['color-gray-4'],
178
+ splitorColorFinish: darkBase['color-primary-6'],
179
+ splitorColorError: darkBase['color-primary-6'],
180
+ stepHeaderFontSizeSmall: '16px', /* 小尺寸标题字体 */
181
+ stepHeaderFontSizeMedium: '16px', /* 中尺寸标题字体 */
182
+ indicatorIndexFontSizeSmall: '16px', /* 小尺寸指示器数字字体 */
183
+ indicatorIndexFontSizeMedium: '16px', /* 中尺寸指示器数字字体 */
184
+ // stepHeaderFontWeight: string; /* 标题字体粗细 */
185
+ indicatorSizeSmall: '24px', /* 小尺寸指示器大小 */
186
+ indicatorSizeMedium: '24px', /* 中尺寸指示器大小 */
187
+ indicatorIconSizeSmall: '16px', /* 小尺寸指示器图标大小 */
188
+ indicatorIconSizeMedium: '16px' /* 中尺寸指示器图标大小 */
189
+ }
@@ -0,0 +1,297 @@
1
+ import {
2
+ TooltipProps,
3
+ PopconfirmProps,
4
+ TreeProps,
5
+ PaginationProps,
6
+ BreadcrumbProps,
7
+ TabsProps,
8
+ StepsProps
9
+ } from 'naive-ui'
10
+ import { lightBase } from '../../color'
11
+ import { commonBase } from '../../common'
12
+ import { lightToken } from '../../token'
13
+ export const TooltipThemeLight: TooltipProps['themeOverrides'] = {
14
+ borderRadius: commonBase.borderRadiusMedium,
15
+ color: lightBase['color-gray-10'],
16
+ textColor: lightToken['color-text-1'],
17
+ padding: commonBase.paddingBase
18
+ }
19
+ export const PopconfirmThemeLight: PopconfirmProps['themeOverrides'] = {
20
+ fontSize: commonBase.fontSizeMedium,
21
+ iconColor: lightBase['color-primary-6'],
22
+ iconSize: commonBase.iconSizeBase
23
+ }
24
+ export const TreeThemeLight: TreeProps['themeOverrides'] = {
25
+ arrowColor: lightBase['color-gray-6'],
26
+ nodeTextColor: lightBase['color-gray-10'],
27
+ lineColor: lightBase['color-gray-5']
28
+ }
29
+ export const PaginationThemeLight: PaginationProps['themeOverrides'] = {
30
+ // itemBorderDisabled: '0px solid transparent',
31
+ // itemBorderRadius: commonBase.borderRadiusMedium,
32
+ // itemTextColor: lightToken['color-text-1'],
33
+ // itemTextColorHover: lightToken['color-text-6'],
34
+ // itemTextColorPressed: lightToken['color-text-6'],
35
+ // itemTextColorActive: lightToken['color-text-6'],
36
+ // buttonIconColor: lightToken['color-text-1'],
37
+ // buttonIconColorPressed: lightToken['color-text-1'],
38
+ // buttonIconColorHover: lightToken['color-text-1'],
39
+ // itemTextColorDisabled: lightToken['color-text-1'],
40
+ // jumperTextColor: lightToken['color-text-1'],
41
+ // itemTextColor: lightToken['color-text-1'],
42
+ // itemTextColorHover: lightToken['color-text-1'],
43
+ // itemTextColorPressed: lightToken['color-text-1'],
44
+ // itemTextColorActive: lightToken['color-text-1'],
45
+ // itemColorActive: lightBase['color-primary-6'],
46
+ // itemColorActiveHover: lightBase['color-primary-6'],
47
+ // 以上修改
48
+ // 按钮相关样式(上一页/下一页按钮)
49
+ buttonIconColor: lightBase['color-gray-10'], /* 按钮图标颜色 */
50
+ buttonIconColorPressed: lightBase['color-gray-10'],
51
+ buttonIconColorHover: lightBase['color-gray-10'],
52
+ itemTextColorDisabled: lightBase['color-gray-10'], /* 禁用页码文字颜色 */
53
+
54
+ itemBorderActive: '1px solid #0000',
55
+
56
+ /* 文字颜色 */
57
+ itemTextColor: lightBase['color-gray-10'],
58
+ // itemTextColorPressed: 'red', /* 按下页码文字颜色 */
59
+ itemTextColorActive: lightToken['color-text-1'], /* 当前页码文字颜色 */
60
+ /* 背景颜色 */
61
+ itemColorActive: lightBase['color-primary-6'], /* 当前页码背景色 */
62
+ itemColorPressed: lightBase['color-primary-6'], /* 按下页码背景色 */
63
+ itemColorActiveHover: lightBase['color-primary-6'], /* 当前页码悬停背景色 */
64
+ itemBorderRadius: commonBase.borderRadiusMedium,
65
+ // itemSizeMedium: commonBase.heightMedium, // 修改默认高度
66
+ itemFontSizeMedium: commonBase.fontSizeMedium, // 修改默认字体
67
+ itemPaddingMedium: commonBase.paddingMedium, // 修改默认内边距
68
+ itemColorDisabled: 'transparent', /* 禁用页码背景颜色 */
69
+ /** 跳转文字*/
70
+ jumperTextColor: lightBase['color-gray-10'] // 修改跳转文字颜色
71
+ // buttonColor: string; /* 按钮背景色 */
72
+ // buttonColorHover: string; /* 按钮悬停背景色 */
73
+ // buttonColorPressed: string; /* 按钮按下背景色 */
74
+ // buttonBorder: string; /* 按钮边框 */
75
+ // buttonBorderHover: string; /* 按钮悬停边框 */
76
+ // buttonBorderPressed: string; /* 按钮按下边框 */
77
+ // buttonIconColor: string; /* 按钮图标颜色 */
78
+ // buttonIconColorHover: string; /* 按钮图标悬停颜色 */
79
+ // buttonIconColorPressed: string;/* 按钮图标按下颜色 */
80
+ /* 文字颜色 */
81
+ // itemTextColor: string; /* 普通页码文字颜色 */
82
+ // itemTextColorHover: string; /* 悬停页码文字颜色 */
83
+ // itemTextColorPressed: string; /* 按下页码文字颜色 */
84
+ // itemTextColorActive: string; /* 当前页码文字颜色 */
85
+ // itemTextColorDisabled: string; /* 禁用页码文字颜色 */
86
+
87
+ // /* 背景颜色 */
88
+ // itemColor: string; /* 普通页码背景色 */
89
+ // itemColorHover: string; /* 悬停页码背景色 */
90
+ // itemColorPressed: string; /* 按下页码背景色 */
91
+ // itemColorActive: string; /* 当前页码背景色 */
92
+ // itemColorActiveHover: string; /* 当前页码悬停背景色 */
93
+ // itemColorDisabled: string; /* 禁用页码背景色 */
94
+
95
+ // /* 边框样式 */
96
+ // itemBorder: string; /* 页码边框 */
97
+ // itemBorderHover: string; /* 悬停页码边框 */
98
+ // itemBorderPressed: string; /* 按下页码边框 */
99
+ // itemBorderActive: string; /* 当前页码边框 */
100
+ // itemBorderDisabled: string; /* 禁用页码边框 */
101
+
102
+ // /* 尺寸和圆角 */
103
+ // itemBorderRadius: string; /* 页码圆角 */
104
+ /* 页码项尺寸 */
105
+ // itemSizeSmall: '26px' /* 小尺寸页码大小 */
106
+ // itemSizeMedium: '32px', /* 中尺寸页码大小 */
107
+ // itemSizeLarge: '34px' /* 大尺寸页码大小 */
108
+
109
+ // /* 字体大小 */
110
+ // itemFontSizeSmall: string; /* 小尺寸页码字体 */
111
+ // itemFontSizeMedium: string; /* 中尺寸页码字体 */
112
+ // itemFontSizeLarge: string; /* 大尺寸页码字体 */
113
+ // jumperFontSizeSmall: string; /* 小尺寸跳转框字体 */
114
+ // jumperFontSizeMedium: string; /* 中尺寸跳转框字体 */
115
+ // jumperFontSizeLarge: string; /* 大尺寸跳转框字体 */
116
+ // jumperTextColor: string; /* 跳转框文字颜色 */
117
+ // jumperTextColorDisabled: string; /* 禁用跳转框文字颜色 */
118
+ /* 各种间距和边距配置,用于控制组件内部元素的布局 */
119
+ // itemPaddingSmall: string; /* 小尺寸页码内边距 */
120
+ // itemMarginSmall: string; /* 小尺寸页码外边距 */
121
+ /* ... 其他间距变量 */
122
+
123
+ // itemColorDisabled: string;
124
+ // itemBorder: 'red',
125
+ // itemBorderHover: string;
126
+ // itemBorderPressed: string;
127
+ // itemBorderActive: string;
128
+ // itemBorderDisabled: string;
129
+ // itemBorderRadius: string;
130
+ // itemSizeSmall: '62px',
131
+ // itemSizeMedium: '32px',
132
+ // itemSizeLarge: '22px'
133
+ // itemFontSizeSmall: string;
134
+ // itemFontSizeMedium: '32px'
135
+ // itemFontSizeLarge: string;
136
+ // jumperFontSizeSmall: string;
137
+ // jumperFontSizeMedium: '14px',
138
+ // jumperFontSizeLarge: string;
139
+ // jumperTextColor: 'red',
140
+ // jumperTextColorDisabled: string;
141
+ // itemPaddingSmall: '20px',
142
+ // itemMarginSmall: '20px',
143
+ // itemMarginSmallRtl: string;
144
+ // itemPaddingMedium: '0 10px',
145
+ // itemMarginMedium: '0 8px'
146
+ // itemMarginMediumRtl: '36px'
147
+ // itemPaddingLarge: string;
148
+ // itemMarginLarge: string;
149
+ // itemMarginLargeRtl: string;
150
+ // buttonIconSizeSmall: '10px',
151
+ // buttonIconSizeMedium: '32px'
152
+ // buttonIconSizeLarge: '30px',
153
+ // inputWidthSmall: '150px'
154
+ // selectWidthSmall: '60px'
155
+ // inputMarginSmall: string;
156
+ // inputMarginSmallRtl: string;
157
+ // selectMarginSmall: string;
158
+ // prefixMarginSmall: string;
159
+ // suffixMarginSmall: string;
160
+ // inputWidthMedium: string;
161
+ // selectWidthMedium: string;
162
+ // inputMarginMedium: string;
163
+ // inputMarginMediumRtl: string;
164
+ // selectMarginMedium: string;
165
+ // prefixMarginMedium: string;
166
+ // suffixMarginMedium: string;
167
+ // inputWidthLarge: string;
168
+ // selectWidthLarge: string;
169
+ // inputMarginLarge: string;
170
+ // inputMarginLargeRtl: string;
171
+ // selectMarginLarge: string;
172
+ // prefixMarginLarge: string;
173
+ // suffixMarginLarge: string;
174
+ }
175
+ export const BreadcrumbThemeLight: BreadcrumbProps['themeOverrides'] = {
176
+ // fontSize: string; /* 面包屑整体字体大小 */
177
+ // itemLineHeight: string; /* 面包屑项的行高 */
178
+ // fontWeightActive: string; /* 当前项的字重(如:bold)*/
179
+ itemTextColor: lightBase['color-gray-8'], /* 普通面包屑项文字颜色 */
180
+ itemTextColorHover: lightBase['color-gray-10'], /* 鼠标悬停时文字颜色 */
181
+ itemTextColorPressed: lightBase['color-gray-10'], /* 鼠标按下时文字颜色 */
182
+ itemTextColorActive: lightBase['color-gray-10'], /* 当前页面项文字颜色(不可点击)*/
183
+ // itemColorHover: string; /* 鼠标悬停时背景颜色 */
184
+ // itemColorPressed: string; /* 鼠标按下时背景颜色 */
185
+ // itemBorderRadius: string; /* 面包屑项的圆角大小 */
186
+ separatorColor: lightBase['color-gray-4'] /* 分隔符颜色(如 > 或 / 的颜色)*/
187
+ }
188
+ export const TabsThemeLight: TabsProps['themeOverrides'] = {
189
+ /* Line 类型文字颜色 */
190
+ tabTextColorLine: lightBase['color-gray-8'], /* 普通文字颜色 */
191
+ tabTextColorActiveLine: lightBase['color-primary-6'], /* 激活状态文字颜色 */
192
+ tabTextColorHoverLine: lightBase['color-primary-5'], /* 悬停状态文字颜色 */
193
+ tabTextColorDisabledLine: lightBase['color-gray-4'], /* 禁用状态文字颜色 */
194
+
195
+ // /* Bar 类型文字颜色 */
196
+ tabTextColorBar: lightBase['color-gray-8'], /* 普通文字颜色 */
197
+ tabTextColorActiveBar: lightBase['color-primary-6'], /* 激活状态文字颜色 */
198
+ tabTextColorHoverBar: lightBase['color-primary-5'], /* 悬停状态文字颜色 */
199
+ tabTextColorDisabledBar: lightBase['color-gray-4'], /* 禁用状态文字颜色 */
200
+
201
+ // /* Card 类型文字颜色 */
202
+ tabTextColorCard: lightBase['color-gray-8'], /* 普通文字颜色 */
203
+ tabTextColorActiveCard: lightBase['color-primary-6'], /* 激活状态文字颜色 */
204
+ tabTextColorHoverCard: lightBase['color-primary-5'], /* 悬停状态文字颜色 */
205
+ tabTextColorDisabledCard: lightBase['color-gray-4'], /* 禁用状态文字颜色 */
206
+ // tabColor: lightBase['color-primary-2'], /* 标签页背景色 */
207
+
208
+ // /* Segment 类型文字颜色 */
209
+ tabTextColorSegment: lightBase['color-gray-8'], /* 普通文字颜色 */
210
+ tabTextColorActiveSegment: lightBase['color-primary-6'], /* 激活状态文字颜色 */
211
+ tabTextColorHoverSegment: lightBase['color-primary-5'], /* 悬停状态文字颜色 */
212
+ tabTextColorDisabledSegment: lightBase['color-gray-4'], /* 禁用状态文字颜色 */
213
+
214
+ tabPaddingSmallSegment: '10px 12px',
215
+ tabPaddingMediumSegment: '10px 0',
216
+ tabPaddingLargeSegment: '10px 0',
217
+
218
+ colorSegment: lightToken['color-text-1'], /* Segment 类型背景色 */
219
+ tabColorSegment: lightBase['color-primary-2'], /* Segment 类型标签背景色 */
220
+ // tabBorderColor: string; /* 标签页边框颜色 */
221
+ barColor: lightBase['color-primary-6'], /* Bar 类型指示条颜色 */
222
+ // closeIconColor: string; /* 关闭图标颜色 */
223
+ // closeIconColorHover: string; /* 关闭图标悬停颜色 */
224
+ // closeIconColorPressed: string;/* 关闭图标按下颜色 */
225
+ // closeColorHover: string; /* 关闭按钮悬停背景色 */
226
+ // closeColorPressed: string; /* 关闭按钮按下背景色 */
227
+ // closeBorderRadius: string; /* 关闭按钮圆角 */
228
+ // closeSize: string; /* 关闭按钮大小 */
229
+ // closeIconSize: string; /* 关闭图标大小 */
230
+ // tabFontSizeCard: string; /* Card 类型字体大小 */
231
+ tabFontSizeSmall: commonBase.fontSizeSmall, /* 小尺寸字体 */
232
+ tabFontSizeMedium: commonBase.fontSizeMedium, /* 中尺寸字体 */
233
+ tabFontSizeLarge: commonBase.fontSizeLarge, /* 大尺寸字体 */
234
+ tabFontWeight: commonBase.fontWeightNormal, /* 普通字重 */
235
+ tabFontWeightActive: commonBase.fontWeightActive, /* 激活状态字重 */
236
+ // fontWeightStrong: string; /* 强调字重 */
237
+ // paneTextColor: string; /* 标签内容区域文字颜色 */
238
+ // panePaddingSmall: string; /* 小尺寸内容区域内边距 */
239
+ // panePaddingMedium: string; /* 中尺寸内容区域内边距 */
240
+ // panePaddingLarge: string; /* 大尺寸内容区域内边距 *//* 各种间距变量命名规则:
241
+ // tab[属性][尺寸][类型][方向]
242
+ // 例如:tabGapSmallLineVertical = 小尺寸 + Line类型 + 垂直方向的间隙
243
+ // */
244
+
245
+ // /* 间隙(Gap)*/
246
+ tabGapSmallLine: commonBase.tabGapSmall, /* 小尺寸Line类型水平间隙 */
247
+ tabGapMediumLine: commonBase.tabGapMedium, /* 中尺寸Line类型水平间隙 */
248
+ tabGapLargeLine: commonBase.tabGapLarge, /* 大尺寸Line类型水平间隙 */
249
+
250
+ // /* 内边距(Padding)*/
251
+ tabPaddingSmallLine: commonBase.tabPaddingSmall, /* 小尺寸Line类型水平内边距 */
252
+ tabPaddingMediumLine: commonBase.tabPaddingMedium, /* 中尺寸Line类型水平内边距 */
253
+ tabPaddingLargeLine: commonBase.tabPaddingLarge, /* 大尺寸Line类型水平内边距 */
254
+
255
+ // /* 垂直方向变量(带Vertical后缀)*/
256
+ // tabGapSmallLineVertical: string; /* 垂直方向间隙 */
257
+ // tabPaddingVerticalSmallLine: string; /* 垂直方向内边距 */
258
+ tabBorderRadius: commonBase.tabBorderRadius, /* 标签页圆角 */
259
+ closeBorderRadius: commonBase.tabBorderRadius /* 关闭按钮圆角 */
260
+ // closeBorderRadius: string; /* 关闭按钮圆角 */
261
+ }
262
+ export const StepsThemeLight: StepsProps['themeOverrides'] = {
263
+ indicatorColorWait: lightToken['color-text-1'], /* 等待状态指示器背景色 */
264
+ indicatorColorProcess: lightBase['color-primary-6'], /* 进行状态指示器背景色 */
265
+ indicatorColorFinish: lightToken['color-text-1'], /* 完成状态指示器背景色 */
266
+ indicatorColorError: lightToken['color-text-1'], /* 错误状态指示器背景色 */
267
+ indicatorTextColorWait: lightBase['color-gray-6'], /* 等待状态指示器文字颜色 */
268
+ indicatorTextColorProcess: lightToken['color-text-1'], /* 进行状态指示器文字颜色 */
269
+ indicatorTextColorFinish: lightBase['color-primary-6'], /* 完成状态指示器文字颜色 */
270
+ indicatorTextColorError: lightBase['color-red-6'], /* 错误状态指示器文字颜色 */
271
+ indicatorBorderColorWait: lightBase['color-gray-6'], /* 等待状态指示器边框颜色 */
272
+ indicatorBorderColorProcess: lightBase['color-primary-6'], /* 进行状态指示器边框颜色 */
273
+ indicatorBorderColorFinish: lightBase['color-primary-6'], /* 完成状态指示器边框颜色 */
274
+ indicatorBorderColorError: lightBase['color-red-6'], /* 错误状态指示器边框颜色 */
275
+ headerTextColorWait: lightBase['color-gray-10'], /* 等待状态标题颜色 */
276
+ headerTextColorProcess: lightBase['color-gray-10'], /* 进行状态标题颜色 */
277
+ headerTextColorFinish: lightBase['color-gray-10'], /* 完成状态标题颜色 */
278
+ headerTextColorError: lightBase['color-gray-10'], /* 错误状态标题颜色 */
279
+ descriptionTextColorWait: lightBase['color-gray-6'], /* 等待状态描述颜色 */
280
+ descriptionTextColorProcess: lightBase['color-gray-6'], /* 进行状态描述颜色 */
281
+ descriptionTextColorFinish: lightBase['color-gray-6'], /* 完成状态描述颜色 */
282
+ descriptionTextColorError: lightBase['color-gray-6'], /* 错误状态描述颜色 */
283
+ splitorColorProcess: lightBase['color-primary-6'],
284
+ splitorColorWait: lightBase['color-gray-4'],
285
+ splitorColorFinish: lightBase['color-primary-6'],
286
+ splitorColorError: lightBase['color-primary-6'],
287
+ stepHeaderFontSizeSmall: '16px', /* 小尺寸标题字体 */
288
+ stepHeaderFontSizeMedium: '16px', /* 中尺寸标题字体 */
289
+ indicatorIndexFontSizeSmall: '16px', /* 小尺寸指示器数字字体 */
290
+ indicatorIndexFontSizeMedium: '16px', /* 中尺寸指示器数字字体 */
291
+ // stepHeaderFontWeight: string; /* 标题字体粗细 */
292
+ indicatorSizeSmall: '24px', /* 小尺寸指示器大小 */
293
+ indicatorSizeMedium: '24px', /* 中尺寸指示器大小 */
294
+ indicatorIconSizeSmall: '16px', /* 小尺寸指示器图标大小 */
295
+ indicatorIconSizeMedium: '16px' /* 中尺寸指示器图标大小 */
296
+ }
297
+
@@ -0,0 +1,20 @@
1
+ import { ButtonProps } from 'naive-ui'
2
+ import { commonBase } from '../../common'
3
+
4
+ export const ButtonThemeCommon: ButtonProps['themeOverrides'] = {
5
+ borderRadiusLarge: commonBase.borderRadiusLarge,
6
+ borderRadiusMedium: commonBase.borderRadiusMedium,
7
+ borderRadiusSmall: commonBase.borderRadiusSmall,
8
+
9
+ heightMedium: commonBase.heightMedium,
10
+ heightSmall: commonBase.heightSmall,
11
+
12
+ fontSizeLarge: commonBase.fontSizeLarge,
13
+ fontSizeSmall: commonBase.fontSizeSmall,
14
+
15
+ opacityDisabled: '1',
16
+
17
+ paddingLarge: '0 24px',
18
+ paddingMedium: '0 16px',
19
+ paddingSmall: '0 12px'
20
+ }
@@ -0,0 +1,127 @@
1
+ import { ButtonProps } from 'naive-ui'
2
+ import { darkBase } from '../../color'
3
+ import { darkToken } from '../../token'
4
+ import { ButtonThemeCommon } from './common'
5
+
6
+ export const ButtonThemeDark: ButtonProps['themeOverrides'] = {
7
+ ...ButtonThemeCommon,
8
+ border: `1px solid ${darkToken['fill-color-2']}`,
9
+ borderError: `1px solid ${darkBase['color-red-6']}`,
10
+ borderPrimary: `1px solid ${darkBase['color-primary-6']}`,
11
+ borderSuccess: `1px solid ${darkBase['color-green-6']}`,
12
+ borderWarning: `1px solid ${darkBase['color-origin-6']}`,
13
+
14
+ borderDisabled: `1px solid ${darkToken['color-default-disabled']}`,
15
+ borderDisabledError: `1px solid ${darkBase['color-red-5']}`,
16
+ borderDisabledPrimary: `1px solid ${darkToken['color-primary-disabled']}`,
17
+ borderDisabledSuccess: `1px solid ${darkToken['color-success-disabled']}`,
18
+ borderDisabledWarning: `1px solid ${darkToken['color-warning-disabled']}`,
19
+
20
+ borderHover: `1px solid ${darkToken['fill-color-3']}`,
21
+ borderHoverError: `1px solid ${darkBase['color-red-5']}`,
22
+ borderHoverPrimary: `1px solid ${darkBase['color-primary-5' ]}`,
23
+ borderHoverSuccess: `1px solid ${darkBase['color-green-5']}`,
24
+ borderHoverWarning: `1px solid ${darkBase['color-origin-5']}`,
25
+
26
+ borderFocus: `1px solid ${darkToken['fill-color-3']}`,
27
+ borderFocusError: `1px solid ${darkBase['color-red-5']}`,
28
+ borderFocusPrimary: `1px solid ${darkBase['color-primary-5']}`,
29
+ borderFocusSuccess: `1px solid ${darkBase['color-green-5']}`,
30
+ borderFocusWarning: `1px solid ${darkBase['color-origin-5']}`,
31
+
32
+ borderPressed: `1px solid ${darkToken['fill-color-4']}`,
33
+ borderPressedError: `1px solid ${darkBase['color-red-7']}`,
34
+ borderPressedPrimary: `1px solid ${darkBase['color-primary-7']}`,
35
+ borderPressedSuccess: `1px solid ${darkBase['color-green-7']}`,
36
+ borderPressedWarning: `1px solid ${darkBase['color-origin-7']}`,
37
+
38
+ color: darkToken['fill-color-2'],
39
+ colorError: darkBase['color-red-6'],
40
+ colorPrimary: darkBase['color-primary-6'],
41
+ colorSuccess: darkBase['color-green-6'],
42
+ colorWarning: darkBase['color-origin-6'],
43
+
44
+ colorDisabled: darkToken['color-default-disabled'],
45
+ colorDisabledError: darkToken['color-error-disabled'],
46
+ colorDisabledPrimary: darkToken['color-primary-disabled'],
47
+ colorDisabledSuccess: darkToken['color-success-disabled'],
48
+ colorDisabledWarning: darkToken['color-warning-disabled'],
49
+
50
+ colorFocus: darkToken['fill-color-3'],
51
+ colorFocusError: darkBase['color-red-5'],
52
+ colorFocusPrimary: darkBase['color-primary-5' ],
53
+ colorFocusSuccess: darkBase['color-green-5'],
54
+ colorFocusWarning: darkBase['color-origin-5'],
55
+
56
+ colorHover: darkToken['fill-color-3'],
57
+ colorHoverError: darkBase['color-red-5'],
58
+ colorHoverPrimary: darkBase['color-primary-5' ],
59
+ colorHoverSuccess: darkBase['color-green-5'],
60
+ colorHoverWarning: darkBase['color-origin-5'],
61
+
62
+ colorPressed: darkToken['fill-color-4'],
63
+ colorPressedError: darkBase['color-red-7'],
64
+ colorPressedPrimary: darkBase['color-primary-7' ],
65
+ colorPressedSuccess: darkBase['color-green-7'],
66
+ colorPressedWarning: darkBase['color-origin-7'],
67
+
68
+ textColor: darkBase['color-gray-8'],
69
+ textColorError: darkToken['color-text-5'],
70
+ textColorPrimary: darkToken['color-text-5'],
71
+ textColorSuccess: darkToken['color-text-5'],
72
+ textColorWarning: darkToken['color-text-5'],
73
+
74
+ textColorDisabled: 'rgba(255, 255, 255, 0.75)',
75
+ textColorDisabledError: 'rgba(255, 255, 255, 0.75)',
76
+ textColorDisabledPrimary: 'rgba(255, 255, 255, 0.75)',
77
+ textColorDisabledSuccess: 'rgba(255, 255, 255, 0.75)',
78
+ textColorDisabledWarning: 'rgba(255, 255, 255, 0.75)',
79
+
80
+ textColorFocus: darkBase['color-gray-8'],
81
+ textColorFocusError: darkToken['color-text-5'],
82
+ textColorFocusPrimary: darkToken['color-text-5'],
83
+ textColorFocusSuccess: darkToken['color-text-5'],
84
+ textColorFocusWarning: darkToken['color-text-5'],
85
+
86
+ textColorHover: darkBase['color-gray-8'],
87
+ textColorHoverError: darkToken['color-text-5'],
88
+ textColorHoverPrimary: darkToken['color-text-5'],
89
+ textColorHoverSuccess: darkToken['color-text-5'],
90
+ textColorHoverWarning: darkToken['color-text-5'],
91
+
92
+ textColorPressed: darkBase['color-gray-8'],
93
+ textColorPressedError: darkToken['color-text-5'],
94
+ textColorPressedPrimary: darkToken['color-text-5'],
95
+ textColorPressedSuccess: darkToken['color-text-5'],
96
+ textColorPressedWarning: darkToken['color-text-5'],
97
+
98
+ textColorGhost: darkBase['color-gray-8'],
99
+ textColorGhostError: darkBase['color-red-6'],
100
+ textColorGhostPrimary: darkBase['color-primary-6'],
101
+ textColorGhostSuccess: darkBase['color-green-6'],
102
+ textColorGhostWarning: darkBase['color-origin-6'],
103
+
104
+ textColorGhostDisabled: 'rgba(255, 255, 255, 0.5)',
105
+ textColorGhostDisabledError: darkToken['color-error-disabled'],
106
+ textColorGhostDisabledPrimary: darkToken['color-primary-disabled'],
107
+ textColorGhostDisabledSuccess: darkToken['color-success-disabled'],
108
+ textColorGhostDisabledWarning: darkToken['color-warning-disabled'],
109
+
110
+ textColorGhostFocus: darkBase['color-gray-8'],
111
+ textColorGhostFocusError: darkBase['color-red-5'],
112
+ textColorGhostFocusPrimary: darkBase['color-primary-5'],
113
+ textColorGhostFocusSuccess: darkBase['color-green-5'],
114
+ textColorGhostFocusWarning: darkBase['color-origin-5'],
115
+
116
+ textColorGhostHover: darkBase['color-gray-8'],
117
+ textColorGhostHoverError: darkBase['color-red-5'],
118
+ textColorGhostHoverPrimary: darkBase['color-primary-5'],
119
+ textColorGhostHoverSuccess: darkBase['color-green-5'],
120
+ textColorGhostHoverWarning: darkBase['color-origin-5'],
121
+
122
+ textColorGhostPressed: darkBase['color-gray-8'],
123
+ textColorGhostPressedError: darkBase['color-red-7'],
124
+ textColorGhostPressedPrimary: darkBase['color-primary-7'],
125
+ textColorGhostPressedSuccess: darkBase['color-green-7'],
126
+ textColorGhostPressedWarning: darkBase['color-origin-7']
127
+ }