feat: add Paper Routes and package five design systems
Add the paper direction with thin tracks, outlined hexagons and line arrows, without exterior color markers or piece numbers. Add a unified catalog for five designs and their 25 themes, with direct review links. Organize each design into an authored design.md, generated tokens.json and preview. Add Agent routing, shared integration guidance, a machine-readable manifest and an executable rendering example. Preserve legacy preview and document links. Validation: 16 focused design, theme and package tests passed; npm run design and static build passed. Confirmed all eight authored documents survive generation unchanged. Browser checks covered mobile, tablet and desktop layouts, theme links and migrated previews. Native engine integration and visual verification remain pending.
This commit is contained in:
@@ -0,0 +1,469 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"generated": true,
|
||||
"generatedBy": "scripts/build-art-directions.mjs",
|
||||
"pathBase": "repository-root",
|
||||
"designId": "paper",
|
||||
"artStyle": "paper",
|
||||
"sources": {
|
||||
"directions": "src/art-directions.js",
|
||||
"baseTokens": "src/design-tokens.js",
|
||||
"renderer": "src/renderer.js",
|
||||
"tokenDrawing": "src/token-art.js",
|
||||
"componentStyles": "design/art-directions.css",
|
||||
"itemStyles": "design/game-tools.css"
|
||||
},
|
||||
"accent": "#294D60",
|
||||
"documentBackground": "#F7F9F8",
|
||||
"sharedSemanticColors": {
|
||||
"background": "#A8BECF",
|
||||
"board": "#F2EEE5",
|
||||
"boardGrid": "#89867D",
|
||||
"track": "#435F78",
|
||||
"trackHalo": "#F2EEE5",
|
||||
"surface": "#F7F6F2",
|
||||
"textPrimary": "#273B50",
|
||||
"textSecondary": "#314A5F",
|
||||
"primary": "#6652B8",
|
||||
"onPrimary": "#FFFFFF",
|
||||
"secondary": "#E4EAF0",
|
||||
"utility": "#52697E",
|
||||
"onUtility": "#FFFFFF",
|
||||
"selection": "#DFD9F3",
|
||||
"onSelection": "#3F327A",
|
||||
"disabled": "#CBD4DD",
|
||||
"onDisabled": "#526579",
|
||||
"input": "#FFFFFF",
|
||||
"reward": "#B9760C",
|
||||
"warning": "#A44825",
|
||||
"warningSurface": "#F9E3D2",
|
||||
"scrim": "#273B507A",
|
||||
"focus": "#3F327A",
|
||||
"tileBlue": "#2392FD",
|
||||
"tilePink": "#FC3E80",
|
||||
"tileYellow": "#FDBC28",
|
||||
"tilePurple": "#874FFD",
|
||||
"arrowLight": "#FFFFFF",
|
||||
"arrowDark": "#273B50"
|
||||
},
|
||||
"assets": {
|
||||
"tileAtlas": null,
|
||||
"uiIconAtlas": "assets/ui-icons-generated.png"
|
||||
},
|
||||
"pigments": [
|
||||
{
|
||||
"index": 0,
|
||||
"name": "陶橙",
|
||||
"color": "#D66C4D",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 1,
|
||||
"name": "雾蓝",
|
||||
"color": "#477FC0",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 2,
|
||||
"name": "鼠尾草",
|
||||
"color": "#668877",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 3,
|
||||
"name": "赭金",
|
||||
"color": "#B58943",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 4,
|
||||
"name": "雾紫",
|
||||
"color": "#8B7297",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 5,
|
||||
"name": "湖青",
|
||||
"color": "#45868C",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 6,
|
||||
"name": "陶红",
|
||||
"color": "#B76260",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 7,
|
||||
"name": "钢蓝",
|
||||
"color": "#607B90",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 8,
|
||||
"name": "暖木",
|
||||
"color": "#B28168",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 9,
|
||||
"name": "松绿",
|
||||
"color": "#46765F",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 10,
|
||||
"name": "烟蓝",
|
||||
"color": "#6B8AAB",
|
||||
"arrow": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"index": 11,
|
||||
"name": "藕灰",
|
||||
"color": "#9C7284",
|
||||
"arrow": "#FFFFFF"
|
||||
}
|
||||
],
|
||||
"themes": [
|
||||
{
|
||||
"id": "lagoon",
|
||||
"label": "轻松",
|
||||
"name": "雾蓝信纸",
|
||||
"background": "#EAF0F3",
|
||||
"ink": "#12202A",
|
||||
"materials": {
|
||||
"board": "#FAFBF7",
|
||||
"boardGrid": "#D3DFE3",
|
||||
"track": "#B2C4CE",
|
||||
"trackHalo": "#FAFBF7"
|
||||
},
|
||||
"anchorPalette": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
7
|
||||
],
|
||||
"palettes": {
|
||||
"4": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3
|
||||
],
|
||||
"7": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
7
|
||||
],
|
||||
"9": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
7,
|
||||
6,
|
||||
8
|
||||
],
|
||||
"12": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
7,
|
||||
6,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11
|
||||
]
|
||||
},
|
||||
"contrast": {
|
||||
"sceneText": 14.423559313677755,
|
||||
"trackOnBoard": 1.7299985145787213
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "apricot",
|
||||
"label": "进阶",
|
||||
"name": "暖砂手札",
|
||||
"background": "#F3EEE5",
|
||||
"ink": "#12202A",
|
||||
"materials": {
|
||||
"board": "#FFFCF5",
|
||||
"boardGrid": "#E3DCD0",
|
||||
"track": "#C4B8A4",
|
||||
"trackHalo": "#FFFCF5"
|
||||
},
|
||||
"anchorPalette": [
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
6,
|
||||
8,
|
||||
9,
|
||||
4
|
||||
],
|
||||
"palettes": {
|
||||
"4": [
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
6
|
||||
],
|
||||
"7": [
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
6,
|
||||
8,
|
||||
9,
|
||||
4
|
||||
],
|
||||
"9": [
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
6,
|
||||
8,
|
||||
9,
|
||||
4,
|
||||
2,
|
||||
5
|
||||
],
|
||||
"12": [
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
6,
|
||||
8,
|
||||
9,
|
||||
4,
|
||||
2,
|
||||
5,
|
||||
7,
|
||||
10,
|
||||
11
|
||||
]
|
||||
},
|
||||
"contrast": {
|
||||
"sceneText": 14.35675892235889,
|
||||
"trackOnBoard": 1.90836044264981
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "lavender",
|
||||
"label": "烧脑",
|
||||
"name": "鼠尾草页",
|
||||
"background": "#E8EFEB",
|
||||
"ink": "#12202A",
|
||||
"materials": {
|
||||
"board": "#FAFCF8",
|
||||
"boardGrid": "#D3DFD7",
|
||||
"track": "#ADBCB2",
|
||||
"trackHalo": "#FAFCF8"
|
||||
},
|
||||
"anchorPalette": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
5,
|
||||
9,
|
||||
10,
|
||||
0
|
||||
],
|
||||
"palettes": {
|
||||
"4": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
5
|
||||
],
|
||||
"7": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
5,
|
||||
9,
|
||||
10,
|
||||
0
|
||||
],
|
||||
"9": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
5,
|
||||
9,
|
||||
10,
|
||||
0,
|
||||
4,
|
||||
6
|
||||
],
|
||||
"12": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
5,
|
||||
9,
|
||||
10,
|
||||
0,
|
||||
4,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
11
|
||||
]
|
||||
},
|
||||
"contrast": {
|
||||
"sceneText": 14.202869576847103,
|
||||
"trackOnBoard": 1.916933130789821
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rose",
|
||||
"label": "挑战",
|
||||
"name": "石墨练习",
|
||||
"background": "#E7EBEE",
|
||||
"ink": "#12202A",
|
||||
"materials": {
|
||||
"board": "#F8FAFB",
|
||||
"boardGrid": "#D1DBE1",
|
||||
"track": "#A5B6C1",
|
||||
"trackHalo": "#F8FAFB"
|
||||
},
|
||||
"anchorPalette": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
6,
|
||||
7,
|
||||
10,
|
||||
11
|
||||
],
|
||||
"palettes": {
|
||||
"4": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
6
|
||||
],
|
||||
"7": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
6,
|
||||
7,
|
||||
10,
|
||||
11
|
||||
],
|
||||
"9": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
6,
|
||||
7,
|
||||
10,
|
||||
11,
|
||||
2,
|
||||
3
|
||||
],
|
||||
"12": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
6,
|
||||
7,
|
||||
10,
|
||||
11,
|
||||
2,
|
||||
3,
|
||||
5,
|
||||
8,
|
||||
9
|
||||
]
|
||||
},
|
||||
"contrast": {
|
||||
"sceneText": 13.838133934955545,
|
||||
"trackOnBoard": 1.9936733854132391
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "midnight",
|
||||
"label": "每周挑战",
|
||||
"name": "夜航图纸",
|
||||
"background": "#253B4A",
|
||||
"ink": "#FFFFFF",
|
||||
"materials": {
|
||||
"board": "#304A59",
|
||||
"boardGrid": "#435E6C",
|
||||
"track": "#849FAE",
|
||||
"trackHalo": "#304A59"
|
||||
},
|
||||
"anchorPalette": [
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
10
|
||||
],
|
||||
"palettes": {
|
||||
"4": [
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"7": [
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
10
|
||||
],
|
||||
"9": [
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
10,
|
||||
1,
|
||||
6
|
||||
],
|
||||
"12": [
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
10,
|
||||
1,
|
||||
6,
|
||||
7,
|
||||
9,
|
||||
11
|
||||
]
|
||||
},
|
||||
"contrast": {
|
||||
"sceneText": 11.646406631180858,
|
||||
"trackOnBoard": 3.357082701757936
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user