@autional-cn/tokens 0.1.0-rc.1 → 0.1.0-rc.2
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 +1 -1
- package/dist/antd-theme.d.ts +1 -1
- package/dist/antd-theme.js +5 -1
- package/dist/antd-theme.mjs +5 -1
- package/dist/chart.d.ts +1 -1
- package/dist/chart.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/tokens.json +1 -1
- package/package.json +2 -2
- package/profiles/developer.css +1 -1
- package/profiles/docs.css +1 -1
- package/tokens.css +1 -1
package/dist/antd-theme.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
1
|
+
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc */
|
|
2
2
|
declare const antdTheme: {
|
|
3
3
|
light: { token: Record<string, string | number> };
|
|
4
4
|
dark: { token: Record<string, string | number> };
|
package/dist/antd-theme.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
1
|
+
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc */
|
|
2
2
|
declare const antdTheme: {
|
|
3
3
|
light: { token: Record<string, string | number> };
|
|
4
4
|
dark: { token: Record<string, string | number> };
|
package/dist/antd-theme.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
2
|
+
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
3
3
|
*
|
|
4
4
|
* antd v5/v6 ThemeConfig bridge. Usage:
|
|
5
5
|
* const antdToken = require('@autional-cn/tokens/antd-theme');
|
|
@@ -16,6 +16,8 @@ module.exports = {
|
|
|
16
16
|
colorBgContainer: '#ffffff',
|
|
17
17
|
colorBgElevated: '#ffffff',
|
|
18
18
|
colorText: '#041d31',
|
|
19
|
+
colorTextSecondary: '#004565',
|
|
20
|
+
colorTextDescription: '#64748d',
|
|
19
21
|
borderRadius: 8,
|
|
20
22
|
fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
|
|
21
23
|
} },
|
|
@@ -28,6 +30,8 @@ module.exports = {
|
|
|
28
30
|
colorBgContainer: '#0a2940',
|
|
29
31
|
colorBgElevated: '#0f3348',
|
|
30
32
|
colorText: '#f8fbfe',
|
|
33
|
+
colorTextSecondary: '#87ceeb',
|
|
34
|
+
colorTextDescription: '#8896a6',
|
|
31
35
|
borderRadius: 8,
|
|
32
36
|
fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
|
|
33
37
|
} },
|
package/dist/antd-theme.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
1
|
+
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
2
2
|
*
|
|
3
3
|
* antd v5/v6 ThemeConfig bridge (ESM). Usage:
|
|
4
4
|
* import antdTheme from '@autional-cn/tailwind-preset/antd-theme.mjs';
|
|
@@ -18,6 +18,8 @@ const antdTheme = {
|
|
|
18
18
|
colorBgContainer: '#ffffff',
|
|
19
19
|
colorBgElevated: '#ffffff',
|
|
20
20
|
colorText: '#041d31',
|
|
21
|
+
colorTextSecondary: '#004565',
|
|
22
|
+
colorTextDescription: '#64748d',
|
|
21
23
|
borderRadius: 8,
|
|
22
24
|
fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
|
|
23
25
|
} },
|
|
@@ -30,6 +32,8 @@ const antdTheme = {
|
|
|
30
32
|
colorBgContainer: '#0a2940',
|
|
31
33
|
colorBgElevated: '#0f3348',
|
|
32
34
|
colorText: '#f8fbfe',
|
|
35
|
+
colorTextSecondary: '#87ceeb',
|
|
36
|
+
colorTextDescription: '#8896a6',
|
|
33
37
|
borderRadius: 8,
|
|
34
38
|
fontFamily: "Inter, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif"
|
|
35
39
|
} },
|
package/dist/chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
1
|
+
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc */
|
|
2
2
|
declare const chart: {
|
|
3
3
|
chart: Record<string, string>;
|
|
4
4
|
method: Record<string, string>;
|
package/dist/chart.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
2
|
+
/** GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
3
3
|
*
|
|
4
4
|
* Literal color values for chart libraries that need real hex strings.
|
|
5
5
|
* Status-like series should use the semantic group, not the chart group.
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/tokens.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$meta": {
|
|
3
3
|
"name": "Autional Design Tokens",
|
|
4
4
|
"package": "@autional-cn/tokens",
|
|
5
|
-
"version": "0.1.0-rc
|
|
5
|
+
"version": "0.1.0-rc",
|
|
6
6
|
"spec": 1,
|
|
7
7
|
"description": "Single source of truth for the Autional design system (canonical repo: autional-cn/ui). Edit this file, then run `pnpm gen`. Generated artifacts are committed.",
|
|
8
8
|
"conventions": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autional-cn/tokens",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.2",
|
|
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
|
+
}
|
package/profiles/developer.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Autional profile: developer — GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
2
|
+
* Autional profile: developer — GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
3
3
|
* Load AFTER @autional-cn/tokens/tokens.css.
|
|
4
4
|
*/
|
|
5
5
|
|
package/profiles/docs.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Autional profile: docs — GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
2
|
+
* Autional profile: docs — GENERATED FILE — DO NOT EDIT. Source: tokens/tokens.json · Regenerate: pnpm gen · v0.1.0-rc
|
|
3
3
|
* Load AFTER @autional-cn/tokens/tokens.css.
|
|
4
4
|
*/
|
|
5
5
|
|
package/tokens.css
CHANGED