Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mana-font

andrewgioia2.8kMIT1.18.0

Magic: the Gathering mana symbol pictographic font

mana, mtg, mana, symbols, magic, gathering, font

readme

Mana v1.18.0

The Magic: the Gathering mana symbol font!

View the documentation site to see Mana in action!

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

Installation

The easiest way to get Mana into your project is to use the NPM package:

$> npm install mana-font

Bower is still supported but given their notice to migrate away from it I recommend NPM if you're using a package manager. This project is registered as 'mana-font' with NPM and mana with Bower. Just install using the above commands in your project and you can edit anything as needed.

You can also download the zip file here at Github and use the font files and CSS files in your project as needed.

Using Mana in your project

Each mana symbol has its own font character. Display them in a manner similar to any icon font, like Keyrune, using the <i class="ms ms-g"></i> element and class syntax. Class name codes are based on textual mana symbol codes (like g for Green or 3 for, well, {3}).

To use Mana, move the web font files to your /fonts directory and include the mana.min.css stylesheet in your <head>:

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

You can also include Mana via CDN thanks to the amazing jsDelivr project! To include the latest version, reference:

<link href="//cdn.jsdelivr.net/npm/mana-font@latest/css/mana.min.css" rel="stylesheet" type="text/css" />

Replace mana.min.css with mana.css for the unminified version, if you need that.

Editing the source

You can edit the Sass or Less source files and compile Mana to fit your needs, add custom classes, or extend it in your project.

The mana.svg font file contains every glyph used in Mana. If you'd like to completely decompile it, you can view the SVG coordinates in any text editor or upload it to an SVG font editor like IcoMoon (which I use for Mana and Keyrune) or Birdfont.

To add new icons, I recommend first creating a project in IcoMoon and uploading Mana into it. Draw any new glyphs in a vector/SVG editor of your choice export them as SVGs. Then upload each individual glyphs to your IcoMoon project and generate the font files when you're ready. You can add them to your project the same way you would with Mana (putting the font files in a /fonts directory and referencing them in your CSS file with an @font-face declaration).

Using Mana in desktop software

If you'd like to use Mana as a desktop font (e.g., in a Word document) there are a few steps and things to know. First, to get it loaded on your system just download the latest zip file, extract it, and navigate to mana-master\fonts. In there, install the mana.ttf font (typically by double clicking it).

Mana uses private use characters for the font glyphs so you unfortunately can't normally "type" anything in Word to see the symbols. To do so, open up the Mana Cheatsheet and copy the symbol you want, then paste it into Word (or whatever software you're using).

License

All mana, tap, and card type symbol images are copyright Wizards of the Coast (http://magicthegathering.com)

The Mana font is licensed under the the SIL OFL 1.1 (http://scripts.sil.org/OFL)

Mana CSS, LESS, and Sass files are licensed under the MIT License (http://opensource.org/licenses/mit-license.html)

Attribution is greatly appreciated but not required!

changelog

Changelog

All notable changes to this project will be documented in this file.

Unreleased

  • v2.0 updates to add all digital product tokens and counter symbols, fix the core numbered casting cost icons, and modernize this project.
  • Update this changelog for better formatting
  • Crop original full-width symbols to actual width

Versions

[1.18.0] 2024-11-10 Magic Duels ability symbols!

Added

  • Finally traced, handdrew, and placed all 56 available Magic Duels ability symbols. This was a labor of love more than anything else as I cannot imagine who is using these, but it gets us to completion of all of the official ability symbols. All of these are available in the format .ms-ability-duels-{name}, but for the ones where there are no current Arena/MODO symbol I've aliased those without duels for convenience (#85)

Changed

  • Duels had a higher resolution source for Reach, which is the only one of these that has the same current ability symbol. That one has been replaced with this better version.

[1.17.1] 2024-11-08 Colorless split costs

Added

[1.17.0] 2024-11-06 2024 abilities

  • Note this release has not updated the LESS source files. It's become too much to maintain both sadly and LESS will be deprecated/removed going forward.
  • Note also that bower.json has been removed. Mana has not been published there for a while and will only be officially published to NPM.

Added

  • Pawprint cost symbol (#129)
  • Land Drop (D) and Legendary Mana (L) cost symbols from Mystery Booster 2 (#134)
  • 4th Edition tap symbol (#124)
  • Updated lifelink ability symbol (#126)
  • Arena Power and Toughness symbols from the new player experience (#119)
  • Mana Screw flavor watermark (#115)
  • Rad counter on MTGO (#132)
  • Brick, Deathtouch, and Charge punchout counters (#116). Goad and Finality added as aliases for the identical ability icons.
  • Party class watermarks for Cleric, Rogue, Warrior, and Wizard (#136)
  • Exalted ability symbol from MH3 (#128)
  • MKM ability symbols for Cloak, Case Solved, Collect Evidence, Disguise, Suspect, and Surveil (#121)
  • Print Case Solved symbol (#118)
  • LCI ability symbols for Craft, Descend, and Discover (#117)
  • KTK ability symbols for Delve, Ferocious, Outlast, and Morph (#120)
  • OTJ ability symbols for Plot, Saddle, Spree, and Crime (#125)
  • Spree card frame indicator (#125)
  • BLB ability symbols for Gift, Offspring, Valiant, Forage, and Expend (#130)
  • DSK ability symbols for Survival, Impending, Manifest Dread, and Eerie (#133)

Changed

  • Breaking change: with Pawprint now being {P}, Phyrexian has been moved to {H} instead. This changes the class names for these mana costs as of this version, so all .ms-p will now show the Pawprint instead of the Phyrexian symbol. Please replace Phyrexian with .ms-h. Sorry about this!
  • Revised tap symbol aliased to tap-3ed in addition to tap-alt, to account for the other alternate tap symbol.
  • Lifelink symbol has been updated following Arena's update. The previous one has been changed to lifelink-original.

Fixed

  • Documented Goad, Commander, and Ticket symbols that were previously added (#135)

[1.16.1] 2024-10-28 Watermark documentation

Added

  • Watermark for Trump Katsumai added (#114)
  • Documentation now updated for that massive watermark project I abandoned :( All 90+ watermarks are in and on the icons page, finally back here and getting the repo up to speed again. (#34)
  • Documented Improvise, Ring Bearer, Amass Orcs, and The Ring Tempts You abilities. #107)

Changed

  • Moved the documentation to the ./docs folder like Keyrune, no more gh-pages branch.

[1.16.0] 2023-09-20 Complete set of card watermarks

  • Added: 90 watermarks added/aliased, nearing the complete set of all watermarks save for 2. (#34)

[1.15.9] 2023-09-10 WOE ability symbols, Haktos and Robber symbols, loyalty VI

  • Added: WOE ability symbols for Bargain, Celebration, and the 6 role tokens (Cursed, Monster, Royal, Sorceror, Wicked, and Young Hero) (#111)
  • Added: Arena-only "ability" symbols used for Haktos the Unscarred and Robber of the Rich (#112)
  • Added: Magic Online void counter (#109)
  • Changed: Saga loyalty now goes up to VI for the new WOE card, Long List of the Ents (#110)

[1.15.8] 2023-07-20 LTR ability symbols

  • Added: LTR ability symbols for The Ring Tempts You, Ring Bearer, and Amass Orcs (#107)
  • Added: Improvise ability symbol (#108)
  • Changed: .ability-amass is now aliased as .ability-amass-zombies to provide a differentiator from LTR's Amass Orcs.

[1.15.7] 2023-05-29 Fix to .ms-defense-print

  • Fixed: resolved a spacing issue for the .ms-defense-print utility class

[1.15.6] 2023-05-29 Spring 2023 abilities, DFCs, Defense loyalty

  • Added: DFC symbols for front and back, as well as "face down" and the various meld cards on Arena (#102)
  • Added: Defense loyalty symbol and utility classes for battle cards (#103)
  • Added: Battle type symbol and Siege subtype symbol (#105)
  • Added: Arena ability symbols for Backup and Incubate (#105)
  • Changed: Enrage has a new ability symbol in Arena with the old one aliased; the old symbol is also now the new "marked with damage" symbol in arena (#104)
  • Changed: Convoke's ability symbol was also changed, with the old one alised as well (#105)

[1.15.5] 2023-03-11 DFC and loyalty updates

  • Added: DFC symbols for Saga and the flip side, Saga creatures, from NEO (#98)
  • Added: New outlined version of the loyalty symbol that shows up on certain Unfinity cards (#97)
  • Added: The "can't block or must attack" symbol in Arena, labeled "combat condition" here as an ability symbol (#100)
  • Fixed: Loyalty line heights have been corrected cross browser (#96)

[1.15.4] 2023-03-08 PRs 81 and 82

[1.15.3] 2023-03-04 Remaining split Phyrexian classes

  • Added: All other split Phyrexian mana classes introduced recently (#86)

[1.15.2] 2023-03-04 GUP and GWP classes (@Araneline)

  • Merged: (PR #93) by @Araneline to add support for the GUP and GWP split phyrexian classes

[1.15.1] 2023-03-03 Fabricate

  • Added: Ticket symbol from Unfinity (#92)
  • Changed: Dungeon now has an alias as a card type (.ms-dungeon) (#84)
  • Fixed: Fabricate has its own correct symbol now. It had previously been aliased and this got messed up in the last build.

[1.15.0] 2023-03-03 Backlog of Arena ability and counter symbols

  • Added: Finally added the huge backlog of Arena ability symbols: fabricate, changeling, domain, day/night, daybound/nightbound, coven, investigate, decayed, cleave, disturb, exploit, training, channel, ninjutsu, reconfigure, blitz, alliance, obscura (not sure what this corresponds to), casualty, hideaway, read ahead, enlist, specialist, unearth, meld, prototype, toxic, phyrexian, corrupted, and for mirrodin!
    • Big thanks to @ThePieBandit for the motivation and asset help!
  • Added: 2 missing Arena counters: stun and shield

[1.14.0] 2021-07-14 Strixhaven schools

  • Added: Lorehold, Prismari, Silverquill, Quandrix, and Witherbloom school symbols added, including dual layered support

[1.13.0] 2021-07-10 D20, alternate white symbols, basic ligature support

  • Added: D20 ability symbol from Arena
  • Added: Alternate white mana symbols (the original pre-Ice Age symbol and the recent List variant) (#70)
  • Added: Arena's snow mana symbol variant (#69)
  • Fixed: Missing variable in _variables.scss for .ms-ability-grad added (#64 and #76)
  • Fixed: Kicker icon is no longer overwritten by the static ability icon in the Sass version (#65)

[1.12.1] 2021-07-08 SVG files

  • Added: missing SVG files for the most recent abilities and type symbols.

[1.12.0] 2021-07-08 AFR abilities

  • Added: Only seems to be 1 ability symbol in Arena for AFR: venturing into the dungeon. Wizards calls this "Dungeon" so we're naming it that as well.

[1.11.0] 2021-07-06 More Arena ability symbols

  • Added: Ability symbols for Boast, Foretell, Magecraft, Learn, and Ward
  • Added: Lesson DFC symbol

[1.10.0] 2020-12-21 Color indicators

  • Added: Color indicator symbols added for all color combinations (#40)
  • Added: New variables added for colors used in project as the beginning of getting all of these things into variables
  • Fixed: Sass variables were not called correctly in _duo.scss, this is now fixed

[1.9.4] 2020-10-10 Kicker, Party, and Landfall abilities

  • Added: New ability symbols in Arena for Kicker, Party, and Landfall.

[1.9.3] 2020-09-23 Corrects evergreen class name

  • Fixed: It's not evergreen abilities that get colorized in Arena, it's set-specific mechanics/abilities. The class name is corrected to be .ms-mechanic.

[1.9.2] 2020-09-23 Adds evergreen color support

  • Added: Class .ms-evergreen on ability symbols will apply the gold gradient effect in Arena.

[1.9.1] 2020-09-04 Modal DFC symbols and Multicolor/duo support

  • Added: Two new double-faced symbols for modal-face and modal-back added, from Zendikar Rising #54
  • Added: Multicolor symbol with dual-layer support; add .ms-duo and the multicolor symbol uses both glyph layers, and adding .ms-grad makes it look like the Arena one with a gold gradient background #43

[1.9.0] 2020-09-03 All Arena ability symbols!

  • Added: Excited to add all 53 ability symbols from Arena! This was a big task as many had to be drawn from scratch! #41, #53, #52, and #44
  • Fixed: Some outdated SVG issues with the existing type symbols have been corrected
  • Added: SVGs are now shipped #51

[1.8.0] 2020-08-21 Arena ability initial release

  • Added: All ability symbols from Arena #41
  • Fixed: All .scss files are cleaner and a bit more optimized; probably going to move to Sass soon

[1.7.0] 2020-08-20 Birthday release with MODO counters!

  • Added: All counters from Magic Online #39
  • Fixed: Cleaned up some NPM package info and project meta data

[1.6.0] 2020-01-30 Saga and Acorn symbols

  • Added: Acorn counter symbol from Unsanctioned (#48)
  • Added: Saga hexagon symbol from saga cards (#47, #35)
  • Fixed: All current loyalties are now supported, including -25 (#42) and -X (#45)

Previous (to fix)

  • v1.5.0 - updated readme on editing the source; new icons for MTGO counters
  • v1.4.1 - half mana symbol fix using just the icon element (issue #6)
  • v1.4.0 - big update: artist, Poleis, power/toughness, DFC enchantment, and multiple type symbols added; simplified split cost handling; more planeswalker loyalties; SASS support
  • v1.3.2 - incrementing for new npm publish and jsDelivr note; fixed docs
  • v1.3.1 - fixed class name issue for 1,000,000 symbol
  • v1.3.0 - added Guild and Clan symbols
  • v1.2.0 - added DFC symbols for the Origins planeswalkers (ignite and spark) and the Eldritch Moon meld cards (emrakul and moon)
  • v1.1.0 - added the new Energy symbol
  • v1.0.1 - added classes for -12 and -14 loyalty (sorry Jace and Karn!)
  • v1.0 - new documentation page at http://andrewgioia.github.io/Mana/
  • v0.6 - adding double-faced card symbols (day, night)
  • v0.5 - adding the new colorless wastes symbol
  • v0.4 - adding classes for 16, 17, 18, 19, and 20 symbols
  • v0.3 - phyrexian mana classes use MTGJson standard; project-specific LESS prefix added (@JayGray)
  • v0.2 - Flashback symbol added
  • v0.1 - initial font creation and CSS/LESS files added