@digitalc/dxp-ui 0.0.5-alpha.16 → 0.0.5-alpha.17

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 (238) hide show
  1. package/README.md +81 -47
  2. package/es/assets/token.json +128 -102
  3. package/es/components/Accordion/designTokens.d.ts +3 -3
  4. package/es/components/Accordion/designTokens.js +22 -14
  5. package/es/components/Accordion/index.js +8 -4
  6. package/es/components/Amount/designTokens.d.ts +2 -2
  7. package/es/components/Amount/designTokens.js +12 -8
  8. package/es/components/Amount/index.d.ts +3 -10
  9. package/es/components/Amount/index.js +122 -136
  10. package/es/components/Button/designTokens.d.ts +18 -3
  11. package/es/components/Button/designTokens.js +136 -122
  12. package/es/components/Button/index.d.ts +16 -5
  13. package/es/components/Button/index.js +89 -94
  14. package/es/components/Button/style/index.less +1 -1
  15. package/es/components/Card/designTokens.d.ts +9 -0
  16. package/es/components/Card/designTokens.js +14 -0
  17. package/es/components/Card/index.d.ts +15 -0
  18. package/es/components/Card/index.js +66 -0
  19. package/es/components/Card/style/index.less +45 -0
  20. package/es/components/Card/style/variables.less +4 -0
  21. package/es/components/Chip/designTokens.d.ts +2 -2
  22. package/es/components/Chip/designTokens.js +25 -21
  23. package/es/components/Chip/index.js +9 -8
  24. package/es/components/Divider/designTokens.d.ts +4 -0
  25. package/es/components/Divider/designTokens.js +9 -0
  26. package/es/components/Divider/index.d.ts +3 -8
  27. package/es/components/Divider/index.js +31 -49
  28. package/es/components/Drawer/designTokens.d.ts +2 -2
  29. package/es/components/Drawer/designTokens.js +30 -26
  30. package/es/components/Drawer/index.d.ts +6 -2
  31. package/es/components/Drawer/index.js +71 -68
  32. package/es/components/Drawer/style/index.less +13 -7
  33. package/es/components/GlobalTokenProvider/index.d.ts +11 -0
  34. package/es/components/GlobalTokenProvider/index.js +16 -0
  35. package/es/components/Icon/designTokens.d.ts +3 -3
  36. package/es/components/Icon/designTokens.js +11 -6
  37. package/es/components/Icon/index.js +6 -2
  38. package/es/components/IconButton/designTokens.d.ts +3 -4
  39. package/es/components/IconButton/designTokens.js +38 -32
  40. package/es/components/IconButton/index.d.ts +1 -1
  41. package/es/components/IconButton/index.js +7 -7
  42. package/es/components/Image/index.d.ts +1 -1
  43. package/es/components/Image/index.js +4 -3
  44. package/es/components/ListItem/designTokens.d.ts +4 -2
  45. package/es/components/ListItem/designTokens.js +36 -30
  46. package/es/components/ListItem/index.d.ts +12 -2
  47. package/es/components/ListItem/index.js +95 -30
  48. package/es/components/ListItem/style/index.less +42 -9
  49. package/es/components/Modal/designTokens.d.ts +11 -20
  50. package/es/components/Modal/designTokens.js +39 -30
  51. package/es/components/Modal/index.js +24 -11
  52. package/es/components/Navigation/designTokens.d.ts +9 -8
  53. package/es/components/Navigation/designTokens.js +24 -18
  54. package/es/components/Navigation/index.d.ts +1 -0
  55. package/es/components/Navigation/index.js +14 -10
  56. package/es/components/Notification/designTokens.d.ts +9 -0
  57. package/es/components/Notification/designTokens.js +14 -0
  58. package/es/components/Notification/index.d.ts +12 -0
  59. package/es/components/Notification/index.js +54 -0
  60. package/es/components/Notification/style/index.less +45 -0
  61. package/es/components/Notification/style/variables.less +4 -0
  62. package/es/components/Search/designTokens.d.ts +4 -4
  63. package/es/components/Search/designTokens.js +57 -46
  64. package/es/components/Search/index.js +15 -9
  65. package/es/components/Stepper/designTokens.d.ts +4 -5
  66. package/es/components/Stepper/designTokens.js +48 -40
  67. package/es/components/Stepper/index.d.ts +9 -10
  68. package/es/components/Stepper/index.js +139 -135
  69. package/es/components/Stepper/style/index.less +27 -12
  70. package/es/components/StickyFooter/designTokens.d.ts +2 -2
  71. package/es/components/StickyFooter/designTokens.js +20 -16
  72. package/es/components/StickyFooter/index.d.ts +2 -2
  73. package/es/components/StickyFooter/index.js +68 -39
  74. package/es/components/StickyFooter/style/index.less +5 -3
  75. package/es/components/Tabs/designTokens.d.ts +6 -6
  76. package/es/components/Tabs/designTokens.js +77 -60
  77. package/es/components/Tabs/index.js +11 -6
  78. package/es/components/Tag/designTokens.d.ts +42 -42
  79. package/es/components/Tag/designTokens.js +139 -95
  80. package/es/components/Tag/index.d.ts +1 -1
  81. package/es/components/Tag/index.js +16 -3
  82. package/es/components/Text/designTokens.d.ts +19 -10
  83. package/es/components/Text/designTokens.js +65 -51
  84. package/es/components/Text/index.d.ts +2 -1
  85. package/es/components/Text/index.js +42 -12
  86. package/es/components/TextInputInside/designTokens.d.ts +3 -12
  87. package/es/components/TextInputInside/designTokens.js +59 -57
  88. package/es/components/TextInputInside/index.js +10 -7
  89. package/es/components/TextInputOutside/designTokens.d.ts +5 -5
  90. package/es/components/TextInputOutside/designTokens.js +77 -61
  91. package/es/components/TextInputOutside/index.js +12 -7
  92. package/es/components/TextLink/designTokens.d.ts +2 -2
  93. package/es/components/TextLink/designTokens.js +14 -10
  94. package/es/components/TextLink/index.js +2 -1
  95. package/es/components/Toast/designTokens.d.ts +2 -2
  96. package/es/components/Toast/designTokens.js +20 -19
  97. package/es/components/Toast/index.js +2 -1
  98. package/es/components/Toggle/designTokens.d.ts +2 -2
  99. package/es/components/Toggle/designTokens.js +16 -12
  100. package/es/components/Toggle/index.js +2 -1
  101. package/es/components/index.d.ts +7 -1
  102. package/es/components/index.js +6 -2
  103. package/es/constants/index.d.ts +4 -1
  104. package/es/constants/index.js +5 -1
  105. package/es/index.d.ts +2 -0
  106. package/es/index.js +4 -0
  107. package/es/tokens/DXPGlobal.d.ts +27 -18
  108. package/es/tokens/DXPGlobal.js +2 -2
  109. package/es/utils/TokenContext.d.ts +14 -0
  110. package/es/utils/TokenContext.js +91 -0
  111. package/es/utils/deviceType.d.ts +14 -0
  112. package/es/utils/deviceType.js +65 -0
  113. package/es/utils/index.d.ts +9 -0
  114. package/es/utils/index.js +9 -0
  115. package/es/utils/tokenHelper.js +2 -5
  116. package/es/utils/tokenManager.d.ts +82 -20
  117. package/es/utils/tokenManager.js +857 -779
  118. package/lib/assets/token.json +128 -102
  119. package/lib/components/Accordion/designTokens.d.ts +3 -3
  120. package/lib/components/Accordion/designTokens.js +25 -17
  121. package/lib/components/Accordion/index.js +8 -4
  122. package/lib/components/Amount/designTokens.d.ts +2 -2
  123. package/lib/components/Amount/designTokens.js +13 -9
  124. package/lib/components/Amount/index.d.ts +3 -10
  125. package/lib/components/Amount/index.js +84 -90
  126. package/lib/components/Button/designTokens.d.ts +18 -3
  127. package/lib/components/Button/designTokens.js +120 -114
  128. package/lib/components/Button/index.d.ts +16 -5
  129. package/lib/components/Button/index.js +59 -51
  130. package/lib/components/Button/style/index.less +1 -1
  131. package/lib/components/Card/designTokens.d.ts +9 -0
  132. package/lib/components/Card/designTokens.js +37 -0
  133. package/lib/components/Card/index.d.ts +15 -0
  134. package/lib/components/Card/index.js +156 -0
  135. package/lib/components/Card/style/index.less +45 -0
  136. package/lib/components/Card/style/variables.less +4 -0
  137. package/lib/components/Chip/designTokens.d.ts +2 -2
  138. package/lib/components/Chip/designTokens.js +25 -21
  139. package/lib/components/Chip/index.js +8 -5
  140. package/lib/components/Divider/designTokens.d.ts +4 -0
  141. package/lib/components/Divider/designTokens.js +32 -0
  142. package/lib/components/Divider/index.d.ts +3 -8
  143. package/lib/components/Divider/index.js +41 -43
  144. package/lib/components/Drawer/designTokens.d.ts +2 -2
  145. package/lib/components/Drawer/designTokens.js +31 -38
  146. package/lib/components/Drawer/index.d.ts +6 -2
  147. package/lib/components/Drawer/index.js +80 -53
  148. package/lib/components/Drawer/style/index.less +13 -7
  149. package/lib/components/GlobalTokenProvider/index.d.ts +11 -0
  150. package/lib/components/GlobalTokenProvider/index.js +40 -0
  151. package/lib/components/Icon/designTokens.d.ts +3 -3
  152. package/lib/components/Icon/designTokens.js +11 -17
  153. package/lib/components/Icon/index.js +5 -4
  154. package/lib/components/IconButton/designTokens.d.ts +3 -4
  155. package/lib/components/IconButton/designTokens.js +41 -34
  156. package/lib/components/IconButton/index.d.ts +1 -1
  157. package/lib/components/IconButton/index.js +25 -23
  158. package/lib/components/Image/index.d.ts +1 -1
  159. package/lib/components/Image/index.js +4 -4
  160. package/lib/components/ListItem/designTokens.d.ts +4 -2
  161. package/lib/components/ListItem/designTokens.js +36 -41
  162. package/lib/components/ListItem/index.d.ts +12 -2
  163. package/lib/components/ListItem/index.js +115 -46
  164. package/lib/components/ListItem/style/index.less +42 -9
  165. package/lib/components/Modal/designTokens.d.ts +11 -20
  166. package/lib/components/Modal/designTokens.js +44 -60
  167. package/lib/components/Modal/index.js +63 -16
  168. package/lib/components/Navigation/designTokens.d.ts +9 -8
  169. package/lib/components/Navigation/designTokens.js +24 -29
  170. package/lib/components/Navigation/index.d.ts +1 -0
  171. package/lib/components/Navigation/index.js +13 -12
  172. package/lib/components/Notification/designTokens.d.ts +9 -0
  173. package/lib/components/Notification/designTokens.js +37 -0
  174. package/lib/components/Notification/index.d.ts +12 -0
  175. package/lib/components/Notification/index.js +110 -0
  176. package/lib/components/Notification/style/index.less +45 -0
  177. package/lib/components/Notification/style/variables.less +4 -0
  178. package/lib/components/Search/designTokens.d.ts +4 -4
  179. package/lib/components/Search/designTokens.js +61 -49
  180. package/lib/components/Search/index.js +31 -9
  181. package/lib/components/Stepper/designTokens.d.ts +4 -5
  182. package/lib/components/Stepper/designTokens.js +70 -62
  183. package/lib/components/Stepper/index.d.ts +9 -10
  184. package/lib/components/Stepper/index.js +104 -53
  185. package/lib/components/Stepper/style/index.less +27 -12
  186. package/lib/components/StickyFooter/designTokens.d.ts +2 -2
  187. package/lib/components/StickyFooter/designTokens.js +21 -17
  188. package/lib/components/StickyFooter/index.d.ts +2 -2
  189. package/lib/components/StickyFooter/index.js +50 -18
  190. package/lib/components/StickyFooter/style/index.less +5 -3
  191. package/lib/components/Tabs/designTokens.d.ts +6 -6
  192. package/lib/components/Tabs/designTokens.js +80 -63
  193. package/lib/components/Tabs/index.js +19 -12
  194. package/lib/components/Tag/designTokens.d.ts +42 -42
  195. package/lib/components/Tag/designTokens.js +159 -115
  196. package/lib/components/Tag/index.d.ts +1 -1
  197. package/lib/components/Tag/index.js +27 -14
  198. package/lib/components/Text/designTokens.d.ts +19 -10
  199. package/lib/components/Text/designTokens.js +65 -51
  200. package/lib/components/Text/index.d.ts +2 -1
  201. package/lib/components/Text/index.js +407 -297
  202. package/lib/components/TextInputInside/designTokens.d.ts +3 -12
  203. package/lib/components/TextInputInside/designTokens.js +62 -75
  204. package/lib/components/TextInputInside/index.js +10 -7
  205. package/lib/components/TextInputOutside/designTokens.d.ts +5 -5
  206. package/lib/components/TextInputOutside/designTokens.js +82 -66
  207. package/lib/components/TextInputOutside/index.js +12 -8
  208. package/lib/components/TextLink/designTokens.d.ts +2 -2
  209. package/lib/components/TextLink/designTokens.js +14 -21
  210. package/lib/components/TextLink/index.js +3 -2
  211. package/lib/components/Toast/designTokens.d.ts +2 -2
  212. package/lib/components/Toast/designTokens.js +20 -16
  213. package/lib/components/Toast/index.js +7 -6
  214. package/lib/components/Toggle/designTokens.d.ts +2 -2
  215. package/lib/components/Toggle/designTokens.js +16 -23
  216. package/lib/components/Toggle/index.js +3 -2
  217. package/lib/components/index.d.ts +7 -1
  218. package/lib/components/index.js +10 -2
  219. package/lib/constants/index.d.ts +4 -1
  220. package/lib/constants/index.js +5 -1
  221. package/lib/index.d.ts +2 -0
  222. package/lib/index.js +22 -0
  223. package/lib/tokens/DXPGlobal.d.ts +27 -18
  224. package/lib/tokens/DXPGlobal.js +1 -1
  225. package/lib/utils/TokenContext.d.ts +14 -0
  226. package/lib/utils/TokenContext.js +85 -0
  227. package/lib/utils/deviceType.d.ts +14 -0
  228. package/lib/utils/deviceType.js +56 -0
  229. package/lib/utils/index.d.ts +9 -0
  230. package/lib/utils/index.js +44 -0
  231. package/lib/utils/tokenHelper.js +2 -12
  232. package/lib/utils/tokenManager.d.ts +82 -20
  233. package/lib/utils/tokenManager.js +840 -777
  234. package/package.json +14 -11
  235. package/umd/dxp-ui.min.css +1 -1
  236. package/umd/dxp-ui.min.js +1 -1
  237. package/lib/components/Button/demo/index.d.ts +0 -3
  238. package/lib/components/Button/demo/index.js +0 -138
package/README.md CHANGED
@@ -1,13 +1,16 @@
1
1
  # @digitalc/dxp-ui
2
2
 
3
- React Component.
3
+ React 基础组件库。
4
4
 
5
- ## Feature
5
+ ## ✨ 特性
6
6
 
7
- - React life cycle support [@digitalc/dxp-ui](https://www.npmjs.com/package/@digitalc/dxp-ui) component
8
- 目前计划是提供基于antd5的基础组件库,分别 支持 TM、esales、GOMO 不同风格,后续提供全量定业务组件库。即可不用使用第三方组件,快速切换组件风格,同时支持业务组件库,方便业务组件二次开发。
7
+ - 基于 Ant Design 5 二次封装,提供更符合业务场景的 React 组件。
8
+ - 支持多种主题风格(如 TM、esales、GOMO),方便快速切换。
9
+ - 提供业务组件库,支持二次开发和定制。
10
+ - NPM 包: [@digitalc/dxp-ui](https://www.npmjs.com/package/@digitalc/dxp-ui)
11
+ - 在线演示文档: [https://dxp-ui.vercel.app/dxp-design/](https://dxp-ui.vercel.app/dxp-design/)
9
12
 
10
- ## Install
13
+ ## 📦 安装
11
14
 
12
15
  ```bash | pure
13
16
  npm install @digitalc/dxp-ui
@@ -15,13 +18,14 @@ npm install @digitalc/dxp-ui
15
18
  npm config set registry https://registry.npmjs.org/
16
19
  ```
17
20
 
18
- ## Usage
21
+ ## 🚀 使用
19
22
 
20
23
  <!-- prettier-ignore -->
21
24
  ```tsx | pure
22
25
  import { Button } from '@digitalc/dxp-ui';
23
- // 后续完善打包工具后,会自动引入样式,目前如果样式不对的情况下,需要手动引入样式。
24
- import "@digitalc/dxp-ui/umd/dxp-ui.min.css"
26
+ // 如果项目使用了 Umi 4+, Vite 5+ 或 Turbopack,构建工具会自动处理样式引入。
27
+ // 对于其他构建环境(如 Webpack、Umi 3),如果样式未生效,请手动引入 CSS 文件:
28
+ import "@digitalc/dxp-ui/umd/dxp-ui.min.css";
25
29
 
26
30
  const Demo = () => {
27
31
  return (
@@ -44,42 +48,46 @@ const Demo = () => {
44
48
  export default Demo;
45
49
  ```
46
50
 
47
- 注意:
48
- 如果是使用的 Umi4、Vite 5 和 Turbopack 将原生支持智能样式编译的(:内置各种语言预处理工具),可以直接引用即可。
49
51
 
50
- 但如果是 使用的 webpack 或 umi3 脚手架的前端项目,需要在内部的 webpack 配置less编译。(因为包是esm格式,并支持了按需加载,所以没编译less文件),具体是通过 webpack-chain 添加指定的包,并进行构建。
51
52
 
52
- ```
53
- chainWebpack(memo, { webpack, env }) {
54
- // 额外 处理 dxp-ui-less... 需要安装 less-loader: npm install less-loader --save-dev
55
53
 
56
- 代码在下面,第4条。
54
+ ## 🎨 自定义主题
57
55
 
58
- }
56
+ 可以通过注入自定义的 Token JSON 数据来替换默认主题。
57
+
58
+ ```tsx | pure
59
+
60
+ import { tokenManager } from '@digitalc/dxp-ui';
61
+
62
+ // 传入自定义token JSON数据(找UI要)
63
+ tokenManager.loadExternalToken(customTokenJSON);
59
64
  ```
60
65
 
61
- ## 兼容 @digitalc/dxp-ui 组件库
66
+ ## 🤝 兼容 Ant Design v4 项目
62
67
 
63
- dxp-ui 使用了 antd5 做二次开发,但在"umi": "^3.x"项目中,已有组件库版本是 antd 4.x
64
- 底层依赖的版本与4有差异,编译时会报错,所以需要兼容 @digitalc/dxp-ui 组件库。
68
+ `@digitalc/dxp-ui` 基于 Ant Design 5 开发。如果在 Ant Design 4.x 的项目(如 Umi 3)中使用,可能会因底层依赖版本差异导致编译报错。以下是兼容方案:
65
69
 
66
- 整体兼容方案如下:
70
+ ### 1. 安装 Ant Design v4 和 v5
67
71
 
68
- ### 1、安装两个版本npm
72
+ 使用 npm alias 功能同时安装两个版本的 Ant Design。
69
73
 
70
- 如果必须需要用到 antd4 版本,可以看这篇 antd 多版本共存:
71
- https://ant-design.antgroup.com/docs/react/migration-v5-cn
74
+ 参考 Ant Design 文档:
75
+ - [多版本共存](https://ant-design.antgroup.com/docs/react/migration-v5-cn#%E5%A4%9A%E7%89%88%E6%9C%AC%E5%85%B1%E5%AD%98)
76
+ - [v5 不兼容变化](https://ant-design.antgroup.com/docs/react/migration-v5-cn#50-%E6%9C%89%E5%93%AA%E4%BA%9B%E4%B8%8D%E5%85%BC%E5%AE%B9%E7%9A%84%E5%8F%98%E5%8C%96)
72
77
 
73
- 5.0 有哪些不兼容的变化: https://ant-design.antgroup.com/docs/react/migration-v5-cn
78
+ 在 `package.json` 中添加依赖别名,然后执行 `npm install`:
74
79
 
75
- ```bash
76
- 在 package.json 文件,添加以下内容,并执行 npm install :
77
- "@digitalc/dxp-ui": "^0.0.5-alpha.6",
78
- "antd": "^5.24.5",
79
- "antd4": "npm:antd@4.24.16", // 兼容 antd4 ,但需要把 antd 前缀让出来。
80
+ ```json
81
+ {
82
+ "dependencies": {
83
+ "@digitalc/dxp-ui": "^0.0.5-alpha.6",
84
+ "antd": "^5.14.2", // antd v5
85
+ "antd4": "npm:antd@^4.24.16" // antd v4
86
+ }
87
+ }
80
88
  ```
81
89
 
82
- ### 2、在 umi.config.ts 中配置以下代码:
90
+ ### 2. 配置 Umi (umi.config.ts)
83
91
 
84
92
  ```js
85
93
  export default {
@@ -105,7 +113,9 @@ $ yarn add @umijs/plugin-esbuild
105
113
  // },
106
114
  ```
107
115
 
108
- ### 3、在 根 BaseLayout.jsx 中,引入 ConfigProvider,将 children ConfigProvider 包裹。
116
+ ### 3. 配置 Ant Design v5 Provider
117
+
118
+ 在应用的根组件(例如 `layouts/BaseLayout.jsx`)中引入 Ant Design v5 的 `ConfigProvider`,并包裹子组件。设置 `prefixCls` 以避免与 Ant Design v4 的样式冲突。
109
119
 
110
120
  ```js
111
121
  import { ConfigProvider as Antd5ConfigProvider } from 'antd';
@@ -122,7 +132,7 @@ import { ConfigProvider as Antd5ConfigProvider } from 'antd';
122
132
  </Antd5ConfigProvider>;
123
133
  ```
124
134
 
125
- ### 4、正常情况下,已经可用了,不需要配置额外操作(也不需要将之前的antd,改成antd4,直接用5覆盖,具体修改内容:看下v4 to v5 升级指南)。
135
+ ### 4. 使用组件
126
136
 
127
137
  ```js
128
138
  import { Button as AntdBtn4 } from 'antd4';
@@ -141,36 +151,60 @@ import { Button, IconButton, IconButtonGroup, Toast, Stepper } from '@digitalc/d
141
151
 
142
152
  ![image.png](https://p.ipic.vip/xa5nz7.png)
143
153
 
144
- 改完后,尽量对项目做全量测试。
145
- 如果出现 less 格式不对,则需要做额外处理。
154
+ ### 5. Webpack/Umi 3 Less 配置 (如果需要)
146
155
 
147
- 原因是使用的 Umi4、Vite 5 Turbopack 将原生支持智能样式编译的(:内置各种语言预处理工具),可以直接引用即可。
156
+ `@digitalc/dxp-ui` 使用 ES Modules 并支持按需加载,其 Less 文件默认未编译。
148
157
 
149
- 但如果是使用的 webpack umi3 脚手架的前端项目,需要在内部的 webpack 配置less编译。(因为包是esm格式,并支持了按需加载, 基于 ES modules 的 tree shaking,未编译less文件),具体是通过 webpack-chain 添加指定的包,并进行构建。
158
+ - **Umi 4+, Vite 5+, Turbopack:** 这些现代构建工具通常内置了对 npm 包内 Less 文件的编译支持,无需额外配置。
159
+ - **Webpack 或 Umi 3:** 如果遇到样式问题(Less 未被正确编译),需要在 Webpack 配置中添加对 `@digitalc/dxp-ui` 包内 Less 文件的处理。
160
+
161
+ 首先,安装 `less-loader`:
150
162
 
151
163
  ```bash
152
- chainWebpack(memo, { webpack, env }) {
153
- // 额外 处理 dxp-ui-less... 需要安装 less-loader: npm install less-loader --save-dev
164
+ npm install less-loader --save-dev
165
+ # 或者
166
+ yarn add less-loader -D
167
+ ```
168
+
169
+ 然后,在 `umi.config.ts` 或 Webpack 配置文件中,使用 `webpack-chain` 添加 Less 处理规则:
170
+
171
+ ```javascript
172
+ // umi3 的 .config.ts
173
+ export default {
174
+ // ... 其他配置
175
+ chainWebpack(memo) {
176
+ // 处理 @digitalc/dxp-ui 中的 Less 文件
154
177
  memo.module
155
178
  .rule('dxp-ui-less')
156
179
  .test(/\.less$/)
157
- .include.add(/node_modules[\\/]@digitalc[\\/]dxp-ui/) // 替换为你的包名(如 antd-mobile)
180
+ .include.add(/node_modules[\\/]@digitalc[\\/]dxp-ui/)
181
+ .end()
182
+ .use('style-loader')
183
+ .loader('style-loader')
184
+ .end()
185
+ .use('css-loader')
186
+ .loader('css-loader')
158
187
  .end()
159
188
  .use('less-loader')
160
189
  .loader('less-loader')
161
190
  .options({
162
191
  lessOptions: {
163
192
  javascriptEnabled: true,
164
- // 可选:覆盖变量
165
- modifyVars: {
166
- 'primary-color': '#1890ff',
167
- },
168
- // 其他自定义变量...
193
+ math: 'always',
169
194
  },
170
195
  });
171
- }
196
+
197
+ // 修改 Umi 默认的 Less 处理规则
198
+ const lessRule = memo.module.rule('less');
199
+ lessRule.exclude.add(/node_modules[\\/]@digitalc[\\/]dxp-ui/);
200
+
201
+ return memo;
202
+ },
203
+ };
172
204
  ```
173
205
 
174
- end。
206
+ **注意:** 添加 Less 规则后,请务必进行充分测试,确保样式正确加载且没有冲突。
207
+
208
+ 完成以上步骤后,尽量对项目进行全量测试。
175
209
 
176
- <img src="https://p.ipic.vip/xa5nz7.png" width="880" />
210
+ ---
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "gomo": {
3
- "colorGradientNeutral": "linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 100%)",
4
3
  "spacingGapXs": 4,
5
4
  "spacingGapSm": 8,
6
5
  "spacingGapLg": 24,
@@ -98,7 +97,7 @@
98
97
  "colorIconRating": "#ffb524",
99
98
  "colorTagPrimary": "#d01660",
100
99
  "colorTagSecondary": "#1700e8",
101
- "colorBorderDivider": "#bfbfc7",
100
+ "colorBorderDivider": "#dfdfe4",
102
101
  "colorBorderCta": "#4d28e8",
103
102
  "colorBorderCtaInverse": "#e5ff17",
104
103
  "colorBorderError": "#bd341c",
@@ -228,7 +227,7 @@
228
227
  "sizingIconUtilityXs2": 24,
229
228
  "sizingIconGeneralXs2": 20,
230
229
  "borderRadiusXs": 4,
231
- "colorTextAmount": "#4d28e8",
230
+ "colorTextAmount": "#151518",
232
231
  "opacityDefault": 100,
233
232
  "fontFamilySecondaryRegular": "Roboto",
234
233
  "fontFamilyPromaryRegular": "Poppins",
@@ -243,45 +242,42 @@
243
242
  "colorTagGreen": "#00bc6f",
244
243
  "colorTagCyan": "#1482cc",
245
244
  "colorTagOrange": "#ff8d1b",
246
- "colorTagPrimarylight": "#ffeaf2",
247
- "colorTagSecondarylight": "#e8e6fd",
248
- "colorTagGreylight": "#e6e6e6",
249
- "colorTagRedlight": "#ffeaea",
250
- "colorTagYellowlight": "#fff8e5",
251
- "colorTagGreenlight": "#e8fbf3",
252
- "colorTagCyanlight": "#e8f6ff",
253
- "colorTagOrangelight": "#fff4e9",
245
+ "colorTagPrimaryLight": "#ffeaf2",
246
+ "colorTagSecondaryLight": "#e8e6fd",
247
+ "colorTagGreyLight": "#e6e6e6",
248
+ "colorTagRedLight": "#ffeaea",
249
+ "colorTagYellowLight": "#fff8e5",
250
+ "colorTagGreenLight": "#e8fbf3",
251
+ "colorTagCyanLight": "#e8f6ff",
252
+ "colorTagOrangeLight": "#fff4e9",
254
253
  "colorTagBlack": "#545454",
255
254
  "fontSizeDesktopTitleT23": 32,
256
255
  "fontSizeDesktopContentC14": 18,
257
256
  "fontSizeDesktopContentC21": 20,
258
257
  "fontSizeDesktopTitleT21": 24,
259
- "fontSizeDesktopTitleT15": 20,
260
258
  "fontSizeDesktopContentC12": 14,
261
259
  "fontSizeDesktopContentC10": 10,
262
260
  "fontSizeDesktopContentC11": 12,
263
- "fontSizeDesktopContentC13": 16,
264
- "fontSizeDesktopTitleT1": 12,
261
+ "fontSizeDesktopContentC13": 0,
262
+ "fontSizeDesktopTitleT12": 12,
265
263
  "fontSizeDesktopTitleT32": 40,
266
264
  "fontSizeDesktopTitleT41": 48,
267
265
  "fontSizeDesktopContentC05": 8,
268
266
  "fontSizeDesktopContentC04": 6,
269
267
  "borderRadiusButton": 32,
270
268
  "colorTextItemtitle": "#242328",
271
- "fontSizeDesktopTitleT7": 24,
272
- "fontSizeDesktopTitleT8": 24,
273
- "fontSizeDesktopTitleT2": 20,
274
- "fontSizeDesktopTitleT5": 20,
275
- "fontSizeDesktopTitleT3": 16,
276
- "fontSizeDesktopTitleT4": 18,
277
- "fontSizeDesktopTitleT10": 36,
269
+ "fontSizeDesktopTitleT13": 14,
270
+ "fontSizeDesktopTitleT16": 20,
271
+ "fontSizeDesktopTitleT14": 16,
272
+ "fontSizeDesktopTitleT15": 18,
273
+ "fontSizeDesktopTitleT34": 36,
278
274
  "fontSizeMobileContentC04": 6,
279
275
  "fontSizeMobileContentC05": 8,
280
276
  "fontSizeMobileContentC11": 10,
281
277
  "fontSizeMobileContentC12": 12,
282
- "fontSizeMobileContentC13": 14,
278
+ "fontSizeMobileContentC13": 0,
283
279
  "fontSizeMobileContentC14": 16,
284
- "fontSizeMobileContentC15": 18,
280
+ "fontSizeMobileContentC15": 16,
285
281
  "fontSizeMobileContentC21": 20,
286
282
  "fontSizeMobileTitleT12": 12,
287
283
  "fontSizeMobileTitleT13": 14,
@@ -289,19 +285,30 @@
289
285
  "fontSizeMobileTitleT15": 18,
290
286
  "fontSizeMobileTitleT21": 20,
291
287
  "fontSizeMobileTitleT23": 24,
292
- "fontSizeMobileTitleT24": 24,
293
- "fontSizeMobileTitleT25": 24,
288
+ "fontSizeMobileTitleT24": 26,
289
+ "fontSizeMobileTitleT25": 28,
294
290
  "fontSizeMobileTitleT32": 32,
295
291
  "fontSizeMobileTitleT34": 36,
296
292
  "fontSizeMobileTitleT41": 40,
297
293
  "fontSizeMobileTitleT45": 48,
298
294
  "fontSizeMobileNavigation": 16,
299
295
  "colorTextHintMessage": "#151518",
300
- "colorIconCta2": "#4d28e8",
301
- "colorTextCta2": "#4d28e8"
296
+ "colorTextCta2": "#4d28e8",
297
+ "colorBackgroundHeaderActive": "#e5ff17",
298
+ "spacingTopNavigationPaddingTop": 0,
299
+ "spacingTopNavigationPaddingBottom": 8,
300
+ "fontSizeMobileTitleT16": 0,
301
+ "fontSizeMobileContentC23": 24,
302
+ "fontSizeMobileContentC16": 18,
303
+ "fontSizeDesktopContentC23": 24,
304
+ "fontSizeDesktopContentC15": 18,
305
+ "fontSizeDesktopContentC16": 0,
306
+ "fontSizeMobileContentC10": 0,
307
+ "fontSizeDesktopTitleT24": 26,
308
+ "fontSizeDesktopTitleT25": 28,
309
+ "fontSizeDesktopTitleT45": 0
302
310
  },
303
311
  "eSales": {
304
- "colorGradientNeutral": "linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 100%)",
305
312
  "spacingGapXs": 4,
306
313
  "spacingGapSm": 8,
307
314
  "spacingGapLg": 24,
@@ -339,7 +346,7 @@
339
346
  "colorBackgroundSubtle": "#f2f2f2",
340
347
  "colorBackgroundHover": "#e8e7f4",
341
348
  "colorBackgroundHoverNeutral": "#f5f5f8cc",
342
- "colorBackgroundSelected": "#e8e7f4",
349
+ "colorBackgroundSelected": "#f6f5fb",
343
350
  "colorBackgroundActive": "#180c8e",
344
351
  "colorBackgroundOverlay": "#00000099",
345
352
  "colorBackgroundOverlayLight": "#dfdfe4cc",
@@ -351,7 +358,7 @@
351
358
  "colorBackgroundActiveWeak": "#d1cee8",
352
359
  "colorBackgroundActiveWeakInverse": "#f5ffc0",
353
360
  "colorBackgroundActiveInverse": "#07d39f",
354
- "colorBackgroundSubtle2": "#f6f5fb",
361
+ "colorBackgroundSubtle2": "#e8e7f4",
355
362
  "colorBackgroundHeader": "#160b7f",
356
363
  "colorBackgroundFooter": "#d5d5d5",
357
364
  "colorBackgroundCoachmark": "#180c8e",
@@ -362,22 +369,22 @@
362
369
  "colorTextDisabled": "#8c8c8c",
363
370
  "colorTextInverse": "#ffffff",
364
371
  "colorTextLink": "#3e51f4",
365
- "colorTextLinkInverse": "#07d39f",
372
+ "colorTextLinkInverse": "#38bffc",
366
373
  "colorTextAlert": "#d82e00",
367
374
  "colorTextSuccess": "#00b379",
368
375
  "colorTextNavigationActive": "#180c8e",
369
- "colorTextHeaderActive": "#e5ff17",
376
+ "colorTextHeaderActive": "#38bffc",
370
377
  "colorTextCta": "#180c8e",
371
- "colorTextCtaInverse": "#07d39f",
378
+ "colorTextCtaInverse": "#ffffff",
372
379
  "colorTextSubtleInverse": "#b5b5b5",
373
380
  "colorTextHeaderHighlight": "#242424",
374
- "colorTextHeaderHighlightInverse": "#f5ffc0",
381
+ "colorTextHeaderHighlightInverse": "#ebf8fe",
375
382
  "colorTextHeaderActiveInverse": "#ffffff",
376
383
  "colorTextCoachmark": "#ffffff",
377
384
  "colorIconLink": "#3e51f4",
378
385
  "colorIconNeutral": "#242424",
379
- "colorIconCta": "#3e51f4",
380
- "colorIconCtaInverse": "#07d39f",
386
+ "colorIconCta": "#180c8e",
387
+ "colorIconCtaInverse": "#ffffff",
381
388
  "colorIconSubtle": "#545454",
382
389
  "colorIconWeak": "#b5b5b5",
383
390
  "colorIconDisabled": "#b5b5b5",
@@ -394,12 +401,12 @@
394
401
  "colorIconNotice": "#ff5d76",
395
402
  "colorBottomNavigationInactive": "#8c8c8c",
396
403
  "colorBottomNavigationActive": "#180c8e",
397
- "colorIconLinkInverse": "#07d39f",
404
+ "colorIconLinkInverse": "#38bffc",
398
405
  "colorIconSubtleInverse": "#b5b5b5",
399
406
  "colorIconRating": "#ffb524",
400
407
  "colorTagPrimary": "#d01660",
401
408
  "colorTagSecondary": "#180c8e",
402
- "colorBorderDivider": "#f2f2f2",
409
+ "colorBorderDivider": "#e6e6e6",
403
410
  "colorBorderCta": "#180c8e",
404
411
  "colorBorderCtaInverse": "#07d39f",
405
412
  "colorBorderError": "#d82e00",
@@ -407,7 +414,7 @@
407
414
  "colorBorderStandard": "#d9d9d9",
408
415
  "colorBorderActive": "#180c8e",
409
416
  "colorBorderDisabled": "#8c8c987f",
410
- "colorBorderWeak": "#d5d5d5",
417
+ "colorBorderWeak": "#d9d9d9",
411
418
  "colorBorderStrikeout": "#b5b5b5",
412
419
  "colorBorderStrikeoutInverse": "#ffffff",
413
420
  "colorBorderStrong": "#b5b5b5",
@@ -544,42 +551,40 @@
544
551
  "colorTagGreen": "#00bc6f",
545
552
  "colorTagCyan": "#1482cc",
546
553
  "colorTagOrange": "#ff8d1b",
547
- "colorTagPrimarylight": "#ffeaf2",
548
- "colorTagSecondarylight": "#e8e6fd",
549
- "colorTagGreylight": "#e6e6e6",
550
- "colorTagRedlight": "#ffeaea",
551
- "colorTagYellowlight": "#fff8e5",
552
- "colorTagGreenlight": "#e8fbf3",
553
- "colorTagCyanlight": "#e8f6ff",
554
- "colorTagOrangelight": "#fff4e9",
554
+ "colorTagPrimaryLight": "#ffeaf2",
555
+ "colorTagSecondaryLight": "#e8e6fd",
556
+ "colorTagGreyLight": "#e6e6e6",
557
+ "colorTagRedLight": "#ffeaea",
558
+ "colorTagYellowLight": "#fff8e5",
559
+ "colorTagGreenLight": "#e8fbf3",
560
+ "colorTagCyanLight": "#e8f6ff",
561
+ "colorTagOrangeLight": "#fff4e9",
555
562
  "colorTagBlack": "#545454",
556
563
  "fontSizeDesktopTitleT23": 32,
557
- "fontSizeDesktopContentC14": 18,
558
- "fontSizeDesktopContentC21": 16,
564
+ "fontSizeDesktopContentC14": 16,
565
+ "fontSizeDesktopContentC21": 20,
559
566
  "fontSizeDesktopTitleT21": 24,
560
567
  "fontSizeDesktopContentC12": 14,
561
568
  "fontSizeDesktopContentC10": 10,
562
569
  "fontSizeDesktopContentC11": 12,
563
- "fontSizeDesktopContentC13": 16,
564
- "fontSizeDesktopTitleT1": 12,
570
+ "fontSizeDesktopContentC13": 0,
571
+ "fontSizeDesktopTitleT12": 12,
565
572
  "fontSizeDesktopTitleT32": 40,
566
573
  "fontSizeDesktopTitleT41": 48,
567
574
  "fontSizeDesktopContentC05": 8,
568
575
  "fontSizeDesktopContentC04": 6,
569
576
  "borderRadiusButton": 8,
570
577
  "colorTextItemtitle": "#8c8c8c",
571
- "fontSizeDesktopTitleT7": 24,
572
- "fontSizeDesktopTitleT8": 24,
573
- "fontSizeDesktopTitleT2": 20,
574
- "fontSizeDesktopTitleT5": 20,
575
- "fontSizeDesktopTitleT3": 16,
576
- "fontSizeDesktopTitleT4": 18,
577
- "fontSizeDesktopTitleT10": 36,
578
+ "fontSizeDesktopTitleT13": 14,
579
+ "fontSizeDesktopTitleT16": 20,
580
+ "fontSizeDesktopTitleT14": 16,
581
+ "fontSizeDesktopTitleT15": 18,
582
+ "fontSizeDesktopTitleT34": 36,
578
583
  "fontSizeMobileContentC04": 6,
579
584
  "fontSizeMobileContentC05": 8,
580
585
  "fontSizeMobileContentC11": 10,
581
586
  "fontSizeMobileContentC12": 12,
582
- "fontSizeMobileContentC13": 14,
587
+ "fontSizeMobileContentC13": 0,
583
588
  "fontSizeMobileContentC14": 14,
584
589
  "fontSizeMobileContentC15": 16,
585
590
  "fontSizeMobileContentC21": 20,
@@ -589,19 +594,30 @@
589
594
  "fontSizeMobileTitleT15": 18,
590
595
  "fontSizeMobileTitleT21": 20,
591
596
  "fontSizeMobileTitleT23": 24,
592
- "fontSizeMobileTitleT24": 24,
593
- "fontSizeMobileTitleT25": 24,
597
+ "fontSizeMobileTitleT24": 26,
598
+ "fontSizeMobileTitleT25": 28,
594
599
  "fontSizeMobileTitleT32": 32,
595
600
  "fontSizeMobileTitleT34": 36,
596
601
  "fontSizeMobileTitleT41": 40,
597
602
  "fontSizeMobileTitleT45": 48,
598
603
  "fontSizeMobileNavigation": 18,
599
604
  "colorTextHintMessage": "#8c8c8c",
600
- "colorIconCta2": "#180c8e",
601
- "colorTextCta2": "#180c8e"
605
+ "colorTextCta2": "#180c8e",
606
+ "colorBackgroundHeaderActive": "#3e51f4",
607
+ "spacingTopNavigationPaddingTop": 4,
608
+ "spacingTopNavigationPaddingBottom": 4,
609
+ "fontSizeMobileTitleT16": 0,
610
+ "fontSizeMobileContentC23": 24,
611
+ "fontSizeMobileContentC16": 18,
612
+ "fontSizeDesktopContentC23": 24,
613
+ "fontSizeDesktopContentC15": 18,
614
+ "fontSizeDesktopContentC16": 0,
615
+ "fontSizeMobileContentC10": 0,
616
+ "fontSizeDesktopTitleT24": 26,
617
+ "fontSizeDesktopTitleT25": 28,
618
+ "fontSizeDesktopTitleT45": 0
602
619
  },
603
620
  "tm": {
604
- "colorGradientNeutral": "linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 100%)",
605
621
  "spacingGapXs": 4,
606
622
  "spacingGapSm": 8,
607
623
  "spacingGapLg": 24,
@@ -639,14 +655,14 @@
639
655
  "colorBackgroundSubtle": "#f2f2f2",
640
656
  "colorBackgroundHover": "#ffefe6",
641
657
  "colorBackgroundHoverNeutral": "#f5f5f8cc",
642
- "colorBackgroundSelected": "#ffefe6",
658
+ "colorBackgroundSelected": "#fff7f2",
643
659
  "colorBackgroundActive": "#ff5e00",
644
660
  "colorBackgroundOverlay": "#00000099",
645
661
  "colorBackgroundOverlayLight": "#dfdfe4cc",
646
662
  "colorBackgroundCtaSuccess": "#00b379",
647
663
  "colorBackgroundDark": "#545454",
648
664
  "colorBackgroundDark2": "#242424",
649
- "colorBackgroundDisabled": "#b5b5b5",
665
+ "colorBackgroundDisabled": "#e6e6e6",
650
666
  "colorBackgroundWeak": "#b5b5b5",
651
667
  "colorBackgroundActiveWeak": "#ffdfcc",
652
668
  "colorBackgroundActiveWeakInverse": "#f5ffc0",
@@ -662,22 +678,22 @@
662
678
  "colorTextDisabled": "#8c8c8c",
663
679
  "colorTextInverse": "#ffffff",
664
680
  "colorTextLink": "#1700e8",
665
- "colorTextLinkInverse": "#1700e8",
681
+ "colorTextLinkInverse": "#ff5e00",
666
682
  "colorTextAlert": "#fa2c2c",
667
683
  "colorTextSuccess": "#00b379",
668
684
  "colorTextNavigationActive": "#ff5e00",
669
685
  "colorTextHeaderActive": "#1700e8",
670
686
  "colorTextCta": "#ff5e00",
671
- "colorTextCtaInverse": "#1700e8",
687
+ "colorTextCtaInverse": "#ffffff",
672
688
  "colorTextSubtleInverse": "#b5b5b5",
673
689
  "colorTextHeaderHighlight": "#242424",
674
- "colorTextHeaderHighlightInverse": "#f5ffc0",
690
+ "colorTextHeaderHighlightInverse": "#ebebfc",
675
691
  "colorTextHeaderActiveInverse": "#ffffff",
676
692
  "colorTextCoachmark": "#ffffff",
677
693
  "colorIconLink": "#1700e8",
678
694
  "colorIconNeutral": "#242424",
679
695
  "colorIconCta": "#ff5e00",
680
- "colorIconCtaInverse": "#1700e8",
696
+ "colorIconCtaInverse": "#ffffff",
681
697
  "colorIconSubtle": "#545454",
682
698
  "colorIconWeak": "#b5b5b5",
683
699
  "colorIconDisabled": "#b5b5b5",
@@ -699,15 +715,15 @@
699
715
  "colorIconRating": "#ffb524",
700
716
  "colorTagPrimary": "#ff5e00",
701
717
  "colorTagSecondary": "#1700e8",
702
- "colorBorderDivider": "#f2f2f2",
718
+ "colorBorderDivider": "#e6e6e6",
703
719
  "colorBorderCta": "#ff5e00",
704
720
  "colorBorderCtaInverse": "#07d39f",
705
721
  "colorBorderError": "#fa2c2c",
706
722
  "colorBorderSelected": "#ff5e00",
707
- "colorBorderStandard": "#b5b5b5",
723
+ "colorBorderStandard": "#d9d9d9",
708
724
  "colorBorderActive": "#ff5e00",
709
725
  "colorBorderDisabled": "#8c8c987f",
710
- "colorBorderWeak": "#d5d5d5",
726
+ "colorBorderWeak": "#d9d9d9",
711
727
  "colorBorderStrikeout": "#b5b5b5",
712
728
  "colorBorderStrikeoutInverse": "#ffffff",
713
729
  "colorBorderStrong": "#b5b5b5",
@@ -791,7 +807,7 @@
791
807
  "borderWidthSelected": 2,
792
808
  "borderWidthHover": 1,
793
809
  "borderWidthStrikeout": 2,
794
- "borderRadiusSm": 12,
810
+ "borderRadiusSm": 8,
795
811
  "borderRadiusMd": 16,
796
812
  "borderRadiusXl": 32,
797
813
  "borderRadiusLg": 40,
@@ -844,44 +860,42 @@
844
860
  "colorTagGreen": "#00bc6f",
845
861
  "colorTagCyan": "#1482cc",
846
862
  "colorTagOrange": "#ff8d1b",
847
- "colorTagPrimarylight": "#ffefe6",
848
- "colorTagSecondarylight": "#e8e6fd",
849
- "colorTagGreylight": "#e6e6e6",
850
- "colorTagRedlight": "#ffeaea",
851
- "colorTagYellowlight": "#fff8e5",
852
- "colorTagGreenlight": "#e8fbf3",
853
- "colorTagCyanlight": "#e8f6ff",
854
- "colorTagOrangelight": "#fff4e9",
863
+ "colorTagPrimaryLight": "#ffefe6",
864
+ "colorTagSecondaryLight": "#e8e6fd",
865
+ "colorTagGreyLight": "#e6e6e6",
866
+ "colorTagRedLight": "#ffeaea",
867
+ "colorTagYellowLight": "#fff8e5",
868
+ "colorTagGreenLight": "#e8fbf3",
869
+ "colorTagCyanLight": "#e8f6ff",
870
+ "colorTagOrangeLight": "#fff4e9",
855
871
  "colorTagBlack": "#545454",
856
872
  "fontSizeDesktopTitleT23": 32,
857
- "fontSizeDesktopContentC14": 18,
858
- "fontSizeDesktopContentC21": 16,
873
+ "fontSizeDesktopContentC14": 16,
874
+ "fontSizeDesktopContentC21": 20,
859
875
  "fontSizeDesktopTitleT21": 24,
860
876
  "fontSizeDesktopContentC12": 14,
861
877
  "fontSizeDesktopContentC10": 10,
862
878
  "fontSizeDesktopContentC11": 12,
863
- "fontSizeDesktopContentC13": 16,
864
- "fontSizeDesktopTitleT1": 12,
879
+ "fontSizeDesktopContentC13": 0,
880
+ "fontSizeDesktopTitleT12": 12,
865
881
  "fontSizeDesktopTitleT32": 40,
866
882
  "fontSizeDesktopTitleT41": 48,
867
883
  "fontSizeDesktopContentC05": 8,
868
884
  "fontSizeDesktopContentC04": 6,
869
885
  "borderRadiusButton": 8,
870
- "colorTextItemtitle": "#242424",
871
- "fontSizeDesktopTitleT7": 24,
872
- "fontSizeDesktopTitleT8": 24,
873
- "fontSizeDesktopTitleT2": 20,
874
- "fontSizeDesktopTitleT5": 20,
875
- "fontSizeDesktopTitleT3": 16,
876
- "fontSizeDesktopTitleT4": 18,
877
- "fontSizeDesktopTitleT10": 36,
886
+ "colorTextItemtitle": "#8c8c8c",
887
+ "fontSizeDesktopTitleT13": 14,
888
+ "fontSizeDesktopTitleT16": 20,
889
+ "fontSizeDesktopTitleT14": 16,
890
+ "fontSizeDesktopTitleT15": 18,
891
+ "fontSizeDesktopTitleT34": 36,
878
892
  "fontSizeMobileContentC04": 6,
879
893
  "fontSizeMobileContentC05": 8,
880
894
  "fontSizeMobileContentC11": 10,
881
895
  "fontSizeMobileContentC12": 12,
882
- "fontSizeMobileContentC13": 14,
883
- "fontSizeMobileContentC14": 16,
884
- "fontSizeMobileContentC15": 18,
896
+ "fontSizeMobileContentC13": 0,
897
+ "fontSizeMobileContentC14": 14,
898
+ "fontSizeMobileContentC15": 16,
885
899
  "fontSizeMobileContentC21": 20,
886
900
  "fontSizeMobileTitleT12": 12,
887
901
  "fontSizeMobileTitleT13": 14,
@@ -889,15 +903,27 @@
889
903
  "fontSizeMobileTitleT15": 18,
890
904
  "fontSizeMobileTitleT21": 20,
891
905
  "fontSizeMobileTitleT23": 24,
892
- "fontSizeMobileTitleT24": 24,
893
- "fontSizeMobileTitleT25": 24,
906
+ "fontSizeMobileTitleT24": 26,
907
+ "fontSizeMobileTitleT25": 28,
894
908
  "fontSizeMobileTitleT32": 32,
895
909
  "fontSizeMobileTitleT34": 36,
896
910
  "fontSizeMobileTitleT41": 40,
897
911
  "fontSizeMobileTitleT45": 48,
898
- "fontSizeMobileNavigation": 16,
912
+ "fontSizeMobileNavigation": 18,
899
913
  "colorTextHintMessage": "#242424",
900
- "colorIconCta2": "#ff5e00",
901
- "colorTextCta2": "#ff5e00"
914
+ "colorTextCta2": "#ff5e00",
915
+ "colorBackgroundHeaderActive": "#e65500",
916
+ "spacingTopNavigationPaddingTop": 4,
917
+ "spacingTopNavigationPaddingBottom": 4,
918
+ "fontSizeMobileTitleT16": 0,
919
+ "fontSizeMobileContentC23": 24,
920
+ "fontSizeMobileContentC16": 18,
921
+ "fontSizeDesktopContentC23": 24,
922
+ "fontSizeDesktopContentC15": 18,
923
+ "fontSizeDesktopContentC16": 0,
924
+ "fontSizeMobileContentC10": 0,
925
+ "fontSizeDesktopTitleT24": 26,
926
+ "fontSizeDesktopTitleT25": 28,
927
+ "fontSizeDesktopTitleT45": 0
902
928
  }
903
929
  }