![]() So, to solve the problem of information display on Magic And, thanks to some clever graphic design, it all fits together in a “book”. The adventure spell is, appropriately, added Of the creature frame in place: the title and type lines, the mana cost, the The basic design of the adventure frame keeps all the parts But unlike all of the others, there’s no separable component of the card to become the new displayed view. Like split cards, all the information is on one side. …or the horrifically twisted melded version of them, you’ll see it all.Įspecially when you zoom in on a meld card.īut as already stated, adventure cards aren’t split or double-faced or meld. That even works for the fuse cards from Dragon’s Maze, by fusing the two sides together.Īnd with double-faced cards, it looks pretty similar: when We have a solution for split cards: we just show the halfīeing cast. Old problem: how do we show which of the “child” cards is being cast? And because they’re new, they needed a new solution to an They’re not quite split cards, and they’reĭefinitely not double-faced cards. tslint config for all icon magic packages.Adventure cards. images! converts an SVG file to a PNG file using Puppeteer. For running the build, generate, distribute steps on an input directory of icons. For example, creates Contents.json for webp files and generates a sprite for web consumption. and structures the assets (from the generate step) how they need to be consumed and creates the necessary files for platform consumption. the flavors of the icon in all the different types in which it can be consumed. It also generates a config file, one for each icon and stores it along with the icon it's in output folder. provides utils for writing the icon and it's config to the various flavors (in svg format) that an icon can exist in from it's different variants and moves these resulting flavors to a destination folder.provides plugin-manager functions that apply plugins on the icon.exposing a class that manipulates the icon in memory.defining the Icon and IconSet interfaces.Managing the config data for a set of icons in memory via a core of Contains all the classes that represent the icon and a set of icons.Defining and managing the data for each icon.Provides utils to read, validate and write icon config files.Locating config files within directories.Most Icon Magic packages are built with Typescript, tested with Mocha, and linted with tslint using custom rules from the closest config file(iconrc.json/iconrc.js/icon) to an icon and resolving all the paths in theĬonfig file so it's relative to the icon bundle. Instead, it can be copied to another directory in (don't forget to re-name it in package.json too!) to create a new basic functioning module. basic blueprint folder for an Icon Magic package. webp version of that flavor.Ī brief description of the packages in icon-magic. A flavor will also contain assets for each type, i. Flavor: An asset obtained after applying build/generate plugins on the.Paths to the various icon directories and their variants at minimum. iconrc.(js|json) A config file for a single icon or a group of icons with.Within the file system, an icon is aĭirectory that consists of all the variant assets and a corresponding For example, two variants of the home icon can be a filled version andĪn outline version of the same home icon. Icon: The class representing a group of variants that belong to the same.svg type and form the input of the entire icon build Variant: a version of the icon that has its own underlying path elements.Asset: A single file containing a logo/image.You'll need to run a build on all the packages when you switch branches. i.e yarn lerna run test to run the tests for all packages. You can use yarn lerna run to run a script in each package that contains that script. Or you can install lerna globally using yarn global add lerna and run lerna directly using lerna run build. All of Icon Magic's packages live in the directory and you'll need to use lerna commands to manage the packages (for example, adding a new package to be used by one or multiple existing packages). Icon Magic is structured as a Lerna monorepo. Go to Icon Directory Structure for more information. To use icon-magic, you have to set up your files (icons and their configurations) in the right format. Usage information is available in the CLI README.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |