@autional-cn/tokens 0.1.0-rc.3 → 0.1.0-rc.4
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/dist/antd-theme.d.mts +4 -4
- package/dist/antd-theme.d.ts +2 -2
- package/dist/antd-theme.js +22 -2
- package/dist/antd-theme.mjs +22 -2
- package/package.json +1 -1
package/dist/antd-theme.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc */
|
|
2
2
|
declare const antdTheme: {
|
|
3
|
-
light: { token: Record<string, string | number
|
|
4
|
-
dark: { token: Record<string, string | number
|
|
3
|
+
light: { token: Record<string, string | number>; components: Record<string, Record<string, string | number>> };
|
|
4
|
+
dark: { token: Record<string, string | number>; components: Record<string, Record<string, string | number>> };
|
|
5
5
|
};
|
|
6
6
|
export default antdTheme;
|
|
7
|
-
export declare const light: { token: Record<string, string | number
|
|
8
|
-
export declare const dark: { token: Record<string, string | number
|
|
7
|
+
export declare const light: { token: Record<string, string | number>; components: Record<string, Record<string, string | number>> };
|
|
8
|
+
export declare const dark: { token: Record<string, string | number>; components: Record<string, Record<string, string | number>> };
|
package/dist/antd-theme.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc */
|
|
2
2
|
declare const antdTheme: {
|
|
3
|
-
light: { token: Record<string, string | number
|
|
4
|
-
dark: { token: Record<string, string | number
|
|
3
|
+
light: { token: Record<string, string | number>; components: Record<string, Record<string, string | number>> };
|
|
4
|
+
dark: { token: Record<string, string | number>; components: Record<string, Record<string, string | number>> };
|
|
5
5
|
};
|
|
6
6
|
export = antdTheme;
|
package/dist/antd-theme.js
CHANGED
|
@@ -20,7 +20,17 @@ module.exports = {
|
|
|
20
20
|
colorTextDescription: '#64748d',
|
|
21
21
|
borderRadius: 8,
|
|
22
22
|
fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
|
|
23
|
-
}
|
|
23
|
+
}, components: {
|
|
24
|
+
Table: {
|
|
25
|
+
headerBg: '#f8fbfe',
|
|
26
|
+
headerColor: '#041d31',
|
|
27
|
+
headerSplitColor: '#a3c7e3',
|
|
28
|
+
rowHoverBg: '#f8fbfe',
|
|
29
|
+
borderColor: '#a3c7e3',
|
|
30
|
+
cellPaddingBlock: 10,
|
|
31
|
+
cellPaddingInline: 12
|
|
32
|
+
}
|
|
33
|
+
} },
|
|
24
34
|
dark: { token: {
|
|
25
35
|
colorPrimary: '#003153',
|
|
26
36
|
colorSuccess: '#52c41a',
|
|
@@ -34,5 +44,15 @@ module.exports = {
|
|
|
34
44
|
colorTextDescription: '#8896a6',
|
|
35
45
|
borderRadius: 8,
|
|
36
46
|
fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
|
|
37
|
-
}
|
|
47
|
+
}, components: {
|
|
48
|
+
Table: {
|
|
49
|
+
headerBg: '#0a1f30',
|
|
50
|
+
headerColor: '#f8fbfe',
|
|
51
|
+
headerSplitColor: '#1a4a65',
|
|
52
|
+
rowHoverBg: '#0a1f30',
|
|
53
|
+
borderColor: '#1a4a65',
|
|
54
|
+
cellPaddingBlock: 10,
|
|
55
|
+
cellPaddingInline: 12
|
|
56
|
+
}
|
|
57
|
+
} },
|
|
38
58
|
};
|
package/dist/antd-theme.mjs
CHANGED
|
@@ -22,7 +22,17 @@ const antdTheme = {
|
|
|
22
22
|
colorTextDescription: '#64748d',
|
|
23
23
|
borderRadius: 8,
|
|
24
24
|
fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
|
|
25
|
-
}
|
|
25
|
+
}, components: {
|
|
26
|
+
Table: {
|
|
27
|
+
headerBg: '#f8fbfe',
|
|
28
|
+
headerColor: '#041d31',
|
|
29
|
+
headerSplitColor: '#a3c7e3',
|
|
30
|
+
rowHoverBg: '#f8fbfe',
|
|
31
|
+
borderColor: '#a3c7e3',
|
|
32
|
+
cellPaddingBlock: 10,
|
|
33
|
+
cellPaddingInline: 12
|
|
34
|
+
}
|
|
35
|
+
} },
|
|
26
36
|
dark: { token: {
|
|
27
37
|
colorPrimary: '#003153',
|
|
28
38
|
colorSuccess: '#52c41a',
|
|
@@ -36,7 +46,17 @@ const antdTheme = {
|
|
|
36
46
|
colorTextDescription: '#8896a6',
|
|
37
47
|
borderRadius: 8,
|
|
38
48
|
fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
|
|
39
|
-
}
|
|
49
|
+
}, components: {
|
|
50
|
+
Table: {
|
|
51
|
+
headerBg: '#0a1f30',
|
|
52
|
+
headerColor: '#f8fbfe',
|
|
53
|
+
headerSplitColor: '#1a4a65',
|
|
54
|
+
rowHoverBg: '#0a1f30',
|
|
55
|
+
borderColor: '#1a4a65',
|
|
56
|
+
cellPaddingBlock: 10,
|
|
57
|
+
cellPaddingInline: 12
|
|
58
|
+
}
|
|
59
|
+
} },
|
|
40
60
|
};
|
|
41
61
|
export default antdTheme;
|
|
42
62
|
export const light = antdTheme.light;
|
package/package.json
CHANGED