@kdcloudjs/kdesign 1.0.2 → 1.1.0

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 (452) hide show
  1. package/LICENSE +104 -105
  2. package/dist/default-theme.js +17 -12
  3. package/dist/kdesign-complete.less +3334 -1374
  4. package/dist/kdesign.css +2565 -1931
  5. package/dist/kdesign.css.map +1 -1
  6. package/dist/kdesign.js +783 -112
  7. package/dist/kdesign.js.map +1 -1
  8. package/dist/kdesign.min.css +4 -4
  9. package/dist/kdesign.min.js +6 -6
  10. package/dist/kdesign.min.js.map +1 -1
  11. package/es/alert/style/index.css +32 -30
  12. package/es/alert/style/index.less +36 -37
  13. package/es/alert/style/token.less +29 -0
  14. package/es/anchor/style/index.css +48 -34
  15. package/es/anchor/style/index.less +19 -16
  16. package/es/anchor/style/mixin.less +1 -0
  17. package/es/anchor/style/token.less +33 -0
  18. package/es/avatar/style/index.css +18 -18
  19. package/es/avatar/style/index.less +4 -25
  20. package/es/avatar/style/mixin.less +21 -4
  21. package/es/avatar/style/token.less +20 -0
  22. package/es/badge/style/index.css +38 -29
  23. package/es/badge/style/index.less +28 -30
  24. package/es/badge/style/mixin.less +1 -5
  25. package/es/badge/style/token.less +23 -0
  26. package/es/base-data/style/index.css +25 -16
  27. package/es/base-data/style/index.less +17 -17
  28. package/es/base-data/style/token.less +27 -0
  29. package/es/button/button.d.ts +1 -3
  30. package/es/button/button.js +3 -15
  31. package/es/button/style/index.css +80 -81
  32. package/es/button/style/index.less +43 -51
  33. package/es/button/style/mixin.less +6 -4
  34. package/es/button/style/token.less +88 -0
  35. package/es/card/card.d.ts +1 -0
  36. package/es/card/card.js +4 -1
  37. package/es/card/style/index.css +48 -23
  38. package/es/card/style/index.less +43 -23
  39. package/es/card/style/token.less +28 -0
  40. package/es/carousel/style/index.css +36 -30
  41. package/es/carousel/style/index.less +14 -6
  42. package/es/carousel/style/mixin.less +1 -4
  43. package/es/carousel/style/token.less +20 -0
  44. package/es/cascader/cascader.js +1 -1
  45. package/es/cascader/style/index.css +35 -26
  46. package/es/cascader/style/index.less +24 -23
  47. package/es/cascader/style/token.less +28 -0
  48. package/es/checkbox/style/index.css +86 -80
  49. package/es/checkbox/style/index.less +26 -27
  50. package/es/checkbox/style/token.less +48 -0
  51. package/es/city-picker/style/index.css +24 -14
  52. package/es/city-picker/style/index.less +16 -16
  53. package/es/city-picker/style/token.less +25 -0
  54. package/es/collapse/style/index.css +37 -26
  55. package/es/collapse/style/index.less +7 -5
  56. package/es/collapse/style/mixin.less +1 -5
  57. package/es/collapse/style/token.less +26 -0
  58. package/es/config-provider/compDefaultProps.d.ts +4 -1
  59. package/es/config-provider/compDefaultProps.js +5 -2
  60. package/es/date-picker/style/index.css +81 -72
  61. package/es/date-picker/style/index.less +36 -36
  62. package/es/date-picker/style/mixin.less +20 -18
  63. package/es/date-picker/style/token.less +71 -0
  64. package/es/drawer/drawer.d.ts +0 -1
  65. package/es/drawer/drawer.js +6 -26
  66. package/es/drawer/style/index.css +37 -31
  67. package/es/drawer/style/index.less +24 -39
  68. package/es/drawer/style/token.less +23 -0
  69. package/es/dropdown/dropdown.d.ts +1 -0
  70. package/es/dropdown/dropdown.js +13 -8
  71. package/es/dropdown/menu.d.ts +1 -1
  72. package/es/dropdown/menu.js +3 -3
  73. package/es/dropdown/style/index.css +57 -48
  74. package/es/dropdown/style/index.less +27 -24
  75. package/es/dropdown/style/token.less +26 -0
  76. package/es/empty/defaultEmptyImg.d.ts +2 -0
  77. package/es/empty/defaultEmptyImg.js +92 -0
  78. package/es/empty/empty.d.ts +5 -1
  79. package/es/empty/empty.js +10 -9
  80. package/es/empty/illustrationEmptyImg.d.ts +2 -0
  81. package/es/empty/illustrationEmptyImg.js +439 -0
  82. package/es/empty/style/index.css +12 -3
  83. package/es/empty/style/index.less +1 -1
  84. package/es/empty/style/token.less +12 -0
  85. package/es/filter/style/index.css +44 -32
  86. package/es/filter/style/index.less +34 -32
  87. package/es/filter/style/token.less +28 -0
  88. package/es/form/style/index.css +19 -10
  89. package/es/form/style/index.less +9 -6
  90. package/es/form/style/token.less +27 -0
  91. package/es/grid/style/index.css +9 -0
  92. package/es/image/style/index.css +32 -23
  93. package/es/image/style/index.less +23 -22
  94. package/es/image/style/token.less +45 -0
  95. package/es/image-cropper/style/index.css +9 -0
  96. package/es/image-cropper/style/index.less +1 -1
  97. package/es/index.d.ts +1 -0
  98. package/es/index.js +2 -1
  99. package/es/input/style/index.css +97 -88
  100. package/es/input/style/index.less +34 -31
  101. package/es/input/style/mixin.less +54 -47
  102. package/es/input/style/token.less +46 -0
  103. package/es/input-number/style/css.js +1 -0
  104. package/es/input-number/style/index.css +25 -16
  105. package/es/input-number/style/index.d.ts +1 -0
  106. package/es/input-number/style/index.js +1 -0
  107. package/es/input-number/style/index.less +12 -12
  108. package/es/input-number/style/mixin.less +4 -2
  109. package/es/input-number/style/token.less +20 -0
  110. package/es/layout/style/index.css +41 -32
  111. package/es/layout/style/index.less +9 -8
  112. package/es/layout/style/token.less +30 -0
  113. package/es/link/index.d.ts +3 -0
  114. package/es/link/index.js +3 -0
  115. package/es/link/link.d.ts +18 -0
  116. package/es/link/link.js +89 -0
  117. package/es/link/style/css.js +2 -0
  118. package/es/link/style/index.css +155 -0
  119. package/es/link/style/index.d.ts +2 -0
  120. package/es/link/style/index.js +2 -0
  121. package/es/link/style/index.less +61 -0
  122. package/es/link/style/mixin.less +7 -0
  123. package/es/link/style/token.less +24 -0
  124. package/es/menu/menuItem.js +1 -2
  125. package/es/menu/style/index.css +89 -80
  126. package/es/menu/style/index.less +51 -26
  127. package/es/menu/style/mixin.less +16 -19
  128. package/es/menu/style/token.less +32 -0
  129. package/es/message/style/index.css +23 -13
  130. package/es/message/style/index.less +15 -13
  131. package/es/message/style/token.less +21 -0
  132. package/es/modal/style/index.css +37 -28
  133. package/es/modal/style/index.less +16 -26
  134. package/es/modal/style/mixin.less +2 -0
  135. package/es/modal/style/token.less +46 -0
  136. package/es/notification/content.js +1 -1
  137. package/es/notification/style/index.css +34 -25
  138. package/es/notification/style/index.less +21 -20
  139. package/es/notification/style/token.less +28 -0
  140. package/es/pagination/pagination.js +2 -2
  141. package/es/pagination/style/index.css +159 -159
  142. package/es/pagination/style/index.less +104 -113
  143. package/es/pagination/style/token.less +28 -0
  144. package/es/popconfirm/style/index.css +54 -33
  145. package/es/popconfirm/style/index.less +41 -20
  146. package/es/popconfirm/style/token.less +28 -0
  147. package/es/progress/style/index.css +41 -27
  148. package/es/progress/style/index.less +24 -8
  149. package/es/progress/style/mixin.less +2 -1
  150. package/es/progress/style/token.less +40 -0
  151. package/es/radio/style/index.css +91 -76
  152. package/es/radio/style/index.less +76 -64
  153. package/es/radio/style/token.less +47 -0
  154. package/es/rate/style/index.css +26 -17
  155. package/es/rate/style/index.less +4 -3
  156. package/es/rate/style/token.less +18 -0
  157. package/es/search/style/index.css +103 -82
  158. package/es/search/style/index.less +49 -35
  159. package/es/search/style/mixin.less +4 -2
  160. package/es/search/style/token.less +60 -0
  161. package/es/select/select.js +3 -14
  162. package/es/select/style/index.css +46 -37
  163. package/es/select/style/index.less +10 -10
  164. package/es/select/style/mixin.less +4 -7
  165. package/es/select/style/token.less +43 -0
  166. package/es/slider/slider.js +5 -13
  167. package/es/slider/sliderTooltip.js +0 -1
  168. package/es/slider/style/index.css +21 -12
  169. package/es/slider/style/index.less +10 -10
  170. package/es/slider/style/mixin.less +3 -1
  171. package/es/slider/style/token.less +17 -0
  172. package/es/space/style/index.css +9 -0
  173. package/es/spin/style/index.css +23 -14
  174. package/es/spin/style/index.less +3 -2
  175. package/es/spin/style/mixin.less +1 -0
  176. package/es/spin/style/token.less +15 -0
  177. package/es/split-panel/style/index.css +35 -44
  178. package/es/split-panel/style/index.less +16 -34
  179. package/es/split-panel/style/token.less +23 -0
  180. package/es/stepper/style/index.css +50 -25
  181. package/es/stepper/style/index.less +45 -11
  182. package/es/stepper/style/mixin.less +7 -5
  183. package/es/stepper/style/token.less +28 -0
  184. package/es/steps/Steps.js +4 -1
  185. package/es/steps/style/index.css +74 -37
  186. package/es/steps/style/index.less +281 -189
  187. package/es/steps/style/token.less +31 -0
  188. package/es/style/mixins/index.less +10 -9
  189. package/es/style/mixins/overlay.less +2 -2
  190. package/es/style/themes/default.less +22 -12
  191. package/es/style/themes/token.less +128 -0
  192. package/es/switch/style/index.css +38 -29
  193. package/es/switch/style/index.less +17 -6
  194. package/es/switch/style/mixin.less +6 -5
  195. package/es/switch/style/token.less +45 -0
  196. package/es/tabs/style/index.css +59 -50
  197. package/es/tabs/style/index.less +3 -3
  198. package/es/tabs/style/mixin.less +2 -0
  199. package/es/tabs/style/token.less +32 -0
  200. package/es/tabs/tabs.js +3 -1
  201. package/es/tag/style/index.css +122 -113
  202. package/es/tag/style/index.less +19 -19
  203. package/es/tag/style/mixin.less +2 -1
  204. package/es/tag/style/token.less +42 -0
  205. package/es/timeline/style/index.css +40 -30
  206. package/es/timeline/style/index.less +33 -30
  207. package/es/timeline/style/token.less +45 -0
  208. package/es/tooltip/style/index.css +26 -17
  209. package/es/tooltip/style/index.less +6 -5
  210. package/es/tooltip/style/token.less +20 -0
  211. package/es/transfer/operation.js +2 -2
  212. package/es/transfer/style/index.css +37 -24
  213. package/es/transfer/style/index.less +4 -0
  214. package/es/transfer/style/mixins.less +2 -0
  215. package/es/transfer/style/token.less +29 -0
  216. package/es/tree/style/index.css +37 -37
  217. package/es/tree/style/index.less +8 -20
  218. package/es/tree/style/mixin.less +1 -5
  219. package/es/tree/style/token.less +27 -0
  220. package/es/typography/style/index.css +46 -53
  221. package/es/typography/style/index.less +15 -15
  222. package/es/typography/style/mixin.less +9 -11
  223. package/es/typography/style/token.less +38 -0
  224. package/es/upload/style/index.css +41 -31
  225. package/es/upload/style/index.less +27 -25
  226. package/es/upload/style/token.less +28 -0
  227. package/lib/alert/style/index.css +32 -30
  228. package/lib/alert/style/index.less +36 -37
  229. package/lib/alert/style/token.less +29 -0
  230. package/lib/anchor/style/index.css +48 -34
  231. package/lib/anchor/style/index.less +19 -16
  232. package/lib/anchor/style/mixin.less +1 -0
  233. package/lib/anchor/style/token.less +33 -0
  234. package/lib/avatar/style/index.css +18 -18
  235. package/lib/avatar/style/index.less +4 -25
  236. package/lib/avatar/style/mixin.less +21 -4
  237. package/lib/avatar/style/token.less +20 -0
  238. package/lib/badge/style/index.css +38 -29
  239. package/lib/badge/style/index.less +28 -30
  240. package/lib/badge/style/mixin.less +1 -5
  241. package/lib/badge/style/token.less +23 -0
  242. package/lib/base-data/style/index.css +25 -16
  243. package/lib/base-data/style/index.less +17 -17
  244. package/lib/base-data/style/token.less +27 -0
  245. package/lib/button/button.d.ts +1 -3
  246. package/lib/button/button.js +3 -15
  247. package/lib/button/style/index.css +80 -81
  248. package/lib/button/style/index.less +43 -51
  249. package/lib/button/style/mixin.less +6 -4
  250. package/lib/button/style/token.less +88 -0
  251. package/lib/card/card.d.ts +1 -0
  252. package/lib/card/card.js +4 -1
  253. package/lib/card/style/index.css +48 -23
  254. package/lib/card/style/index.less +43 -23
  255. package/lib/card/style/token.less +28 -0
  256. package/lib/carousel/style/index.css +36 -30
  257. package/lib/carousel/style/index.less +14 -6
  258. package/lib/carousel/style/mixin.less +1 -4
  259. package/lib/carousel/style/token.less +20 -0
  260. package/lib/cascader/cascader.js +1 -1
  261. package/lib/cascader/style/index.css +35 -26
  262. package/lib/cascader/style/index.less +24 -23
  263. package/lib/cascader/style/token.less +28 -0
  264. package/lib/checkbox/style/index.css +86 -80
  265. package/lib/checkbox/style/index.less +26 -27
  266. package/lib/checkbox/style/token.less +48 -0
  267. package/lib/city-picker/style/index.css +24 -14
  268. package/lib/city-picker/style/index.less +16 -16
  269. package/lib/city-picker/style/token.less +25 -0
  270. package/lib/collapse/style/index.css +37 -26
  271. package/lib/collapse/style/index.less +7 -5
  272. package/lib/collapse/style/mixin.less +1 -5
  273. package/lib/collapse/style/token.less +26 -0
  274. package/lib/config-provider/compDefaultProps.d.ts +4 -1
  275. package/lib/config-provider/compDefaultProps.js +5 -2
  276. package/lib/date-picker/style/index.css +81 -72
  277. package/lib/date-picker/style/index.less +36 -36
  278. package/lib/date-picker/style/mixin.less +20 -18
  279. package/lib/date-picker/style/token.less +71 -0
  280. package/lib/drawer/drawer.d.ts +0 -1
  281. package/lib/drawer/drawer.js +6 -26
  282. package/lib/drawer/style/index.css +37 -31
  283. package/lib/drawer/style/index.less +24 -39
  284. package/lib/drawer/style/token.less +23 -0
  285. package/lib/dropdown/dropdown.d.ts +1 -0
  286. package/lib/dropdown/dropdown.js +13 -8
  287. package/lib/dropdown/menu.d.ts +1 -1
  288. package/lib/dropdown/menu.js +3 -3
  289. package/lib/dropdown/style/index.css +57 -48
  290. package/lib/dropdown/style/index.less +27 -24
  291. package/lib/dropdown/style/token.less +26 -0
  292. package/lib/empty/defaultEmptyImg.d.ts +2 -0
  293. package/lib/empty/defaultEmptyImg.js +113 -0
  294. package/lib/empty/empty.d.ts +5 -1
  295. package/lib/empty/empty.js +13 -9
  296. package/lib/empty/illustrationEmptyImg.d.ts +2 -0
  297. package/lib/empty/illustrationEmptyImg.js +460 -0
  298. package/lib/empty/style/index.css +12 -3
  299. package/lib/empty/style/index.less +1 -1
  300. package/lib/empty/style/token.less +12 -0
  301. package/lib/filter/style/index.css +44 -32
  302. package/lib/filter/style/index.less +34 -32
  303. package/lib/filter/style/token.less +28 -0
  304. package/lib/form/style/index.css +19 -10
  305. package/lib/form/style/index.less +9 -6
  306. package/lib/form/style/token.less +27 -0
  307. package/lib/grid/style/index.css +9 -0
  308. package/lib/image/style/index.css +32 -23
  309. package/lib/image/style/index.less +23 -22
  310. package/lib/image/style/token.less +45 -0
  311. package/lib/image-cropper/style/index.css +9 -0
  312. package/lib/image-cropper/style/index.less +1 -1
  313. package/lib/index.d.ts +1 -0
  314. package/lib/index.js +8 -0
  315. package/lib/input/style/index.css +97 -88
  316. package/lib/input/style/index.less +34 -31
  317. package/lib/input/style/mixin.less +54 -47
  318. package/lib/input/style/token.less +46 -0
  319. package/lib/input-number/style/css.js +2 -0
  320. package/lib/input-number/style/index.css +25 -16
  321. package/lib/input-number/style/index.d.ts +1 -0
  322. package/lib/input-number/style/index.js +2 -0
  323. package/lib/input-number/style/index.less +12 -12
  324. package/lib/input-number/style/mixin.less +4 -2
  325. package/lib/input-number/style/token.less +20 -0
  326. package/lib/layout/style/index.css +41 -32
  327. package/lib/layout/style/index.less +9 -8
  328. package/lib/layout/style/token.less +30 -0
  329. package/lib/link/index.d.ts +3 -0
  330. package/lib/link/index.js +36 -0
  331. package/lib/link/link.d.ts +18 -0
  332. package/lib/link/link.js +120 -0
  333. package/lib/link/style/css.js +5 -0
  334. package/lib/link/style/index.css +155 -0
  335. package/lib/link/style/index.d.ts +2 -0
  336. package/lib/link/style/index.js +5 -0
  337. package/lib/link/style/index.less +61 -0
  338. package/lib/link/style/mixin.less +7 -0
  339. package/lib/link/style/token.less +24 -0
  340. package/lib/menu/menuItem.js +1 -2
  341. package/lib/menu/style/index.css +89 -80
  342. package/lib/menu/style/index.less +51 -26
  343. package/lib/menu/style/mixin.less +16 -19
  344. package/lib/menu/style/token.less +32 -0
  345. package/lib/message/style/index.css +23 -13
  346. package/lib/message/style/index.less +15 -13
  347. package/lib/message/style/token.less +21 -0
  348. package/lib/modal/style/index.css +37 -28
  349. package/lib/modal/style/index.less +16 -26
  350. package/lib/modal/style/mixin.less +2 -0
  351. package/lib/modal/style/token.less +46 -0
  352. package/lib/notification/content.js +1 -1
  353. package/lib/notification/style/index.css +34 -25
  354. package/lib/notification/style/index.less +21 -20
  355. package/lib/notification/style/token.less +28 -0
  356. package/lib/pagination/pagination.js +2 -2
  357. package/lib/pagination/style/index.css +159 -159
  358. package/lib/pagination/style/index.less +104 -113
  359. package/lib/pagination/style/token.less +28 -0
  360. package/lib/popconfirm/style/index.css +54 -33
  361. package/lib/popconfirm/style/index.less +41 -20
  362. package/lib/popconfirm/style/token.less +28 -0
  363. package/lib/progress/style/index.css +41 -27
  364. package/lib/progress/style/index.less +24 -8
  365. package/lib/progress/style/mixin.less +2 -1
  366. package/lib/progress/style/token.less +40 -0
  367. package/lib/radio/style/index.css +91 -76
  368. package/lib/radio/style/index.less +76 -64
  369. package/lib/radio/style/token.less +47 -0
  370. package/lib/rate/style/index.css +26 -17
  371. package/lib/rate/style/index.less +4 -3
  372. package/lib/rate/style/token.less +18 -0
  373. package/lib/search/style/index.css +103 -82
  374. package/lib/search/style/index.less +49 -35
  375. package/lib/search/style/mixin.less +4 -2
  376. package/lib/search/style/token.less +60 -0
  377. package/lib/select/select.js +3 -14
  378. package/lib/select/style/index.css +46 -37
  379. package/lib/select/style/index.less +10 -10
  380. package/lib/select/style/mixin.less +4 -7
  381. package/lib/select/style/token.less +43 -0
  382. package/lib/slider/slider.js +5 -13
  383. package/lib/slider/sliderTooltip.js +0 -1
  384. package/lib/slider/style/index.css +21 -12
  385. package/lib/slider/style/index.less +10 -10
  386. package/lib/slider/style/mixin.less +3 -1
  387. package/lib/slider/style/token.less +17 -0
  388. package/lib/space/style/index.css +9 -0
  389. package/lib/spin/style/index.css +23 -14
  390. package/lib/spin/style/index.less +3 -2
  391. package/lib/spin/style/mixin.less +1 -0
  392. package/lib/spin/style/token.less +15 -0
  393. package/lib/split-panel/style/index.css +35 -44
  394. package/lib/split-panel/style/index.less +16 -34
  395. package/lib/split-panel/style/token.less +23 -0
  396. package/lib/stepper/style/index.css +50 -25
  397. package/lib/stepper/style/index.less +45 -11
  398. package/lib/stepper/style/mixin.less +7 -5
  399. package/lib/stepper/style/token.less +28 -0
  400. package/lib/steps/Steps.js +4 -1
  401. package/lib/steps/style/index.css +74 -37
  402. package/lib/steps/style/index.less +281 -189
  403. package/lib/steps/style/token.less +31 -0
  404. package/lib/style/components.less +1 -0
  405. package/lib/style/mixins/index.less +10 -9
  406. package/lib/style/mixins/overlay.less +2 -2
  407. package/lib/style/themes/default.less +22 -12
  408. package/lib/style/themes/token.less +128 -0
  409. package/lib/switch/style/index.css +38 -29
  410. package/lib/switch/style/index.less +17 -6
  411. package/lib/switch/style/mixin.less +6 -5
  412. package/lib/switch/style/token.less +45 -0
  413. package/lib/tabs/style/index.css +59 -50
  414. package/lib/tabs/style/index.less +3 -3
  415. package/lib/tabs/style/mixin.less +2 -0
  416. package/lib/tabs/style/token.less +32 -0
  417. package/lib/tabs/tabs.js +3 -1
  418. package/lib/tag/style/index.css +122 -113
  419. package/lib/tag/style/index.less +19 -19
  420. package/lib/tag/style/mixin.less +2 -1
  421. package/lib/tag/style/token.less +42 -0
  422. package/lib/timeline/style/index.css +40 -30
  423. package/lib/timeline/style/index.less +33 -30
  424. package/lib/timeline/style/token.less +45 -0
  425. package/lib/tooltip/style/index.css +26 -17
  426. package/lib/tooltip/style/index.less +6 -5
  427. package/lib/tooltip/style/token.less +20 -0
  428. package/lib/transfer/operation.js +2 -2
  429. package/lib/transfer/style/index.css +37 -24
  430. package/lib/transfer/style/index.less +4 -0
  431. package/lib/transfer/style/mixins.less +2 -0
  432. package/lib/transfer/style/token.less +29 -0
  433. package/lib/tree/style/index.css +37 -37
  434. package/lib/tree/style/index.less +8 -20
  435. package/lib/tree/style/mixin.less +1 -5
  436. package/lib/tree/style/token.less +27 -0
  437. package/lib/typography/style/index.css +46 -53
  438. package/lib/typography/style/index.less +15 -15
  439. package/lib/typography/style/mixin.less +9 -11
  440. package/lib/typography/style/token.less +38 -0
  441. package/lib/upload/style/index.css +41 -31
  442. package/lib/upload/style/index.less +27 -25
  443. package/lib/upload/style/token.less +28 -0
  444. package/package.json +5 -4
  445. package/es/base-data/style/mixin.less +0 -5
  446. package/es/empty/style/mixin.less +0 -5
  447. package/es/form/style/mixin.less +0 -5
  448. package/es/steps/style/mixin.less +0 -41
  449. package/lib/base-data/style/mixin.less +0 -5
  450. package/lib/empty/style/mixin.less +0 -5
  451. package/lib/form/style/mixin.less +0 -5
  452. package/lib/steps/style/mixin.less +0 -41
@@ -0,0 +1,33 @@
1
+ @import '../../style/themes/token.less';
2
+
3
+ @anchor-prefix: '--@{kd-prefix}-c-anchor';
4
+
5
+ // color
6
+ @anchor-bg: var(~'@{anchor-prefix}-color-background', @color-background);
7
+ @anchor-border-color: var(~'@{anchor-prefix}-color-border', @color-border-strong);
8
+ @anchor-advanced-arrows-color: var(~'@{anchor-prefix}-advanced-arrows-color-text', #666);
9
+ @anchor-color-theme: var(~'@{anchor-prefix}-color-theme', @color-theme);
10
+ @anchor-disabled-border-color: var(~'@{anchor-prefix}-color-border-disabled', @color-border-disabled);
11
+ @anchor-primary-text-color: var(~'@{anchor-prefix}-color-text-primary', @color-text-primary);
12
+ @anchor-secondary-text-color: var(~'@{anchor-prefix}-color-text-secondary', @color-text-secondary);
13
+
14
+ // sizing
15
+ @anchor-width: var(~'@{anchor-prefix}-sizing-width', 120px);
16
+ @anchor-advanced-width: var(~'@{anchor-prefix}-advanced-sizing-width', 160px);
17
+
18
+ // spacing
19
+ @anchor-link-top: var(~'@{anchor-prefix}-spacing-vertical', 7px);
20
+ @anchor-link-left: var(~'@{anchor-prefix}-spacing-horizontal', 7px);
21
+ @anchor-link-padding: var(~'@{anchor-prefix}-spacing-padding', 7px 8px);
22
+ @anchor-advanced-padding-top: var(~'@{anchor-prefix}-advanced-spacing-padding-top', 8px);
23
+ @anchor-advanced-padding-bottom: var(~'@{anchor-prefix}-advanced-spacing-padding-bottom', 7px);
24
+ @anchor-ink-line-width: var(~'@{anchor-prefix}-ink-line-spacing-width', 1px);
25
+
26
+
27
+ // font
28
+ @anchor-advanced-lock-size: var(~'@{anchor-prefix}-advanced-lock-font-size', 16px);
29
+ @anchor-font-size: var(~'@{anchor-prefix}-font-size', @font-size-small);
30
+ @anchor-icon-font-size: var(~'@{anchor-prefix}-icon-font-size', 16px);
31
+
32
+ // motion
33
+ @anchor-transition-duration: var(~'@{anchor-prefix}-duration-duration', @duration-promptly);
@@ -99,10 +99,10 @@
99
99
  white-space: nowrap;
100
100
  text-align: center;
101
101
  vertical-align: middle;
102
- background: #ccc;
103
- width: 40px;
104
- height: 40px;
105
- line-height: 40px;
102
+ background: var(--kd-c-avatar-color-background, #B2B2B2);
103
+ width: var(--kd-c-avatar-size-base, 40px);
104
+ height: var(--kd-c-avatar-size-base, 40px);
105
+ line-height: var(--kd-c-avatar-size-base, 40px);
106
106
  border-radius: 50%;
107
107
  }
108
108
  .kd-avatar-image {
@@ -121,15 +121,15 @@
121
121
  transform-origin: 0 center;
122
122
  }
123
123
  .kd-avatar.kd-avatar-icon {
124
- font-size: 22px;
124
+ font-size: var(--kd-c-avatar-font-size-base, 22px);
125
125
  }
126
126
  .kd-avatar.kd-avatar-icon > .kdicon {
127
127
  vertical-align: unset !important;
128
128
  }
129
129
  .kd-avatar-lg {
130
- width: 60px;
131
- height: 60px;
132
- line-height: 60px;
130
+ width: var(--kd-c-avatar-size-large, 60px);
131
+ height: var(--kd-c-avatar-size-large, 60px);
132
+ line-height: var(--kd-c-avatar-size-large, 60px);
133
133
  border-radius: 50%;
134
134
  }
135
135
  .kd-avatar-lg-string {
@@ -139,15 +139,15 @@
139
139
  transform-origin: 0 center;
140
140
  }
141
141
  .kd-avatar-lg.kd-avatar-icon {
142
- font-size: 36px;
142
+ font-size: var(--kd-c-avatar-font-size-large, 36px);
143
143
  }
144
144
  .kd-avatar-lg.kd-avatar-icon > .kdicon {
145
145
  vertical-align: unset !important;
146
146
  }
147
147
  .kd-avatar-sm {
148
- width: 32px;
149
- height: 32px;
150
- line-height: 32px;
148
+ width: var(--kd-c-avatar-size-small, 32px);
149
+ height: var(--kd-c-avatar-size-small, 32px);
150
+ line-height: var(--kd-c-avatar-size-small, 32px);
151
151
  border-radius: 50%;
152
152
  }
153
153
  .kd-avatar-sm-string {
@@ -157,15 +157,15 @@
157
157
  transform-origin: 0 center;
158
158
  }
159
159
  .kd-avatar-sm.kd-avatar-icon {
160
- font-size: 18px;
160
+ font-size: var(--kd-c-avatar-font-size-small, 18px);
161
161
  }
162
162
  .kd-avatar-sm.kd-avatar-icon > .kdicon {
163
163
  vertical-align: unset !important;
164
164
  }
165
165
  .kd-avatar-xs {
166
- width: 24px;
167
- height: 24px;
168
- line-height: 24px;
166
+ width: var(--kd-c-avatar-size-x-small, 24px);
167
+ height: var(--kd-c-avatar-size-x-small, 24px);
168
+ line-height: var(--kd-c-avatar-size-x-small, 24px);
169
169
  border-radius: 50%;
170
170
  }
171
171
  .kd-avatar-xs-string {
@@ -175,13 +175,13 @@
175
175
  transform-origin: 0 center;
176
176
  }
177
177
  .kd-avatar-xs.kd-avatar-icon {
178
- font-size: 14px;
178
+ font-size: var(--kd-c-avatar-font-size-x-small, 14px);
179
179
  }
180
180
  .kd-avatar-xs.kd-avatar-icon > .kdicon {
181
181
  vertical-align: unset !important;
182
182
  }
183
183
  .kd-avatar-square {
184
- border-radius: 2px;
184
+ border-radius: var(--kd-c-avatar-border-radius, 2px);
185
185
  }
186
186
  .kd-avatar > img {
187
187
  display: block;
@@ -10,7 +10,7 @@
10
10
  white-space: nowrap;
11
11
  text-align: center;
12
12
  vertical-align: middle;
13
- background: @avatar-bg;
13
+ background: @avatar-color-background;
14
14
 
15
15
  &-image {
16
16
  background: transparent;
@@ -27,15 +27,15 @@
27
27
  .avatar-size(@avatar-size-base, @avatar-font-size-base);
28
28
 
29
29
  &-lg {
30
- .avatar-size(@avatar-size-lg, @avatar-font-size-lg);
30
+ .avatar-size(@avatar-size-large, @avatar-font-size-large);
31
31
  }
32
32
 
33
33
  &-sm {
34
- .avatar-size(@avatar-size-sm, @avatar-font-size-sm);
34
+ .avatar-size(@avatar-size-small, @avatar-font-size-small);
35
35
  }
36
36
 
37
37
  &-xs {
38
- .avatar-size(@avatar-size-xs, @avatar-font-size-xs);
38
+ .avatar-size(@avatar-size-x-small, @avatar-font-size-x-small);
39
39
  }
40
40
 
41
41
  &-square {
@@ -49,24 +49,3 @@
49
49
  object-fit: cover;
50
50
  }
51
51
  }
52
-
53
- .avatar-size(@size, @font-size) {
54
- width: @size;
55
- height: @size;
56
- line-height: @size;
57
- border-radius: 50%;
58
-
59
- &-string {
60
- position: absolute;
61
- left: 50%;
62
- transform-origin: 0 center;
63
- }
64
-
65
- &.@{avatar-prefix-cls}-icon {
66
- font-size: @font-size;
67
-
68
- & > .@{icon-prefix-cls} {
69
- vertical-align: unset !important;
70
- }
71
- }
72
- }
@@ -1,5 +1,22 @@
1
+ @import './token.less';
1
2
 
2
- // code component mixin here
3
- .test() {
4
- display: inline;
5
- }
3
+ .avatar-size(@size, @font-size) {
4
+ width: @size;
5
+ height: @size;
6
+ line-height: @size;
7
+ border-radius: 50%;
8
+
9
+ &-string {
10
+ position: absolute;
11
+ left: 50%;
12
+ transform-origin: 0 center;
13
+ }
14
+
15
+ &.@{avatar-prefix-cls}-icon {
16
+ font-size: @font-size;
17
+
18
+ & > .@{icon-prefix-cls} {
19
+ vertical-align: unset !important;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,20 @@
1
+ @avatar-custom-prefix: '--@{kd-prefix}-c-avatar';
2
+
3
+
4
+ // sizing
5
+ @avatar-size-x-small: var(~'@{avatar-custom-prefix}-size-x-small', 24px);
6
+ @avatar-size-small: var(~'@{avatar-custom-prefix}-size-small', 32px);
7
+ @avatar-size-base: var(~'@{avatar-custom-prefix}-size-base', 40px);
8
+ @avatar-size-large: var(~'@{avatar-custom-prefix}-size-large', 60px);
9
+
10
+ // font
11
+ @avatar-font-size-x-small: var(~'@{avatar-custom-prefix}-font-size-x-small', 14px);
12
+ @avatar-font-size-small: var(~'@{avatar-custom-prefix}-font-size-small', 18px);
13
+ @avatar-font-size-base: var(~'@{avatar-custom-prefix}-font-size-base', 22px);
14
+ @avatar-font-size-large: var(~'@{avatar-custom-prefix}-font-size-large', 36px);
15
+
16
+ // radius
17
+ @avatar-border-radius: var(~'@{avatar-custom-prefix}-border-radius', 2px);
18
+
19
+ // color
20
+ @avatar-color-background: var(~'@{avatar-custom-prefix}-color-background', #B2B2B2);
@@ -92,39 +92,48 @@
92
92
  /* ----------- Avatar ——————---- end */
93
93
  /* ----------- AdvancedSelector ——————---- start */
94
94
  /* ----------- AdvancedSelector ——————---- end */
95
+ /* ----------- motion ——————---- start */
96
+ /* ----------- motion ——————---- end */
97
+ /* ----------- transition ——————---- start */
98
+ /* ----------- transition ——————---- end */
99
+ /* ----------- zIndex ——————---- start */
100
+ /*
101
+ 普通组件内部自身层级应设置在0-100间
102
+ */
103
+ /* ----------- zIndex ——————---- end */
95
104
  .kd-badge {
96
105
  position: relative;
97
106
  display: inline-block;
98
107
  line-height: 1;
99
- font-size: 14px;
108
+ font-size: var(--kd-c-badge-font-size-base, var(--kd-g-font-size-middle, 14px));
100
109
  }
101
110
  .kd-badge-count {
102
111
  z-index: auto;
103
- min-width: 20px;
104
- height: 20px;
105
- color: #fff;
106
- font-weight: normal;
107
- font-size: 12px;
108
- line-height: 20px;
112
+ min-width: var(--kd-c-badge-sizing-base, 16px);
113
+ height: var(--kd-c-badge-sizing-base, 16px);
114
+ color: var(--kd-c-badge-color, var(--kd-g-color-background, #fff));
115
+ font-weight: var(--kd-c-badge-font-weight, 400);
116
+ font-size: var(--kd-g-font-size-small, 12px);
117
+ line-height: var(--kd-c-badge-sizing-base, 16px);
109
118
  white-space: nowrap;
110
119
  text-align: center;
111
- background: #ff4d4f;
112
- border-radius: 10px;
120
+ background: var(--kd-c-badge-color-background, #fb2323);
121
+ border-radius: calc(var(--kd-c-badge-sizing-base, 16px) / 2);
113
122
  }
114
123
  .kd-badge-count-sm {
115
- min-width: 14px;
116
- height: 14px;
124
+ min-width: var(--kd-c-badge-sizing-small, 14px);
125
+ height: var(--kd-c-badge-sizing-small, 14px);
117
126
  padding: 0;
118
- font-size: 12px;
119
- line-height: 14px;
120
- border-radius: 7px;
127
+ font-size: var(--kd-c-badge-font-size-small, var(--kd-g-font-size-small, 12px));
128
+ line-height: var(--kd-c-badge-sizing-small, 14px);
129
+ border-radius: calc(var(--kd-c-badge-sizing-small, 14px) / 2);
121
130
  }
122
131
  .kd-badge-dot {
123
132
  z-index: auto;
124
- width: 6px;
125
- min-width: 6px;
126
- height: 6px;
127
- background: #ff4d4f;
133
+ width: var(--kd-c-badge-sizing-dot, 8px);
134
+ min-width: var(--kd-c-badge-sizing-dot, 8px);
135
+ height: var(--kd-c-badge-sizing-dot, 8px);
136
+ background: var(--kd-c-badge-color-background, #fb2323);
128
137
  border-radius: 100%;
129
138
  }
130
139
  .kd-badge-dot,
@@ -139,7 +148,7 @@
139
148
  transform-origin: 100% 0%;
140
149
  }
141
150
  .kd-badge-multiple-words {
142
- padding: 0 6px;
151
+ padding: 0 4px;
143
152
  }
144
153
  .kd-badge-status {
145
154
  line-height: inherit;
@@ -147,24 +156,24 @@
147
156
  }
148
157
  .kd-badge-status-text {
149
158
  margin-left: 8px;
150
- color: #212121;
151
- font-size: 14px;
159
+ color: var(--kd-c-badge-color, var(--kd-g-color-text-primary, #212121));
160
+ font-size: var(--kd-c-badge-font-size-base, var(--kd-g-font-size-middle, 14px));
152
161
  }
153
162
  .kd-badge-status-dot {
154
163
  position: relative;
155
164
  top: -1px;
156
165
  display: inline-block;
157
- width: 6px;
158
- height: 6px;
166
+ width: var(--kd-c-badge-sizing-status, 8px);
167
+ height: var(--kd-c-badge-sizing-status, 8px);
159
168
  vertical-align: middle;
160
169
  border-radius: 50%;
161
170
  }
162
171
  .kd-badge-status-success {
163
- background-color: #1ba854;
172
+ background-color: var(--kd-c-badge-color-success, var(--kd-g-color-success, #1ba854));
164
173
  }
165
174
  .kd-badge-status-processing {
166
175
  position: relative;
167
- background-color: #276ff5;
176
+ background-color: var(--kd-c-badge-color-ongoing, var(--kd-g-color-ongoing, #276ff5));
168
177
  }
169
178
  .kd-badge-status-processing::after {
170
179
  position: absolute;
@@ -172,20 +181,20 @@
172
181
  left: -1px;
173
182
  width: 100%;
174
183
  height: 100%;
175
- border: 1px solid #276ff5;
184
+ border: 1px solid var(--kd-c-badge-color-ongoing, var(--kd-g-color-ongoing, #276ff5));
176
185
  border-radius: 50%;
177
186
  -webkit-animation: antStatusProcessing 1.2s infinite ease-in-out;
178
187
  animation: antStatusProcessing 1.2s infinite ease-in-out;
179
188
  content: '';
180
189
  }
181
190
  .kd-badge-status-error {
182
- background-color: #ff991c;
191
+ background-color: var(--kd-c-badge-color-warning, var(--kd-g-color-warning, #ff991c));
183
192
  }
184
193
  .kd-badge-status-default {
185
- background-color: #1ba854;
194
+ background-color: var(--kd-c-badge-color-success, var(--kd-g-color-success, #1ba854));
186
195
  }
187
196
  .kd-badge-status-warning {
188
- background-color: #fb2323;
197
+ background-color: var(--kd-c-badge-color-error, var(--kd-g-color-error, #fb2323));
189
198
  }
190
199
  .kd-badge-not-a-wrapper:not(.kd-badge-status) {
191
200
  vertical-align: middle;
@@ -5,40 +5,38 @@
5
5
  position: relative;
6
6
  display: inline-block;
7
7
  line-height: 1;
8
- font-size: @font-size;
8
+ font-size: @badge-font-size-base;
9
9
 
10
10
  &-count {
11
11
  z-index: auto;
12
- min-width: @badge-height;
13
- height: @badge-height;
14
- color: @badge-text-color;
12
+ min-width: @badge-size-base;
13
+ height: @badge-size-base;
14
+ color: @badge-color-text;
15
15
  font-weight: @badge-font-weight;
16
- font-size: @badge-font-size;
17
- line-height: @badge-height;
16
+ font-size: @font-size-small;
17
+ line-height: @badge-size-base;
18
18
  white-space: nowrap;
19
19
  text-align: center;
20
- background: @badge-color;
21
- border-radius: (@badge-height / 2);
22
- // box-shadow: 0 0 0 1px @bg;
20
+ background: @badge-color-background;
21
+ border-radius: calc(@badge-size-base / 2);
23
22
  }
24
23
 
25
24
  &-count-sm {
26
- min-width: @badge-height-sm;
27
- height: @badge-height-sm;
25
+ min-width: @badge-size-small;
26
+ height: @badge-size-small;
28
27
  padding: 0;
29
- font-size: @badge-font-size-sm;
30
- line-height: @badge-height-sm;
31
- border-radius: (@badge-height-sm / 2);
28
+ font-size: @badge-font-size-small;
29
+ line-height: @badge-size-small;
30
+ border-radius: calc(@badge-size-small / 2);
32
31
  }
33
32
 
34
33
  &-dot {
35
34
  z-index: auto;
36
- width: @badge-dot-size;
37
- min-width: @badge-dot-size;
38
- height: @badge-dot-size;
39
- background: @badge-color;
35
+ width: @badge-size-dot;
36
+ min-width: @badge-size-dot;
37
+ height: @badge-size-dot;
38
+ background: @badge-color-background;
40
39
  border-radius: 100%;
41
- // box-shadow: 0 0 0 1px @shadow-color-inverse;
42
40
  }
43
41
 
44
42
  &-dot,
@@ -52,7 +50,7 @@
52
50
  }
53
51
 
54
52
  &-multiple-words {
55
- padding: 0 6px;
53
+ padding: 0 4px;
56
54
  }
57
55
 
58
56
  &-status {
@@ -60,44 +58,44 @@
60
58
  vertical-align: baseline;
61
59
  &-text {
62
60
  margin-left: 8px;
63
- color: @primary-text-color;
64
- font-size: @font-size;
61
+ color: @badge-color-text-primary;
62
+ font-size: @badge-font-size-base;
65
63
  }
66
64
  &-dot {
67
65
  position: relative;
68
66
  top: -1px;
69
67
  display: inline-block;
70
- width: @badge-status-size;
71
- height: @badge-status-size;
68
+ width: @badge-size-status;
69
+ height: @badge-size-status;
72
70
  vertical-align: middle;
73
71
  border-radius: 50%;
74
72
  }
75
73
  &-success {
76
- background-color: @success-color;
74
+ background-color: @badge-color-success;
77
75
  }
78
76
  &-processing {
79
77
  position: relative;
80
- background-color: @ongoing-color;
78
+ background-color: @badge-color-ongoing;
81
79
  &::after {
82
80
  position: absolute;
83
81
  top: -1px;
84
82
  left: -1px;
85
83
  width: 100%;
86
84
  height: 100%;
87
- border: 1px solid @ongoing-color;
85
+ border: 1px solid @badge-color-ongoing;
88
86
  border-radius: 50%;
89
87
  animation: antStatusProcessing 1.2s infinite ease-in-out;
90
88
  content: '';
91
89
  }
92
90
  }
93
91
  &-error {
94
- background-color: @warning-color;
92
+ background-color: @badge-color-warning;
95
93
  }
96
94
  &-default {
97
- background-color: @success-color;
95
+ background-color: @badge-color-success;
98
96
  }
99
97
  &-warning {
100
- background-color: @error-color;
98
+ background-color: @badge-color-error;
101
99
  }
102
100
  }
103
101
 
@@ -1,5 +1 @@
1
-
2
- // code component mixin here
3
- .test() {
4
- display: inline;
5
- }
1
+ @import './token.less';
@@ -0,0 +1,23 @@
1
+ @import '../../style/themes//token.less';
2
+
3
+ @badge-prefix: '--@{kd-prefix}-c-badge';
4
+
5
+ // sizing
6
+ @badge-size-base: var(~'@{badge-prefix}-sizing-base', 16px);
7
+ @badge-size-small: var(~'@{badge-prefix}-sizing-small', 14px);
8
+ @badge-size-dot: var(~'@{badge-prefix}-sizing-dot', 8px);
9
+ @badge-size-status: var(~'@{badge-prefix}-sizing-status', 8px);
10
+
11
+ // font
12
+ @badge-font-weight: var(~'@{badge-prefix}-font-weight', 400);
13
+ @badge-font-size-base: var(~'@{badge-prefix}-font-size-base', @font-size-middle);
14
+ @badge-font-size-small: var(~'@{badge-prefix}-font-size-small', @font-size-small);
15
+
16
+ // color
17
+ @badge-color-background: var(~'@{badge-prefix}-color-background', #fb2323);
18
+ @badge-color-text: var(~'@{badge-prefix}-color', @color-background);
19
+ @badge-color-text-primary: var(~'@{badge-prefix}-color', @color-text-primary);
20
+ @badge-color-success: var(~'@{badge-prefix}-color-success', @color-success);
21
+ @badge-color-ongoing: var(~'@{badge-prefix}-color-ongoing', @color-ongoing);
22
+ @badge-color-warning: var(~'@{badge-prefix}-color-warning', @color-warning);
23
+ @badge-color-error: var(~'@{badge-prefix}-color-error', @color-error);
@@ -92,25 +92,34 @@
92
92
  /* ----------- Avatar ——————---- end */
93
93
  /* ----------- AdvancedSelector ——————---- start */
94
94
  /* ----------- AdvancedSelector ——————---- end */
95
+ /* ----------- motion ——————---- start */
96
+ /* ----------- motion ——————---- end */
97
+ /* ----------- transition ——————---- start */
98
+ /* ----------- transition ——————---- end */
99
+ /* ----------- zIndex ——————---- start */
100
+ /*
101
+ 普通组件内部自身层级应设置在0-100间
102
+ */
103
+ /* ----------- zIndex ——————---- end */
95
104
  .kd-baseData {
96
- width: 230px;
105
+ width: var(--kd-c-base-data-sizing-width, 230px);
97
106
  display: -webkit-box;
98
107
  display: -ms-flexbox;
99
108
  display: flex;
100
109
  -webkit-box-align: center;
101
110
  -ms-flex-align: center;
102
111
  align-items: center;
103
- border-bottom: 1px solid #999;
112
+ border-bottom: 1px solid var(--kd-c-base-data-color-border, #999);
104
113
  }
105
114
  .kd-baseData-disabled {
106
115
  cursor: not-allowed;
107
116
  }
108
117
  .kd-baseData:not(.kd-baseData-disabled):hover {
109
- border-color: #5582f3;
118
+ border-color: var(--kd-c-base-data-border-color-hover, var(--kd-g-color-theme, #5582f3));
110
119
  }
111
120
  .kd-baseData:not(.kd-baseData-disabled):hover .kd-baseData-detail,
112
121
  .kd-baseData:not(.kd-baseData-disabled):hover .kd-baseData-suffix {
113
- color: #5582f3;
122
+ color: var(--kd-c-base-data-icon-color-text-hover, var(--kd-g-color-theme, #5582f3));
114
123
  }
115
124
  .kd-baseData:not(.kd-baseData-disabled):hover .kd-baseData-detail {
116
125
  visibility: visible;
@@ -130,13 +139,13 @@
130
139
  }
131
140
  .kd-baseData-dropdown {
132
141
  margin: 0;
133
- z-index: 1050;
142
+ z-index: var(--kd-c-base-data-dropdown-z-index, var(--kd-g-z-index-popper, 1050));
134
143
  -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
135
144
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
136
- border-radius: 2px;
137
- background: #fff;
145
+ border-radius: var(--kd-c-base-data-dropdown-radius-border, var(--kd-g-radius-border, 2px));
146
+ background: var(--kd-c-base-data-dropdown-radius-border, var(--kd-g-color-background, #fff));
138
147
  overflow: auto;
139
- max-height: 400px;
148
+ max-height: var(--kd-c-base-data-dropdown-sizing-height, 400px);
140
149
  }
141
150
  .kd-baseData-dropdown-columns,
142
151
  .kd-baseData-dropdown-options {
@@ -172,11 +181,11 @@
172
181
  }
173
182
  .kd-baseData-dropdown-columns-item-collect-icon,
174
183
  .kd-baseData-dropdown-options-item-collect-icon {
175
- color: #ff991c;
184
+ color: var(--kd-c-base-data-dropdown-icon-color-text, var(--kd-g-color-warning, #ff991c));
176
185
  }
177
186
  .kd-baseData-dropdown-columns-item-collect-icon:hover,
178
187
  .kd-baseData-dropdown-options-item-collect-icon:hover {
179
- color: #ff991c;
188
+ color: var(--kd-c-base-data-dropdown-icon-color-text-hover, var(--kd-g-color-warning, #ff991c));
180
189
  }
181
190
  .kd-baseData-dropdown-columns-item-collect-not-icon,
182
191
  .kd-baseData-dropdown-options-item-collect-not-icon {
@@ -184,7 +193,7 @@
184
193
  }
185
194
  .kd-baseData-dropdown-columns-item-collect-not-icon:hover,
186
195
  .kd-baseData-dropdown-options-item-collect-not-icon:hover {
187
- color: #ff991c;
196
+ color: var(--kd-c-base-data-dropdown-color-text-hover, var(--kd-g-color-warning, #ff991c));
188
197
  }
189
198
  .kd-baseData-dropdown-columns-item-search,
190
199
  .kd-baseData-dropdown-options-item-search {
@@ -204,23 +213,23 @@
204
213
  }
205
214
  .kd-baseData-dropdown-columns {
206
215
  height: 36px;
207
- background: #f5f5f5;
216
+ background: var(--kd-c-base-data-color-background-hover, var(--kd-g-color-hover, #f5f5f5));
208
217
  }
209
218
  .kd-baseData-dropdown-options {
210
- height: 32px;
219
+ height: var(--kd-c-base-data-dropdown-options-sizing-height, 32px);
211
220
  }
212
221
  .kd-baseData-dropdown-options:hover {
213
- background: #f5f5f5;
222
+ background: var(--kd-c-base-data-color-background-hover, var(--kd-g-color-hover, #f5f5f5));
214
223
  }
215
224
  .kd-baseData-dropdown-options:hover .kd-baseData-dropdown-options-item-collect {
216
225
  visibility: visible;
217
226
  }
218
227
  .kd-baseData-dropdown-footer {
219
228
  height: 40px;
220
- border-top: 1px solid #d9d9d9;
229
+ border-top: 1px solid var(--kd-c-base-data-footer-color-border, var(--kd-g-color-border-strong, #d9d9d9));
221
230
  }
222
231
  .kd-baseData-dropdown-footer-btn {
223
- color: #0e5fd8;
232
+ color: var(--kd-c-base-data-footer-btn-color-text, var(--kd-g-color-text-link, #0e5fd8));
224
233
  height: 100%;
225
234
  display: -webkit-box;
226
235
  display: -ms-flexbox;