@autional-cn/tokens 0.1.0-rc.3 → 0.1.0-rc.5

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.
@@ -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>> };
@@ -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;
@@ -20,7 +20,19 @@ 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
+ cellPaddingBlockMD: 10,
33
+ cellPaddingInlineMD: 12
34
+ }
35
+ } },
24
36
  dark: { token: {
25
37
  colorPrimary: '#003153',
26
38
  colorSuccess: '#52c41a',
@@ -34,5 +46,17 @@ module.exports = {
34
46
  colorTextDescription: '#8896a6',
35
47
  borderRadius: 8,
36
48
  fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
37
- } },
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
+ cellPaddingBlockMD: 10,
59
+ cellPaddingInlineMD: 12
60
+ }
61
+ } },
38
62
  };
@@ -22,7 +22,19 @@ 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
+ cellPaddingBlockMD: 10,
35
+ cellPaddingInlineMD: 12
36
+ }
37
+ } },
26
38
  dark: { token: {
27
39
  colorPrimary: '#003153',
28
40
  colorSuccess: '#52c41a',
@@ -36,7 +48,19 @@ const antdTheme = {
36
48
  colorTextDescription: '#8896a6',
37
49
  borderRadius: 8,
38
50
  fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
39
- } },
51
+ }, components: {
52
+ Table: {
53
+ headerBg: '#0a1f30',
54
+ headerColor: '#f8fbfe',
55
+ headerSplitColor: '#1a4a65',
56
+ rowHoverBg: '#0a1f30',
57
+ borderColor: '#1a4a65',
58
+ cellPaddingBlock: 10,
59
+ cellPaddingInline: 12,
60
+ cellPaddingBlockMD: 10,
61
+ cellPaddingInlineMD: 12
62
+ }
63
+ } },
40
64
  };
41
65
  export default antdTheme;
42
66
  export const light = antdTheme.light;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autional-cn/tokens",
3
- "version": "0.1.0-rc.3",
3
+ "version": "0.1.0-rc.5",
4
4
  "description": "Autional canonical design tokens — CSS variables, Tailwind values, antd theme bridge, chart colors",
5
5
  "license": "AGPL-3.0",
6
6
  "main": "./dist/index.js",
@@ -34,4 +34,4 @@
34
34
  "sideEffects": [
35
35
  "**/*.css"
36
36
  ]
37
- }
37
+ }