From d2f48884ae8313a6be4dfab4f19489f4e78f8587 Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Thu, 12 Dec 2024 23:00:25 -0500 Subject: [PATCH] Changes xren and xrin to ren and rin, maintains backwards compatibility, updates docs with new version --- CHANGELOG.md | 4 ++++ css/keyrune.css | 2 ++ css/keyrune.min.css | 2 ++ docs/assets/keyrune.min.css | 2 ++ docs/cheatsheet.html | 4 ++-- docs/icons.html | 12 ++++++------ docs/index.html | 2 +- less/icons.less | 2 ++ 8 files changed, 21 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0454ef6..7e07f9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). diff --git a/css/keyrune.css b/css/keyrune.css index d6e7665..182ce2b 100644 --- a/css/keyrune.css +++ b/css/keyrune.css @@ -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"; } diff --git a/css/keyrune.min.css b/css/keyrune.min.css index d6e7665..182ce2b 100644 --- a/css/keyrune.min.css +++ b/css/keyrune.min.css @@ -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"; } diff --git a/docs/assets/keyrune.min.css b/docs/assets/keyrune.min.css index d6e7665..182ce2b 100644 --- a/docs/assets/keyrune.min.css +++ b/docs/assets/keyrune.min.css @@ -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"; } diff --git a/docs/cheatsheet.html b/docs/cheatsheet.html index 30e72e7..79ef48d 100644 --- a/docs/cheatsheet.html +++ b/docs/cheatsheet.html @@ -294,10 +294,10 @@ ss-ptg  ss-ptk  ss-rav  + ss-ren  ss-rex  + ss-rin  ss-rix  - ss-xren  - ss-xrin  ss-rna  ss-roe  ss-rtr  diff --git a/docs/icons.html b/docs/icons.html index 58d167e..34b79a8 100644 --- a/docs/icons.html +++ b/docs/icons.html @@ -37,7 +37,7 @@ Download -

Complete 356 Magic set symbol font icons

+

Complete 359 Magic set symbol font icons

@@ -45,7 +45,7 @@

- View the full list of 356 set and expansion symbols below, for all sets and special edition products up to Wilds of Eldraine. To use the symbols on your desktop or just get the vectors, check out the Cheatsheet. + View the full list of 359 set and expansion symbols below, for all sets and special edition products up to Wilds of Eldraine. To use the symbols on your desktop or just get the vectors, check out the Cheatsheet.

Note: 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: https://keyrune.andrewgioia.com/icons.html?icon=ody. @@ -657,11 +657,11 @@

Modern Masters 2017 (mm3)
-
- Renaissance (xren) +
+ Renaissance (ren)
-
- Rinascimento (xrin) +
+ Rinascimento (rin)
Iconic Masters (ima) diff --git a/docs/index.html b/docs/index.html index 0504a10..f9efbec 100644 --- a/docs/index.html +++ b/docs/index.html @@ -43,7 +43,7 @@

- Current version 3.16.0 includes all sets to Aetherdrift. + Current version 3.16.1 includes all sets to Aetherdrift.

diff --git a/less/icons.less b/less/icons.less index 7ddd303..92791f9 100644 --- a/less/icons.less +++ b/less/icons.less @@ -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