Skip to content

Commit

Permalink
Changes xren and xrin to ren and rin, maintains backwards compatibili…
Browse files Browse the repository at this point in the history
…ty, updates docs with new version
  • Loading branch information
andrewgioia committed Dec 13, 2024
1 parent f9f2a45 commit d2f4888
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ All notable changes to this project will be documented in this file.
* Aetherdrift Commander (DRC) set symbol with inner and border glyphs ([#251](https://github.com/andrewgioia/keyrune/issues/251))
* SVGs are now up to date and the improper scale of DSK and MB2 is corrected ([#260](https://github.com/andrewgioia/keyrune/issues/260))

#### Changed

* REN and RIN are now added as set codes and class names for Renaissance and Rinascimento, respectively. Previously these were `xren` and `xrin`, which are maintained for backwards compatibility, but they now have the "official" MTGJSON/Scryfall codes.

#### Fixed

* Re-adds support for text-stroke borders by default, and manual glyph borders as an override on specific symbols. Note that .ss-border is not working well when .ss-grad is also applied, due to the way that the gradient has to be applied to the glyph (via text-clip).
Expand Down
2 changes: 2 additions & 0 deletions css/keyrune.css
Original file line number Diff line number Diff line change
Expand Up @@ -866,9 +866,11 @@
.ss-mm3:before {
content: "\e912";
}
.ss-ren:before,
.ss-xren:before {
content: "\e917";
}
.ss-rin:before,
.ss-xrin:before {
content: "\e918";
}
Expand Down
2 changes: 2 additions & 0 deletions css/keyrune.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -866,9 +866,11 @@
.ss-mm3:before {
content: "\e912";
}
.ss-ren:before,
.ss-xren:before {
content: "\e917";
}
.ss-rin:before,
.ss-xrin:before {
content: "\e918";
}
Expand Down
2 changes: 2 additions & 0 deletions docs/assets/keyrune.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -866,9 +866,11 @@
.ss-mm3:before {
content: "\e912";
}
.ss-ren:before,
.ss-xren:before {
content: "\e917";
}
.ss-rin:before,
.ss-xrin:before {
content: "\e918";
}
Expand Down
4 changes: 2 additions & 2 deletions docs/cheatsheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@ <h4>Icons, CSS Class, and Unicode</h4>
<span class="utf"><i>&#xe965;</i> ss-ptg <code>&amp;#xe965;</code></span>
<span class="utf"><i>&#xe666;</i> ss-ptk <code>&amp;#xe666;</code></span>
<span class="utf"><i>&#xe637;</i> ss-rav <code>&amp;#xe637;</code></span>
<span class="utf"><i>&#xe917;</i> ss-ren <code>&amp;#xe917;</code></span>
<span class="utf"><i>&#xe9c4;</i> ss-rex <code>&amp;#xe9c4;</code></span>
<span class="utf"><i>&#xe918;</i> ss-rin <code>&amp;#xe918;</code></span>
<span class="utf"><i>&#xe92f;</i> ss-rix <code>&amp;#xe92f;</code></span>
<span class="utf"><i>&#xe917;</i> ss-xren <code>&amp;#xe917;</code></span>
<span class="utf"><i>&#xe918;</i> ss-xrin <code>&amp;#xe918;</code></span>
<span class="utf"><i>&#xe959;</i> ss-rna <code>&amp;#xe959;</code></span>
<span class="utf"><i>&#xe646;</i> ss-roe <code>&amp;#xe646;</code></span>
<span class="utf"><i>&#xe64d;</i> ss-rtr <code>&amp;#xe64d;</code></span>
Expand Down
12 changes: 6 additions & 6 deletions docs/icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ <h1 class="sub">Set Symbol Icons</h1>
<i class="ss ss-pmtg2"></i>
Download
</a>
<h2 class="sub">Complete 356 Magic set symbol font icons</h2>
<h2 class="sub">Complete 359 Magic set symbol font icons</h2>
</div>
</header>

<main>
<div class="wrapper">
<section>
<h3>
View the full list of 356 set and expansion symbols below, for all sets and special edition products up to <strong>Wilds of Eldraine</strong>. To use the symbols on your desktop or just get the vectors, check out the <a href="cheatsheet.html">Cheatsheet</a>.
View the full list of 359 set and expansion symbols below, for all sets and special edition products up to <strong>Wilds of Eldraine</strong>. To use the symbols on your desktop or just get the vectors, check out the <a href="cheatsheet.html">Cheatsheet</a>.
</h3>
<p style="margin: -15px 0 25px;">
<strong>Note:</strong> you can now link directly to a preview of each symbol's by adding the symbol code at the end of the url like this: <a href="https://keyrune.andrewgioia.com/icons.html?icon=ody">https://keyrune.andrewgioia.com/icons.html?icon=ody</a>.
Expand Down Expand Up @@ -657,11 +657,11 @@ <h4>Reprint Sets</h4>
<div class="icon" id="mm3" name="Modern Masters 2017" data-name="Modern Masters 2017" data-class="mm3" data-unicode="e912" data-added="v1.7.0">
<span class="name"><i class="ss ss-mm3"></i> Modern Masters 2017 <em>(mm3)</em></span>
</div>
<div class="icon" id="xren" name="Renaissance" data-name="Renaissance" data-class="xren" data-unicode="e917" data-added="v2.1.0">
<span class="name"><i class="ss ss-xren"></i> Renaissance <em>(xren)</em></span>
<div class="icon" id="ren" name="Renaissance" data-name="Renaissance" data-class="ren" data-unicode="e917" data-added="v2.1.0">
<span class="name"><i class="ss ss-ren"></i> Renaissance <em>(ren)</em></span>
</div>
<div class="icon" id="xrin" name="Rinascimento" data-name="Rinascimento" data-class="xrin" data-unicode="e918" data-added="v2.1.0">
<span class="name"><i class="ss ss-xrin"></i> Rinascimento <em>(xrin)</em></span>
<div class="icon" id="rin" name="Rinascimento" data-name="Rinascimento" data-class="rin" data-unicode="e918" data-added="v2.1.0">
<span class="name"><i class="ss ss-rin"></i> Rinascimento <em>(rin)</em></span>
</div>
<div class="icon" id="ima" name="Iconic Masters" data-name="Iconic Masters" data-class="ima" data-unicode="e935" data-added="v3.1.4">
<span class="name"><i class="ss ss-ima"></i> Iconic Masters <em>(ima)</em></span>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2>Magic: the Gathering set symbol font</h2>
</a>
</div>
<p>
Current version 3.16.0 includes all sets to Aetherdrift.
Current version 3.16.1 includes all sets to Aetherdrift.
</p>
</div>
</header>
Expand Down
2 changes: 2 additions & 0 deletions less/icons.less
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@
.@{ss-prefix}-mm2:before { content: "\e695"; } // Modern Masters 2015
.@{ss-prefix}-ema:before { content: "\e903"; } // Eternal Masters
.@{ss-prefix}-mm3:before { content: "\e912"; } // Modern Masters 2017
.@{ss-prefix}-ren:before,
.@{ss-prefix}-xren:before { content: "\e917"; } // Renaissance
.@{ss-prefix}-rin:before,
.@{ss-prefix}-xrin:before { content: "\e918"; } // Rinascimento
.@{ss-prefix}-ima:before { content: "\e935"; } // Iconic Masters
.@{ss-prefix}-a25:before { content: "\e93d"; } // Masters 25
Expand Down

0 comments on commit d2f4888

Please sign in to comment.