Improved harness - with card selection

This commit is contained in:
2026-09-15 06:08:43 -07:00
parent 97ed7f05c8
commit 786f63a042
29 changed files with 1398 additions and 494 deletions

View File

@@ -1,21 +0,0 @@
# Card Art Drop Folder
Add each card as one PNG artwork and one matching PNG finish mask:
```text
david.png
david-mask.png
```
The filename before `.png` is the card name shown in the harness. Names are
case-sensitive. Artwork and mask must:
- have identical dimensions;
- use a 5:7 aspect ratio;
- be fully opaque;
- use an opaque grayscale mask.
During `npm run dev`, adding or replacing either PNG refreshes the searchable
card catalog automatically. Reopening or focusing the Card field also forces a
rescan. Production builds generate `manifest.json` from this folder and fail if
any pair is missing or invalid.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

View File

@@ -1,33 +0,0 @@
{
"schemaVersion": 1,
"cards": [
{
"name": "david",
"artwork": "/card-art/david.png?v=cc45a552b6516d2b",
"mask": "/card-art/david-mask.png?v=cc45a552b6516d2b",
"textMask": "/card-art/david-text-mask.png?v=cc45a552b6516d2b",
"revision": "cc45a552b6516d2b",
"width": 1000,
"height": 1400
},
{
"name": "the-fall",
"artwork": "/card-art/the-fall.png?v=ff92f7967bf1217b",
"mask": "/card-art/the-fall-mask.png?v=ff92f7967bf1217b",
"textMask": "/card-art/the-fall-text-mask.png?v=ff92f7967bf1217b",
"revision": "ff92f7967bf1217b",
"width": 1000,
"height": 1400
},
{
"name": "timothy",
"artwork": "/card-art/timothy.png?v=04a57871358d4c6d",
"mask": "/card-art/timothy-mask.png?v=04a57871358d4c6d",
"textMask": "/card-art/timothy-text-mask.png?v=04a57871358d4c6d",
"revision": "04a57871358d4c6d",
"width": 2000,
"height": 2800
}
],
"errors": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 MiB