@northking-element/ui 1.0.0 → 1.0.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 (500) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +10 -9
  3. package/dist/index.full.min.js +3 -3
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +3 -3
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +10 -9
  8. package/dist/locale/af.js +1 -1
  9. package/dist/locale/af.min.js +1 -1
  10. package/dist/locale/af.min.mjs +1 -1
  11. package/dist/locale/af.mjs +1 -1
  12. package/dist/locale/ar-eg.js +1 -1
  13. package/dist/locale/ar-eg.min.js +1 -1
  14. package/dist/locale/ar-eg.min.mjs +1 -1
  15. package/dist/locale/ar-eg.mjs +1 -1
  16. package/dist/locale/ar.js +1 -1
  17. package/dist/locale/ar.min.js +1 -1
  18. package/dist/locale/ar.min.mjs +1 -1
  19. package/dist/locale/ar.mjs +1 -1
  20. package/dist/locale/az.js +1 -1
  21. package/dist/locale/az.min.js +1 -1
  22. package/dist/locale/az.min.mjs +1 -1
  23. package/dist/locale/az.mjs +1 -1
  24. package/dist/locale/bg.js +1 -1
  25. package/dist/locale/bg.min.js +1 -1
  26. package/dist/locale/bg.min.mjs +1 -1
  27. package/dist/locale/bg.mjs +1 -1
  28. package/dist/locale/bn.js +1 -1
  29. package/dist/locale/bn.min.js +1 -1
  30. package/dist/locale/bn.min.mjs +1 -1
  31. package/dist/locale/bn.mjs +1 -1
  32. package/dist/locale/ca.js +1 -1
  33. package/dist/locale/ca.min.js +1 -1
  34. package/dist/locale/ca.min.mjs +1 -1
  35. package/dist/locale/ca.mjs +1 -1
  36. package/dist/locale/ckb.js +1 -1
  37. package/dist/locale/ckb.min.js +1 -1
  38. package/dist/locale/ckb.min.mjs +1 -1
  39. package/dist/locale/ckb.mjs +1 -1
  40. package/dist/locale/cs.js +1 -1
  41. package/dist/locale/cs.min.js +1 -1
  42. package/dist/locale/cs.min.mjs +1 -1
  43. package/dist/locale/cs.mjs +1 -1
  44. package/dist/locale/da.js +1 -1
  45. package/dist/locale/da.min.js +1 -1
  46. package/dist/locale/da.min.mjs +1 -1
  47. package/dist/locale/da.mjs +1 -1
  48. package/dist/locale/de.js +1 -1
  49. package/dist/locale/de.min.js +1 -1
  50. package/dist/locale/de.min.mjs +1 -1
  51. package/dist/locale/de.mjs +1 -1
  52. package/dist/locale/el.js +1 -1
  53. package/dist/locale/el.min.js +1 -1
  54. package/dist/locale/el.min.mjs +1 -1
  55. package/dist/locale/el.mjs +1 -1
  56. package/dist/locale/en.js +1 -1
  57. package/dist/locale/en.min.js +1 -1
  58. package/dist/locale/en.min.mjs +1 -1
  59. package/dist/locale/en.mjs +1 -1
  60. package/dist/locale/eo.js +1 -1
  61. package/dist/locale/eo.min.js +1 -1
  62. package/dist/locale/eo.min.mjs +1 -1
  63. package/dist/locale/eo.mjs +1 -1
  64. package/dist/locale/es.js +1 -1
  65. package/dist/locale/es.min.js +1 -1
  66. package/dist/locale/es.min.mjs +1 -1
  67. package/dist/locale/es.mjs +1 -1
  68. package/dist/locale/et.js +1 -1
  69. package/dist/locale/et.min.js +1 -1
  70. package/dist/locale/et.min.mjs +1 -1
  71. package/dist/locale/et.mjs +1 -1
  72. package/dist/locale/eu.js +1 -1
  73. package/dist/locale/eu.min.js +1 -1
  74. package/dist/locale/eu.min.mjs +1 -1
  75. package/dist/locale/eu.mjs +1 -1
  76. package/dist/locale/fa.js +1 -1
  77. package/dist/locale/fa.min.js +1 -1
  78. package/dist/locale/fa.min.mjs +1 -1
  79. package/dist/locale/fa.mjs +1 -1
  80. package/dist/locale/fi.js +1 -1
  81. package/dist/locale/fi.min.js +1 -1
  82. package/dist/locale/fi.min.mjs +1 -1
  83. package/dist/locale/fi.mjs +1 -1
  84. package/dist/locale/fr.js +1 -1
  85. package/dist/locale/fr.min.js +1 -1
  86. package/dist/locale/fr.min.mjs +1 -1
  87. package/dist/locale/fr.mjs +1 -1
  88. package/dist/locale/he.js +1 -1
  89. package/dist/locale/he.min.js +1 -1
  90. package/dist/locale/he.min.mjs +1 -1
  91. package/dist/locale/he.mjs +1 -1
  92. package/dist/locale/hi.js +1 -1
  93. package/dist/locale/hi.min.js +1 -1
  94. package/dist/locale/hi.min.mjs +1 -1
  95. package/dist/locale/hi.mjs +1 -1
  96. package/dist/locale/hr.js +1 -1
  97. package/dist/locale/hr.min.js +1 -1
  98. package/dist/locale/hr.min.mjs +1 -1
  99. package/dist/locale/hr.mjs +1 -1
  100. package/dist/locale/hu.js +1 -1
  101. package/dist/locale/hu.min.js +1 -1
  102. package/dist/locale/hu.min.mjs +1 -1
  103. package/dist/locale/hu.mjs +1 -1
  104. package/dist/locale/hy-am.js +1 -1
  105. package/dist/locale/hy-am.min.js +1 -1
  106. package/dist/locale/hy-am.min.mjs +1 -1
  107. package/dist/locale/hy-am.mjs +1 -1
  108. package/dist/locale/id.js +1 -1
  109. package/dist/locale/id.min.js +1 -1
  110. package/dist/locale/id.min.mjs +1 -1
  111. package/dist/locale/id.mjs +1 -1
  112. package/dist/locale/it.js +1 -1
  113. package/dist/locale/it.min.js +1 -1
  114. package/dist/locale/it.min.mjs +1 -1
  115. package/dist/locale/it.mjs +1 -1
  116. package/dist/locale/ja.js +1 -1
  117. package/dist/locale/ja.min.js +1 -1
  118. package/dist/locale/ja.min.mjs +1 -1
  119. package/dist/locale/ja.mjs +1 -1
  120. package/dist/locale/kk.js +1 -1
  121. package/dist/locale/kk.min.js +1 -1
  122. package/dist/locale/kk.min.mjs +1 -1
  123. package/dist/locale/kk.mjs +1 -1
  124. package/dist/locale/km.js +1 -1
  125. package/dist/locale/km.min.js +1 -1
  126. package/dist/locale/km.min.mjs +1 -1
  127. package/dist/locale/km.mjs +1 -1
  128. package/dist/locale/ko.js +1 -1
  129. package/dist/locale/ko.min.js +1 -1
  130. package/dist/locale/ko.min.mjs +1 -1
  131. package/dist/locale/ko.mjs +1 -1
  132. package/dist/locale/ku.js +1 -1
  133. package/dist/locale/ku.min.js +1 -1
  134. package/dist/locale/ku.min.mjs +1 -1
  135. package/dist/locale/ku.mjs +1 -1
  136. package/dist/locale/ky.js +1 -1
  137. package/dist/locale/ky.min.js +1 -1
  138. package/dist/locale/ky.min.mjs +1 -1
  139. package/dist/locale/ky.mjs +1 -1
  140. package/dist/locale/lo.js +1 -1
  141. package/dist/locale/lo.min.js +1 -1
  142. package/dist/locale/lo.min.mjs +1 -1
  143. package/dist/locale/lo.mjs +1 -1
  144. package/dist/locale/lt.js +1 -1
  145. package/dist/locale/lt.min.js +1 -1
  146. package/dist/locale/lt.min.mjs +1 -1
  147. package/dist/locale/lt.mjs +1 -1
  148. package/dist/locale/lv.js +1 -1
  149. package/dist/locale/lv.min.js +1 -1
  150. package/dist/locale/lv.min.mjs +1 -1
  151. package/dist/locale/lv.mjs +1 -1
  152. package/dist/locale/mg.js +1 -1
  153. package/dist/locale/mg.min.js +1 -1
  154. package/dist/locale/mg.min.mjs +1 -1
  155. package/dist/locale/mg.mjs +1 -1
  156. package/dist/locale/mn.js +1 -1
  157. package/dist/locale/mn.min.js +1 -1
  158. package/dist/locale/mn.min.mjs +1 -1
  159. package/dist/locale/mn.mjs +1 -1
  160. package/dist/locale/ms.js +1 -1
  161. package/dist/locale/ms.min.js +1 -1
  162. package/dist/locale/ms.min.mjs +1 -1
  163. package/dist/locale/ms.mjs +1 -1
  164. package/dist/locale/my.js +1 -1
  165. package/dist/locale/my.min.js +1 -1
  166. package/dist/locale/my.min.mjs +1 -1
  167. package/dist/locale/my.mjs +1 -1
  168. package/dist/locale/nb-no.js +1 -1
  169. package/dist/locale/nb-no.min.js +1 -1
  170. package/dist/locale/nb-no.min.mjs +1 -1
  171. package/dist/locale/nb-no.mjs +1 -1
  172. package/dist/locale/nl.js +1 -1
  173. package/dist/locale/nl.min.js +1 -1
  174. package/dist/locale/nl.min.mjs +1 -1
  175. package/dist/locale/nl.mjs +1 -1
  176. package/dist/locale/no.js +1 -1
  177. package/dist/locale/no.min.js +1 -1
  178. package/dist/locale/no.min.mjs +1 -1
  179. package/dist/locale/no.mjs +1 -1
  180. package/dist/locale/pa.js +1 -1
  181. package/dist/locale/pa.min.js +1 -1
  182. package/dist/locale/pa.min.mjs +1 -1
  183. package/dist/locale/pa.mjs +1 -1
  184. package/dist/locale/pl.js +1 -1
  185. package/dist/locale/pl.min.js +1 -1
  186. package/dist/locale/pl.min.mjs +1 -1
  187. package/dist/locale/pl.mjs +1 -1
  188. package/dist/locale/pt-br.js +1 -1
  189. package/dist/locale/pt-br.min.js +1 -1
  190. package/dist/locale/pt-br.min.mjs +1 -1
  191. package/dist/locale/pt-br.mjs +1 -1
  192. package/dist/locale/pt.js +1 -1
  193. package/dist/locale/pt.min.js +1 -1
  194. package/dist/locale/pt.min.mjs +1 -1
  195. package/dist/locale/pt.mjs +1 -1
  196. package/dist/locale/ro.js +1 -1
  197. package/dist/locale/ro.min.js +1 -1
  198. package/dist/locale/ro.min.mjs +1 -1
  199. package/dist/locale/ro.mjs +1 -1
  200. package/dist/locale/ru.js +1 -1
  201. package/dist/locale/ru.min.js +1 -1
  202. package/dist/locale/ru.min.mjs +1 -1
  203. package/dist/locale/ru.mjs +1 -1
  204. package/dist/locale/sk.js +1 -1
  205. package/dist/locale/sk.min.js +1 -1
  206. package/dist/locale/sk.min.mjs +1 -1
  207. package/dist/locale/sk.mjs +1 -1
  208. package/dist/locale/sl.js +1 -1
  209. package/dist/locale/sl.min.js +1 -1
  210. package/dist/locale/sl.min.mjs +1 -1
  211. package/dist/locale/sl.mjs +1 -1
  212. package/dist/locale/sr.js +1 -1
  213. package/dist/locale/sr.min.js +1 -1
  214. package/dist/locale/sr.min.mjs +1 -1
  215. package/dist/locale/sr.mjs +1 -1
  216. package/dist/locale/sv.js +1 -1
  217. package/dist/locale/sv.min.js +1 -1
  218. package/dist/locale/sv.min.mjs +1 -1
  219. package/dist/locale/sv.mjs +1 -1
  220. package/dist/locale/sw.js +1 -1
  221. package/dist/locale/sw.min.js +1 -1
  222. package/dist/locale/sw.min.mjs +1 -1
  223. package/dist/locale/sw.mjs +1 -1
  224. package/dist/locale/ta.js +1 -1
  225. package/dist/locale/ta.min.js +1 -1
  226. package/dist/locale/ta.min.mjs +1 -1
  227. package/dist/locale/ta.mjs +1 -1
  228. package/dist/locale/te.js +1 -1
  229. package/dist/locale/te.min.js +1 -1
  230. package/dist/locale/te.min.mjs +1 -1
  231. package/dist/locale/te.mjs +1 -1
  232. package/dist/locale/th.js +1 -1
  233. package/dist/locale/th.min.js +1 -1
  234. package/dist/locale/th.min.mjs +1 -1
  235. package/dist/locale/th.mjs +1 -1
  236. package/dist/locale/tk.js +1 -1
  237. package/dist/locale/tk.min.js +1 -1
  238. package/dist/locale/tk.min.mjs +1 -1
  239. package/dist/locale/tk.mjs +1 -1
  240. package/dist/locale/tr.js +1 -1
  241. package/dist/locale/tr.min.js +1 -1
  242. package/dist/locale/tr.min.mjs +1 -1
  243. package/dist/locale/tr.mjs +1 -1
  244. package/dist/locale/ug-cn.js +1 -1
  245. package/dist/locale/ug-cn.min.js +1 -1
  246. package/dist/locale/ug-cn.min.mjs +1 -1
  247. package/dist/locale/ug-cn.mjs +1 -1
  248. package/dist/locale/uk.js +1 -1
  249. package/dist/locale/uk.min.js +1 -1
  250. package/dist/locale/uk.min.mjs +1 -1
  251. package/dist/locale/uk.mjs +1 -1
  252. package/dist/locale/uz-uz.js +1 -1
  253. package/dist/locale/uz-uz.min.js +1 -1
  254. package/dist/locale/uz-uz.min.mjs +1 -1
  255. package/dist/locale/uz-uz.mjs +1 -1
  256. package/dist/locale/vi.js +1 -1
  257. package/dist/locale/vi.min.js +1 -1
  258. package/dist/locale/vi.min.mjs +1 -1
  259. package/dist/locale/vi.mjs +1 -1
  260. package/dist/locale/zh-cn.js +1 -1
  261. package/dist/locale/zh-cn.min.js +1 -1
  262. package/dist/locale/zh-cn.min.mjs +1 -1
  263. package/dist/locale/zh-cn.mjs +1 -1
  264. package/dist/locale/zh-hk.js +1 -1
  265. package/dist/locale/zh-hk.min.js +1 -1
  266. package/dist/locale/zh-hk.min.mjs +1 -1
  267. package/dist/locale/zh-hk.mjs +1 -1
  268. package/dist/locale/zh-mo.js +1 -1
  269. package/dist/locale/zh-mo.min.js +1 -1
  270. package/dist/locale/zh-mo.min.mjs +1 -1
  271. package/dist/locale/zh-mo.mjs +1 -1
  272. package/dist/locale/zh-tw.js +1 -1
  273. package/dist/locale/zh-tw.min.js +1 -1
  274. package/dist/locale/zh-tw.min.mjs +1 -1
  275. package/dist/locale/zh-tw.mjs +1 -1
  276. package/es/components/anchor/src/anchor.vue.d.ts +1 -1
  277. package/es/components/autocomplete/src/autocomplete.d.ts +1 -1
  278. package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
  279. package/es/components/backtop/src/backtop.vue.d.ts +1 -1
  280. package/es/components/badge/src/badge.vue.d.ts +1 -1
  281. package/es/components/calendar/src/calendar.d.ts +1 -1
  282. package/es/components/cascader/src/cascader.d.ts +2 -2
  283. package/es/components/cascader/src/cascader.vue.d.ts +3 -3
  284. package/es/components/cascader-panel/src/index.vue.d.ts +2 -2
  285. package/es/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  286. package/es/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
  287. package/es/components/checkbox/src/checkbox.d.ts +8 -8
  288. package/es/components/checkbox/src/checkbox.vue.d.ts +2 -2
  289. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  290. package/es/components/color-picker/src/color-picker.vue.d.ts +3 -3
  291. package/es/components/date-picker/src/date-picker.d.ts +10 -10
  292. package/es/components/date-picker/src/props.d.ts +3 -3
  293. package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  294. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +2 -2
  295. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
  296. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +8 -8
  297. package/es/components/date-picker-panel/src/panel-utils.d.ts +6 -6
  298. package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
  299. package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
  300. package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
  301. package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
  302. package/es/components/descriptions/src/description-item.d.ts +18 -18
  303. package/es/components/dialog/src/dialog.vue.d.ts +2 -2
  304. package/es/components/divider/src/divider.d.ts +1 -1
  305. package/es/components/drawer/src/drawer.vue.d.ts +3 -3
  306. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  307. package/es/components/dropdown/src/dropdown.d.ts +2 -2
  308. package/es/components/dropdown/src/dropdown.vue.d.ts +7 -7
  309. package/es/components/form/src/form-item.d.ts +1 -1
  310. package/es/components/form/src/form.d.ts +1 -1
  311. package/es/components/input/src/input.vue.d.ts +4 -4
  312. package/es/components/input-number/src/input-number.d.ts +1 -1
  313. package/es/components/input-number/src/input-number.vue.d.ts +3 -3
  314. package/es/components/input-otp/src/input-otp.vue.d.ts +4 -4
  315. package/es/components/input-tag/src/input-tag.vue.d.ts +4 -4
  316. package/es/components/link/src/link.vue.d.ts +1 -1
  317. package/es/components/message/src/message.vue.d.ts +2 -2
  318. package/es/components/message-box/src/index.vue.d.ts +10 -10
  319. package/es/components/notification/src/notification.vue.d.ts +2 -2
  320. package/es/components/pagination/src/pagination.d.ts +1 -1
  321. package/es/components/popover/src/popover.d.ts +2 -2
  322. package/es/components/popper/src/composables/use-content.d.ts +2 -2
  323. package/es/components/popper/src/popper.d.ts +2 -2
  324. package/es/components/radio/src/radio-button.d.ts +3 -3
  325. package/es/components/radio/src/radio-group.vue.d.ts +3 -3
  326. package/es/components/radio/src/radio.d.ts +6 -6
  327. package/es/components/radio/src/radio.vue.d.ts +2 -2
  328. package/es/components/rate/src/rate.vue.d.ts +2 -2
  329. package/es/components/segmented/index.d.ts +3 -3
  330. package/es/components/segmented/src/segmented.d.ts +1 -1
  331. package/es/components/segmented/src/segmented.vue.d.ts +2 -2
  332. package/es/components/select/src/option.d.ts +2 -2
  333. package/es/components/select/src/option.vue.d.ts +5 -5
  334. package/es/components/select/src/select.d.ts +3 -3
  335. package/es/components/select/src/select.vue.d.ts +21 -21
  336. package/es/components/select/src/useOption.d.ts +2 -2
  337. package/es/components/select/src/useSelect.d.ts +5 -5
  338. package/es/components/select-v2/src/defaults.d.ts +1 -1
  339. package/es/components/select-v2/src/select.vue.d.ts +5 -5
  340. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  341. package/es/components/slider/src/slider.vue.d.ts +2 -2
  342. package/es/components/switch/src/switch.vue.d.ts +2 -2
  343. package/es/components/table/src/filter-panel.vue.d.ts +13 -13
  344. package/es/components/table/src/table/defaults.d.ts +5 -5
  345. package/es/components/table/src/table-column/defaults.d.ts +2 -2
  346. package/es/components/table/src/table-header/index.d.ts +5 -5
  347. package/es/components/tabs/src/tabs.d.ts +4 -4
  348. package/es/components/time-picker/src/common/picker.vue.d.ts +9 -9
  349. package/es/components/time-picker/src/common/props.d.ts +2 -2
  350. package/es/components/time-picker/src/time-picker.d.ts +7 -7
  351. package/es/components/time-select/src/time-select.vue.d.ts +3 -3
  352. package/es/components/tooltip/src/tooltip.d.ts +1 -1
  353. package/es/components/tour/src/content.d.ts +1 -1
  354. package/es/components/tour/src/step.d.ts +1 -1
  355. package/es/components/tour/src/tour.d.ts +1 -1
  356. package/es/components/tour/src/tour.vue.d.ts +2 -2
  357. package/es/components/transfer/src/transfer.vue.d.ts +2 -2
  358. package/es/components/tree/src/tree-node.vue.d.ts +5 -5
  359. package/es/components/tree/src/tree.vue.d.ts +5 -5
  360. package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
  361. package/es/components/tree-select/src/tree-select.vue.d.ts +10 -10
  362. package/es/hooks/use-floating/index.d.ts +8 -8
  363. package/es/hooks/use-popper/index.d.ts +2 -2
  364. package/es/pro/dialog/src/dialog.vue.d.ts +2 -2
  365. package/es/pro/drawer/src/drawer.vue.d.ts +2 -2
  366. package/es/pro/pro-table/src/pro-table.mjs.map +1 -1
  367. package/es/pro/pro-table/src/pro-table.vue.d.ts +1 -0
  368. package/es/pro/pro-table/src/pro-table.vue_vue_type_script_setup_true_lang.mjs +8 -7
  369. package/es/pro/pro-table/src/pro-table.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  370. package/es/utils/vue/size.d.ts +1 -1
  371. package/es/version.d.ts +1 -1
  372. package/es/version.mjs +1 -1
  373. package/es/version.mjs.map +1 -1
  374. package/lib/components/anchor/src/anchor.vue.d.ts +1 -1
  375. package/lib/components/autocomplete/src/autocomplete.d.ts +1 -1
  376. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
  377. package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
  378. package/lib/components/badge/src/badge.vue.d.ts +1 -1
  379. package/lib/components/calendar/src/calendar.d.ts +1 -1
  380. package/lib/components/cascader/src/cascader.d.ts +2 -2
  381. package/lib/components/cascader/src/cascader.vue.d.ts +3 -3
  382. package/lib/components/cascader-panel/src/index.vue.d.ts +2 -2
  383. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  384. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
  385. package/lib/components/checkbox/src/checkbox.d.ts +8 -8
  386. package/lib/components/checkbox/src/checkbox.vue.d.ts +2 -2
  387. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  388. package/lib/components/color-picker/src/color-picker.vue.d.ts +3 -3
  389. package/lib/components/date-picker/src/date-picker.d.ts +10 -10
  390. package/lib/components/date-picker/src/props.d.ts +3 -3
  391. package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  392. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +2 -2
  393. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
  394. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +8 -8
  395. package/lib/components/date-picker-panel/src/panel-utils.d.ts +6 -6
  396. package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
  397. package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
  398. package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
  399. package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
  400. package/lib/components/descriptions/src/description-item.d.ts +18 -18
  401. package/lib/components/dialog/src/dialog.vue.d.ts +2 -2
  402. package/lib/components/divider/src/divider.d.ts +1 -1
  403. package/lib/components/drawer/src/drawer.vue.d.ts +3 -3
  404. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  405. package/lib/components/dropdown/src/dropdown.d.ts +2 -2
  406. package/lib/components/dropdown/src/dropdown.vue.d.ts +7 -7
  407. package/lib/components/form/src/form-item.d.ts +1 -1
  408. package/lib/components/form/src/form.d.ts +1 -1
  409. package/lib/components/input/src/input.vue.d.ts +4 -4
  410. package/lib/components/input-number/src/input-number.d.ts +1 -1
  411. package/lib/components/input-number/src/input-number.vue.d.ts +3 -3
  412. package/lib/components/input-otp/src/input-otp.vue.d.ts +4 -4
  413. package/lib/components/input-tag/src/input-tag.vue.d.ts +4 -4
  414. package/lib/components/link/src/link.vue.d.ts +1 -1
  415. package/lib/components/message/src/message.vue.d.ts +2 -2
  416. package/lib/components/message-box/src/index.vue.d.ts +10 -10
  417. package/lib/components/notification/src/notification.vue.d.ts +2 -2
  418. package/lib/components/pagination/src/pagination.d.ts +1 -1
  419. package/lib/components/popover/src/popover.d.ts +2 -2
  420. package/lib/components/popper/src/composables/use-content.d.ts +2 -2
  421. package/lib/components/popper/src/popper.d.ts +2 -2
  422. package/lib/components/radio/src/radio-button.d.ts +3 -3
  423. package/lib/components/radio/src/radio-group.vue.d.ts +3 -3
  424. package/lib/components/radio/src/radio.d.ts +6 -6
  425. package/lib/components/radio/src/radio.vue.d.ts +2 -2
  426. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  427. package/lib/components/segmented/index.d.ts +3 -3
  428. package/lib/components/segmented/src/segmented.d.ts +1 -1
  429. package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
  430. package/lib/components/select/src/option.d.ts +2 -2
  431. package/lib/components/select/src/option.vue.d.ts +5 -5
  432. package/lib/components/select/src/select.d.ts +3 -3
  433. package/lib/components/select/src/select.vue.d.ts +21 -21
  434. package/lib/components/select/src/useOption.d.ts +2 -2
  435. package/lib/components/select/src/useSelect.d.ts +5 -5
  436. package/lib/components/select-v2/src/defaults.d.ts +1 -1
  437. package/lib/components/select-v2/src/select.vue.d.ts +5 -5
  438. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  439. package/lib/components/slider/src/slider.vue.d.ts +2 -2
  440. package/lib/components/switch/src/switch.vue.d.ts +2 -2
  441. package/lib/components/table/src/filter-panel.vue.d.ts +13 -13
  442. package/lib/components/table/src/table/defaults.d.ts +5 -5
  443. package/lib/components/table/src/table-column/defaults.d.ts +2 -2
  444. package/lib/components/table/src/table-header/index.d.ts +5 -5
  445. package/lib/components/tabs/src/tabs.d.ts +4 -4
  446. package/lib/components/time-picker/src/common/picker.vue.d.ts +9 -9
  447. package/lib/components/time-picker/src/common/props.d.ts +2 -2
  448. package/lib/components/time-picker/src/time-picker.d.ts +7 -7
  449. package/lib/components/time-select/src/time-select.vue.d.ts +3 -3
  450. package/lib/components/tooltip/src/tooltip.d.ts +1 -1
  451. package/lib/components/tour/src/content.d.ts +1 -1
  452. package/lib/components/tour/src/step.d.ts +1 -1
  453. package/lib/components/tour/src/tour.d.ts +1 -1
  454. package/lib/components/tour/src/tour.vue.d.ts +2 -2
  455. package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
  456. package/lib/components/tree/src/tree-node.vue.d.ts +5 -5
  457. package/lib/components/tree/src/tree.vue.d.ts +5 -5
  458. package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
  459. package/lib/components/tree-select/src/tree-select.vue.d.ts +10 -10
  460. package/lib/hooks/use-floating/index.d.ts +8 -8
  461. package/lib/hooks/use-popper/index.d.ts +2 -2
  462. package/lib/pro/dialog/src/dialog.vue.d.ts +2 -2
  463. package/lib/pro/drawer/src/drawer.vue.d.ts +2 -2
  464. package/lib/pro/pro-table/src/pro-table.js.map +1 -1
  465. package/lib/pro/pro-table/src/pro-table.vue.d.ts +1 -0
  466. package/lib/pro/pro-table/src/pro-table.vue_vue_type_script_setup_true_lang.js +8 -7
  467. package/lib/pro/pro-table/src/pro-table.vue_vue_type_script_setup_true_lang.js.map +1 -1
  468. package/lib/utils/vue/size.d.ts +1 -1
  469. package/lib/version.d.ts +1 -1
  470. package/lib/version.js +1 -1
  471. package/lib/version.js.map +1 -1
  472. package/package.json +6 -5
  473. package/theme-chalk/base.css +1 -1
  474. package/theme-chalk/el-app-layout.css +1 -1
  475. package/theme-chalk/el-block.css +1 -1
  476. package/theme-chalk/el-button.css +1 -1
  477. package/theme-chalk/el-detail-page.css +1 -1
  478. package/theme-chalk/el-page-toolbar.css +1 -1
  479. package/theme-chalk/el-pro-dialog.css +1 -1
  480. package/theme-chalk/el-pro-drawer.css +1 -1
  481. package/theme-chalk/el-pro-table.css +1 -1
  482. package/theme-chalk/el-search-form.css +1 -1
  483. package/theme-chalk/el-section-title.css +1 -1
  484. package/theme-chalk/el-tree-panel.css +1 -1
  485. package/theme-chalk/el-var.css +1 -1
  486. package/theme-chalk/index.css +1 -1
  487. package/theme-chalk/src/app-layout.scss +329 -290
  488. package/theme-chalk/src/block.scss +12 -10
  489. package/theme-chalk/src/button.scss +3 -0
  490. package/theme-chalk/src/common/var.scss +15 -0
  491. package/theme-chalk/src/detail-page.scss +20 -18
  492. package/theme-chalk/src/page-toolbar.scss +25 -1
  493. package/theme-chalk/src/pro-dialog.scss +4 -4
  494. package/theme-chalk/src/pro-drawer.scss +1 -1
  495. package/theme-chalk/src/pro-table.scss +16 -75
  496. package/theme-chalk/src/search-form.scss +5 -6
  497. package/theme-chalk/src/section-title.scss +7 -7
  498. package/theme-chalk/src/tree-panel.scss +35 -30
  499. package/theme-chalk/src/var.scss +4 -0
  500. package/web-types.json +1 -1
@@ -8,16 +8,54 @@
8
8
  // 5. 暗色覆盖(文件末尾的 app-layout-dark)
9
9
 
10
10
  $base-sidebar-width: 200px;
11
- $base-menu-color-active: #ffffff;
11
+ $base-menu-color-active: getCssVar('color-white');
12
12
  $base-sub-menu-background: transparent;
13
- $menu-chip-radius: 8px;
13
+ $menu-chip-radius: calc(#{getCssVar('border-radius-base')} * 2);
14
+
15
+ // 只属于布局的颜色,不放进全局变量
16
+ $layout-menu-bg: #1a1f2e;
17
+ $layout-menu-text: #bfcbd9;
18
+ $layout-menu-text-light: #2c313a;
19
+ $layout-menu-hover-light: #f4f6f8;
20
+ $layout-tags-item-bg: #f3f5f8;
21
+ $layout-tags-item-border: #d8dce5;
22
+ $layout-tags-item-text: #495060;
23
+ $layout-tags-item-hover: #eeeeee;
24
+
25
+ $layout-dark-menu-bg: #12171f;
26
+ $layout-dark-menu-text: #c5ceda;
27
+ $layout-dark-menu-hover: rgba(231, 237, 245, 0.08);
28
+ $layout-dark-logo-text: #e7edf5;
29
+ $layout-dark-tags-item-bg: #1a2130;
30
+ $layout-dark-tags-item-border: #313b4d;
31
+ $layout-dark-tags-item-text: #8e9aab;
32
+ $layout-dark-tags-item-hover: #242c3a;
33
+ $layout-dark-bg: #1a2130;
34
+ $layout-dark-bg-overlay: #242c3b;
35
+ $layout-dark-bg-page: #090c11;
36
+ $layout-dark-text: #e7edf5;
37
+ $layout-dark-text-regular: #c3ccd8;
38
+ $layout-dark-text-secondary: #8e9aab;
39
+ $layout-dark-text-placeholder: #6d7a8c;
40
+ $layout-dark-text-disabled: #4e5968;
41
+ $layout-dark-border: #3a4558;
42
+ $layout-dark-border-light: #313b4d;
43
+ $layout-dark-border-lighter: #2a3344;
44
+ $layout-dark-border-extra-light: #232b3a;
45
+ $layout-dark-fill-blank: #1a2130;
46
+ $layout-dark-fill-extra-light: #1e2633;
47
+ $layout-dark-fill-lighter: #151b26;
48
+ $layout-dark-fill-light: #222a38;
49
+ $layout-dark-fill: #2a3344;
50
+ $layout-dark-fill-dark: #323d52;
51
+ $layout-dark-fill-darker: #3c4860;
14
52
 
15
53
  // 顶栏菜单项:32px 圆角色块。调用方传入文字色和底色。
16
54
  @mixin horizontal-menu-chip($color, $background) {
17
- height: 32px !important;
18
- line-height: 32px !important;
19
- margin: 0 2px !important;
20
- padding: 0 14px !important;
55
+ height: getCssVar('component-size') !important;
56
+ line-height: getCssVar('component-size') !important;
57
+ margin: 0 getCssVar('spacing-xs') !important;
58
+ padding: 0 getCssVar('spacing-lg') !important;
21
59
  border: none !important;
22
60
  border-radius: $menu-chip-radius;
23
61
  color: $color !important;
@@ -36,41 +74,41 @@ $menu-chip-radius: 8px;
36
74
 
37
75
  // —— 1. 色彩变量 ——
38
76
  &.app-wrapper {
39
- --nkep-menu-bg: #1a1f2e;
40
- --nkep-menu-text: #bfcbd9;
41
- --nkep-logo-bg: #1a1f2e;
42
- --nkep-logo-text: #ffffff;
43
- --navbar-bg: #ffffff;
44
- --navbar-text: #303133;
45
- --tags-bg: #ffffff;
46
- --tags-item-bg: #f3f5f8;
47
- --tags-item-border: #d8dce5;
48
- --tags-item-text: #495060;
49
- --tags-item-hover: #eeeeee;
50
- --menu-active-text: var(--current-color, #409eff);
77
+ --nkep-menu-bg: #{$layout-menu-bg};
78
+ --nkep-menu-text: #{$layout-menu-text};
79
+ --nkep-logo-bg: #{$layout-menu-bg};
80
+ --nkep-logo-text: #{getCssVar('color-white')};
81
+ --navbar-bg: #{getCssVar('color-white')};
82
+ --navbar-text: #{getCssVar('text-color-primary')};
83
+ --tags-bg: #{getCssVar('color-white')};
84
+ --tags-item-bg: #{$layout-tags-item-bg};
85
+ --tags-item-border: #{$layout-tags-item-border};
86
+ --tags-item-text: #{$layout-tags-item-text};
87
+ --tags-item-hover: #{$layout-tags-item-hover};
88
+ --menu-active-text: var(--current-color, #{getCssVar('color-primary')});
51
89
  }
52
90
 
53
91
  &.app-wrapper .sidebar-container.theme-light {
54
- --nkep-menu-bg: #ffffff;
55
- --nkep-menu-text: #2c313a;
56
- --nkep-menu-hover: #f4f6f8;
57
- --nkep-logo-bg: #ffffff;
58
- --nkep-logo-text: #303133;
92
+ --nkep-menu-bg: #{getCssVar('color-white')};
93
+ --nkep-menu-text: #{$layout-menu-text-light};
94
+ --nkep-menu-hover: #{$layout-menu-hover-light};
95
+ --nkep-logo-bg: #{getCssVar('color-white')};
96
+ --nkep-logo-text: #{getCssVar('text-color-primary')};
59
97
  }
60
98
 
61
99
  &.app-wrapper .navbar.nav3 .sidebar-logo-container {
62
- --nkep-logo-bg: #ffffff;
63
- --nkep-logo-text: #303133;
100
+ --nkep-logo-bg: #{getCssVar('color-white')};
101
+ --nkep-logo-text: #{getCssVar('text-color-primary')};
64
102
  }
65
103
 
66
104
  &.theme-dark:not(.sidebar-container) {
67
- --nkep-menu-bg: #1a1f2e;
68
- --nkep-menu-text: #bfcbd9;
105
+ --nkep-menu-bg: #{$layout-menu-bg};
106
+ --nkep-menu-text: #{$layout-menu-text};
69
107
  }
70
108
 
71
109
  &.theme-light:not(.sidebar-container) {
72
- --nkep-menu-bg: #ffffff;
73
- --nkep-menu-text: #303133;
110
+ --nkep-menu-bg: #{getCssVar('color-white')};
111
+ --nkep-menu-text: #{getCssVar('text-color-primary')};
74
112
  }
75
113
 
76
114
  // —— 2. 壳层与侧栏 ——
@@ -150,12 +188,12 @@ $menu-chip-radius: 8px;
150
188
  }
151
189
 
152
190
  .svg-icon {
153
- margin-right: 10px !important;
191
+ margin-right: getCssVar('spacing-md') !important;
154
192
  }
155
193
 
156
194
  .menu-title {
157
- font-size: 14px;
158
- font-weight: 500;
195
+ font-size: getCssVar('font-size-base');
196
+ font-weight: getCssVar('font-weight-primary');
159
197
  letter-spacing: 0.02em;
160
198
  }
161
199
 
@@ -170,8 +208,8 @@ $menu-chip-radius: 8px;
170
208
  overflow: hidden !important;
171
209
  text-overflow: ellipsis !important;
172
210
  white-space: nowrap !important;
173
- height: 44px !important;
174
- line-height: 44px !important;
211
+ height: getCssVar('component-size-large') !important;
212
+ line-height: getCssVar('component-size-large') !important;
175
213
  }
176
214
 
177
215
  .el-menu-item {
@@ -224,8 +262,8 @@ $menu-chip-radius: 8px;
224
262
  &::before {
225
263
  content: '';
226
264
  position: absolute;
227
- inset: 4px 8px;
228
- border-radius: 8px;
265
+ inset: getCssVar('spacing-xs') getCssVar('spacing-sm');
266
+ border-radius: $menu-chip-radius;
229
267
  background-color: var(--current-color-dark-bg, rgba(64, 158, 255, 0.18));
230
268
  pointer-events: none;
231
269
  z-index: 1;
@@ -233,7 +271,7 @@ $menu-chip-radius: 8px;
233
271
  }
234
272
 
235
273
  .el-sub-menu.is-active>.el-sub-menu__title {
236
- color: var(--current-color, #409eff) !important;
274
+ color: var(--current-color, getCssVar('color-primary')) !important;
237
275
  }
238
276
 
239
277
  .el-menu-item:not(.is-active),
@@ -244,8 +282,8 @@ $menu-chip-radius: 8px;
244
282
  &::before {
245
283
  content: '';
246
284
  position: absolute;
247
- inset: 4px 8px;
248
- border-radius: 8px;
285
+ inset: getCssVar('spacing-xs') getCssVar('spacing-sm');
286
+ border-radius: $menu-chip-radius;
249
287
  background-color: transparent;
250
288
  pointer-events: none;
251
289
  z-index: 1;
@@ -260,12 +298,12 @@ $menu-chip-radius: 8px;
260
298
 
261
299
  // theme-light 浅色主题
262
300
  &.theme-light {
263
- border-right: 1px solid #e8eaf0;
301
+ border-right: 1px solid getCssVar('border-color-lighter');
264
302
  box-shadow: none;
265
303
 
266
304
  .el-menu-item:not(.is-active),
267
305
  .el-sub-menu__title {
268
- color: var(--nkep-menu-text, #2c313a);
306
+ color: var(--nkep-menu-text, #{$layout-menu-text-light});
269
307
  }
270
308
 
271
309
  .el-menu-item:not(.is-active) .svg-icon,
@@ -280,26 +318,26 @@ $menu-chip-radius: 8px;
280
318
  }
281
319
 
282
320
  .el-menu-item.is-active .menu-title {
283
- font-weight: 600;
321
+ font-weight: getCssVar('font-weight-bold');
284
322
  }
285
323
 
286
324
  .el-menu-item.is-active {
287
- color: var(--current-color, #409eff) !important;
325
+ color: var(--current-color, getCssVar('color-primary')) !important;
288
326
  position: relative;
289
327
 
290
328
  &::before {
291
329
  content: '';
292
330
  position: absolute;
293
- inset: 4px 8px;
294
- border-radius: 8px;
295
- background-color: var(--current-color-light, #ecf5ff);
331
+ inset: getCssVar('spacing-xs') getCssVar('spacing-sm');
332
+ border-radius: $menu-chip-radius;
333
+ background-color: var(--current-color-light, #{getCssVar('color-primary-light-9')});
296
334
  pointer-events: none;
297
335
  z-index: 1;
298
336
  }
299
337
  }
300
338
 
301
339
  .el-sub-menu.is-active>.el-sub-menu__title {
302
- color: var(--current-color, #409eff) !important;
340
+ color: var(--current-color, getCssVar('color-primary')) !important;
303
341
  }
304
342
 
305
343
  .el-menu-item:not(.is-active),
@@ -310,8 +348,8 @@ $menu-chip-radius: 8px;
310
348
  &::before {
311
349
  content: '';
312
350
  position: absolute;
313
- inset: 4px 8px;
314
- border-radius: 8px;
351
+ inset: getCssVar('spacing-xs') getCssVar('spacing-sm');
352
+ border-radius: $menu-chip-radius;
315
353
  background-color: transparent;
316
354
  pointer-events: none;
317
355
  z-index: 1;
@@ -320,11 +358,11 @@ $menu-chip-radius: 8px;
320
358
 
321
359
  &:hover {
322
360
  background-color: transparent !important;
323
- color: var(--nkep-menu-text, #2c313a) !important;
361
+ color: var(--nkep-menu-text, #{$layout-menu-text-light}) !important;
324
362
  }
325
363
 
326
364
  &:hover::before {
327
- background-color: var(--nkep-menu-hover, #f4f6f8);
365
+ background-color: var(--nkep-menu-hover, #{$layout-menu-hover-light});
328
366
  }
329
367
  }
330
368
 
@@ -356,7 +394,7 @@ $menu-chip-radius: 8px;
356
394
  padding: 0 !important;
357
395
 
358
396
  .svg-icon {
359
- margin-left: 20px;
397
+ margin-left: getCssVar('spacing-xl');
360
398
  }
361
399
 
362
400
  }
@@ -369,7 +407,7 @@ $menu-chip-radius: 8px;
369
407
  padding: 0 !important;
370
408
 
371
409
  .svg-icon {
372
- margin-left: 20px;
410
+ margin-left: getCssVar('spacing-xl');
373
411
  }
374
412
 
375
413
  }
@@ -436,7 +474,7 @@ $menu-chip-radius: 8px;
436
474
  &.el-menu--vertical {
437
475
  &>.el-menu {
438
476
  .svg-icon {
439
- margin-right: 16px;
477
+ margin-right: getCssVar('spacing-lg');
440
478
  }
441
479
  }
442
480
 
@@ -454,16 +492,16 @@ $menu-chip-radius: 8px;
454
492
  overflow-y: auto;
455
493
 
456
494
  &::-webkit-scrollbar-track-piece {
457
- background: #d3dce6;
495
+ background: getCssVar('border-color');
458
496
  }
459
497
 
460
498
  &::-webkit-scrollbar {
461
- width: 6px;
499
+ width: getCssVar('spacing-sm');
462
500
  }
463
501
 
464
502
  &::-webkit-scrollbar-thumb {
465
- background: #99a9bf;
466
- border-radius: 20px;
503
+ background: getCssVar('text-color-placeholder');
504
+ border-radius: getCssVar('border-radius-round');
467
505
  }
468
506
  }
469
507
  }
@@ -489,7 +527,7 @@ $menu-chip-radius: 8px;
489
527
  }
490
528
 
491
529
  .drawer-bg {
492
- background: #000;
530
+ background: getCssVar('color-black');
493
531
  opacity: 0.3;
494
532
  width: 100%;
495
533
  top: 0;
@@ -528,8 +566,8 @@ $menu-chip-radius: 8px;
528
566
  width: 100%;
529
567
  position: relative;
530
568
  overflow: hidden;
531
- padding: 16px;
532
- background: var(--el-bg-color-page, #f2f3f5);
569
+ padding: getCssVar('spacing-lg');
570
+ background: var(--el-bg-color-page, getCssVar('bg-color-page'));
533
571
  }
534
572
 
535
573
  .fixed-header+.app-main {
@@ -587,30 +625,30 @@ $menu-chip-radius: 8px;
587
625
  }
588
626
 
589
627
  & ::-webkit-scrollbar {
590
- width: 6px;
591
- height: 6px;
628
+ width: getCssVar('spacing-sm');
629
+ height: getCssVar('spacing-sm');
592
630
  }
593
631
 
594
632
  & ::-webkit-scrollbar-track {
595
- background-color: #f1f1f1;
633
+ background-color: getCssVar('fill-color-light');
596
634
  }
597
635
 
598
636
  & ::-webkit-scrollbar-thumb {
599
- background-color: #c0c0c0;
600
- border-radius: 3px;
637
+ background-color: getCssVar('text-color-disabled');
638
+ border-radius: getCssVar('border-radius-base');
601
639
  }
602
640
 
603
641
  // —— 4. 顶栏与四种导航 ——
604
642
  &.navbar.nav3,
605
643
  .navbar.nav3 {
606
- padding-left: 10px;
644
+ padding-left: getCssVar('spacing-md');
607
645
 
608
646
  .hamburger-container {
609
647
  display: none !important;
610
648
  }
611
649
 
612
650
  .topbar-container .svg-icon {
613
- margin-right: 5px !important;
651
+ margin-right: getCssVar('spacing-xs') !important;
614
652
  }
615
653
  }
616
654
 
@@ -625,8 +663,8 @@ $menu-chip-radius: 8px;
625
663
  width: 100%;
626
664
  height: 50px;
627
665
  padding-left: 0;
628
- background: var(--nav4-bar-bg, #1a1f2e);
629
- color: #fff;
666
+ background: var(--nav4-bar-bg, #{$layout-menu-bg});
667
+ color: getCssVar('color-white');
630
668
  border-bottom: none;
631
669
 
632
670
  .sidebar-logo-container {
@@ -639,12 +677,11 @@ $menu-chip-radius: 8px;
639
677
  text-align: center;
640
678
  transition: width 0.28s, flex-basis 0.28s;
641
679
  --nkep-logo-bg: transparent;
642
- --nkep-logo-text: #fff;
643
680
  }
644
681
 
645
682
  .hamburger-container {
646
683
  order: 2;
647
- color: #fff;
684
+ color: getCssVar('color-white');
648
685
 
649
686
  &:hover {
650
687
  background: rgba(255, 255, 255, 0.14);
@@ -661,16 +698,16 @@ $menu-chip-radius: 8px;
661
698
  align-items: center;
662
699
  background: transparent;
663
700
  --el-menu-bg-color: transparent;
664
- --el-menu-text-color: #fff;
701
+ --el-menu-text-color: getCssVar('color-white');
665
702
  --el-menu-hover-bg-color: transparent;
666
- --el-menu-active-color: #fff;
703
+ --el-menu-active-color: getCssVar('color-white');
667
704
  }
668
705
 
669
706
  .right-menu {
670
707
  order: 4;
671
708
 
672
709
  .right-menu-item {
673
- color: #fff;
710
+ color: getCssVar('color-white');
674
711
 
675
712
  &.hover-effect:hover {
676
713
  background: rgba(255, 255, 255, 0.14);
@@ -678,7 +715,7 @@ $menu-chip-radius: 8px;
678
715
  }
679
716
 
680
717
  .user-nickname {
681
- color: #fff;
718
+ color: getCssVar('color-white');
682
719
  }
683
720
  }
684
721
  }
@@ -709,7 +746,7 @@ $menu-chip-radius: 8px;
709
746
 
710
747
  /* 顶部菜单下拉层挂在 body 上,不在顶栏内部 */
711
748
  &.el-menu--horizontal.el-menu--popup-container .svg-icon {
712
- margin-right: 10px;
749
+ margin-right: getCssVar('spacing-md');
713
750
  }
714
751
 
715
752
  &.navbar,
@@ -726,7 +763,7 @@ $menu-chip-radius: 8px;
726
763
  box-sizing: border-box;
727
764
 
728
765
  .hamburger-container {
729
- line-height: 46px;
766
+ line-height: getCssVar('font-line-height-primary');
730
767
  height: 100%;
731
768
  cursor: pointer;
732
769
  transition: background 0.3s;
@@ -734,11 +771,11 @@ $menu-chip-radius: 8px;
734
771
  display: flex;
735
772
  align-items: center;
736
773
  flex-shrink: 0;
737
- margin-right: 8px;
774
+ margin-right: getCssVar('spacing-sm');
738
775
 
739
776
  &:hover {
740
777
  background: rgba(15, 23, 42, 0.04);
741
- border-radius: 8px;
778
+ border-radius: $menu-chip-radius;
742
779
  }
743
780
  }
744
781
 
@@ -757,7 +794,7 @@ $menu-chip-radius: 8px;
757
794
  display: flex;
758
795
  align-items: center;
759
796
  overflow: hidden;
760
- margin-left: 8px;
797
+ margin-left: getCssVar('spacing-sm');
761
798
  }
762
799
 
763
800
  .right-menu {
@@ -773,10 +810,10 @@ $menu-chip-radius: 8px;
773
810
 
774
811
  .right-menu-item {
775
812
  display: inline-block;
776
- padding: 0 8px;
813
+ padding: 0 getCssVar('spacing-sm');
777
814
  height: 100%;
778
- font-size: 18px;
779
- color: #5a5e66;
815
+ font-size: getCssVar('font-size-large');
816
+ color: getCssVar('text-color-regular');
780
817
  vertical-align: text-bottom;
781
818
 
782
819
  &.hover-effect {
@@ -785,7 +822,7 @@ $menu-chip-radius: 8px;
785
822
 
786
823
  &:hover {
787
824
  background: rgba(15, 23, 42, 0.04);
788
- border-radius: 8px;
825
+ border-radius: $menu-chip-radius;
789
826
  }
790
827
  }
791
828
 
@@ -808,8 +845,8 @@ $menu-chip-radius: 8px;
808
845
  padding-right: 0px;
809
846
 
810
847
  .avatar-wrapper {
811
- margin-top: 10px;
812
- right: 8px;
848
+ margin-top: getCssVar('spacing-md');
849
+ right: getCssVar('spacing-sm');
813
850
  position: relative;
814
851
  outline: none;
815
852
 
@@ -820,9 +857,9 @@ $menu-chip-radius: 8px;
820
857
 
821
858
  .user-avatar {
822
859
  cursor: pointer;
823
- width: 28px;
824
- height: 28px;
825
- margin-right: 8px;
860
+ width: getCssVar('component-size');
861
+ height: getCssVar('component-size');
862
+ margin-right: getCssVar('spacing-sm');
826
863
  border-radius: 50%;
827
864
  box-shadow: none;
828
865
  }
@@ -830,18 +867,18 @@ $menu-chip-radius: 8px;
830
867
  .user-nickname {
831
868
  position: relative;
832
869
  left: 0px;
833
- bottom: 10px;
834
- font-size: 14px;
835
- font-weight: 500;
870
+ bottom: getCssVar('spacing-md');
871
+ font-size: getCssVar('font-size-base');
872
+ font-weight: getCssVar('font-weight-primary');
836
873
  letter-spacing: 0.01em;
837
874
  }
838
875
 
839
876
  i {
840
877
  cursor: pointer;
841
878
  position: absolute;
842
- right: -20px;
843
- top: 25px;
844
- font-size: 12px;
879
+ right: calc(#{getCssVar('spacing-xl')} * -1);
880
+ top: getCssVar('spacing-xxl');
881
+ font-size: getCssVar('font-size-extra-small');
845
882
  }
846
883
  }
847
884
  }
@@ -850,13 +887,13 @@ $menu-chip-radius: 8px;
850
887
 
851
888
  // —— 5. 设置抽屉 ——
852
889
  .setting-drawer-title {
853
- margin-bottom: 12px;
890
+ margin-bottom: getCssVar('spacing-md');
854
891
  color: var(--el-text-color-primary, rgba(0, 0, 0, 0.85));
855
- line-height: 22px;
856
- font-weight: bold;
892
+ line-height: getCssVar('font-line-height-primary');
893
+ font-weight: getCssVar('font-weight-bold');
857
894
 
858
895
  .drawer-title {
859
- font-size: 14px;
896
+ font-size: getCssVar('font-size-base');
860
897
  }
861
898
  }
862
899
 
@@ -864,18 +901,18 @@ $menu-chip-radius: 8px;
864
901
  display: flex;
865
902
  justify-content: flex-start;
866
903
  align-items: center;
867
- margin-top: 10px;
868
- margin-bottom: 20px;
904
+ margin-top: getCssVar('spacing-md');
905
+ margin-bottom: getCssVar('spacing-xl');
869
906
 
870
907
  .setting-drawer-block-checbox-item {
871
908
  position: relative;
872
- margin-right: 16px;
873
- border-radius: 2px;
909
+ margin-right: getCssVar('spacing-lg');
910
+ border-radius: getCssVar('border-radius-small');
874
911
  cursor: pointer;
875
912
 
876
913
  img {
877
- width: 48px;
878
- height: 48px;
914
+ width: calc(#{getCssVar('spacing-xxl')} * 2);
915
+ height: calc(#{getCssVar('spacing-xxl')} * 2);
879
916
  }
880
917
 
881
918
  .setting-drawer-block-checbox-selectIcon {
@@ -884,23 +921,23 @@ $menu-chip-radius: 8px;
884
921
  right: 0;
885
922
  width: 100%;
886
923
  height: 100%;
887
- padding-top: 15px;
888
- padding-left: 24px;
889
- color: #1890ff;
890
- font-weight: 700;
891
- font-size: 14px;
924
+ padding-top: getCssVar('spacing-lg');
925
+ padding-left: getCssVar('spacing-xxl');
926
+ color: getCssVar('color-primary');
927
+ font-weight: getCssVar('font-weight-bold');
928
+ font-size: getCssVar('font-size-base');
892
929
  }
893
930
  }
894
931
  }
895
932
 
896
933
  .drawer-item {
897
934
  color: var(--el-text-color-regular, rgba(0, 0, 0, 0.65));
898
- padding: 12px 0;
899
- font-size: 14px;
935
+ padding: getCssVar('spacing-md') 0;
936
+ font-size: getCssVar('font-size-base');
900
937
 
901
938
  .comp-style {
902
939
  float: right;
903
- margin: -3px 8px 0px 0px;
940
+ margin: calc(#{getCssVar('spacing-xs')} * -1) getCssVar('spacing-sm') 0 0;
904
941
  }
905
942
  }
906
943
 
@@ -911,10 +948,10 @@ $menu-chip-radius: 8px;
911
948
 
912
949
  .nav-wrap {
913
950
  display: grid;
914
- grid-template-columns: repeat(4, 56px);
915
- gap: 12px;
916
- margin-top: 10px;
917
- margin-bottom: 20px;
951
+ grid-template-columns: repeat(4, calc(#{getCssVar('component-size-large')} + #{getCssVar('spacing-lg')}));
952
+ gap: getCssVar('spacing-md');
953
+ margin-top: getCssVar('spacing-md');
954
+ margin-bottom: getCssVar('spacing-xl');
918
955
 
919
956
  .activeItem {
920
957
  border: 2px solid var(--el-color-primary) !important;
@@ -925,10 +962,10 @@ $menu-chip-radius: 8px;
925
962
  flex-shrink: 0;
926
963
  margin-right: 0;
927
964
  cursor: pointer;
928
- width: 56px;
929
- height: 48px;
930
- border-radius: 4px;
931
- background: #f0f2f5;
965
+ width: calc(#{getCssVar('component-size-large')} + #{getCssVar('spacing-lg')});
966
+ height: calc(#{getCssVar('spacing-xxl')} * 2);
967
+ border-radius: getCssVar('border-radius-base');
968
+ background: getCssVar('fill-color');
932
969
  border: 2px solid transparent;
933
970
  }
934
971
 
@@ -936,7 +973,7 @@ $menu-chip-radius: 8px;
936
973
  b:first-child {
937
974
  display: block;
938
975
  height: 30%;
939
- background: #fff;
976
+ background: getCssVar('color-white');
940
977
  }
941
978
 
942
979
  b:last-child {
@@ -945,13 +982,13 @@ $menu-chip-radius: 8px;
945
982
  position: absolute;
946
983
  height: 100%;
947
984
  top: 0;
948
- border-radius: 4px 0 0 4px;
985
+ border-radius: getCssVar('border-radius-base') 0 0 getCssVar('border-radius-base');
949
986
  }
950
987
  }
951
988
 
952
989
  .mix {
953
990
  b:first-child {
954
- border-radius: 4px 4px 0 0;
991
+ border-radius: getCssVar('border-radius-base') getCssVar('border-radius-base') 0 0;
955
992
  display: block;
956
993
  height: 30%;
957
994
  background: #1b2a47;
@@ -962,7 +999,7 @@ $menu-chip-radius: 8px;
962
999
  background: #1b2a47;
963
1000
  position: absolute;
964
1001
  height: 70%;
965
- border-radius: 0 0 0 4px;
1002
+ border-radius: 0 0 0 getCssVar('border-radius-base');
966
1003
  }
967
1004
  }
968
1005
 
@@ -971,7 +1008,7 @@ $menu-chip-radius: 8px;
971
1008
  display: block;
972
1009
  height: 30%;
973
1010
  background: #1b2a47;
974
- border-radius: 4px 4px 0 0;
1011
+ border-radius: getCssVar('border-radius-base') getCssVar('border-radius-base') 0 0;
975
1012
  }
976
1013
  }
977
1014
 
@@ -980,16 +1017,16 @@ $menu-chip-radius: 8px;
980
1017
  display: block;
981
1018
  height: 30%;
982
1019
  background: #1b2a47;
983
- border-radius: 4px 4px 0 0;
1020
+ border-radius: getCssVar('border-radius-base') getCssVar('border-radius-base') 0 0;
984
1021
  }
985
1022
 
986
1023
  b:last-child {
987
1024
  width: 30%;
988
- background: #fff;
1025
+ background: getCssVar('color-white');
989
1026
  position: absolute;
990
1027
  height: 70%;
991
1028
  bottom: 0;
992
- border-radius: 0 0 0 4px;
1029
+ border-radius: 0 0 0 getCssVar('border-radius-base');
993
1030
  }
994
1031
  }
995
1032
  }
@@ -1019,7 +1056,7 @@ $menu-chip-radius: 8px;
1019
1056
  color: var(--nkep-menu-text);
1020
1057
 
1021
1058
  &.is-active {
1022
- color: var(--menu-active-text, #409eff);
1059
+ color: var(--menu-active-text, getCssVar('color-primary'));
1023
1060
  background-color: transparent !important;
1024
1061
  }
1025
1062
  }
@@ -1050,11 +1087,11 @@ $menu-chip-radius: 8px;
1050
1087
  text-decoration: none;
1051
1088
 
1052
1089
  & .sidebar-logo {
1053
- width: 32px;
1054
- height: 32px;
1090
+ width: getCssVar('component-size');
1091
+ height: getCssVar('component-size');
1055
1092
  flex-shrink: 0;
1056
1093
  vertical-align: middle;
1057
- margin-right: 12px;
1094
+ margin-right: getCssVar('spacing-md');
1058
1095
  transition: margin-right 0.28s;
1059
1096
  }
1060
1097
 
@@ -1066,9 +1103,9 @@ $menu-chip-radius: 8px;
1066
1103
  white-space: nowrap;
1067
1104
  opacity: 1;
1068
1105
  color: var(--nkep-logo-text);
1069
- font-weight: 600;
1106
+ font-weight: getCssVar('font-weight-bold');
1070
1107
  line-height: 50px;
1071
- font-size: 16px;
1108
+ font-size: getCssVar('font-size-medium');
1072
1109
  letter-spacing: 0.04em;
1073
1110
  font-family: "Segoe UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
1074
1111
  vertical-align: middle;
@@ -1095,18 +1132,18 @@ $menu-chip-radius: 8px;
1095
1132
  .tags-view-container {
1096
1133
  height: $tags-bar-height;
1097
1134
  width: 100%;
1098
- background: var(--tags-bg, #fff);
1099
- border-bottom: 1px solid var(--tags-item-border, #d8dce5);
1135
+ background: var(--tags-bg, getCssVar('color-white'));
1136
+ border-bottom: 1px solid var(--tags-item-border, #{$layout-tags-item-border});
1100
1137
  display: flex;
1101
1138
  align-items: center;
1102
1139
  overflow: hidden;
1103
1140
 
1104
- $btn-width: 28px;
1105
- $btn-color: #71717a;
1106
- $btn-hover-bg: #f0f2f5;
1107
- $btn-hover-color: #303133;
1108
- $btn-disabled-color: #c0c4cc;
1109
- $divider: 1px solid var(--tags-item-border, #d8dce5);
1141
+ $btn-width: getCssVar('component-size-small');
1142
+ $btn-color: getCssVar('text-color-secondary');
1143
+ $btn-hover-bg: getCssVar('fill-color');
1144
+ $btn-hover-color: getCssVar('text-color-primary');
1145
+ $btn-disabled-color: getCssVar('text-color-disabled');
1146
+ $divider: 1px solid var(--tags-item-border, #{$layout-tags-item-border});
1110
1147
 
1111
1148
  .tags-nav-btn {
1112
1149
  flex-shrink: 0;
@@ -1117,7 +1154,7 @@ $menu-chip-radius: 8px;
1117
1154
  height: $tags-bar-height;
1118
1155
  cursor: pointer;
1119
1156
  color: $btn-color;
1120
- font-size: 13px;
1157
+ font-size: getCssVar('font-size-small');
1121
1158
  user-select: none;
1122
1159
  transition: background 0.15s, color 0.15s;
1123
1160
 
@@ -1153,41 +1190,41 @@ $menu-chip-radius: 8px;
1153
1190
  height: 26px;
1154
1191
  line-height: 26px;
1155
1192
  border: 1px solid transparent;
1156
- color: var(--tags-item-text, #495060);
1157
- background: var(--tags-item-bg, #f3f5f8);
1158
- padding: 0 10px;
1159
- font-size: 12px;
1160
- font-weight: 500;
1161
- margin-left: 6px;
1162
- border-radius: 6px;
1193
+ color: var(--tags-item-text, #{$layout-tags-item-text});
1194
+ background: var(--tags-item-bg, #{$layout-tags-item-bg});
1195
+ padding: 0 getCssVar('spacing-md');
1196
+ font-size: getCssVar('font-size-extra-small');
1197
+ font-weight: getCssVar('font-weight-primary');
1198
+ margin-left: getCssVar('spacing-sm');
1199
+ border-radius: getCssVar('border-radius-base');
1163
1200
  text-decoration: none;
1164
1201
  vertical-align: middle;
1165
- padding-top: 2px !important;
1202
+ padding-top: 0 !important;
1166
1203
 
1167
1204
  &:first-of-type {
1168
- margin-left: 6px;
1205
+ margin-left: getCssVar('spacing-sm');
1169
1206
  }
1170
1207
 
1171
1208
  &:last-of-type {
1172
- margin-right: 15px;
1209
+ margin-right: getCssVar('spacing-lg');
1173
1210
  }
1174
1211
  }
1175
1212
  }
1176
1213
 
1177
1214
  &:not(.tags-view-container--chrome) .tags-view-wrapper .tags-view-item.active {
1178
- background-color: var(--el-color-primary, #409eff);
1179
- color: #fff;
1215
+ background-color: var(--el-color-primary, getCssVar('color-primary'));
1216
+ color: getCssVar('color-white');
1180
1217
  border-color: transparent;
1181
1218
 
1182
1219
  &::before {
1183
1220
  content: '';
1184
- background: #fff;
1221
+ background: getCssVar('color-white');
1185
1222
  display: inline-block;
1186
- width: 8px;
1187
- height: 8px;
1223
+ width: getCssVar('spacing-sm');
1224
+ height: getCssVar('spacing-sm');
1188
1225
  border-radius: 50%;
1189
1226
  position: relative;
1190
- margin-right: 5px;
1227
+ margin-right: getCssVar('spacing-xs');
1191
1228
  }
1192
1229
  }
1193
1230
 
@@ -1209,7 +1246,7 @@ $menu-chip-radius: 8px;
1209
1246
  height: $tags-bar-height;
1210
1247
  cursor: pointer;
1211
1248
  color: $btn-color;
1212
- font-size: 13px;
1249
+ font-size: getCssVar('font-size-small');
1213
1250
  border-left: $divider;
1214
1251
  user-select: none;
1215
1252
  transition: background 0.15s, color 0.15s;
@@ -1226,36 +1263,36 @@ $menu-chip-radius: 8px;
1226
1263
 
1227
1264
  .contextmenu {
1228
1265
  margin: 0;
1229
- background: var(--el-bg-color-overlay, #fff);
1266
+ background: var(--el-bg-color-overlay, getCssVar('color-white'));
1230
1267
  z-index: 3000;
1231
1268
  position: fixed;
1232
1269
  list-style-type: none;
1233
- padding: 5px 0;
1234
- border-radius: 4px;
1235
- font-size: 12px;
1270
+ padding: getCssVar('spacing-xs') 0;
1271
+ border-radius: getCssVar('border-radius-base');
1272
+ font-size: getCssVar('font-size-extra-small');
1236
1273
  font-weight: 400;
1237
- color: var(--tags-item-text, #333);
1274
+ color: var(--tags-item-text, getCssVar('text-color-primary'));
1238
1275
  box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
1239
- border: 1px solid var(--el-border-color-light, #e4e7ed);
1276
+ border: 1px solid var(--el-border-color-light, getCssVar('border-color-light'));
1240
1277
 
1241
1278
  li {
1242
1279
  margin: 0;
1243
- padding: 7px 16px;
1280
+ padding: getCssVar('spacing-sm') getCssVar('spacing-lg');
1244
1281
  cursor: pointer;
1245
1282
 
1246
1283
  &:hover {
1247
- background: var(--tags-item-hover, #eee);
1284
+ background: var(--tags-item-hover, getCssVar('fill-color-light'));
1248
1285
  }
1249
1286
  }
1250
1287
  }
1251
1288
 
1252
1289
  &.tags-view-container--chrome {
1253
- --chrome-strip-bg: #ffffff;
1254
- --chrome-strip-border: var(--el-border-color-lighter, #e4e7ed);
1290
+ --chrome-strip-bg: getCssVar('color-white');
1291
+ --chrome-strip-border: var(--el-border-color-lighter, getCssVar('border-color-light'));
1255
1292
  --chrome-tab-active-bg: var(--el-color-primary-light-9);
1256
- --chrome-tab-text: var(--el-text-color-regular, #606266);
1293
+ --chrome-tab-text: var(--el-text-color-regular, getCssVar('text-color-regular'));
1257
1294
  --chrome-tab-text-active: var(--el-color-primary);
1258
- --chrome-wing-r: 10px;
1295
+ --chrome-wing-r: #{getCssVar('spacing-md')};
1259
1296
 
1260
1297
  overflow: visible;
1261
1298
  background: var(--chrome-strip-bg);
@@ -1283,10 +1320,10 @@ $menu-chip-radius: 8px;
1283
1320
  height: 30px;
1284
1321
  min-height: 30px;
1285
1322
  margin: 0 0 -1px;
1286
- padding: 0 12px;
1287
- font-size: 13px;
1323
+ padding: 0 getCssVar('spacing-md');
1324
+ font-size: getCssVar('font-size-small');
1288
1325
  font-weight: 400;
1289
- line-height: 1.2;
1326
+ line-height: getCssVar('font-line-height-primary');
1290
1327
  border: none !important;
1291
1328
  border-radius: 0;
1292
1329
  background: transparent !important;
@@ -1323,30 +1360,30 @@ $menu-chip-radius: 8px;
1323
1360
  }
1324
1361
 
1325
1362
  &:first-of-type {
1326
- margin-left: 6px;
1363
+ margin-left: getCssVar('spacing-sm');
1327
1364
  }
1328
1365
 
1329
1366
  &:last-of-type {
1330
- margin-right: 10px;
1367
+ margin-right: getCssVar('spacing-md');
1331
1368
  }
1332
1369
 
1333
1370
  &:not(.active)+.tags-view-item:not(.active) {
1334
- border-left: 1px solid var(--el-border-color-lighter, #e4e7ed);
1335
- padding-left: 11px;
1371
+ border-left: 1px solid var(--el-border-color-lighter, getCssVar('border-color-light'));
1372
+ padding-left: getCssVar('spacing-md');
1336
1373
  }
1337
1374
 
1338
1375
  &:hover:not(.active) {
1339
- background: var(--el-fill-color-light, #f5f7fa) !important;
1340
- border-radius: 6px 6px 0 0;
1341
- color: var(--el-text-color-primary, #303133);
1376
+ background: var(--el-fill-color-light, getCssVar('fill-color-light')) !important;
1377
+ border-radius: getCssVar('border-radius-base') getCssVar('border-radius-base') 0 0;
1378
+ color: var(--el-text-color-primary, getCssVar('text-color-primary'));
1342
1379
  }
1343
1380
 
1344
1381
  &.active {
1345
1382
  height: 31px;
1346
1383
  min-height: 31px;
1347
- padding: 0 14px;
1384
+ padding: 0 getCssVar('spacing-lg');
1348
1385
  color: var(--chrome-tab-text-active) !important;
1349
- font-weight: 500;
1386
+ font-weight: getCssVar('font-weight-primary');
1350
1387
  background: var(--chrome-tab-active-bg) !important;
1351
1388
  border: none !important;
1352
1389
  border-radius: var(--chrome-wing-r) var(--chrome-wing-r) 0 0;
@@ -1371,9 +1408,9 @@ $menu-chip-radius: 8px;
1371
1408
  display: inline-flex;
1372
1409
  align-items: center;
1373
1410
  justify-content: center;
1374
- width: 16px;
1375
- height: 16px;
1376
- margin-left: 4px;
1411
+ width: getCssVar('spacing-lg');
1412
+ height: getCssVar('spacing-lg');
1413
+ margin-left: getCssVar('spacing-xs');
1377
1414
  border-radius: 50%;
1378
1415
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
1379
1416
  cursor: pointer;
@@ -1440,9 +1477,9 @@ $menu-chip-radius: 8px;
1440
1477
  &.topbar-menu .el-sub-menu .el-sub-menu__icon-arrow {
1441
1478
  position: static !important;
1442
1479
  right: auto;
1443
- margin-left: 8px;
1480
+ margin-left: getCssVar('spacing-sm');
1444
1481
  margin-top: 0px;
1445
- margin-right: 20px !important;
1482
+ margin-right: getCssVar('spacing-xl') !important;
1446
1483
  display: block !important;
1447
1484
  }
1448
1485
 
@@ -1453,13 +1490,13 @@ $menu-chip-radius: 8px;
1453
1490
 
1454
1491
  #{$nav4-menu}>.el-menu-item,
1455
1492
  #{$nav4-menu}>.el-sub-menu .el-sub-menu__title {
1456
- @include horizontal-menu-chip(#fff, transparent);
1493
+ @include horizontal-menu-chip(getCssVar('color-white'), transparent);
1457
1494
  }
1458
1495
 
1459
1496
  #{$nav4-menu}>.el-menu-item:not(.is-disabled):hover,
1460
1497
  #{$nav4-menu}>.el-menu-item:not(.is-disabled):focus,
1461
1498
  #{$nav4-menu}>.el-sub-menu .el-sub-menu__title:hover {
1462
- color: #fff !important;
1499
+ color: getCssVar('color-white') !important;
1463
1500
  border: none !important;
1464
1501
  background-color: rgba(255, 255, 255, 0.14) !important;
1465
1502
  }
@@ -1468,7 +1505,7 @@ $menu-chip-radius: 8px;
1468
1505
  #{$nav4-menu}>.el-sub-menu.is-active>.el-sub-menu__title,
1469
1506
  #{$nav4-menu}>.el-menu-item.is-active:hover,
1470
1507
  #{$nav4-menu}>.el-menu-item.is-active:focus {
1471
- color: #fff !important;
1508
+ color: getCssVar('color-white') !important;
1472
1509
  border: none !important;
1473
1510
  background-color: var(--top-menu-active-bg, rgba(255, 255, 255, 0.24)) !important;
1474
1511
  }
@@ -1494,7 +1531,7 @@ $menu-chip-radius: 8px;
1494
1531
  #{$nav3-menu}>div>a>.el-menu-item,
1495
1532
  #{$nav3-menu}>div>.el-sub-menu>.el-sub-menu__title,
1496
1533
  #{$nav3-menu}>.el-sub-menu>.el-sub-menu__title {
1497
- @include horizontal-menu-chip(#303133, transparent);
1534
+ @include horizontal-menu-chip(getCssVar('text-color-primary'), transparent);
1498
1535
  }
1499
1536
 
1500
1537
  #{$nav2-menu}>.el-menu-item:not(.is-disabled):hover,
@@ -1504,7 +1541,7 @@ $menu-chip-radius: 8px;
1504
1541
  #{$nav3-menu}>div>a>.el-menu-item:not(.is-disabled):focus,
1505
1542
  #{$nav3-menu}>div>.el-sub-menu>.el-sub-menu__title:hover,
1506
1543
  #{$nav3-menu}>.el-sub-menu>.el-sub-menu__title:hover {
1507
- color: #303133 !important;
1544
+ color: getCssVar('text-color-primary') !important;
1508
1545
  border: none !important;
1509
1546
  background-color: rgba(15, 23, 42, 0.06) !important;
1510
1547
  }
@@ -1518,32 +1555,32 @@ $menu-chip-radius: 8px;
1518
1555
  #{$nav3-menu}>.el-sub-menu.is-active>.el-sub-menu__title,
1519
1556
  #{$nav3-menu}>div>a>.el-menu-item.is-active:hover,
1520
1557
  #{$nav3-menu}>div>a>.el-menu-item.is-active:focus {
1521
- color: var(--current-color, #409eff) !important;
1558
+ color: var(--current-color, getCssVar('color-primary')) !important;
1522
1559
  border: none !important;
1523
1560
  background-color: var(--top-menu-active-bg, var(--current-color-light, rgba(64, 158, 255, 0.1))) !important;
1524
1561
  }
1525
1562
 
1526
1563
  /* 图标右间距 */
1527
1564
  &.topmenu-container .svg-icon {
1528
- margin-right: 4px;
1565
+ margin-right: getCssVar('spacing-xs');
1529
1566
  }
1530
1567
 
1531
1568
  /* topmenu more arrow */
1532
1569
  &.topmenu-container .el-sub-menu .el-sub-menu__icon-arrow {
1533
1570
  position: static;
1534
1571
  vertical-align: middle;
1535
- margin-left: 8px;
1572
+ margin-left: getCssVar('spacing-sm');
1536
1573
  margin-top: 0px;
1537
1574
  }
1538
1575
 
1539
1576
  // —— 8. 面包屑、折叠按钮、搜索 ——
1540
1577
  &.app-breadcrumb.el-breadcrumb {
1541
1578
  display: inline-block;
1542
- font-size: 14px;
1579
+ font-size: getCssVar('font-size-base');
1543
1580
  line-height: 50px;
1544
1581
 
1545
1582
  .no-redirect {
1546
- color: #97a8be;
1583
+ color: getCssVar('text-color-placeholder');
1547
1584
  cursor: text;
1548
1585
  }
1549
1586
  }
@@ -1552,8 +1589,8 @@ $menu-chip-radius: 8px;
1552
1589
  .hamburger {
1553
1590
  display: inline-block;
1554
1591
  vertical-align: middle;
1555
- width: 20px;
1556
- height: 20px;
1592
+ width: getCssVar('spacing-xl');
1593
+ height: getCssVar('spacing-xl');
1557
1594
  }
1558
1595
 
1559
1596
  .hamburger.is-active {
@@ -1562,49 +1599,49 @@ $menu-chip-radius: 8px;
1562
1599
 
1563
1600
  /* widgets\HeaderSearch\index.vue */
1564
1601
  .el-dialog__header {
1565
- padding: 6px !important;
1602
+ padding: getCssVar('spacing-sm') !important;
1566
1603
  }
1567
1604
 
1568
1605
  .highlight {
1569
- color: red;
1570
- font-weight: 600;
1606
+ color: getCssVar('color-danger');
1607
+ font-weight: getCssVar('font-weight-bold');
1571
1608
  }
1572
1609
 
1573
1610
  .is-active .highlight {
1574
1611
  color: rgba(255, 255, 255, 0.9);
1575
- font-weight: 600;
1612
+ font-weight: getCssVar('font-weight-bold');
1576
1613
  }
1577
1614
 
1578
1615
  &.header-search,
1579
1616
  .header-search {
1580
1617
  .search-icon {
1581
1618
  cursor: pointer;
1582
- font-size: 18px;
1619
+ font-size: getCssVar('font-size-large');
1583
1620
  vertical-align: middle;
1584
1621
  }
1585
1622
  }
1586
1623
 
1587
1624
  .result-count {
1588
- padding: 6px 16px 0;
1589
- font-size: 12px;
1590
- color: #aaa;
1625
+ padding: getCssVar('spacing-sm') getCssVar('spacing-lg') 0;
1626
+ font-size: getCssVar('font-size-extra-small');
1627
+ color: getCssVar('text-color-secondary');
1591
1628
 
1592
1629
  strong {
1593
- color: red;
1594
- font-weight: 600;
1630
+ color: getCssVar('color-danger');
1631
+ font-weight: getCssVar('font-weight-bold');
1595
1632
  }
1596
1633
  }
1597
1634
 
1598
1635
  .result-wrap {
1599
1636
  height: 280px;
1600
- margin: 4px 0;
1637
+ margin: getCssVar('spacing-xs') 0;
1601
1638
 
1602
1639
  .search-item {
1603
1640
  display: flex;
1604
- height: 48px;
1641
+ height: calc(#{getCssVar('spacing-xxl')} * 2);
1605
1642
  align-items: center;
1606
- padding-right: 10px;
1607
- border-radius: 4px;
1643
+ padding-right: getCssVar('spacing-md');
1644
+ border-radius: getCssVar('border-radius-base');
1608
1645
  transition: background 0.15s;
1609
1646
 
1610
1647
  .left {
@@ -1613,14 +1650,14 @@ $menu-chip-radius: 8px;
1613
1650
  flex-shrink: 0;
1614
1651
 
1615
1652
  .menu-icon {
1616
- width: 18px;
1617
- height: 18px;
1653
+ width: getCssVar('font-size-large');
1654
+ height: getCssVar('font-size-large');
1618
1655
  }
1619
1656
  }
1620
1657
 
1621
1658
  .search-info {
1622
- padding-left: 5px;
1623
- margin-top: 10px;
1659
+ padding-left: getCssVar('spacing-xs');
1660
+ margin-top: getCssVar('spacing-md');
1624
1661
  width: 100%;
1625
1662
  display: flex;
1626
1663
  flex-direction: column;
@@ -1630,15 +1667,15 @@ $menu-chip-radius: 8px;
1630
1667
 
1631
1668
  .menu-title,
1632
1669
  .menu-path {
1633
- height: 20px;
1670
+ height: getCssVar('spacing-xl');
1634
1671
  white-space: nowrap;
1635
1672
  overflow: hidden;
1636
1673
  text-overflow: ellipsis;
1637
1674
  }
1638
1675
 
1639
1676
  .menu-path {
1640
- color: #ccc;
1641
- font-size: 10px;
1677
+ color: getCssVar('text-color-disabled');
1678
+ font-size: getCssVar('font-size-extra-small');
1642
1679
  }
1643
1680
  }
1644
1681
  }
@@ -1655,24 +1692,24 @@ $menu-chip-radius: 8px;
1655
1692
  height: 100%;
1656
1693
 
1657
1694
  .empty-icon {
1658
- font-size: 42px;
1659
- color: #e0e0e0;
1660
- margin-bottom: 14px;
1695
+ font-size: getCssVar('component-size-large');
1696
+ color: getCssVar('border-color');
1697
+ margin-bottom: getCssVar('spacing-lg');
1661
1698
  }
1662
1699
 
1663
1700
  .empty-text {
1664
- font-size: 14px;
1665
- color: #999;
1666
- margin: 0 0 6px;
1701
+ font-size: getCssVar('font-size-base');
1702
+ color: getCssVar('text-color-secondary');
1703
+ margin: 0 0 getCssVar('spacing-sm');
1667
1704
 
1668
1705
  strong {
1669
- color: #666;
1706
+ color: getCssVar('text-color-regular');
1670
1707
  }
1671
1708
  }
1672
1709
 
1673
1710
  .empty-tip {
1674
- font-size: 12px;
1675
- color: #bbb;
1711
+ font-size: getCssVar('font-size-extra-small');
1712
+ color: getCssVar('text-color-placeholder');
1676
1713
  margin: 0;
1677
1714
  }
1678
1715
  }
@@ -1681,33 +1718,33 @@ $menu-chip-radius: 8px;
1681
1718
  .search-footer {
1682
1719
  display: flex;
1683
1720
  align-items: center;
1684
- gap: 28px;
1685
- padding: 10px 20px;
1686
- border-top: 1px solid #f0f0f0;
1687
- color: #999;
1688
- font-size: 12px;
1721
+ gap: getCssVar('spacing-xxl');
1722
+ padding: getCssVar('spacing-md') getCssVar('spacing-xl');
1723
+ border-top: 1px solid getCssVar('border-color-extra-light');
1724
+ color: getCssVar('text-color-secondary');
1725
+ font-size: getCssVar('font-size-extra-small');
1689
1726
 
1690
1727
  .shortcut-item {
1691
1728
  display: flex;
1692
1729
  align-items: center;
1693
- gap: 5px;
1730
+ gap: getCssVar('spacing-xs');
1694
1731
  }
1695
1732
 
1696
1733
  kbd {
1697
1734
  display: inline-flex;
1698
1735
  align-items: center;
1699
1736
  justify-content: center;
1700
- min-width: 20px;
1701
- height: 20px;
1702
- padding: 0 5px;
1703
- border: 1px solid #ddd;
1704
- border-radius: 4px;
1705
- background: #f7f7f7;
1706
- color: #555;
1707
- font-size: 11px;
1737
+ min-width: getCssVar('spacing-xl');
1738
+ height: getCssVar('spacing-xl');
1739
+ padding: 0 getCssVar('spacing-xs');
1740
+ border: 1px solid getCssVar('border-color');
1741
+ border-radius: getCssVar('border-radius-base');
1742
+ background: getCssVar('fill-color-light');
1743
+ color: getCssVar('text-color-regular');
1744
+ font-size: getCssVar('font-size-extra-small');
1708
1745
  font-family: inherit;
1709
1746
  line-height: 1;
1710
- box-shadow: 0 1px 0 #ccc;
1747
+ box-shadow: 0 1px 0 getCssVar('border-color-darker');
1711
1748
  }
1712
1749
  }
1713
1750
  }
@@ -1716,38 +1753,40 @@ $menu-chip-radius: 8px;
1716
1753
  // html.dark 与布局根上的 .is-dark 都会引入。
1717
1754
  // 页面最深,侧栏和顶栏居中,树和表格最浅。
1718
1755
  @mixin app-layout-dark {
1719
- --nkep-menu-bg: #12171f;
1720
- --nkep-menu-text: #c5ceda;
1721
- --nkep-logo-bg: #12171f;
1722
- --nkep-logo-text: #e7edf5;
1723
- --navbar-bg: #12171f;
1724
- --navbar-text: #e7edf5;
1725
- --top-menu-active-bg: color-mix(in srgb, var(--current-color, #409eff) 28%, transparent);
1726
- --tags-bg: #12171f;
1727
- --tags-item-bg: #1a2130;
1728
- --tags-item-border: #313b4d;
1729
- --tags-item-text: #8e9aab;
1730
- --tags-item-hover: #242c3a;
1731
- --menu-active-text: var(--current-color, #409eff);
1732
- --el-bg-color: #1a2130;
1733
- --el-bg-color-overlay: #242c3b;
1734
- --el-bg-color-page: #090c11;
1735
- --el-text-color-primary: #e7edf5;
1736
- --el-text-color-regular: #c3ccd8;
1737
- --el-text-color-secondary: #8e9aab;
1738
- --el-text-color-placeholder: #6d7a8c;
1739
- --el-text-color-disabled: #4e5968;
1740
- --el-border-color: #3a4558;
1741
- --el-border-color-light: #313b4d;
1742
- --el-border-color-lighter: #2a3344;
1743
- --el-border-color-extra-light: #232b3a;
1744
- --el-fill-color-blank: #1a2130;
1745
- --el-fill-color-extra-light: #1e2633;
1746
- --el-fill-color-lighter: #151b26;
1747
- --el-fill-color-light: #222a38;
1748
- --el-fill-color: #2a3344;
1749
- --el-fill-color-dark: #323d52;
1750
- --el-fill-color-darker: #3c4860;
1756
+ --nkep-menu-bg: #{$layout-dark-menu-bg};
1757
+ --nkep-menu-text: #{$layout-dark-menu-text};
1758
+ --nkep-logo-bg: #{$layout-dark-menu-bg};
1759
+ --nkep-logo-text: #{$layout-dark-logo-text};
1760
+ --navbar-bg: #{$layout-dark-menu-bg};
1761
+ --navbar-text: #{$layout-dark-logo-text};
1762
+ --top-menu-active-bg: color-mix(in srgb,
1763
+ var(--current-color, #{getCssVar('color-primary')}) 28%,
1764
+ transparent);
1765
+ --tags-bg: #{$layout-dark-menu-bg};
1766
+ --tags-item-bg: #{$layout-dark-tags-item-bg};
1767
+ --tags-item-border: #{$layout-dark-tags-item-border};
1768
+ --tags-item-text: #{$layout-dark-tags-item-text};
1769
+ --tags-item-hover: #{$layout-dark-tags-item-hover};
1770
+ --menu-active-text: var(--current-color, #{getCssVar('color-primary')});
1771
+ --el-bg-color: #{$layout-dark-bg};
1772
+ --el-bg-color-overlay: #{$layout-dark-bg-overlay};
1773
+ --el-bg-color-page: #{$layout-dark-bg-page};
1774
+ --el-text-color-primary: #{$layout-dark-text};
1775
+ --el-text-color-regular: #{$layout-dark-text-regular};
1776
+ --el-text-color-secondary: #{$layout-dark-text-secondary};
1777
+ --el-text-color-placeholder: #{$layout-dark-text-placeholder};
1778
+ --el-text-color-disabled: #{$layout-dark-text-disabled};
1779
+ --el-border-color: #{$layout-dark-border};
1780
+ --el-border-color-light: #{$layout-dark-border-light};
1781
+ --el-border-color-lighter: #{$layout-dark-border-lighter};
1782
+ --el-border-color-extra-light: #{$layout-dark-border-extra-light};
1783
+ --el-fill-color-blank: #{$layout-dark-fill-blank};
1784
+ --el-fill-color-extra-light: #{$layout-dark-fill-extra-light};
1785
+ --el-fill-color-lighter: #{$layout-dark-fill-lighter};
1786
+ --el-fill-color-light: #{$layout-dark-fill-light};
1787
+ --el-fill-color: #{$layout-dark-fill};
1788
+ --el-fill-color-dark: #{$layout-dark-fill-dark};
1789
+ --el-fill-color-darker: #{$layout-dark-fill-darker};
1751
1790
  --el-table-current-row-bg-color: color-mix(in srgb, var(--el-color-primary) 16%, var(--el-bg-color));
1752
1791
  --el-table-row-hover-bg-color: color-mix(in srgb, var(--el-color-primary) 8%, var(--el-bg-color));
1753
1792
 
@@ -1756,11 +1795,11 @@ $menu-chip-radius: 8px;
1756
1795
  &.theme-light:not(.sidebar-container),
1757
1796
  .sidebar-container.theme-light,
1758
1797
  .navbar.nav3 .sidebar-logo-container {
1759
- --nkep-menu-bg: #12171f;
1760
- --nkep-menu-text: #c5ceda;
1761
- --nkep-menu-hover: rgba(231, 237, 245, 0.08);
1762
- --nkep-logo-bg: #12171f;
1763
- --nkep-logo-text: #e7edf5;
1798
+ --nkep-menu-bg: #{$layout-dark-menu-bg};
1799
+ --nkep-menu-text: #{$layout-dark-menu-text};
1800
+ --nkep-menu-hover: #{$layout-dark-menu-hover};
1801
+ --nkep-logo-bg: #{$layout-dark-menu-bg};
1802
+ --nkep-logo-text: #{$layout-dark-logo-text};
1764
1803
  }
1765
1804
 
1766
1805
  .sidebar-container {
@@ -1800,20 +1839,20 @@ $menu-chip-radius: 8px;
1800
1839
  }
1801
1840
 
1802
1841
  .el-table__body tr.current-row>td.el-table__cell:first-child {
1803
- box-shadow: inset 3px 0 0 var(--el-color-primary);
1842
+ box-shadow: inset getCssVar('spacing-xs') 0 0 var(--el-color-primary);
1804
1843
  }
1805
1844
 
1806
1845
  // 顶部菜单(navType = 3):菜单条本身透明,选中文字避免被主题色盖住
1807
1846
  &.topbar-menu.el-menu--horizontal {
1808
1847
  --el-menu-bg-color: transparent;
1809
1848
  --el-menu-hover-bg-color: transparent;
1810
- --el-menu-text-color: #fff;
1849
+ --el-menu-text-color: getCssVar('color-white');
1811
1850
  background-color: transparent;
1812
1851
 
1813
1852
  >div>a>.el-menu-item.is-active .menu-title,
1814
1853
  >div>.el-sub-menu.is-active>.el-sub-menu__title .menu-title,
1815
1854
  >.el-sub-menu.is-active>.el-sub-menu__title .menu-title {
1816
- color: #fff !important;
1855
+ color: getCssVar('color-white') !important;
1817
1856
  }
1818
1857
  }
1819
1858
 
@@ -1833,7 +1872,7 @@ $menu-chip-radius: 8px;
1833
1872
  .el-menu-item.is-active,
1834
1873
  .el-sub-menu.is-active>.el-sub-menu__title {
1835
1874
  background-color: rgba(255, 255, 255, 0.08) !important;
1836
- color: #fff !important;
1875
+ color: getCssVar('color-white') !important;
1837
1876
  }
1838
1877
  }
1839
1878
 
@@ -1864,7 +1903,7 @@ $menu-chip-radius: 8px;
1864
1903
  #{$nav3-menu}>div>a>.el-menu-item:not(.is-disabled):focus,
1865
1904
  #{$nav3-menu}>div>.el-sub-menu>.el-sub-menu__title:hover,
1866
1905
  #{$nav3-menu}>.el-sub-menu>.el-sub-menu__title:hover {
1867
- color: #fff !important;
1906
+ color: getCssVar('color-white') !important;
1868
1907
  }
1869
1908
 
1870
1909
  // 暗色页签条