![]() ![]() tslint config for all icon magic packages. 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. all of the photos I posted that are not mine has an url which is my source.such as devianart etc. Icon: The class representing a group of variants that belong to the same All of the photos posted in my blog including the items in my page are not mine unless I say it was mine :).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. This website is developed as a part of the world's largest public domain archive, PICRYL.Usage information is available in the CLI README. law and are therefore in the public domain. The Library provides Congress, the federal government and the American people with a rich, diverse and enduring source of knowledge to inform, inspire and engage them and support their intellectual and creative endeavors.ĭisclaimer: A work of the Library of Congress is "a work prepared by an officer or employee" of the federal government "as part of that person's official duties." In general, under section 105 of the Copyright Act, such works are not entitled to domestic copyright protection under U.S. The objects in this archive are from Library of Congress - the nation’s first established cultural institution and the largest library in the world, with millions of items including books, recordings, photographs, maps and manuscripts in its collections. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |