Magic: the Gathering set symbol pictographic font https://keyrune.andrewgioia.com
Go to file
Andrew Gioia f05f6c9a9f Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
css Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
fonts Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
less Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
sass Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
svg Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
.gitignore Incrementing the version and recompiling assets after final sass merge 2016-12-14 18:32:23 -05:00
CHANGELOG.md Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
LICENSE.md Updating license for non-font files to GPL 2019-10-30 11:29:34 -04:00
README.md Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
bower.json Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00
index.html Adding Amonkhet Invocations symbol and correcting Portal 2 code 2017-03-30 09:18:39 -04:00
package-lock.json Removing GH package registry for now 2019-10-30 11:03:53 -04:00
package.json Adding Core 2021, Jumpstart, Double Masters, and SS Chandra 2020-06-17 23:20:30 -04:00

README.md

Keyrune v3.6.6

The Magic: the Gathering set symbol font!

Check it out: our documentation page is online at andrewgioia.github.io/Keyrune!

Keyrune is the first suite of complete Magic: the Gathering expansion and set symbols as a pictographic font. You can use this font anywhere you want to display set symbols—in your MtG app or website, documents, card images, anything!

Usage

Each set symbol has its own font character. Display them in a manner similar to Font Awesome using the <i class="ss ss-exp"></i> element. Class name codes are based on the expansion codes from MTG JSON.

To use Keyrune via source, NPM, or Bower, move the font files to your /fonts directory and include the keyrune.css stylesheet in your <head>:

<link href="css/keyrune.css" rel="stylesheet" type="text/css" />

NEW: you can now include Keyrune via CDN thanks to the amazing jsDelivr project! To include the latest version, reference:

<link href="//cdn.jsdelivr.net/npm/keyrune@latest/css/keyrune.css" rel="stylesheet" type="text/css" />

Note: as of v3.1.1 (June 2017) the URL format for jsDelivr changed to the above. They still maintain backwards compatibility for everything prior to that but going forward please use the above URL. You no longer need to explicitly include the font-family via @font-face as well, but if you still would like to here is the css ruleset:

@font-face {
  font-family: 'Keyrune';
  src: url('//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.eot');
  src: url('//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.eot?#iefix') format('embedded-opentype'),
    url('//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.woff2') format('woff2'),
    url('//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.woff') format('woff'),
    url('//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.ttf') format('truetype'),
    url('//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

Editing the Source

Feel free to edit the source files and compile Keyrune to fit your needs. Currently LESS is supported, with Sass coming soon.

Using Keyrune on the Desktop

To copy Keyrune symbols into your desktop software (or access to vectors directly), go to the Cheatsheet on the documentation site, copy the character (not the unicode representation), and then paste it into your desktop application after installing keyrune.ttf.

If you're having trouble and want step-by-step instructions and a sample Word document to use, head on over to the documentation page!

License

All set symbol images are trademarks of Wizards of the Coast (http://magicthegathering.com). Please see the LICENSE.md file for a complete description of the licenses that Keyrune is distributed under. Public attribution is greatly appreciated but not required!

Changelog

The Changelog and todo items have been moved to a dedicated file, CHANGELOG.md.