| 1 | // In place of the upstream's image lookups (its resource packs): the art pack's portraits and card art. The card back is |
| 2 | // null: the upstream draws it in an <object>, which the frame's CSP blocks; its SVG fallback is restyled instead. |
| 3 | import { portrait, cardArt } from './art'; |
| 4 | |
| 5 | export const getCharacterImage = (name: string): string | null => portrait(name); |
| 6 | export const getCardImage = (card: { name: string }): string | null => cardArt(card.name); |
| 7 | export const getEquipCardImage = (name: string): string | null => cardArt(name); |
| 8 | export const getCardBackImage = (): string | null => null; |
