zartui 0.1.21 → 0.1.25

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 (251) hide show
  1. package/README.md +20 -20
  2. package/changelog.generated.md +15 -0
  3. package/es/area/style/index.js +4 -0
  4. package/es/area/style/less.js +4 -0
  5. package/es/avatar/index.css +1 -1
  6. package/es/avatar/index.js +54 -36
  7. package/es/avatar/index.less +39 -11
  8. package/es/avatar/local.less +1 -1
  9. package/es/button/index.js +4 -1
  10. package/es/button/index.less +206 -206
  11. package/es/calendar/index.less +250 -250
  12. package/es/calendar/style/index.js +1 -1
  13. package/es/calendar/style/less.js +1 -1
  14. package/es/cell/index.less +103 -103
  15. package/es/cell-group/index.less +22 -22
  16. package/es/checkbox/index.less +89 -89
  17. package/es/checkbox-group/index.less +8 -8
  18. package/es/col/index.less +20 -20
  19. package/es/datetime-picker/style/index.js +4 -0
  20. package/es/datetime-picker/style/less.js +4 -0
  21. package/es/dialog/index.css +1 -1
  22. package/es/dialog/index.less +125 -125
  23. package/es/dialog/style/index.js +1 -1
  24. package/es/dialog/style/less.js +1 -1
  25. package/es/empty/Developing.js +1643 -0
  26. package/es/empty/Error.js +484 -0
  27. package/es/empty/NotFound.js +645 -0
  28. package/es/empty/NotRight.js +395 -0
  29. package/es/empty/Search.js +336 -0
  30. package/es/empty/index.css +1 -0
  31. package/es/empty/index.js +105 -0
  32. package/es/empty/index.less +33 -0
  33. package/es/empty/style/index.js +2 -0
  34. package/es/empty/style/less.js +2 -0
  35. package/es/field/index.less +172 -172
  36. package/es/icon/index.less +10 -10
  37. package/es/icon/local.less +1 -1
  38. package/es/image/index.less +47 -47
  39. package/es/image-preview/index.less +103 -103
  40. package/es/image-preview/style/index.js +1 -1
  41. package/es/image-preview/style/less.js +1 -1
  42. package/es/index.js +6 -3
  43. package/es/info/index.less +29 -29
  44. package/es/loading/index.less +103 -103
  45. package/es/locale/lang/zh-CN.js +22 -0
  46. package/es/mixins/bind-event.js +2 -2
  47. package/es/mixins/checkbox.js +2 -2
  48. package/es/mixins/click-outside.js +2 -2
  49. package/es/mixins/slots.js +3 -3
  50. package/es/mixins/telemetry.js +11 -0
  51. package/es/nav-bar/index.less +74 -74
  52. package/es/number-keyboard/index.css +1 -1
  53. package/es/number-keyboard/index.less +144 -142
  54. package/es/overlay/index.less +11 -11
  55. package/es/password-input/index.css +1 -0
  56. package/es/password-input/index.js +80 -0
  57. package/es/password-input/index.less +83 -0
  58. package/es/password-input/style/index.js +2 -0
  59. package/es/password-input/style/less.js +2 -0
  60. package/es/pdf-viewer/style/index.js +1 -1
  61. package/es/pdf-viewer/style/less.js +1 -1
  62. package/es/picker/PickerColumn.js +5 -6
  63. package/es/picker/index.js +34 -5
  64. package/es/picker/index.less +151 -151
  65. package/es/picker/shared.js +4 -0
  66. package/es/picker/style/index.js +4 -0
  67. package/es/picker/style/less.js +4 -0
  68. package/es/popup/index.less +137 -137
  69. package/es/popup/style/index.js +1 -1
  70. package/es/popup/style/less.js +1 -1
  71. package/es/radio/index.less +86 -86
  72. package/es/radio-group/index.less +8 -8
  73. package/es/rate/index.css +1 -1
  74. package/es/rate/index.js +1 -1
  75. package/es/rate/index.less +47 -47
  76. package/es/row/index.less +42 -42
  77. package/es/signature/index.css +1 -0
  78. package/es/signature/index.js +230 -0
  79. package/es/signature/index.less +50 -0
  80. package/es/signature/style/index.js +9 -0
  81. package/es/signature/style/less.js +9 -0
  82. package/es/slider/index.less +94 -94
  83. package/es/step/index.less +139 -139
  84. package/es/stepper/index.less +130 -130
  85. package/es/steps/index.less +21 -21
  86. package/es/sticky/index.less +11 -11
  87. package/es/style/animation.less +139 -139
  88. package/es/style/base.less +11 -11
  89. package/es/style/clearfix.less +5 -5
  90. package/es/style/ellipsis.less +13 -13
  91. package/es/style/hairline.less +47 -47
  92. package/es/style/halfPxBorder.less +15 -15
  93. package/es/style/mixins/clearfix.less +7 -7
  94. package/es/style/mixins/ellipsis.less +15 -15
  95. package/es/style/mixins/hairline.less +39 -39
  96. package/es/style/normalize.less +38 -38
  97. package/es/style/reset.less +171 -171
  98. package/es/style/var.less +941 -919
  99. package/es/swipe/index.less +56 -56
  100. package/es/swipe-cell/index.less +29 -29
  101. package/es/swipe-item/index.less +8 -8
  102. package/es/switch/index.less +56 -56
  103. package/es/switch/shared.js +2 -2
  104. package/es/switch-cell/index.less +15 -15
  105. package/es/tab/index.less +17 -17
  106. package/es/tabs/index.less +153 -153
  107. package/es/tag/index.less +99 -99
  108. package/es/telemetry/index.js +72 -0
  109. package/es/toast/index.js +1 -1
  110. package/es/toast/index.less +75 -75
  111. package/es/toast/style/index.js +1 -1
  112. package/es/toast/style/less.js +1 -1
  113. package/es/uploader/index.less +163 -163
  114. package/es/uploader/style/index.js +1 -1
  115. package/es/uploader/style/less.js +1 -1
  116. package/es/utils/create/bem.js +7 -7
  117. package/es/utils/create/component.js +37 -7
  118. package/es/utils/dom/raf.js +2 -2
  119. package/es/utils/dom/reset-scroll.js +3 -3
  120. package/es/utils/index.js +29 -29
  121. package/es/utils/media/image-util.js +138 -0
  122. package/es/utils/router.js +2 -2
  123. package/lib/7893e51cf0a4877dac80.worker.js +10 -0
  124. package/lib/area/style/index.js +4 -0
  125. package/lib/area/style/less.js +4 -0
  126. package/lib/avatar/index.css +1 -1
  127. package/lib/avatar/index.js +55 -37
  128. package/lib/avatar/index.less +39 -11
  129. package/lib/avatar/local.less +1 -1
  130. package/lib/be09b519a460e229fd8d.worker.js +2527 -0
  131. package/lib/button/index.js +5 -0
  132. package/lib/button/index.less +206 -206
  133. package/lib/calendar/index.less +250 -250
  134. package/lib/calendar/style/index.js +1 -1
  135. package/lib/calendar/style/less.js +1 -1
  136. package/lib/cell/index.less +103 -103
  137. package/lib/cell-group/index.less +22 -22
  138. package/lib/checkbox/index.less +89 -89
  139. package/lib/checkbox-group/index.less +8 -8
  140. package/lib/col/index.less +20 -20
  141. package/lib/datetime-picker/style/index.js +4 -0
  142. package/lib/datetime-picker/style/less.js +4 -0
  143. package/lib/dialog/index.css +1 -1
  144. package/lib/dialog/index.less +125 -125
  145. package/lib/dialog/style/index.js +1 -1
  146. package/lib/dialog/style/less.js +1 -1
  147. package/lib/empty/Developing.js +1648 -0
  148. package/lib/empty/Error.js +489 -0
  149. package/lib/empty/NotFound.js +650 -0
  150. package/lib/empty/NotRight.js +400 -0
  151. package/lib/empty/Search.js +341 -0
  152. package/lib/empty/index.css +1 -0
  153. package/lib/empty/index.js +119 -0
  154. package/lib/empty/index.less +33 -0
  155. package/lib/empty/style/index.js +2 -0
  156. package/lib/empty/style/less.js +2 -0
  157. package/lib/field/index.less +172 -172
  158. package/lib/icon/index.less +10 -10
  159. package/lib/icon/local.less +1 -1
  160. package/lib/image/index.less +47 -47
  161. package/lib/image-preview/index.less +103 -103
  162. package/lib/image-preview/style/index.js +1 -1
  163. package/lib/image-preview/style/less.js +1 -1
  164. package/lib/index.css +1 -1
  165. package/lib/index.js +14 -2
  166. package/lib/index.less +6 -3
  167. package/lib/info/index.less +29 -29
  168. package/lib/loading/index.less +103 -103
  169. package/lib/locale/lang/zh-CN.js +22 -0
  170. package/lib/mixins/bind-event.js +2 -2
  171. package/lib/mixins/checkbox.js +2 -2
  172. package/lib/mixins/click-outside.js +2 -2
  173. package/lib/mixins/slots.js +3 -3
  174. package/lib/mixins/telemetry.js +20 -0
  175. package/lib/nav-bar/index.less +74 -74
  176. package/lib/number-keyboard/index.css +1 -1
  177. package/lib/number-keyboard/index.less +144 -142
  178. package/lib/overlay/index.less +11 -11
  179. package/lib/password-input/index.css +1 -0
  180. package/lib/password-input/index.js +93 -0
  181. package/lib/password-input/index.less +83 -0
  182. package/lib/password-input/style/index.js +2 -0
  183. package/lib/password-input/style/less.js +2 -0
  184. package/lib/pdf-viewer/style/index.js +1 -1
  185. package/lib/pdf-viewer/style/less.js +1 -1
  186. package/lib/picker/PickerColumn.js +5 -6
  187. package/lib/picker/index.js +36 -6
  188. package/lib/picker/index.less +151 -151
  189. package/lib/picker/shared.js +4 -0
  190. package/lib/picker/style/index.js +4 -0
  191. package/lib/picker/style/less.js +4 -0
  192. package/lib/popup/index.less +137 -137
  193. package/lib/popup/style/index.js +1 -1
  194. package/lib/popup/style/less.js +1 -1
  195. package/lib/radio/index.less +86 -86
  196. package/lib/radio-group/index.less +8 -8
  197. package/lib/rate/index.css +1 -1
  198. package/lib/rate/index.js +1 -1
  199. package/lib/rate/index.less +47 -47
  200. package/lib/row/index.less +42 -42
  201. package/lib/signature/index.css +1 -0
  202. package/lib/signature/index.js +242 -0
  203. package/lib/signature/index.less +50 -0
  204. package/lib/signature/style/index.js +9 -0
  205. package/lib/signature/style/less.js +9 -0
  206. package/lib/slider/index.less +94 -94
  207. package/lib/step/index.less +139 -139
  208. package/lib/stepper/index.less +130 -130
  209. package/lib/steps/index.less +21 -21
  210. package/lib/sticky/index.less +11 -11
  211. package/lib/style/animation.less +139 -139
  212. package/lib/style/base.less +11 -11
  213. package/lib/style/clearfix.less +5 -5
  214. package/lib/style/ellipsis.less +13 -13
  215. package/lib/style/hairline.less +47 -47
  216. package/lib/style/halfPxBorder.less +15 -15
  217. package/lib/style/mixins/clearfix.less +7 -7
  218. package/lib/style/mixins/ellipsis.less +15 -15
  219. package/lib/style/mixins/hairline.less +39 -39
  220. package/lib/style/normalize.less +38 -38
  221. package/lib/style/reset.less +171 -171
  222. package/lib/style/var.less +941 -919
  223. package/lib/swipe/index.less +56 -56
  224. package/lib/swipe-cell/index.less +29 -29
  225. package/lib/swipe-item/index.less +8 -8
  226. package/lib/switch/index.less +56 -56
  227. package/lib/switch/shared.js +2 -2
  228. package/lib/switch-cell/index.less +15 -15
  229. package/lib/tab/index.less +17 -17
  230. package/lib/tabs/index.less +153 -153
  231. package/lib/tag/index.less +99 -99
  232. package/lib/telemetry/index.js +82 -0
  233. package/lib/toast/index.js +1 -1
  234. package/lib/toast/index.less +75 -75
  235. package/lib/toast/style/index.js +1 -1
  236. package/lib/toast/style/less.js +1 -1
  237. package/lib/uploader/index.less +163 -163
  238. package/lib/uploader/style/index.js +1 -1
  239. package/lib/uploader/style/less.js +1 -1
  240. package/lib/utils/create/bem.js +7 -7
  241. package/lib/utils/create/component.js +41 -7
  242. package/lib/utils/dom/raf.js +2 -2
  243. package/lib/utils/dom/reset-scroll.js +3 -3
  244. package/lib/utils/index.js +29 -29
  245. package/lib/utils/media/image-util.js +153 -0
  246. package/lib/utils/router.js +2 -2
  247. package/lib/zart.js +27476 -55536
  248. package/lib/zart.min.js +5 -5
  249. package/package.json +74 -74
  250. package/lib/a037f57fc4d92a8a1f1e.worker.js +0 -60600
  251. package/lib/b7cf90b4775181215df7.worker.js +0 -10
package/es/style/var.less CHANGED
@@ -1,919 +1,941 @@
1
- // Color Palette
2
- @black: #000;
3
- @white: #fff;
4
- @gray-0: rgba(0,0,0,.1);
5
- @gray-1: #f7f8fa;
6
- @gray-2: #f2f3f5;
7
- @gray-3: #ebedf0;
8
- @gray-4: #dcdee0;
9
- @gray-5: #c8c9cc;
10
- @gray-6: #969799;
11
- @gray-7: #646566;
12
- @gray-8: #323233;
13
- @red: #E62314;
14
- @blue: #0091FA;
15
- @cyan: #00C8F0;
16
- @orange: #FF9623;
17
- @orange-dark: #ed6a0c;
18
- @orange-light: #fffbe8;
19
- @green: #28CD78;
20
- @gray-a6: rgba(0,0,0,0.6);
21
-
22
- // Gradient Colors
23
- @gradient-red: linear-gradient(to right, #ff6034, #ee0a24);
24
- @gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);
25
-
26
- // Component Colors
27
- @text-color: rgba(0,0,0,0.6);
28
- @active-color: @gray-2;
29
- @active-opacity: 0.7;
30
- @disabled-opacity: 0.4;
31
- @background-color: @gray-1;
32
- @background-color-light: #fafafa;
33
- @text-link-color: #576b95;
34
-
35
- // Padding
36
- @padding-base: 4px;
37
- @padding-xs: @padding-base * 2;
38
- @padding-sm: @padding-base * 3;
39
- @padding-md: @padding-base * 4;
40
- @padding-lg: @padding-base * 6;
41
- @padding-xl: @padding-base * 8;
42
-
43
- // Font
44
- @font-size-xs: 10px;
45
- @font-size-sm: 12px;
46
- @font-size-md: 14px;
47
- @font-size-lg: 16px;
48
- @font-weight-bold: bold;
49
- @line-height-xs: 14px;
50
- @line-height-sm: 18px;
51
- @line-height-md: 20px;
52
- @line-height-lg: 22px;
53
- @base-font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue',
54
- Helvetica, Segoe UI, Arial, Roboto, 'miui', 'Hiragino Sans GB',
55
- 'Microsoft Yahei', sans-serif;
56
- @base-font-weight: bold;
57
- @plain-font-weight: normal;
58
- @price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial,
59
- sans-serif;
60
-
61
- // Animation
62
- @animation-duration-base: 0.3s;
63
- @animation-duration-fast: 0.2s;
64
- @animation-timing-function-enter: ease-out;
65
- @animation-timing-function-leave: ease-in;
66
-
67
- // Border
68
- @border-color: rgba(0, 0, 0, 0.1);
69
- @border-width-base: 1px;
70
- @border-radius-sm: 2px;
71
- @border-radius-md: 4px;
72
- @border-radius-lg: 8px;
73
- @border-radius-max: 999px;
74
-
75
- // ActionSheet
76
- @action-sheet-max-height: 80%;
77
- @action-sheet-header-height: 48px;
78
- @action-sheet-header-font-size: @font-size-lg;
79
- @action-sheet-description-color: @gray-6;
80
- @action-sheet-description-font-size: @font-size-md;
81
- @action-sheet-description-line-height: @line-height-md;
82
- @action-sheet-item-background: @white;
83
- @action-sheet-item-font-size: @font-size-lg;
84
- @action-sheet-item-line-height: @line-height-lg;
85
- @action-sheet-item-text-color: @text-color;
86
- @action-sheet-item-disabled-text-color: @gray-5;
87
- @action-sheet-subname-color: @gray-6;
88
- @action-sheet-subname-font-size: @font-size-sm;
89
- @action-sheet-subname-line-height: @line-height-sm;
90
- @action-sheet-close-icon-size: 22px;
91
- @action-sheet-close-icon-color: @gray-5;
92
- @action-sheet-close-icon-active-color: @gray-6;
93
- @action-sheet-close-icon-padding: 0 @padding-md;
94
- @action-sheet-cancel-text-color: @gray-7;
95
- @action-sheet-cancel-padding-top: @padding-xs;
96
- @action-sheet-cancel-padding-color: @background-color;
97
- @action-sheet-loading-icon-size: 22px;
98
-
99
- // AddressEdit
100
- @address-edit-padding: @padding-sm;
101
- @address-edit-buttons-padding: @padding-xl @padding-base;
102
- @address-edit-button-margin-bottom: @padding-sm;
103
- @address-edit-detail-finish-color: @blue;
104
- @address-edit-detail-finish-font-size: @font-size-sm;
105
-
106
- // AddressList
107
- @address-list-padding: @padding-sm @padding-sm 80px;
108
- @address-list-disabled-text-color: @gray-6;
109
- @address-list-disabled-text-padding: @padding-base * 5 0 @padding-md;
110
- @address-list-disabled-text-font-size: @font-size-md;
111
- @address-list-disabled-text-line-height: @line-height-md;
112
- @address-list-add-button-z-index: 999;
113
- @address-list-item-padding: @padding-sm;
114
- @address-list-item-text-color: @text-color;
115
- @address-list-item-disabled-text-color: @gray-5;
116
- @address-list-item-font-size: 13px;
117
- @address-list-item-line-height: @line-height-sm;
118
- @address-list-item-radio-icon-color: @red;
119
- @address-list-edit-icon-size: 20px;
120
-
121
- // Badge
122
- @badge-size: 16px;
123
- @badge-color: @white;
124
- @badge-padding: 0 3px;
125
- @badge-font-size: @font-size-sm;
126
- @badge-font-weight: @font-weight-bold;
127
- @badge-border-width: @border-width-base;
128
- @badge-background-color: @red;
129
- @badge-dot-color: @red;
130
- @badge-dot-size: 8px;
131
- @badge-font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
132
-
133
- // Button
134
- @button-mini-height: 28px;
135
- @button-mini-font-size: @font-size-md;
136
- @button-small-height: 32px;
137
- @button-small-font-size: @font-size-md;
138
- @button-normal-font-size: @font-size-lg;
139
- @button-large-height: 50px;
140
- @button-default-height: 44px;
141
- @button-default-line-height: 1.2;
142
- @button-default-font-size: @font-size-lg;
143
- @button-default-color: @text-color;
144
- @button-default-background-color: @white;
145
- @button-default-border-color: @border-color;
146
- @button-primary-color: @white;
147
- @button-primary-background-color: @blue;
148
- @button-primary-border-color: @blue;
149
- @button-info-color: @white;
150
- @button-info-background-color: @cyan;
151
- @button-info-border-color: @cyan;
152
- @button-danger-color: @white;
153
- @button-danger-background-color: @red;
154
- @button-danger-border-color: @red;
155
- @button-warning-color: @white;
156
- @button-warning-background-color: @orange;
157
- @button-warning-border-color: @orange;
158
- @button-success-color: @white;
159
- @button-success-background-color: @green;
160
- @button-success-border-color: @green;
161
- @button-border-width: @border-width-base;
162
- @button-border-radius: @border-radius-md;
163
- @button-round-border-radius: @border-radius-max;
164
- @button-plain-background-color: @white;
165
- @button-disabled-opacity: @disabled-opacity;
166
-
167
- // Calendar
168
- @calendar-background-color: @white;
169
- @calendar-popup-height: 80%;
170
- @calendar-header-shadow-height: 8px;
171
- @calendar-header-box-shadow: 0 4px @calendar-header-shadow-height 0 rgba(0, 0, 0, 0.1);
172
- @calendar-header-title-height: 44px;
173
- @calendar-header-title-font-size: @font-size-lg;
174
- @calendar-header-subtitle-font-size: @font-size-md;
175
- @calendar-weekdays-height: 30px;
176
- @calendar-weekdays-font-size: @font-size-sm;
177
- @calendar-month-title-font-size: @font-size-md;
178
- @calendar-month-mark-color: fade(@gray-2, 80%);
179
- @calendar-month-mark-font-size: 160px;
180
- @calendar-day-height: 14.285vw;
181
- @calendar-day-height-half: 7.143vw;
182
- @calendar-day-font-size: @font-size-lg;
183
- @calendar-range-edge-color: @white;
184
- @calendar-range-edge-background-color: @blue;
185
- @calendar-range-middle-color: @black;
186
- @calendar-range-middle-background-opacity: 0.11;
187
- @calendar-selected-day-size: @calendar-day-height;
188
- @calendar-selected-day-color: @white;
189
- @calendar-info-font-size: @font-size-xs;
190
- @calendar-info-line-height: @line-height-xs;
191
- @calendar-selected-day-background-color: @blue;
192
- @calendar-day-disabled-color: @gray-5;
193
- @calendar-confirm-button-height: 36px;
194
- @calendar-confirm-button-margin: 7px 0;
195
-
196
- // Card
197
- @card-padding: @padding-xs @padding-md;
198
- @card-font-size: @font-size-sm;
199
- @card-text-color: @text-color;
200
- @card-background-color: @background-color-light;
201
- @card-thumb-size: 88px;
202
- @card-thumb-border-radius: @border-radius-lg;
203
- @card-title-line-height: 16px;
204
- @card-desc-color: @gray-7;
205
- @card-desc-line-height: @line-height-md;
206
- @card-price-color: @gray-8;
207
- @card-origin-price-color: @gray-6;
208
- @card-num-color: @gray-6;
209
- @card-origin-price-font-size: @font-size-xs;
210
- @card-price-font-size: @font-size-sm;
211
- @card-price-integer-font-size: @font-size-lg;
212
- @card-price-font-family: @price-integer-font-family;
213
-
214
- // Cascader
215
- @cascader-header-height: 48px;
216
- @cascader-title-font-size: @font-size-lg;
217
- @cascader-title-line-height: 20px;
218
- @cascader-close-icon-size: 22px;
219
- @cascader-close-icon-color: @gray-5;
220
- @cascader-close-icon-active-color: @gray-6;
221
- @cascader-selected-icon-size: 18px;
222
- @cascader-tabs-height: 48px;
223
- @cascader-active-color: @red;
224
- @cascader-options-height: 384px;
225
- @cascader-tab-color: @text-color;
226
- @cascader-unselected-tab-color: @gray-6;
227
-
228
- // Cell
229
- @cell-font-size: @font-size-lg;
230
- @cell-line-height: 24px;
231
- @cell-vertical-padding: 10px;
232
- @cell-horizontal-padding: @padding-md;
233
- @cell-text-color: @text-color;
234
- @cell-background-color: @white;
235
- @cell-border-color: @border-color;
236
- @cell-active-color: @active-color;
237
- @cell-required-color: @red;
238
- @cell-label-color: @black;
239
- @cell-label-font-size: @font-size-lg;
240
- @cell-label-line-height: @line-height-sm;
241
- @cell-label-margin-top: @padding-base;
242
- @cell-value-color: @black;
243
- @cell-icon-size: 16px;
244
- @cell-right-icon-color: @gray-6;
245
- @cell-large-vertical-padding: @padding-sm;
246
- @cell-large-title-font-size: @font-size-lg;
247
- @cell-large-label-font-size: @font-size-md;
248
-
249
- // CellGroup
250
- @cell-group-background-color: @white;
251
- @cell-group-title-color: @gray-6;
252
- @cell-group-title-padding: @padding-md @padding-md @padding-xs;
253
- @cell-group-title-font-size: @font-size-md;
254
- @cell-group-title-line-height: 16px;
255
- @cell-group-inset-padding: 0 @padding-md;
256
- @cell-group-inset-border-radius: @border-radius-lg;
257
- @cell-group-inset-title-padding: @padding-md @padding-md @padding-xs @padding-xl;
258
-
259
- // Checkbox
260
- @checkbox-size: 24px;
261
- @checkbox-padding: 12px 16px;
262
- @checkbox-border-color: @gray-5;
263
- @checkbox-transition-duration: @animation-duration-fast;
264
- @checkbox-label-margin: @padding-xs;
265
- @checkbox-label-color: @text-color;
266
- @checkbox-checked-icon-color: @blue;
267
- @checkbox-disabled-icon-color: @gray-5;
268
- @checkbox-disabled-label-color: @gray-5;
269
- @checkbox-disabled-background-color: @border-color;
270
-
271
- // Circle
272
- @circle-size: 100px;
273
- @circle-color: @blue;
274
- @circle-layer-color: @white;
275
- @circle-text-color: @text-color;
276
- @circle-text-font-weight: @font-weight-bold;
277
- @circle-text-font-size: @font-size-md;
278
- @circle-text-line-height: @line-height-md;
279
-
280
- // Collapse
281
- @collapse-item-transition-duration: @animation-duration-base;
282
- @collapse-item-content-padding: @padding-sm @padding-md;
283
- @collapse-item-content-font-size: @font-size-md;
284
- @collapse-item-content-line-height: 1.5;
285
- @collapse-item-content-text-color: @gray-6;
286
- @collapse-item-content-background-color: @white;
287
- @collapse-item-title-disabled-color: @gray-5;
288
-
289
- // ContactCard
290
- @contact-card-padding: @padding-md;
291
- @contact-card-add-icon-size: 40px;
292
- @contact-card-add-icon-color: @blue;
293
- @contact-card-value-line-height: @line-height-md;
294
-
295
- // ContactEdit
296
- @contact-edit-padding: @padding-md;
297
- @contact-edit-fields-radius: @border-radius-md;
298
- @contact-edit-buttons-padding: @padding-xl 0;
299
- @contact-edit-button-margin-bottom: @padding-sm;
300
- @contact-edit-button-font-size: 16px;
301
- @contact-edit-field-label-width: 4.1em;
302
-
303
- // ContactList
304
- @contact-list-edit-icon-size: 16px;
305
- @contact-list-add-button-z-index: 999;
306
- @contact-list-item-padding: @padding-md;
307
-
308
- // CountDown
309
- @count-down-text-color: @text-color;
310
- @count-down-font-size: @font-size-md;
311
- @count-down-line-height: @line-height-md;
312
-
313
- // Coupon
314
- @coupon-margin: 0 @padding-sm @padding-sm;
315
- @coupon-content-height: 84px;
316
- @coupon-content-padding: 14px 0;
317
- @coupon-background-color: @white;
318
- @coupon-active-background-color: @active-color;
319
- @coupon-border-radius: @border-radius-lg;
320
- @coupon-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
321
- @coupon-head-width: 96px;
322
- @coupon-amount-color: @red;
323
- @coupon-amount-font-size: 30px;
324
- @coupon-currency-font-size: 40%;
325
- @coupon-name-font-size: @font-size-md;
326
- @coupon-disabled-text-color: @gray-6;
327
- @coupon-description-padding: @padding-xs @padding-md;
328
- @coupon-description-border-color: @border-color;
329
-
330
- // CouponCell
331
- @coupon-cell-selected-text-color: @text-color;
332
-
333
- // CouponList
334
- @coupon-list-background-color: @background-color;
335
- @coupon-list-field-padding: 5px 0 5px @padding-md;
336
- @coupon-list-exchange-button-height: 32px;
337
- @coupon-list-close-button-height: 40px;
338
- @coupon-list-empty-image-size: 200px;
339
- @coupon-list-empty-tip-color: @gray-6;
340
- @coupon-list-empty-tip-font-size: @font-size-md;
341
- @coupon-list-empty-tip-line-height: @line-height-md;
342
-
343
- // Dialog
344
- @dialog-width: 327px;
345
- @dialog-small-screen-width: 90%;
346
- @dialog-font-size: @font-size-lg;
347
- @dialog-transition: @animation-duration-base;
348
- @dialog-border-radius: 4px;
349
- @dialog-background-color: @white;
350
- @dialog-header-font-weight: @font-weight-bold;
351
- @dialog-header-line-height: 24px;
352
- @dialog-header-padding-top: 24px;
353
- @dialog-header-padding-left: 16px;
354
- @dialog-header-padding-right: 16px;
355
- @dialog-header-isolated-padding: @padding-lg 0;
356
- @dialog-message-padding: @padding-md;
357
- @dialog-message-font-size: @font-size-lg;
358
- @dialog-message-font-size-with-title: @font-size-md;
359
- @dialog-message-line-height: @line-height-md;
360
- @dialog-message-max-height: 60vh;
361
- @dialog-has-title-message-text-color: @gray-a6;
362
- @dialog-has-title-message-padding-top: @padding-xs;
363
- @dialog-button-height: 44px;
364
- @dialog-round-button-height: 36px;
365
- @dialog-confirm-button-text-color: @blue;
366
-
367
- // Divider
368
- @divider-margin: @padding-md 0;
369
- @divider-text-color: @gray-6;
370
- @divider-font-size: @font-size-md;
371
- @divider-line-height: 24px;
372
- @divider-border-color: @border-color;
373
- @divider-content-padding: @padding-md;
374
- @divider-content-left-width: 10%;
375
- @divider-content-right-width: 10%;
376
-
377
- // DropdownMenu
378
- @dropdown-menu-height: 48px;
379
- @dropdown-menu-background-color: @white;
380
- @dropdown-menu-box-shadow: 0 2px 12px fade(@gray-7, 12);
381
- @dropdown-menu-title-font-size: 15px;
382
- @dropdown-menu-title-text-color: @text-color;
383
- @dropdown-menu-title-active-text-color: @red;
384
- @dropdown-menu-title-disabled-text-color: @gray-6;
385
- @dropdown-menu-title-padding: 0 @padding-xs;
386
- @dropdown-menu-title-line-height: @line-height-lg;
387
- @dropdown-menu-option-active-color: @red;
388
- @dropdown-menu-content-max-height: 80%;
389
- @dropdown-item-z-index: 10;
390
-
391
- // Empty
392
- @empty-padding: @padding-xl 0;
393
- @empty-image-size: 160px;
394
- @empty-description-margin-top: @padding-md;
395
- @empty-description-padding: 0 60px;
396
- @empty-description-color: @gray-6;
397
- @empty-description-font-size: @font-size-md;
398
- @empty-description-line-height: @line-height-md;
399
- @empty-bottom-margin-top: 24px;
400
-
401
- // Field
402
- @field-label-width: 6.2em;
403
- @field-label-color: @gray-7;
404
- @field-label-margin-right: @padding-sm;
405
- @field-input-text-color: @text-color;
406
- @field-input-error-text-color: @red;
407
- @field-input-disabled-text-color: @gray-5;
408
- @field-placeholder-text-color: @gray-5;
409
- @field-icon-size: 16px;
410
- @field-clear-icon-size: 16px;
411
- @field-clear-icon-color: @gray-5;
412
- @field-right-icon-color: @gray-6;
413
- @field-error-message-color: @red;
414
- @field-error-message-text-color: 12px;
415
- @field-text-area-min-height: 60px;
416
- @field-word-limit-color: @gray-7;
417
- @field-word-limit-font-size: @font-size-sm;
418
- @field-word-limit-line-height: 16px;
419
- @field-disabled-text-color: @gray-5;
420
-
421
- // GridItem
422
- @grid-item-content-padding: @padding-md @padding-xs;
423
- @grid-item-content-background-color: @white;
424
- @grid-item-content-active-color: @active-color;
425
- @grid-item-icon-size: 28px;
426
- @grid-item-text-color: @gray-7;
427
- @grid-item-text-font-size: @font-size-sm;
428
-
429
- // GoodsAction
430
- @goods-action-background-color: @white;
431
- @goods-action-height: 50px;
432
- @goods-action-icon-width: 48px;
433
- @goods-action-icon-height: 100%;
434
- @goods-action-icon-color: @text-color;
435
- @goods-action-icon-size: 18px;
436
- @goods-action-icon-font-size: @font-size-xs;
437
- @goods-action-icon-active-color: @active-color;
438
- @goods-action-icon-text-color: @gray-7;
439
- @goods-action-button-height: 40px;
440
- @goods-action-button-warning-color: @gradient-orange;
441
- @goods-action-button-danger-color: @gradient-red;
442
-
443
- // IndexAnchor
444
- @index-anchor-z-index: 1;
445
- @index-anchor-padding: 0 @padding-md;
446
- @index-anchor-text-color: @text-color;
447
- @index-anchor-font-weight: @font-weight-bold;
448
- @index-anchor-font-size: @font-size-md;
449
- @index-anchor-line-height: 32px;
450
- @index-anchor-background-color: transparent;
451
- @index-anchor-sticky-text-color: @red;
452
- @index-anchor-sticky-background-color: @white;
453
-
454
- // IndexBar
455
- @index-bar-sidebar-z-index: 2;
456
- @index-bar-index-font-size: @font-size-xs;
457
- @index-bar-index-line-height: @line-height-xs;
458
- @index-bar-index-active-color: @red;
459
-
460
- // Info
461
- @info-size: 16px;
462
- @info-color: @white;
463
- @info-padding: 0 3px;
464
- @info-font-size: @font-size-sm;
465
- @info-font-weight: @font-weight-bold;
466
- @info-border-width: @border-width-base;
467
- @info-background-color: @red;
468
- @info-dot-color: @red;
469
- @info-dot-size: 8px;
470
- @info-font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
471
-
472
- // Image
473
- @image-placeholder-text-color: @gray-6;
474
- @image-placeholder-font-size: @font-size-md;
475
- @image-placeholder-background-color: @background-color;
476
- @image-loading-icon-size: 32px;
477
- @image-loading-icon-color: @gray-4;
478
- @image-error-icon-size: 32px;
479
- @image-error-icon-color: @gray-4;
480
-
481
- // ImagePreview
482
- @image-preview-index-text-color: @white;
483
- @image-preview-index-font-size: @font-size-md;
484
- @image-preview-index-line-height: @line-height-md;
485
- @image-preview-index-text-shadow: 0 1px 1px @gray-8;
486
- @image-preview-overlay-background-color: rgba(0, 0, 0, 0.9);
487
- @image-preview-close-icon-size: 22px;
488
- @image-preview-close-icon-color: @gray-5;
489
- @image-preview-close-icon-active-color: @gray-6;
490
- @image-preview-close-icon-margin: @padding-md;
491
- @image-preview-close-icon-z-index: 1;
492
-
493
- // List
494
- @list-text-color: @gray-6;
495
- @list-text-font-size: @font-size-md;
496
- @list-text-line-height: 50px;
497
-
498
- // Loading
499
- @loading-text-color: @gray-6;
500
- @loading-text-font-size: @font-size-md;
501
- @loading-spinner-color: @gray-5;
502
- @loading-spinner-size: 30px;
503
- @loading-spinner-animation-duration: 0.8s;
504
-
505
- // NavBar
506
- @nav-bar-height: 44px;
507
- @nav-bar-background-color: @white;
508
- @nav-bar-arrow-size: 16px;
509
- @nav-bar-icon-color: @blue;
510
- @nav-bar-text-color: @blue;
511
- @nav-bar-title-font-size: @font-size-lg;
512
- @nav-bar-title-text-color: @text-color;
513
- @nav-bar-z-index: 1;
514
-
515
- // NoticeBar
516
- @notice-bar-height: 40px;
517
- @notice-bar-padding: 0 @padding-md;
518
- @notice-bar-wrapable-padding: @padding-xs @padding-md;
519
- @notice-bar-text-color: @orange-dark;
520
- @notice-bar-font-size: @font-size-md;
521
- @notice-bar-line-height: 24px;
522
- @notice-bar-background-color: @orange-light;
523
- @notice-bar-icon-size: 16px;
524
- @notice-bar-icon-min-width: 24px;
525
-
526
- // Notify
527
- @notify-text-color: @white;
528
- @notify-padding: @padding-xs @padding-md;
529
- @notify-font-size: @font-size-md;
530
- @notify-line-height: @line-height-md;
531
- @notify-primary-background-color: @blue;
532
- @notify-success-background-color: @green;
533
- @notify-danger-background-color: @red;
534
- @notify-warning-background-color: @orange;
535
-
536
- // NumberKeyboard
537
- @number-keyboard-background-color: @gray-2;
538
- @number-keyboard-key-height: 48px;
539
- @number-keyboard-key-font-size: 28px;
540
- @number-keyboard-key-active-color: @gray-3;
541
- @number-keyboard-delete-font-size: @font-size-lg;
542
- @number-keyboard-title-color: @gray-7;
543
- @number-keyboard-title-height: 34px;
544
- @number-keyboard-title-font-size: @font-size-lg;
545
- @number-keyboard-close-padding: 0 @padding-md;
546
- @number-keyboard-close-color: @text-link-color;
547
- @number-keyboard-close-font-size: @font-size-md;
548
- @number-keyboard-button-text-color: @white;
549
- @number-keyboard-button-background-color: @blue;
550
- @number-keyboard-cursor-color: @text-color;
551
- @number-keyboard-cursor-width: 1px;
552
- @number-keyboard-cursor-height: 40%;
553
- @number-keyboard-cursor-animation-duration: 1s;
554
- @number-keyboard-z-index: 100;
555
-
556
- // Overlay
557
- @overlay-z-index: 1;
558
- @overlay-background-color: rgba(0, 0, 0, 0.4);
559
-
560
- // Pagination
561
- @pagination-height: 40px;
562
- @pagination-font-size: @font-size-md;
563
- @pagination-item-width: 36px;
564
- @pagination-item-default-color: @blue;
565
- @pagination-item-disabled-color: @gray-7;
566
- @pagination-item-disabled-background-color: @background-color;
567
- @pagination-background-color: @white;
568
- @pagination-desc-color: @gray-7;
569
- @pagination-disabled-opacity: @disabled-opacity;
570
-
571
- // Panel
572
- @panel-background-color: @white;
573
- @panel-header-value-color: @red;
574
- @panel-footer-padding: @padding-xs @padding-md;
575
-
576
- // PasswordInput
577
- @password-input-height: 50px;
578
- @password-input-margin: 0 @padding-md;
579
- @password-input-font-size: 20px;
580
- @password-input-border-radius: 6px;
581
- @password-input-background-color: @white;
582
- @password-input-info-color: @gray-6;
583
- @password-input-info-font-size: @font-size-md;
584
- @password-input-error-info-color: @red;
585
- @password-input-dot-size: 10px;
586
- @password-input-dot-color: @black;
587
-
588
- // Picker
589
- @picker-background-color: @white;
590
- @picker-toolbar-height: 44px;
591
- @picker-title-font-size: @font-size-md;
592
- @picker-title-line-height: @line-height-md;
593
- @picker-action-padding: 0 @padding-md;
594
- @picker-action-font-size: @font-size-lg;
595
- @picker-confirm-action-font-weight: @base-font-weight;
596
- @picker-confirm-action-color: @blue;
597
- @picker-cancel-action-font-weight: @plain-font-weight;
598
- @picker-cancel-action-color: @black;
599
- @picker-option-font-size: @font-size-lg;
600
- @picker-option-text-color: @black;
601
- @picker-option-disabled-opacity: 0.3;
602
- @picker-loading-icon-color: @blue;
603
- @picker-loading-mask-color: rgba(255, 255, 255, 0.9);
604
-
605
- // Popover
606
- @popover-arrow-size: 6px;
607
- @popover-border-radius: @border-radius-lg;
608
- @popover-action-width: 128px;
609
- @popover-action-height: 44px;
610
- @popover-action-font-size: @font-size-md;
611
- @popover-action-line-height: @line-height-md;
612
- @popover-action-icon-size: 20px;
613
- @popover-light-text-color: @text-color;
614
- @popover-light-background-color: @white;
615
- @popover-light-action-disabled-text-color: @gray-5;
616
- @popover-dark-text-color: @white;
617
- @popover-dark-background-color: #4a4a4a;
618
- @popover-dark-action-disabled-text-color: @gray-6;
619
-
620
- // Popup
621
- @popup-background-color: @white;
622
- @popup-transition: transform @animation-duration-base;
623
- @popup-round-border-radius: 8px;
624
- @popup-close-icon-size: 20px;
625
- @popup-close-icon-color: @gray-5;
626
- @popup-close-icon-active-color: @gray-6;
627
- @popup-close-icon-margin: 16px;
628
- @popup-close-icon-z-index: 1;
629
-
630
- // Progress
631
- @progress-height: 4px;
632
- @progress-color: @blue;
633
- @progress-background-color: @gray-3;
634
- @progress-pivot-padding: 0 5px;
635
- @progress-pivot-text-color: @white;
636
- @progress-pivot-font-size: @font-size-xs;
637
- @progress-pivot-line-height: 1.6;
638
- @progress-pivot-background-color: @blue;
639
-
640
- // PullRefresh
641
- @pull-refresh-head-height: 50px;
642
- @pull-refresh-head-font-size: @font-size-md;
643
- @pull-refresh-head-text-color: @gray-6;
644
-
645
- // Radio
646
- @radio-size: 20px;
647
- @radio-border-color: @gray-5;
648
- @radio-transition-duration: @animation-duration-fast;
649
- @radio-label-margin: @padding-xs;
650
- @radio-label-color: @text-color;
651
- @radio-checked-icon-color: @blue;
652
- @radio-disabled-icon-color: @gray-5;
653
- @radio-disabled-label-color: @gray-5;
654
- @radio-disabled-background-color: @border-color;
655
-
656
- // Rate
657
- @rate-icon-size: 20px;
658
- @rate-icon-gutter: @padding-base;
659
- @rate-icon-void-color: @gray-5;
660
- @rate-icon-full-color: @red;
661
- @rate-icon-disabled-color: @gray-5;
662
-
663
- // ShareSheet
664
- @share-sheet-header-padding: @padding-sm @padding-md @padding-base;
665
- @share-sheet-title-color: @text-color;
666
- @share-sheet-title-font-size: @font-size-md;
667
- @share-sheet-title-line-height: @line-height-md;
668
- @share-sheet-description-color: @gray-6;
669
- @share-sheet-description-font-size: @font-size-sm;
670
- @share-sheet-description-line-height: 16px;
671
- @share-sheet-icon-size: 48px;
672
- @share-sheet-option-name-color: @gray-7;
673
- @share-sheet-option-name-font-size: @font-size-sm;
674
- @share-sheet-option-description-color: @gray-5;
675
- @share-sheet-option-description-font-size: @font-size-sm;
676
- @share-sheet-cancel-button-font-size: @font-size-lg;
677
- @share-sheet-cancel-button-height: 48px;
678
- @share-sheet-cancel-button-background: @white;
679
-
680
- // Search
681
- @search-padding: 10px @padding-sm;
682
- @search-background-color: @white;
683
- @search-content-background-color: @gray-1;
684
- @search-input-height: 34px;
685
- @search-label-padding: 0 5px;
686
- @search-label-color: @text-color;
687
- @search-label-font-size: @font-size-md;
688
- @search-left-icon-color: @gray-6;
689
- @search-action-padding: 0 @padding-xs;
690
- @search-action-text-color: @text-color;
691
- @search-action-font-size: @font-size-md;
692
-
693
- // Sidebar
694
- @sidebar-width: 80px;
695
- @sidebar-font-size: @font-size-md;
696
- @sidebar-line-height: @line-height-md;
697
- @sidebar-text-color: @text-color;
698
- @sidebar-disabled-text-color: @gray-5;
699
- @sidebar-padding: 20px @padding-sm;
700
- @sidebar-active-color: @active-color;
701
- @sidebar-background-color: @background-color;
702
- @sidebar-selected-font-weight: @font-weight-bold;
703
- @sidebar-selected-text-color: @text-color;
704
- @sidebar-selected-border-width: 4px;
705
- @sidebar-selected-border-height: 16px;
706
- @sidebar-selected-border-color: @red;
707
- @sidebar-selected-background-color: @white;
708
-
709
- // Skeleton
710
- @skeleton-row-height: 16px;
711
- @skeleton-row-background-color: @active-color;
712
- @skeleton-row-margin-top: @padding-sm;
713
- @skeleton-title-width: 40%;
714
- @skeleton-avatar-size: 32px;
715
- @skeleton-avatar-background-color: @active-color;
716
- @skeleton-animation-duration: 1.2s;
717
-
718
- // Slider
719
- @slider-active-background-color: @blue;
720
- @slider-inactive-background-color: @gray-3;
721
- @slider-disabled-opacity: @disabled-opacity;
722
- @slider-bar-height: 2px;
723
- @slider-button-width: 24px;
724
- @slider-button-height: 24px;
725
- @slider-button-border-radius: 50%;
726
- @slider-button-background-color: @white;
727
- @slider-button-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
728
-
729
- // Step
730
- @step-text-color: @gray-6;
731
- @step-active-color: @green;
732
- @step-process-text-color: @text-color;
733
- @step-font-size: @font-size-md;
734
- @step-line-color: @border-color;
735
- @step-finish-line-color: @green;
736
- @step-finish-text-color: @text-color;
737
- @step-icon-size: 12px;
738
- @step-circle-size: 5px;
739
- @step-circle-color: @gray-6;
740
- @step-horizontal-title-font-size: @font-size-sm;
741
-
742
- // Steps
743
- @steps-background-color: @white;
744
-
745
- // Sticky
746
- @sticky-z-index: 99;
747
-
748
- // Stepper
749
- @stepper-active-color: #e8e8e8;
750
- @stepper-background-color: @active-color;
751
- @stepper-button-icon-color: @text-color;
752
- @stepper-button-disabled-color: @background-color;
753
- @stepper-button-disabled-icon-color: @gray-5;
754
- @stepper-button-round-theme-color: @red;
755
- @stepper-input-width: 32px;
756
- @stepper-input-height: 28px;
757
- @stepper-input-font-size: @font-size-md;
758
- @stepper-input-line-height: normal;
759
- @stepper-input-text-color: @text-color;
760
- @stepper-input-disabled-text-color: @gray-5;
761
- @stepper-input-disabled-background-color: @active-color;
762
- @stepper-border-radius: @border-radius-md;
763
-
764
- // SubmitBar
765
- @submit-bar-height: 50px;
766
- @submit-bar-z-index: 100;
767
- @submit-bar-background-color: @white;
768
- @submit-bar-button-width: 110px;
769
- @submit-bar-price-color: @red;
770
- @submit-bar-price-font-size: @font-size-md;
771
- @submit-bar-currency-font-size: @font-size-md;
772
- @submit-bar-text-color: @text-color;
773
- @submit-bar-text-font-size: @font-size-md;
774
- @submit-bar-tip-padding: @padding-xs @padding-sm;
775
- @submit-bar-tip-font-size: @font-size-sm;
776
- @submit-bar-tip-line-height: 1.5;
777
- @submit-bar-tip-color: #f56723;
778
- @submit-bar-tip-background-color: #fff7cc;
779
- @submit-bar-tip-icon-size: 12px;
780
- @submit-bar-button-height: 40px;
781
- @submit-bar-padding: 0 @padding-md;
782
- @submit-bar-price-integer-font-size: 20px;
783
- @submit-bar-price-font-family: @price-integer-font-family;
784
-
785
- // Swipe
786
- @swipe-indicator-size: 6px;
787
- @swipe-indicator-margin: @padding-sm;
788
- @swipe-indicator-active-opacity: 1;
789
- @swipe-indicator-inactive-opacity: 0.3;
790
- @swipe-indicator-active-background-color: @blue;
791
- @swipe-indicator-inactive-background-color: @border-color;
792
-
793
- // Switch
794
- @switch-size: 24px;
795
- @switch-width: 2.16em;
796
- @switch-height: 1.16em;
797
- @switch-border-radius: 0.5em;
798
- @switch-node-size: 1em;
799
- @switch-gap: 0.08em;
800
- @switch-node-background-color: @white;
801
- @switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, 0.05),
802
- 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.05);
803
- @switch-background-color: @gray-0;
804
- @switch-on-background-color: @blue;
805
- @switch-transition-duration: @animation-duration-base;
806
- @switch-disabled-opacity: @disabled-opacity;
807
- @switch-border: @border-width-base solid rgba(0, 0, 0, 0.1);
808
-
809
- // SwitchCell
810
- @switch-cell-padding-top: @cell-vertical-padding - 1px;
811
- @switch-cell-padding-bottom: @cell-vertical-padding - 1px;
812
- @switch-cell-large-padding-top: @cell-large-vertical-padding - 1px;
813
- @switch-cell-large-padding-bottom: @cell-large-vertical-padding - 1px;
814
-
815
- // Tabbar
816
- @tabbar-height: 50px;
817
- @tabbar-z-index: 1;
818
- @tabbar-background-color: @white;
819
-
820
- // TabbarItem
821
- @tabbar-item-font-size: @font-size-sm;
822
- @tabbar-item-text-color: @gray-7;
823
- @tabbar-item-active-color: @blue;
824
- @tabbar-item-active-background-color: @tabbar-background-color;
825
- @tabbar-item-line-height: 1;
826
- @tabbar-item-icon-size: 22px;
827
- @tabbar-item-margin-bottom: 4px;
828
-
829
- // Tab
830
- @tab-text-color: @gray-7;
831
- @tab-active-text-color: @text-color;
832
- @tab-disabled-text-color: @gray-5;
833
- @tab-font-size: @font-size-md;
834
- @tab-line-height: @line-height-md;
835
-
836
- // Tabs
837
- @tabs-default-color: @red;
838
- @tabs-line-height: 44px;
839
- @tabs-card-height: 30px;
840
- @tabs-nav-background-color: @white;
841
- @tabs-bottom-bar-width: 40px;
842
- @tabs-bottom-bar-height: 3px;
843
- @tabs-bottom-bar-color: @tabs-default-color;
844
-
845
- // Tag
846
- @tag-padding: 0 @padding-base;
847
- @tag-text-color: @white;
848
- @tag-font-size: @font-size-sm;
849
- @tag-border-radius: 2px;
850
- @tag-line-height: 16px;
851
- @tag-medium-padding: 2px 6px;
852
- @tag-large-padding: @padding-base @padding-xs;
853
- @tag-large-border-radius: @border-radius-md;
854
- @tag-large-font-size: @font-size-md;
855
- @tag-round-border-radius: @border-radius-max;
856
- @tag-danger-color: @red;
857
- @tag-primary-color: @blue;
858
- @tag-success-color: @green;
859
- @tag-warning-color: @orange;
860
- @tag-default-color: @gray-6;
861
- @tag-plain-background-color: @white;
862
-
863
- // Toast
864
- @toast-max-width: 70%;
865
- @toast-font-size: @font-size-md;
866
- @toast-text-color: @white;
867
- @toast-loading-icon-color: @white;
868
- @toast-line-height: @line-height-md;
869
- @toast-border-radius: @border-radius-lg;
870
- @toast-background-color: fade(@black, 70%);
871
- @toast-icon-size: 36px;
872
- @toast-text-min-width: 96px;
873
- @toast-text-padding: @padding-xs @padding-sm;
874
- @toast-default-padding: @padding-md;
875
- @toast-default-width: 88px;
876
- @toast-default-min-height: 88px;
877
- @toast-position-top-distance: 20%;
878
- @toast-position-bottom-distance: 20%;
879
-
880
- // TreeSelect
881
- @tree-select-font-size: @font-size-md;
882
- @tree-select-nav-background-color: @background-color;
883
- @tree-select-content-background-color: @white;
884
- @tree-select-nav-item-padding: 14px @padding-sm;
885
- @tree-select-item-height: 48px;
886
- @tree-select-item-active-color: @red;
887
- @tree-select-item-disabled-color: @gray-5;
888
- @tree-select-item-selected-size: 16px;
889
-
890
- // Uploader
891
- @uploader-size: 80px;
892
- @uploader-icon-size: 24px;
893
- @uploader-icon-color: @gray-4;
894
- @uploader-text-color: @gray-6;
895
- @uploader-text-font-size: @font-size-sm;
896
- @uploader-upload-background-color: @gray-1;
897
- @uploader-upload-active-color: @active-color;
898
- @uploader-delete-color: @white;
899
- @uploader-delete-icon-size: 14px;
900
- @uploader-delete-background-color: rgba(0, 0, 0, 0.7);
901
- @uploader-file-background-color: @background-color;
902
- @uploader-file-icon-size: 20px;
903
- @uploader-file-icon-color: @gray-7;
904
- @uploader-file-name-padding: 0 @padding-base;
905
- @uploader-file-name-margin-top: @padding-xs;
906
- @uploader-file-name-font-size: @font-size-sm;
907
- @uploader-file-name-text-color: @gray-7;
908
- @uploader-mask-background-color: fade(@gray-8, 88%);
909
- @uploader-mask-icon-size: 22px;
910
- @uploader-mask-message-font-size: @font-size-sm;
911
- @uploader-mask-message-line-height: @line-height-xs;
912
- @uploader-loading-icon-size: 22px;
913
- @uploader-loading-icon-color: @white;
914
- @uploader-disabled-opacity: @disabled-opacity;
915
-
916
- // Sku
917
- @sku-item-background-color: @background-color;
918
- @sku-icon-gray-color: @gray-4;
919
- @sku-upload-mask-color: rgba(50, 50, 51, 0.8);
1
+ // Color Palette
2
+ @black: #000;
3
+ @white: #fff;
4
+ @gray-01: #ccc;
5
+ @gray-0: rgba(0,0,0,.1);
6
+ @gray-1: #f7f8fa;
7
+ @gray-2: #f2f3f5;
8
+ @gray-3: #ebedf0;
9
+ @gray-4: #dcdee0;
10
+ @gray-5: #c8c9cc;
11
+ @gray-6: #969799;
12
+ @gray-7: #646566;
13
+ @gray-8: #323233;
14
+ @red: #E62314;
15
+ @blue: #0091FA;
16
+ @cyan: #00C8F0;
17
+ @orange: #FF9623;
18
+ @yellow: #FFCD23;
19
+ @orange-dark: #ed6a0c;
20
+ @orange-light: #fffbe8;
21
+ @green: #28CD78;
22
+ @green-1: #00AF91;
23
+ @gray-a6: rgba(0,0,0,0.6);
24
+
25
+ // Gradient Colors
26
+ @gradient-red: linear-gradient(to right, #ff6034, #ee0a24);
27
+ @gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);
28
+
29
+ // Component Colors
30
+ @text-color: rgba(0,0,0,0.6);
31
+ @active-color: @gray-2;
32
+ @active-opacity: 0.7;
33
+ @disabled-opacity: 0.4;
34
+ @background-color: @gray-1;
35
+ @background-color-light: #fafafa;
36
+ @text-link-color: #576b95;
37
+
38
+ // Padding
39
+ @padding-base: 4px;
40
+ @padding-xs: @padding-base * 2;
41
+ @padding-sm: @padding-base * 3;
42
+ @padding-md: @padding-base * 4;
43
+ @padding-lg: @padding-base * 6;
44
+ @padding-xl: @padding-base * 8;
45
+
46
+ // Font
47
+ @font-size-xs: 10px;
48
+ @font-size-sm: 12px;
49
+ @font-size-md: 14px;
50
+ @font-size-lg: 16px;
51
+ @font-weight-bold: bold;
52
+ @line-height-xs: 14px;
53
+ @line-height-sm: 18px;
54
+ @line-height-md: 20px;
55
+ @line-height-lg: 22px;
56
+ @line-height-xl: 24px;
57
+ @base-font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue',
58
+ Helvetica, Segoe UI, Arial, Roboto, 'miui', 'Hiragino Sans GB',
59
+ 'Microsoft Yahei', sans-serif;
60
+ @base-font-weight: bold;
61
+ @plain-font-weight: normal;
62
+ @price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial,
63
+ sans-serif;
64
+
65
+ // Animation
66
+ @animation-duration-base: 0.3s;
67
+ @animation-duration-fast: 0.2s;
68
+ @animation-timing-function-enter: ease-out;
69
+ @animation-timing-function-leave: ease-in;
70
+
71
+ // Border
72
+ @border-color: rgba(0, 0, 0, 0.1);
73
+ @border-width-base: 1px;
74
+ @border-radius-sm: 2px;
75
+ @border-radius-md: 4px;
76
+ @border-radius-lg: 8px;
77
+ @border-radius-max: 999px;
78
+
79
+ // ActionSheet
80
+ @action-sheet-max-height: 80%;
81
+ @action-sheet-header-height: 48px;
82
+ @action-sheet-header-font-size: @font-size-lg;
83
+ @action-sheet-description-color: @gray-6;
84
+ @action-sheet-description-font-size: @font-size-md;
85
+ @action-sheet-description-line-height: @line-height-md;
86
+ @action-sheet-item-background: @white;
87
+ @action-sheet-item-font-size: @font-size-lg;
88
+ @action-sheet-item-line-height: @line-height-lg;
89
+ @action-sheet-item-text-color: @text-color;
90
+ @action-sheet-item-disabled-text-color: @gray-5;
91
+ @action-sheet-subname-color: @gray-6;
92
+ @action-sheet-subname-font-size: @font-size-sm;
93
+ @action-sheet-subname-line-height: @line-height-sm;
94
+ @action-sheet-close-icon-size: 22px;
95
+ @action-sheet-close-icon-color: @gray-5;
96
+ @action-sheet-close-icon-active-color: @gray-6;
97
+ @action-sheet-close-icon-padding: 0 @padding-md;
98
+ @action-sheet-cancel-text-color: @gray-7;
99
+ @action-sheet-cancel-padding-top: @padding-xs;
100
+ @action-sheet-cancel-padding-color: @background-color;
101
+ @action-sheet-loading-icon-size: 22px;
102
+
103
+ // AddressEdit
104
+ @address-edit-padding: @padding-sm;
105
+ @address-edit-buttons-padding: @padding-xl @padding-base;
106
+ @address-edit-button-margin-bottom: @padding-sm;
107
+ @address-edit-detail-finish-color: @blue;
108
+ @address-edit-detail-finish-font-size: @font-size-sm;
109
+
110
+ // AddressList
111
+ @address-list-padding: @padding-sm @padding-sm 80px;
112
+ @address-list-disabled-text-color: @gray-6;
113
+ @address-list-disabled-text-padding: @padding-base * 5 0 @padding-md;
114
+ @address-list-disabled-text-font-size: @font-size-md;
115
+ @address-list-disabled-text-line-height: @line-height-md;
116
+ @address-list-add-button-z-index: 999;
117
+ @address-list-item-padding: @padding-sm;
118
+ @address-list-item-text-color: @text-color;
119
+ @address-list-item-disabled-text-color: @gray-5;
120
+ @address-list-item-font-size: 13px;
121
+ @address-list-item-line-height: @line-height-sm;
122
+ @address-list-item-radio-icon-color: @red;
123
+ @address-list-edit-icon-size: 20px;
124
+
125
+ // Badge
126
+ @badge-size: 16px;
127
+ @badge-color: @white;
128
+ @badge-padding: 0 3px;
129
+ @badge-font-size: @font-size-sm;
130
+ @badge-font-weight: @font-weight-bold;
131
+ @badge-border-width: @border-width-base;
132
+ @badge-background-color: @red;
133
+ @badge-dot-color: @red;
134
+ @badge-dot-size: 8px;
135
+ @badge-font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
136
+
137
+ // Button
138
+ @button-mini-height: 28px;
139
+ @button-mini-font-size: @font-size-md;
140
+ @button-small-height: 32px;
141
+ @button-small-font-size: @font-size-md;
142
+ @button-normal-font-size: @font-size-lg;
143
+ @button-large-height: 50px;
144
+ @button-default-height: 44px;
145
+ @button-default-line-height: 1.2;
146
+ @button-default-font-size: @font-size-lg;
147
+ @button-default-color: @text-color;
148
+ @button-default-background-color: @white;
149
+ @button-default-border-color: @border-color;
150
+ @button-primary-color: @white;
151
+ @button-primary-background-color: @blue;
152
+ @button-primary-border-color: @blue;
153
+ @button-info-color: @white;
154
+ @button-info-background-color: @cyan;
155
+ @button-info-border-color: @cyan;
156
+ @button-danger-color: @white;
157
+ @button-danger-background-color: @red;
158
+ @button-danger-border-color: @red;
159
+ @button-warning-color: @white;
160
+ @button-warning-background-color: @orange;
161
+ @button-warning-border-color: @orange;
162
+ @button-success-color: @white;
163
+ @button-success-background-color: @green;
164
+ @button-success-border-color: @green;
165
+ @button-border-width: @border-width-base;
166
+ @button-border-radius: @border-radius-md;
167
+ @button-round-border-radius: @border-radius-max;
168
+ @button-plain-background-color: @white;
169
+ @button-disabled-opacity: @disabled-opacity;
170
+
171
+ // Calendar
172
+ @calendar-background-color: @white;
173
+ @calendar-popup-height: 80%;
174
+ @calendar-header-shadow-height: 8px;
175
+ @calendar-header-box-shadow: 0 4px @calendar-header-shadow-height 0 rgba(0, 0, 0, 0.1);
176
+ @calendar-header-title-height: 44px;
177
+ @calendar-header-title-font-size: @font-size-lg;
178
+ @calendar-header-subtitle-font-size: @font-size-md;
179
+ @calendar-weekdays-height: 30px;
180
+ @calendar-weekdays-font-size: @font-size-sm;
181
+ @calendar-month-title-font-size: @font-size-md;
182
+ @calendar-month-mark-color: fade(@gray-2, 80%);
183
+ @calendar-month-mark-font-size: 160px;
184
+ @calendar-day-height: 14.285vw;
185
+ @calendar-day-height-half: 7.143vw;
186
+ @calendar-day-font-size: @font-size-lg;
187
+ @calendar-range-edge-color: @white;
188
+ @calendar-range-edge-background-color: @blue;
189
+ @calendar-range-middle-color: @black;
190
+ @calendar-range-middle-background-opacity: 0.11;
191
+ @calendar-selected-day-size: @calendar-day-height;
192
+ @calendar-selected-day-color: @white;
193
+ @calendar-info-font-size: @font-size-xs;
194
+ @calendar-info-line-height: @line-height-xs;
195
+ @calendar-selected-day-background-color: @blue;
196
+ @calendar-day-disabled-color: @gray-5;
197
+ @calendar-confirm-button-height: 36px;
198
+ @calendar-confirm-button-margin: 7px 0;
199
+
200
+ // Card
201
+ @card-padding: @padding-xs @padding-md;
202
+ @card-font-size: @font-size-sm;
203
+ @card-text-color: @text-color;
204
+ @card-background-color: @background-color-light;
205
+ @card-thumb-size: 88px;
206
+ @card-thumb-border-radius: @border-radius-lg;
207
+ @card-title-line-height: 16px;
208
+ @card-desc-color: @gray-7;
209
+ @card-desc-line-height: @line-height-md;
210
+ @card-price-color: @gray-8;
211
+ @card-origin-price-color: @gray-6;
212
+ @card-num-color: @gray-6;
213
+ @card-origin-price-font-size: @font-size-xs;
214
+ @card-price-font-size: @font-size-sm;
215
+ @card-price-integer-font-size: @font-size-lg;
216
+ @card-price-font-family: @price-integer-font-family;
217
+
218
+ // Cascader
219
+ @cascader-header-height: 48px;
220
+ @cascader-title-font-size: @font-size-lg;
221
+ @cascader-title-line-height: 20px;
222
+ @cascader-close-icon-size: 22px;
223
+ @cascader-close-icon-color: @gray-5;
224
+ @cascader-close-icon-active-color: @gray-6;
225
+ @cascader-selected-icon-size: 18px;
226
+ @cascader-tabs-height: 48px;
227
+ @cascader-active-color: @red;
228
+ @cascader-options-height: 384px;
229
+ @cascader-tab-color: @text-color;
230
+ @cascader-unselected-tab-color: @gray-6;
231
+
232
+ // Cell
233
+ @cell-font-size: @font-size-lg;
234
+ @cell-line-height: 24px;
235
+ @cell-vertical-padding: 10px;
236
+ @cell-horizontal-padding: @padding-md;
237
+ @cell-text-color: @text-color;
238
+ @cell-background-color: @white;
239
+ @cell-border-color: @border-color;
240
+ @cell-active-color: @active-color;
241
+ @cell-required-color: @red;
242
+ @cell-label-color: @black;
243
+ @cell-label-font-size: @font-size-lg;
244
+ @cell-label-line-height: @line-height-sm;
245
+ @cell-label-margin-top: @padding-base;
246
+ @cell-value-color: @black;
247
+ @cell-icon-size: 16px;
248
+ @cell-right-icon-color: @gray-6;
249
+ @cell-large-vertical-padding: @padding-sm;
250
+ @cell-large-title-font-size: @font-size-lg;
251
+ @cell-large-label-font-size: @font-size-md;
252
+
253
+ // CellGroup
254
+ @cell-group-background-color: @white;
255
+ @cell-group-title-color: @gray-6;
256
+ @cell-group-title-padding: @padding-md @padding-md @padding-xs;
257
+ @cell-group-title-font-size: @font-size-md;
258
+ @cell-group-title-line-height: 16px;
259
+ @cell-group-inset-padding: 0 @padding-md;
260
+ @cell-group-inset-border-radius: @border-radius-lg;
261
+ @cell-group-inset-title-padding: @padding-md @padding-md @padding-xs @padding-xl;
262
+
263
+ // Checkbox
264
+ @checkbox-size: 24px;
265
+ @checkbox-padding: 12px 16px;
266
+ @checkbox-border-color: @gray-5;
267
+ @checkbox-transition-duration: @animation-duration-fast;
268
+ @checkbox-label-margin: @padding-xs;
269
+ @checkbox-label-color: @text-color;
270
+ @checkbox-checked-icon-color: @blue;
271
+ @checkbox-disabled-icon-color: @gray-5;
272
+ @checkbox-disabled-label-color: @gray-5;
273
+ @checkbox-disabled-background-color: @border-color;
274
+
275
+ // Circle
276
+ @circle-size: 100px;
277
+ @circle-color: @blue;
278
+ @circle-layer-color: @white;
279
+ @circle-text-color: @text-color;
280
+ @circle-text-font-weight: @font-weight-bold;
281
+ @circle-text-font-size: @font-size-md;
282
+ @circle-text-line-height: @line-height-md;
283
+
284
+ // Collapse
285
+ @collapse-item-transition-duration: @animation-duration-base;
286
+ @collapse-item-content-padding: @padding-sm @padding-md;
287
+ @collapse-item-content-font-size: @font-size-md;
288
+ @collapse-item-content-line-height: 1.5;
289
+ @collapse-item-content-text-color: @gray-6;
290
+ @collapse-item-content-background-color: @white;
291
+ @collapse-item-title-disabled-color: @gray-5;
292
+
293
+ // ContactCard
294
+ @contact-card-padding: @padding-md;
295
+ @contact-card-add-icon-size: 40px;
296
+ @contact-card-add-icon-color: @blue;
297
+ @contact-card-value-line-height: @line-height-md;
298
+
299
+ // ContactEdit
300
+ @contact-edit-padding: @padding-md;
301
+ @contact-edit-fields-radius: @border-radius-md;
302
+ @contact-edit-buttons-padding: @padding-xl 0;
303
+ @contact-edit-button-margin-bottom: @padding-sm;
304
+ @contact-edit-button-font-size: 16px;
305
+ @contact-edit-field-label-width: 4.1em;
306
+
307
+ // ContactList
308
+ @contact-list-edit-icon-size: 16px;
309
+ @contact-list-add-button-z-index: 999;
310
+ @contact-list-item-padding: @padding-md;
311
+
312
+ // CountDown
313
+ @count-down-text-color: @text-color;
314
+ @count-down-font-size: @font-size-md;
315
+ @count-down-line-height: @line-height-md;
316
+
317
+ // Coupon
318
+ @coupon-margin: 0 @padding-sm @padding-sm;
319
+ @coupon-content-height: 84px;
320
+ @coupon-content-padding: 14px 0;
321
+ @coupon-background-color: @white;
322
+ @coupon-active-background-color: @active-color;
323
+ @coupon-border-radius: @border-radius-lg;
324
+ @coupon-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
325
+ @coupon-head-width: 96px;
326
+ @coupon-amount-color: @red;
327
+ @coupon-amount-font-size: 30px;
328
+ @coupon-currency-font-size: 40%;
329
+ @coupon-name-font-size: @font-size-md;
330
+ @coupon-disabled-text-color: @gray-6;
331
+ @coupon-description-padding: @padding-xs @padding-md;
332
+ @coupon-description-border-color: @border-color;
333
+
334
+ // CouponCell
335
+ @coupon-cell-selected-text-color: @text-color;
336
+
337
+ // CouponList
338
+ @coupon-list-background-color: @background-color;
339
+ @coupon-list-field-padding: 5px 0 5px @padding-md;
340
+ @coupon-list-exchange-button-height: 32px;
341
+ @coupon-list-close-button-height: 40px;
342
+ @coupon-list-empty-image-size: 200px;
343
+ @coupon-list-empty-tip-color: @gray-6;
344
+ @coupon-list-empty-tip-font-size: @font-size-md;
345
+ @coupon-list-empty-tip-line-height: @line-height-md;
346
+
347
+ // Dialog
348
+ @dialog-width: 327px;
349
+ @dialog-small-screen-width: 90%;
350
+ @dialog-font-size: @font-size-lg;
351
+ @dialog-transition: @animation-duration-base;
352
+ @dialog-border-radius: 4px;
353
+ @dialog-background-color: @white;
354
+ @dialog-header-font-weight: @font-weight-bold;
355
+ @dialog-header-line-height: 24px;
356
+ @dialog-header-padding-top: 24px;
357
+ @dialog-header-padding-left: 16px;
358
+ @dialog-header-padding-right: 16px;
359
+ @dialog-header-isolated-padding: @padding-lg 0;
360
+ @dialog-message-padding: @padding-md;
361
+ @dialog-message-font-size: @font-size-lg;
362
+ @dialog-message-font-size-with-title: @font-size-md;
363
+ @dialog-message-line-height: @line-height-md;
364
+ @dialog-message-max-height: 60vh;
365
+ @dialog-has-title-message-text-color: @gray-a6;
366
+ @dialog-has-title-message-padding-top: @padding-xs;
367
+ @dialog-button-height: 44px;
368
+ @dialog-round-button-height: 36px;
369
+ @dialog-confirm-button-text-color: @blue;
370
+
371
+ // Divider
372
+ @divider-margin: @padding-md 0;
373
+ @divider-text-color: @gray-6;
374
+ @divider-font-size: @font-size-md;
375
+ @divider-line-height: 24px;
376
+ @divider-border-color: @border-color;
377
+ @divider-content-padding: @padding-md;
378
+ @divider-content-left-width: 10%;
379
+ @divider-content-right-width: 10%;
380
+
381
+ // DropdownMenu
382
+ @dropdown-menu-height: 48px;
383
+ @dropdown-menu-background-color: @white;
384
+ @dropdown-menu-box-shadow: 0 2px 12px fade(@gray-7, 12);
385
+ @dropdown-menu-title-font-size: 15px;
386
+ @dropdown-menu-title-text-color: @text-color;
387
+ @dropdown-menu-title-active-text-color: @red;
388
+ @dropdown-menu-title-disabled-text-color: @gray-6;
389
+ @dropdown-menu-title-padding: 0 @padding-xs;
390
+ @dropdown-menu-title-line-height: @line-height-lg;
391
+ @dropdown-menu-option-active-color: @red;
392
+ @dropdown-menu-content-max-height: 80%;
393
+ @dropdown-item-z-index: 10;
394
+
395
+ // Empty
396
+ @empty-background-color: @white;
397
+ @empty-padding: @padding-base * 8 @padding-base * 12;
398
+ @empty-image-width:280px;
399
+ @empty-image-height:260px;
400
+ @empty-description-margin-top: @padding-xs;
401
+ @empty-description-padding: 0 2px;
402
+ @empty-description-color: @black;
403
+ @empty-description-font-size: @font-size-lg;
404
+ @empty-description-line-height: @line-height-xl;
405
+ @empty-bottom-margin-top: 24px;
406
+
407
+ // Field
408
+ @field-label-width: 6.2em;
409
+ @field-label-color: @gray-7;
410
+ @field-label-margin-right: @padding-sm;
411
+ @field-input-text-color: @text-color;
412
+ @field-input-error-text-color: @red;
413
+ @field-input-disabled-text-color: @gray-5;
414
+ @field-placeholder-text-color: @gray-5;
415
+ @field-icon-size: 16px;
416
+ @field-clear-icon-size: 16px;
417
+ @field-clear-icon-color: @gray-5;
418
+ @field-right-icon-color: @gray-6;
419
+ @field-error-message-color: @red;
420
+ @field-error-message-text-color: 12px;
421
+ @field-text-area-min-height: 60px;
422
+ @field-word-limit-color: @gray-7;
423
+ @field-word-limit-font-size: @font-size-sm;
424
+ @field-word-limit-line-height: 16px;
425
+ @field-disabled-text-color: @gray-5;
426
+
427
+ // GridItem
428
+ @grid-item-content-padding: @padding-md @padding-xs;
429
+ @grid-item-content-background-color: @white;
430
+ @grid-item-content-active-color: @active-color;
431
+ @grid-item-icon-size: 28px;
432
+ @grid-item-text-color: @gray-7;
433
+ @grid-item-text-font-size: @font-size-sm;
434
+
435
+ // GoodsAction
436
+ @goods-action-background-color: @white;
437
+ @goods-action-height: 50px;
438
+ @goods-action-icon-width: 48px;
439
+ @goods-action-icon-height: 100%;
440
+ @goods-action-icon-color: @text-color;
441
+ @goods-action-icon-size: 18px;
442
+ @goods-action-icon-font-size: @font-size-xs;
443
+ @goods-action-icon-active-color: @active-color;
444
+ @goods-action-icon-text-color: @gray-7;
445
+ @goods-action-button-height: 40px;
446
+ @goods-action-button-warning-color: @gradient-orange;
447
+ @goods-action-button-danger-color: @gradient-red;
448
+
449
+ // IndexAnchor
450
+ @index-anchor-z-index: 1;
451
+ @index-anchor-padding: 0 @padding-md;
452
+ @index-anchor-text-color: @text-color;
453
+ @index-anchor-font-weight: @font-weight-bold;
454
+ @index-anchor-font-size: @font-size-md;
455
+ @index-anchor-line-height: 32px;
456
+ @index-anchor-background-color: transparent;
457
+ @index-anchor-sticky-text-color: @red;
458
+ @index-anchor-sticky-background-color: @white;
459
+
460
+ // IndexBar
461
+ @index-bar-sidebar-z-index: 2;
462
+ @index-bar-index-font-size: @font-size-xs;
463
+ @index-bar-index-line-height: @line-height-xs;
464
+ @index-bar-index-active-color: @red;
465
+
466
+ // Info
467
+ @info-size: 16px;
468
+ @info-color: @white;
469
+ @info-padding: 0 3px;
470
+ @info-font-size: @font-size-sm;
471
+ @info-font-weight: @font-weight-bold;
472
+ @info-border-width: @border-width-base;
473
+ @info-background-color: @red;
474
+ @info-dot-color: @red;
475
+ @info-dot-size: 8px;
476
+ @info-font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
477
+
478
+ // Image
479
+ @image-placeholder-text-color: @gray-6;
480
+ @image-placeholder-font-size: @font-size-md;
481
+ @image-placeholder-background-color: @background-color;
482
+ @image-loading-icon-size: 32px;
483
+ @image-loading-icon-color: @gray-4;
484
+ @image-error-icon-size: 32px;
485
+ @image-error-icon-color: @gray-4;
486
+
487
+ // ImagePreview
488
+ @image-preview-index-text-color: @white;
489
+ @image-preview-index-font-size: @font-size-md;
490
+ @image-preview-index-line-height: @line-height-md;
491
+ @image-preview-index-text-shadow: 0 1px 1px @gray-8;
492
+ @image-preview-overlay-background-color: rgba(0, 0, 0, 0.9);
493
+ @image-preview-close-icon-size: 22px;
494
+ @image-preview-close-icon-color: @gray-5;
495
+ @image-preview-close-icon-active-color: @gray-6;
496
+ @image-preview-close-icon-margin: @padding-md;
497
+ @image-preview-close-icon-z-index: 1;
498
+
499
+ // List
500
+ @list-text-color: @gray-6;
501
+ @list-text-font-size: @font-size-md;
502
+ @list-text-line-height: 50px;
503
+
504
+ // Loading
505
+ @loading-text-color: @gray-6;
506
+ @loading-text-font-size: @font-size-md;
507
+ @loading-spinner-color: @gray-5;
508
+ @loading-spinner-size: 30px;
509
+ @loading-spinner-animation-duration: 0.8s;
510
+
511
+ // NavBar
512
+ @nav-bar-height: 44px;
513
+ @nav-bar-background-color: @white;
514
+ @nav-bar-arrow-size: 16px;
515
+ @nav-bar-icon-color: @blue;
516
+ @nav-bar-text-color: @blue;
517
+ @nav-bar-title-font-size: @font-size-lg;
518
+ @nav-bar-title-text-color: @text-color;
519
+ @nav-bar-z-index: 1;
520
+
521
+ // NoticeBar
522
+ @notice-bar-height: 40px;
523
+ @notice-bar-padding: 0 @padding-md;
524
+ @notice-bar-wrapable-padding: @padding-xs @padding-md;
525
+ @notice-bar-text-color: @orange-dark;
526
+ @notice-bar-font-size: @font-size-md;
527
+ @notice-bar-line-height: 24px;
528
+ @notice-bar-background-color: @orange-light;
529
+ @notice-bar-icon-size: 16px;
530
+ @notice-bar-icon-min-width: 24px;
531
+
532
+ // Notify
533
+ @notify-text-color: @white;
534
+ @notify-padding: @padding-xs @padding-md;
535
+ @notify-font-size: @font-size-md;
536
+ @notify-line-height: @line-height-md;
537
+ @notify-primary-background-color: @blue;
538
+ @notify-success-background-color: @green;
539
+ @notify-danger-background-color: @red;
540
+ @notify-warning-background-color: @orange;
541
+
542
+ // NumberKeyboard
543
+ @number-keyboard-background-color: @gray-2;
544
+ @number-keyboard-key-height: 44px;
545
+ @number-keyboard-key-font-size: 28px;
546
+ @number-keyboard-key-active-color: @gray-3;
547
+ @number-keyboard-delete-font-size: @font-size-lg;
548
+ @number-keyboard-title-color: @gray-7;
549
+ @number-keyboard-title-height: 34px;
550
+ @number-keyboard-title-font-size: @font-size-lg;
551
+ @number-keyboard-close-padding: 0 @padding-md;
552
+ @number-keyboard-close-color: @text-link-color;
553
+ @number-keyboard-close-font-size: @font-size-md;
554
+ @number-keyboard-button-text-color: @white;
555
+ @number-keyboard-button-background-color: @blue;
556
+ @number-keyboard-cursor-color: @text-color;
557
+ @number-keyboard-cursor-width: 1px;
558
+ @number-keyboard-cursor-height: 40%;
559
+ @number-keyboard-cursor-animation-duration: 1s;
560
+ @number-keyboard-z-index: 100;
561
+
562
+ // Overlay
563
+ @overlay-z-index: 1;
564
+ @overlay-background-color: rgba(0, 0, 0, 0.4);
565
+
566
+ // Pagination
567
+ @pagination-height: 40px;
568
+ @pagination-font-size: @font-size-md;
569
+ @pagination-item-width: 36px;
570
+ @pagination-item-default-color: @blue;
571
+ @pagination-item-disabled-color: @gray-7;
572
+ @pagination-item-disabled-background-color: @background-color;
573
+ @pagination-background-color: @white;
574
+ @pagination-desc-color: @gray-7;
575
+ @pagination-disabled-opacity: @disabled-opacity;
576
+
577
+ // Panel
578
+ @panel-background-color: @white;
579
+ @panel-header-value-color: @red;
580
+ @panel-footer-padding: @padding-xs @padding-md;
581
+
582
+ // PasswordInput
583
+ @password-input-height: 50px;
584
+ @password-input-margin: 0 @padding-md;
585
+ @password-input-font-size: 20px;
586
+ @password-input-border-radius: 6px;
587
+ @password-input-background-color: @white;
588
+ @password-input-info-color: @gray-6;
589
+ @password-input-info-font-size: @font-size-md;
590
+ @password-input-error-info-color: @red;
591
+ @password-input-dot-size: 10px;
592
+ @password-input-dot-color: @black;
593
+
594
+ // Picker
595
+ @picker-background-color: @white;
596
+ @picker-toolbar-height: 44px;
597
+ @picker-title-font-size: @font-size-md;
598
+ @picker-title-line-height: @line-height-md;
599
+ @picker-action-padding: 0 @padding-md;
600
+ @picker-action-font-size: @font-size-lg;
601
+ @picker-confirm-action-font-weight: @base-font-weight;
602
+ @picker-confirm-action-color: @blue;
603
+ @picker-cancel-action-font-weight: @plain-font-weight;
604
+ @picker-cancel-action-color: @black;
605
+ @picker-option-font-size: @font-size-lg;
606
+ @picker-option-text-color: @black;
607
+ @picker-option-disabled-opacity: 0.3;
608
+ @picker-loading-icon-color: @blue;
609
+ @picker-loading-mask-color: rgba(255, 255, 255, 0.9);
610
+
611
+ // Popover
612
+ @popover-arrow-size: 6px;
613
+ @popover-border-radius: @border-radius-lg;
614
+ @popover-action-width: 128px;
615
+ @popover-action-height: 44px;
616
+ @popover-action-font-size: @font-size-md;
617
+ @popover-action-line-height: @line-height-md;
618
+ @popover-action-icon-size: 20px;
619
+ @popover-light-text-color: @text-color;
620
+ @popover-light-background-color: @white;
621
+ @popover-light-action-disabled-text-color: @gray-5;
622
+ @popover-dark-text-color: @white;
623
+ @popover-dark-background-color: #4a4a4a;
624
+ @popover-dark-action-disabled-text-color: @gray-6;
625
+
626
+ // Popup
627
+ @popup-background-color: @white;
628
+ @popup-transition: transform @animation-duration-base;
629
+ @popup-round-border-radius: 8px;
630
+ @popup-close-icon-size: 20px;
631
+ @popup-close-icon-color: @gray-5;
632
+ @popup-close-icon-active-color: @gray-6;
633
+ @popup-close-icon-margin: 16px;
634
+ @popup-close-icon-z-index: 1;
635
+
636
+ // Progress
637
+ @progress-height: 4px;
638
+ @progress-color: @blue;
639
+ @progress-background-color: @gray-3;
640
+ @progress-pivot-padding: 0 5px;
641
+ @progress-pivot-text-color: @white;
642
+ @progress-pivot-font-size: @font-size-xs;
643
+ @progress-pivot-line-height: 1.6;
644
+ @progress-pivot-background-color: @blue;
645
+
646
+ // PullRefresh
647
+ @pull-refresh-head-height: 50px;
648
+ @pull-refresh-head-font-size: @font-size-md;
649
+ @pull-refresh-head-text-color: @gray-6;
650
+
651
+ // Radio
652
+ @radio-size: 20px;
653
+ @radio-border-color: @gray-5;
654
+ @radio-transition-duration: @animation-duration-fast;
655
+ @radio-label-margin: @padding-xs;
656
+ @radio-label-color: @text-color;
657
+ @radio-checked-icon-color: @blue;
658
+ @radio-disabled-icon-color: @gray-5;
659
+ @radio-disabled-label-color: @gray-5;
660
+ @radio-disabled-background-color: @border-color;
661
+
662
+ // Rate
663
+ @rate-icon-size: 20px;
664
+ @rate-icon-gutter: @padding-base;
665
+ @rate-icon-void-color: @gray-01;
666
+ @rate-icon-full-color: @yellow;
667
+ @rate-icon-disabled-color: @gray-5;
668
+
669
+ // ShareSheet
670
+ @share-sheet-header-padding: @padding-sm @padding-md @padding-base;
671
+ @share-sheet-title-color: @text-color;
672
+ @share-sheet-title-font-size: @font-size-md;
673
+ @share-sheet-title-line-height: @line-height-md;
674
+ @share-sheet-description-color: @gray-6;
675
+ @share-sheet-description-font-size: @font-size-sm;
676
+ @share-sheet-description-line-height: 16px;
677
+ @share-sheet-icon-size: 48px;
678
+ @share-sheet-option-name-color: @gray-7;
679
+ @share-sheet-option-name-font-size: @font-size-sm;
680
+ @share-sheet-option-description-color: @gray-5;
681
+ @share-sheet-option-description-font-size: @font-size-sm;
682
+ @share-sheet-cancel-button-font-size: @font-size-lg;
683
+ @share-sheet-cancel-button-height: 48px;
684
+ @share-sheet-cancel-button-background: @white;
685
+
686
+ // Search
687
+ @search-padding: 10px @padding-sm;
688
+ @search-background-color: @white;
689
+ @search-content-background-color: @gray-1;
690
+ @search-input-height: 34px;
691
+ @search-label-padding: 0 5px;
692
+ @search-label-color: @text-color;
693
+ @search-label-font-size: @font-size-md;
694
+ @search-left-icon-color: @gray-6;
695
+ @search-action-padding: 0 @padding-xs;
696
+ @search-action-text-color: @text-color;
697
+ @search-action-font-size: @font-size-md;
698
+
699
+ // Sidebar
700
+ @sidebar-width: 80px;
701
+ @sidebar-font-size: @font-size-md;
702
+ @sidebar-line-height: @line-height-md;
703
+ @sidebar-text-color: @text-color;
704
+ @sidebar-disabled-text-color: @gray-5;
705
+ @sidebar-padding: 20px @padding-sm;
706
+ @sidebar-active-color: @active-color;
707
+ @sidebar-background-color: @background-color;
708
+ @sidebar-selected-font-weight: @font-weight-bold;
709
+ @sidebar-selected-text-color: @text-color;
710
+ @sidebar-selected-border-width: 4px;
711
+ @sidebar-selected-border-height: 16px;
712
+ @sidebar-selected-border-color: @red;
713
+ @sidebar-selected-background-color: @white;
714
+
715
+ // Skeleton
716
+ @skeleton-row-height: 16px;
717
+ @skeleton-row-background-color: @active-color;
718
+ @skeleton-row-margin-top: @padding-sm;
719
+ @skeleton-title-width: 40%;
720
+ @skeleton-avatar-size: 32px;
721
+ @skeleton-avatar-background-color: @active-color;
722
+ @skeleton-animation-duration: 1.2s;
723
+
724
+ // Slider
725
+ @slider-active-background-color: @blue;
726
+ @slider-inactive-background-color: @gray-3;
727
+ @slider-disabled-opacity: @disabled-opacity;
728
+ @slider-bar-height: 2px;
729
+ @slider-button-width: 24px;
730
+ @slider-button-height: 24px;
731
+ @slider-button-border-radius: 50%;
732
+ @slider-button-background-color: @white;
733
+ @slider-button-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
734
+
735
+ // Step
736
+ @step-text-color: @gray-6;
737
+ @step-active-color: @green;
738
+ @step-process-text-color: @text-color;
739
+ @step-font-size: @font-size-md;
740
+ @step-line-color: @border-color;
741
+ @step-finish-line-color: @green;
742
+ @step-finish-text-color: @text-color;
743
+ @step-icon-size: 12px;
744
+ @step-circle-size: 5px;
745
+ @step-circle-color: @gray-6;
746
+ @step-horizontal-title-font-size: @font-size-sm;
747
+
748
+ // Steps
749
+ @steps-background-color: @white;
750
+
751
+ // Sticky
752
+ @sticky-z-index: 99;
753
+
754
+ // Stepper
755
+ @stepper-active-color: #e8e8e8;
756
+ @stepper-background-color: @active-color;
757
+ @stepper-button-icon-color: @text-color;
758
+ @stepper-button-disabled-color: @background-color;
759
+ @stepper-button-disabled-icon-color: @gray-5;
760
+ @stepper-button-round-theme-color: @red;
761
+ @stepper-input-width: 32px;
762
+ @stepper-input-height: 28px;
763
+ @stepper-input-font-size: @font-size-md;
764
+ @stepper-input-line-height: normal;
765
+ @stepper-input-text-color: @text-color;
766
+ @stepper-input-disabled-text-color: @gray-5;
767
+ @stepper-input-disabled-background-color: @active-color;
768
+ @stepper-border-radius: @border-radius-md;
769
+
770
+ // SubmitBar
771
+ @submit-bar-height: 50px;
772
+ @submit-bar-z-index: 100;
773
+ @submit-bar-background-color: @white;
774
+ @submit-bar-button-width: 110px;
775
+ @submit-bar-price-color: @red;
776
+ @submit-bar-price-font-size: @font-size-md;
777
+ @submit-bar-currency-font-size: @font-size-md;
778
+ @submit-bar-text-color: @text-color;
779
+ @submit-bar-text-font-size: @font-size-md;
780
+ @submit-bar-tip-padding: @padding-xs @padding-sm;
781
+ @submit-bar-tip-font-size: @font-size-sm;
782
+ @submit-bar-tip-line-height: 1.5;
783
+ @submit-bar-tip-color: #f56723;
784
+ @submit-bar-tip-background-color: #fff7cc;
785
+ @submit-bar-tip-icon-size: 12px;
786
+ @submit-bar-button-height: 40px;
787
+ @submit-bar-padding: 0 @padding-md;
788
+ @submit-bar-price-integer-font-size: 20px;
789
+ @submit-bar-price-font-family: @price-integer-font-family;
790
+
791
+ // Swipe
792
+ @swipe-indicator-size: 6px;
793
+ @swipe-indicator-margin: @padding-sm;
794
+ @swipe-indicator-active-opacity: 1;
795
+ @swipe-indicator-inactive-opacity: 0.3;
796
+ @swipe-indicator-active-background-color: @blue;
797
+ @swipe-indicator-inactive-background-color: @border-color;
798
+
799
+ // Switch
800
+ @switch-size: 24px;
801
+ @switch-width: 2.16em;
802
+ @switch-height: 1.16em;
803
+ @switch-border-radius: 0.5em;
804
+ @switch-node-size: 1em;
805
+ @switch-gap: 0.08em;
806
+ @switch-node-background-color: @white;
807
+ @switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, 0.05),
808
+ 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.05);
809
+ @switch-background-color: @gray-0;
810
+ @switch-on-background-color: @blue;
811
+ @switch-transition-duration: @animation-duration-base;
812
+ @switch-disabled-opacity: @disabled-opacity;
813
+ @switch-border: @border-width-base solid rgba(0, 0, 0, 0.1);
814
+
815
+ // SwitchCell
816
+ @switch-cell-padding-top: @cell-vertical-padding - 1px;
817
+ @switch-cell-padding-bottom: @cell-vertical-padding - 1px;
818
+ @switch-cell-large-padding-top: @cell-large-vertical-padding - 1px;
819
+ @switch-cell-large-padding-bottom: @cell-large-vertical-padding - 1px;
820
+
821
+ // Tabbar
822
+ @tabbar-height: 50px;
823
+ @tabbar-z-index: 1;
824
+ @tabbar-background-color: @white;
825
+
826
+ // TabbarItem
827
+ @tabbar-item-font-size: @font-size-sm;
828
+ @tabbar-item-text-color: @gray-7;
829
+ @tabbar-item-active-color: @blue;
830
+ @tabbar-item-active-background-color: @tabbar-background-color;
831
+ @tabbar-item-line-height: 1;
832
+ @tabbar-item-icon-size: 22px;
833
+ @tabbar-item-margin-bottom: 4px;
834
+
835
+ // Tab
836
+ @tab-text-color: @gray-7;
837
+ @tab-active-text-color: @text-color;
838
+ @tab-disabled-text-color: @gray-5;
839
+ @tab-font-size: @font-size-md;
840
+ @tab-line-height: @line-height-md;
841
+
842
+ // Tabs
843
+ @tabs-default-color: @red;
844
+ @tabs-line-height: 44px;
845
+ @tabs-card-height: 30px;
846
+ @tabs-nav-background-color: @white;
847
+ @tabs-bottom-bar-width: 40px;
848
+ @tabs-bottom-bar-height: 3px;
849
+ @tabs-bottom-bar-color: @tabs-default-color;
850
+
851
+ // Tag
852
+ @tag-padding: 0 @padding-base;
853
+ @tag-text-color: @white;
854
+ @tag-font-size: @font-size-sm;
855
+ @tag-border-radius: 2px;
856
+ @tag-line-height: 16px;
857
+ @tag-medium-padding: 2px 6px;
858
+ @tag-large-padding: @padding-base @padding-xs;
859
+ @tag-large-border-radius: @border-radius-md;
860
+ @tag-large-font-size: @font-size-md;
861
+ @tag-round-border-radius: @border-radius-max;
862
+ @tag-danger-color: @red;
863
+ @tag-primary-color: @blue;
864
+ @tag-success-color: @green;
865
+ @tag-warning-color: @orange;
866
+ @tag-default-color: @gray-6;
867
+ @tag-plain-background-color: @white;
868
+
869
+ // Toast
870
+ @toast-max-width: 70%;
871
+ @toast-font-size: @font-size-md;
872
+ @toast-text-color: @white;
873
+ @toast-loading-icon-color: @white;
874
+ @toast-line-height: @line-height-md;
875
+ @toast-border-radius: @border-radius-lg;
876
+ @toast-background-color: fade(@black, 70%);
877
+ @toast-icon-size: 36px;
878
+ @toast-text-min-width: 96px;
879
+ @toast-text-padding: @padding-xs @padding-sm;
880
+ @toast-default-padding: @padding-md;
881
+ @toast-default-width: 88px;
882
+ @toast-default-min-height: 88px;
883
+ @toast-position-top-distance: 20%;
884
+ @toast-position-bottom-distance: 20%;
885
+
886
+ // TreeSelect
887
+ @tree-select-font-size: @font-size-md;
888
+ @tree-select-nav-background-color: @background-color;
889
+ @tree-select-content-background-color: @white;
890
+ @tree-select-nav-item-padding: 14px @padding-sm;
891
+ @tree-select-item-height: 48px;
892
+ @tree-select-item-active-color: @red;
893
+ @tree-select-item-disabled-color: @gray-5;
894
+ @tree-select-item-selected-size: 16px;
895
+
896
+ // Uploader
897
+ @uploader-size: 80px;
898
+ @uploader-icon-size: 24px;
899
+ @uploader-icon-color: @gray-4;
900
+ @uploader-text-color: @gray-6;
901
+ @uploader-text-font-size: @font-size-sm;
902
+ @uploader-upload-background-color: @gray-1;
903
+ @uploader-upload-active-color: @active-color;
904
+ @uploader-delete-color: @white;
905
+ @uploader-delete-icon-size: 14px;
906
+ @uploader-delete-background-color: rgba(0, 0, 0, 0.7);
907
+ @uploader-file-background-color: @background-color;
908
+ @uploader-file-icon-size: 20px;
909
+ @uploader-file-icon-color: @gray-7;
910
+ @uploader-file-name-padding: 0 @padding-base;
911
+ @uploader-file-name-margin-top: @padding-xs;
912
+ @uploader-file-name-font-size: @font-size-sm;
913
+ @uploader-file-name-text-color: @gray-7;
914
+ @uploader-mask-background-color: fade(@gray-8, 88%);
915
+ @uploader-mask-icon-size: 22px;
916
+ @uploader-mask-message-font-size: @font-size-sm;
917
+ @uploader-mask-message-line-height: @line-height-xs;
918
+ @uploader-loading-icon-size: 22px;
919
+ @uploader-loading-icon-color: @white;
920
+ @uploader-disabled-opacity: @disabled-opacity;
921
+
922
+ // Sku
923
+ @sku-item-background-color: @background-color;
924
+ @sku-icon-gray-color: @gray-4;
925
+ @sku-upload-mask-color: rgba(50, 50, 51, 0.8);
926
+
927
+ // Avatar
928
+ @avatar-size-small: 32px;
929
+ @avatar-size-medium: 48px;
930
+ @avatar-size-large: 60px;
931
+ @avatar-font-size-small: 12px;
932
+ @avatar-font-size-medium: 16px;
933
+ @avatar-font-size-large: 20px;
934
+ @avatar-circle-radius: 50%;
935
+ @avatar-default-bg: @green-1;
936
+ @avatar-default-color: @white;
937
+
938
+ // Signature
939
+ @signature-canvas-z-index: 1;
940
+ @signature-hint-z-index: 2;
941
+ @signature-actions-z-index: 2;