card harness dynamic changes

This commit is contained in:
2026-09-11 21:19:08 -07:00
parent 8fcda5f2b7
commit 56f010a71e
25 changed files with 1055 additions and 126 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

View File

@@ -0,0 +1,21 @@
# 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.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@@ -0,0 +1,22 @@
{
"schemaVersion": 1,
"cards": [
{
"name": "David",
"artwork": "/card-art/David.png?v=a5541f0b4b68e13e",
"mask": "/card-art/David-mask.png?v=a5541f0b4b68e13e",
"revision": "a5541f0b4b68e13e",
"width": 1060,
"height": 1484
},
{
"name": "Timothy",
"artwork": "/card-art/Timothy.png?v=1118b083057106d4",
"mask": "/card-art/Timothy-mask.png?v=1118b083057106d4",
"revision": "1118b083057106d4",
"width": 1060,
"height": 1484
}
],
"errors": []
}