From 6568832235c8ee860aebc2a784cfc22b124fad05 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Wed, 28 Nov 2018 14:36:36 -0500 Subject: [PATCH] FIX: map discord/patreon FA5 icons for login buttons correctly --- app/assets/javascripts/discourse-common/lib/icon-library.js.es6 | 2 ++ lib/svg_sprite/fa4-renames.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/assets/javascripts/discourse-common/lib/icon-library.js.es6 b/app/assets/javascripts/discourse-common/lib/icon-library.js.es6 index 18256d00272..d59e03419ba 100644 --- a/app/assets/javascripts/discourse-common/lib/icon-library.js.es6 +++ b/app/assets/javascripts/discourse-common/lib/icon-library.js.es6 @@ -141,6 +141,7 @@ const fa4Replacements = { deviantart: "fab-deviantart", diamond: "far-gem", digg: "fab-digg", + discord: "fab-discord", dollar: "dollar-sign", "dot-circle-o": "far-dot-circle", dribbble: "fab-dribbble", @@ -325,6 +326,7 @@ const fa4Replacements = { pagelines: "fab-pagelines", "paper-plane-o": "far-paper-plane", paste: "far-clipboard", + patreon: "fab-patreon", "pause-circle-o": "far-pause-circle", paypal: "fab-paypal", pencil: "pencil-alt", diff --git a/lib/svg_sprite/fa4-renames.json b/lib/svg_sprite/fa4-renames.json index 741ba85c03c..6a3ec0e6daf 100644 --- a/lib/svg_sprite/fa4-renames.json +++ b/lib/svg_sprite/fa4-renames.json @@ -102,6 +102,7 @@ "deviantart": "fab-deviantart", "diamond": "far-gem", "digg": "fab-digg", + "discord": "fab-discord", "dollar": "dollar-sign", "dot-circle-o": "far-dot-circle", "dribbble": "fab-dribbble", @@ -286,6 +287,7 @@ "pagelines": "fab-pagelines", "paper-plane-o": "far-paper-plane", "paste": "far-clipboard", + "patreon": "fab-patreon", "pause-circle-o": "far-pause-circle", "paypal": "fab-paypal", "pencil": "pencil-alt",