-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathantd.theme.ts
33 lines (31 loc) · 1.13 KB
/
antd.theme.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
*默认值
@primary-color: #1890ff; // 全局主色
@link-color: #1890ff; // 链接色
@success-color: #52c41a; // 成功色
@warning-color: #faad14; // 警告色
@error-color: #f5222d; // 错误色
@font-size-base: 14px; // 主字号
@heading-color: rgba(0, 0, 0, 0.85); // 标题色
@text-color: rgba(0, 0, 0, 0.65); // 主文本色
@text-color-secondary: rgba(0, 0, 0, 0.45); // 次文本色
@disabled-color: rgba(0, 0, 0, 0.25); // 失效色
@border-radius-base: 4px; // 组件/浮层圆角
@border-color-base: #d9d9d9; // 边框色
@box-shadow-base: 0 2px 8px rgba(0, 0, 0, 0.15); // 浮层阴影
*/
const customTheme = {
"primary-color": "#1664ff", // change
"link-color": "#1890ff",
"success-color": "#52c41a",
"warning-color": "#faad14",
"error-color": "#f5222d",
"font-size-base": "14px",
"heading-color": "rgba(0, 0, 0, 0.85)",
"text-color": "rgba(0, 0, 0, 0.65)",
"text-color-secondary": "rgba(0, 0, 0, 0.45)",
"disabled-color": "rgba(0, 0, 0, 0.25)",
"border-radius-base": "4px",
"box-shadow-base": "0 2px 8px rgba(0, 0, 0, 0.15)",
}
export { customTheme };