@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.
- package/README.md +81 -47
- package/es/assets/token.json +128 -102
- package/es/components/Accordion/designTokens.d.ts +3 -3
- package/es/components/Accordion/designTokens.js +22 -14
- package/es/components/Accordion/index.js +8 -4
- package/es/components/Amount/designTokens.d.ts +2 -2
- package/es/components/Amount/designTokens.js +12 -8
- package/es/components/Amount/index.d.ts +3 -10
- package/es/components/Amount/index.js +122 -136
- package/es/components/Button/designTokens.d.ts +18 -3
- package/es/components/Button/designTokens.js +136 -122
- package/es/components/Button/index.d.ts +16 -5
- package/es/components/Button/index.js +89 -94
- package/es/components/Button/style/index.less +1 -1
- package/es/components/Card/designTokens.d.ts +9 -0
- package/es/components/Card/designTokens.js +14 -0
- package/es/components/Card/index.d.ts +15 -0
- package/es/components/Card/index.js +66 -0
- package/es/components/Card/style/index.less +45 -0
- package/es/components/Card/style/variables.less +4 -0
- package/es/components/Chip/designTokens.d.ts +2 -2
- package/es/components/Chip/designTokens.js +25 -21
- package/es/components/Chip/index.js +9 -8
- package/es/components/Divider/designTokens.d.ts +4 -0
- package/es/components/Divider/designTokens.js +9 -0
- package/es/components/Divider/index.d.ts +3 -8
- package/es/components/Divider/index.js +31 -49
- package/es/components/Drawer/designTokens.d.ts +2 -2
- package/es/components/Drawer/designTokens.js +30 -26
- package/es/components/Drawer/index.d.ts +6 -2
- package/es/components/Drawer/index.js +71 -68
- package/es/components/Drawer/style/index.less +13 -7
- package/es/components/GlobalTokenProvider/index.d.ts +11 -0
- package/es/components/GlobalTokenProvider/index.js +16 -0
- package/es/components/Icon/designTokens.d.ts +3 -3
- package/es/components/Icon/designTokens.js +11 -6
- package/es/components/Icon/index.js +6 -2
- package/es/components/IconButton/designTokens.d.ts +3 -4
- package/es/components/IconButton/designTokens.js +38 -32
- package/es/components/IconButton/index.d.ts +1 -1
- package/es/components/IconButton/index.js +7 -7
- package/es/components/Image/index.d.ts +1 -1
- package/es/components/Image/index.js +4 -3
- package/es/components/ListItem/designTokens.d.ts +4 -2
- package/es/components/ListItem/designTokens.js +36 -30
- package/es/components/ListItem/index.d.ts +12 -2
- package/es/components/ListItem/index.js +95 -30
- package/es/components/ListItem/style/index.less +42 -9
- package/es/components/Modal/designTokens.d.ts +11 -20
- package/es/components/Modal/designTokens.js +39 -30
- package/es/components/Modal/index.js +24 -11
- package/es/components/Navigation/designTokens.d.ts +9 -8
- package/es/components/Navigation/designTokens.js +24 -18
- package/es/components/Navigation/index.d.ts +1 -0
- package/es/components/Navigation/index.js +14 -10
- package/es/components/Notification/designTokens.d.ts +9 -0
- package/es/components/Notification/designTokens.js +14 -0
- package/es/components/Notification/index.d.ts +12 -0
- package/es/components/Notification/index.js +54 -0
- package/es/components/Notification/style/index.less +45 -0
- package/es/components/Notification/style/variables.less +4 -0
- package/es/components/Search/designTokens.d.ts +4 -4
- package/es/components/Search/designTokens.js +57 -46
- package/es/components/Search/index.js +15 -9
- package/es/components/Stepper/designTokens.d.ts +4 -5
- package/es/components/Stepper/designTokens.js +48 -40
- package/es/components/Stepper/index.d.ts +9 -10
- package/es/components/Stepper/index.js +139 -135
- package/es/components/Stepper/style/index.less +27 -12
- package/es/components/StickyFooter/designTokens.d.ts +2 -2
- package/es/components/StickyFooter/designTokens.js +20 -16
- package/es/components/StickyFooter/index.d.ts +2 -2
- package/es/components/StickyFooter/index.js +68 -39
- package/es/components/StickyFooter/style/index.less +5 -3
- package/es/components/Tabs/designTokens.d.ts +6 -6
- package/es/components/Tabs/designTokens.js +77 -60
- package/es/components/Tabs/index.js +11 -6
- package/es/components/Tag/designTokens.d.ts +42 -42
- package/es/components/Tag/designTokens.js +139 -95
- package/es/components/Tag/index.d.ts +1 -1
- package/es/components/Tag/index.js +16 -3
- package/es/components/Text/designTokens.d.ts +19 -10
- package/es/components/Text/designTokens.js +65 -51
- package/es/components/Text/index.d.ts +2 -1
- package/es/components/Text/index.js +42 -12
- package/es/components/TextInputInside/designTokens.d.ts +3 -12
- package/es/components/TextInputInside/designTokens.js +59 -57
- package/es/components/TextInputInside/index.js +10 -7
- package/es/components/TextInputOutside/designTokens.d.ts +5 -5
- package/es/components/TextInputOutside/designTokens.js +77 -61
- package/es/components/TextInputOutside/index.js +12 -7
- package/es/components/TextLink/designTokens.d.ts +2 -2
- package/es/components/TextLink/designTokens.js +14 -10
- package/es/components/TextLink/index.js +2 -1
- package/es/components/Toast/designTokens.d.ts +2 -2
- package/es/components/Toast/designTokens.js +20 -19
- package/es/components/Toast/index.js +2 -1
- package/es/components/Toggle/designTokens.d.ts +2 -2
- package/es/components/Toggle/designTokens.js +16 -12
- package/es/components/Toggle/index.js +2 -1
- package/es/components/index.d.ts +7 -1
- package/es/components/index.js +6 -2
- package/es/constants/index.d.ts +4 -1
- package/es/constants/index.js +5 -1
- package/es/index.d.ts +2 -0
- package/es/index.js +4 -0
- package/es/tokens/DXPGlobal.d.ts +27 -18
- package/es/tokens/DXPGlobal.js +2 -2
- package/es/utils/TokenContext.d.ts +14 -0
- package/es/utils/TokenContext.js +91 -0
- package/es/utils/deviceType.d.ts +14 -0
- package/es/utils/deviceType.js +65 -0
- package/es/utils/index.d.ts +9 -0
- package/es/utils/index.js +9 -0
- package/es/utils/tokenHelper.js +2 -5
- package/es/utils/tokenManager.d.ts +82 -20
- package/es/utils/tokenManager.js +857 -779
- package/lib/assets/token.json +128 -102
- package/lib/components/Accordion/designTokens.d.ts +3 -3
- package/lib/components/Accordion/designTokens.js +25 -17
- package/lib/components/Accordion/index.js +8 -4
- package/lib/components/Amount/designTokens.d.ts +2 -2
- package/lib/components/Amount/designTokens.js +13 -9
- package/lib/components/Amount/index.d.ts +3 -10
- package/lib/components/Amount/index.js +84 -90
- package/lib/components/Button/designTokens.d.ts +18 -3
- package/lib/components/Button/designTokens.js +120 -114
- package/lib/components/Button/index.d.ts +16 -5
- package/lib/components/Button/index.js +59 -51
- package/lib/components/Button/style/index.less +1 -1
- package/lib/components/Card/designTokens.d.ts +9 -0
- package/lib/components/Card/designTokens.js +37 -0
- package/lib/components/Card/index.d.ts +15 -0
- package/lib/components/Card/index.js +156 -0
- package/lib/components/Card/style/index.less +45 -0
- package/lib/components/Card/style/variables.less +4 -0
- package/lib/components/Chip/designTokens.d.ts +2 -2
- package/lib/components/Chip/designTokens.js +25 -21
- package/lib/components/Chip/index.js +8 -5
- package/lib/components/Divider/designTokens.d.ts +4 -0
- package/lib/components/Divider/designTokens.js +32 -0
- package/lib/components/Divider/index.d.ts +3 -8
- package/lib/components/Divider/index.js +41 -43
- package/lib/components/Drawer/designTokens.d.ts +2 -2
- package/lib/components/Drawer/designTokens.js +31 -38
- package/lib/components/Drawer/index.d.ts +6 -2
- package/lib/components/Drawer/index.js +80 -53
- package/lib/components/Drawer/style/index.less +13 -7
- package/lib/components/GlobalTokenProvider/index.d.ts +11 -0
- package/lib/components/GlobalTokenProvider/index.js +40 -0
- package/lib/components/Icon/designTokens.d.ts +3 -3
- package/lib/components/Icon/designTokens.js +11 -17
- package/lib/components/Icon/index.js +5 -4
- package/lib/components/IconButton/designTokens.d.ts +3 -4
- package/lib/components/IconButton/designTokens.js +41 -34
- package/lib/components/IconButton/index.d.ts +1 -1
- package/lib/components/IconButton/index.js +25 -23
- package/lib/components/Image/index.d.ts +1 -1
- package/lib/components/Image/index.js +4 -4
- package/lib/components/ListItem/designTokens.d.ts +4 -2
- package/lib/components/ListItem/designTokens.js +36 -41
- package/lib/components/ListItem/index.d.ts +12 -2
- package/lib/components/ListItem/index.js +115 -46
- package/lib/components/ListItem/style/index.less +42 -9
- package/lib/components/Modal/designTokens.d.ts +11 -20
- package/lib/components/Modal/designTokens.js +44 -60
- package/lib/components/Modal/index.js +63 -16
- package/lib/components/Navigation/designTokens.d.ts +9 -8
- package/lib/components/Navigation/designTokens.js +24 -29
- package/lib/components/Navigation/index.d.ts +1 -0
- package/lib/components/Navigation/index.js +13 -12
- package/lib/components/Notification/designTokens.d.ts +9 -0
- package/lib/components/Notification/designTokens.js +37 -0
- package/lib/components/Notification/index.d.ts +12 -0
- package/lib/components/Notification/index.js +110 -0
- package/lib/components/Notification/style/index.less +45 -0
- package/lib/components/Notification/style/variables.less +4 -0
- package/lib/components/Search/designTokens.d.ts +4 -4
- package/lib/components/Search/designTokens.js +61 -49
- package/lib/components/Search/index.js +31 -9
- package/lib/components/Stepper/designTokens.d.ts +4 -5
- package/lib/components/Stepper/designTokens.js +70 -62
- package/lib/components/Stepper/index.d.ts +9 -10
- package/lib/components/Stepper/index.js +104 -53
- package/lib/components/Stepper/style/index.less +27 -12
- package/lib/components/StickyFooter/designTokens.d.ts +2 -2
- package/lib/components/StickyFooter/designTokens.js +21 -17
- package/lib/components/StickyFooter/index.d.ts +2 -2
- package/lib/components/StickyFooter/index.js +50 -18
- package/lib/components/StickyFooter/style/index.less +5 -3
- package/lib/components/Tabs/designTokens.d.ts +6 -6
- package/lib/components/Tabs/designTokens.js +80 -63
- package/lib/components/Tabs/index.js +19 -12
- package/lib/components/Tag/designTokens.d.ts +42 -42
- package/lib/components/Tag/designTokens.js +159 -115
- package/lib/components/Tag/index.d.ts +1 -1
- package/lib/components/Tag/index.js +27 -14
- package/lib/components/Text/designTokens.d.ts +19 -10
- package/lib/components/Text/designTokens.js +65 -51
- package/lib/components/Text/index.d.ts +2 -1
- package/lib/components/Text/index.js +407 -297
- package/lib/components/TextInputInside/designTokens.d.ts +3 -12
- package/lib/components/TextInputInside/designTokens.js +62 -75
- package/lib/components/TextInputInside/index.js +10 -7
- package/lib/components/TextInputOutside/designTokens.d.ts +5 -5
- package/lib/components/TextInputOutside/designTokens.js +82 -66
- package/lib/components/TextInputOutside/index.js +12 -8
- package/lib/components/TextLink/designTokens.d.ts +2 -2
- package/lib/components/TextLink/designTokens.js +14 -21
- package/lib/components/TextLink/index.js +3 -2
- package/lib/components/Toast/designTokens.d.ts +2 -2
- package/lib/components/Toast/designTokens.js +20 -16
- package/lib/components/Toast/index.js +7 -6
- package/lib/components/Toggle/designTokens.d.ts +2 -2
- package/lib/components/Toggle/designTokens.js +16 -23
- package/lib/components/Toggle/index.js +3 -2
- package/lib/components/index.d.ts +7 -1
- package/lib/components/index.js +10 -2
- package/lib/constants/index.d.ts +4 -1
- package/lib/constants/index.js +5 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +22 -0
- package/lib/tokens/DXPGlobal.d.ts +27 -18
- package/lib/tokens/DXPGlobal.js +1 -1
- package/lib/utils/TokenContext.d.ts +14 -0
- package/lib/utils/TokenContext.js +85 -0
- package/lib/utils/deviceType.d.ts +14 -0
- package/lib/utils/deviceType.js +56 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.js +44 -0
- package/lib/utils/tokenHelper.js +2 -12
- package/lib/utils/tokenManager.d.ts +82 -20
- package/lib/utils/tokenManager.js +840 -777
- package/package.json +14 -11
- package/umd/dxp-ui.min.css +1 -1
- package/umd/dxp-ui.min.js +1 -1
- package/lib/components/Button/demo/index.d.ts +0 -3
- 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
|
|
3
|
+
React 基础组件库。
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## ✨ 特性
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
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
|
-
##
|
|
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
|
-
##
|
|
21
|
+
## 🚀 使用
|
|
19
22
|
|
|
20
23
|
<!-- prettier-ignore -->
|
|
21
24
|
```tsx | pure
|
|
22
25
|
import { Button } from '@digitalc/dxp-ui';
|
|
23
|
-
//
|
|
24
|
-
|
|
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
|
-
|
|
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
|
-
## 兼容
|
|
66
|
+
## 🤝 兼容 Ant Design v4 项目
|
|
62
67
|
|
|
63
|
-
dxp-ui
|
|
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
|
-
|
|
72
|
+
使用 npm alias 功能同时安装两个版本的 Ant Design。
|
|
69
73
|
|
|
70
|
-
|
|
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
|
-
|
|
78
|
+
在 `package.json` 中添加依赖别名,然后执行 `npm install`:
|
|
74
79
|
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
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
|
|
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
|
|
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
|
|
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
|

|
|
143
153
|
|
|
144
|
-
|
|
145
|
-
如果出现 less 格式不对,则需要做额外处理。
|
|
154
|
+
### 5. Webpack/Umi 3 Less 配置 (如果需要)
|
|
146
155
|
|
|
147
|
-
|
|
156
|
+
`@digitalc/dxp-ui` 使用 ES Modules 并支持按需加载,其 Less 文件默认未编译。
|
|
148
157
|
|
|
149
|
-
|
|
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
|
-
|
|
153
|
-
|
|
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/)
|
|
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
|
-
|
|
206
|
+
**注意:** 添加 Less 规则后,请务必进行充分测试,确保样式正确加载且没有冲突。
|
|
207
|
+
|
|
208
|
+
完成以上步骤后,尽量对项目进行全量测试。
|
|
175
209
|
|
|
176
|
-
|
|
210
|
+
---
|
package/es/assets/token.json
CHANGED
|
@@ -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": "#
|
|
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": "#
|
|
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
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
"
|
|
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":
|
|
264
|
-
"
|
|
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
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
"
|
|
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":
|
|
278
|
+
"fontSizeMobileContentC13": 0,
|
|
283
279
|
"fontSizeMobileContentC14": 16,
|
|
284
|
-
"fontSizeMobileContentC15":
|
|
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":
|
|
293
|
-
"fontSizeMobileTitleT25":
|
|
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
|
-
"
|
|
301
|
-
"
|
|
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": "#
|
|
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": "#
|
|
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": "#
|
|
372
|
+
"colorTextLinkInverse": "#38bffc",
|
|
366
373
|
"colorTextAlert": "#d82e00",
|
|
367
374
|
"colorTextSuccess": "#00b379",
|
|
368
375
|
"colorTextNavigationActive": "#180c8e",
|
|
369
|
-
"colorTextHeaderActive": "#
|
|
376
|
+
"colorTextHeaderActive": "#38bffc",
|
|
370
377
|
"colorTextCta": "#180c8e",
|
|
371
|
-
"colorTextCtaInverse": "#
|
|
378
|
+
"colorTextCtaInverse": "#ffffff",
|
|
372
379
|
"colorTextSubtleInverse": "#b5b5b5",
|
|
373
380
|
"colorTextHeaderHighlight": "#242424",
|
|
374
|
-
"colorTextHeaderHighlightInverse": "#
|
|
381
|
+
"colorTextHeaderHighlightInverse": "#ebf8fe",
|
|
375
382
|
"colorTextHeaderActiveInverse": "#ffffff",
|
|
376
383
|
"colorTextCoachmark": "#ffffff",
|
|
377
384
|
"colorIconLink": "#3e51f4",
|
|
378
385
|
"colorIconNeutral": "#242424",
|
|
379
|
-
"colorIconCta": "#
|
|
380
|
-
"colorIconCtaInverse": "#
|
|
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": "#
|
|
404
|
+
"colorIconLinkInverse": "#38bffc",
|
|
398
405
|
"colorIconSubtleInverse": "#b5b5b5",
|
|
399
406
|
"colorIconRating": "#ffb524",
|
|
400
407
|
"colorTagPrimary": "#d01660",
|
|
401
408
|
"colorTagSecondary": "#180c8e",
|
|
402
|
-
"colorBorderDivider": "#
|
|
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": "#
|
|
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
|
-
"
|
|
548
|
-
"
|
|
549
|
-
"
|
|
550
|
-
"
|
|
551
|
-
"
|
|
552
|
-
"
|
|
553
|
-
"
|
|
554
|
-
"
|
|
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":
|
|
558
|
-
"fontSizeDesktopContentC21":
|
|
564
|
+
"fontSizeDesktopContentC14": 16,
|
|
565
|
+
"fontSizeDesktopContentC21": 20,
|
|
559
566
|
"fontSizeDesktopTitleT21": 24,
|
|
560
567
|
"fontSizeDesktopContentC12": 14,
|
|
561
568
|
"fontSizeDesktopContentC10": 10,
|
|
562
569
|
"fontSizeDesktopContentC11": 12,
|
|
563
|
-
"fontSizeDesktopContentC13":
|
|
564
|
-
"
|
|
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
|
-
"
|
|
572
|
-
"
|
|
573
|
-
"
|
|
574
|
-
"
|
|
575
|
-
"
|
|
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":
|
|
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":
|
|
593
|
-
"fontSizeMobileTitleT25":
|
|
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
|
-
"
|
|
601
|
-
"
|
|
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": "#
|
|
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": "#
|
|
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": "#
|
|
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": "#
|
|
687
|
+
"colorTextCtaInverse": "#ffffff",
|
|
672
688
|
"colorTextSubtleInverse": "#b5b5b5",
|
|
673
689
|
"colorTextHeaderHighlight": "#242424",
|
|
674
|
-
"colorTextHeaderHighlightInverse": "#
|
|
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": "#
|
|
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": "#
|
|
718
|
+
"colorBorderDivider": "#e6e6e6",
|
|
703
719
|
"colorBorderCta": "#ff5e00",
|
|
704
720
|
"colorBorderCtaInverse": "#07d39f",
|
|
705
721
|
"colorBorderError": "#fa2c2c",
|
|
706
722
|
"colorBorderSelected": "#ff5e00",
|
|
707
|
-
"colorBorderStandard": "#
|
|
723
|
+
"colorBorderStandard": "#d9d9d9",
|
|
708
724
|
"colorBorderActive": "#ff5e00",
|
|
709
725
|
"colorBorderDisabled": "#8c8c987f",
|
|
710
|
-
"colorBorderWeak": "#
|
|
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":
|
|
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
|
-
"
|
|
848
|
-
"
|
|
849
|
-
"
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"
|
|
853
|
-
"
|
|
854
|
-
"
|
|
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":
|
|
858
|
-
"fontSizeDesktopContentC21":
|
|
873
|
+
"fontSizeDesktopContentC14": 16,
|
|
874
|
+
"fontSizeDesktopContentC21": 20,
|
|
859
875
|
"fontSizeDesktopTitleT21": 24,
|
|
860
876
|
"fontSizeDesktopContentC12": 14,
|
|
861
877
|
"fontSizeDesktopContentC10": 10,
|
|
862
878
|
"fontSizeDesktopContentC11": 12,
|
|
863
|
-
"fontSizeDesktopContentC13":
|
|
864
|
-
"
|
|
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": "#
|
|
871
|
-
"
|
|
872
|
-
"
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
"
|
|
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":
|
|
883
|
-
"fontSizeMobileContentC14":
|
|
884
|
-
"fontSizeMobileContentC15":
|
|
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":
|
|
893
|
-
"fontSizeMobileTitleT25":
|
|
906
|
+
"fontSizeMobileTitleT24": 26,
|
|
907
|
+
"fontSizeMobileTitleT25": 28,
|
|
894
908
|
"fontSizeMobileTitleT32": 32,
|
|
895
909
|
"fontSizeMobileTitleT34": 36,
|
|
896
910
|
"fontSizeMobileTitleT41": 40,
|
|
897
911
|
"fontSizeMobileTitleT45": 48,
|
|
898
|
-
"fontSizeMobileNavigation":
|
|
912
|
+
"fontSizeMobileNavigation": 18,
|
|
899
913
|
"colorTextHintMessage": "#242424",
|
|
900
|
-
"
|
|
901
|
-
"
|
|
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
|
}
|