Saeris / Scribe

📜 A GraphQL Magic: The Gathering API Server for Compendium
MIT License
13 stars 2 forks source link

Question: Set icons #1

Closed otoomey closed 7 years ago

otoomey commented 7 years ago

I have been reading through your code, and I can't figure out how you are getting the icon for each set. From what I can see, the MTG API does not expose icon URLs for card sets. Are you loading them from another source? Thanks in advance.

Saeris commented 7 years ago

Good question! I'll be sure to cover this in the docs once I get to writing more of them.

I'm actually using these two fantastic libraries on the front-end:

https://github.com/andrewgioia/Keyrune

https://github.com/andrewgioia/Mana

So where you see icons being added, right now all I'm doing is generating CSS class name snippets to be consumed later.

Hope that helps!