From 0523658b2f780ff5339476064368c1c0ed0b8d7c Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 16 Dec 2020 16:37:55 +0100 Subject: [PATCH] stuff --- Plugins/PluginRepo/PluginRepo.plugin.js | 4 ++-- Plugins/ThemeRepo/ThemeRepo.plugin.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index f06f2bc617..0f3ec9e5b1 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -722,7 +722,7 @@ module.exports = (_ => { } }, 1200000), amount: loading.amount+1}; - let loadingIcon = BDFDB.DOMUtils.create(pluginRepoIcon.replace(/COLOR_1/gi, "#7289da").replace(/COLOR_2/gi, "#72767d")); + let loadingIcon = BDFDB.DOMUtils.create(pluginRepoIcon.replace(/COLOR_1/gi, "var(--bdfdb-blurple)").replace(/COLOR_2/gi, "#72767d")); BDFDB.DOMUtils.addClass(loadingIcon, "pluginrepo-loadingicon"); loadingIcon.addEventListener("mouseenter", _ => { BDFDB.TooltipUtils.create(loadingIcon, this.getLoadingTooltipText(), { @@ -757,7 +757,7 @@ module.exports = (_ => { if (oldBarButton) oldBarButton.click(); let bar = BDFDB.NotificationUtils.notice(`${outdated} of your Plugins ${outdated == 1 ? "is" : "are"} outdated. Check: `, { type: "danger", - btn: "PluginRepo",#7289da #72767d + btn: "PluginRepo", selector: "pluginrepo-notice pluginrepo-outdate-notice", customicon: pluginRepoIcon.replace(/COLOR_1/gi, "#fff").replace(/COLOR_2/gi, "#b9bbbe") }); diff --git a/Plugins/ThemeRepo/ThemeRepo.plugin.js b/Plugins/ThemeRepo/ThemeRepo.plugin.js index 5c9e5552f0..e0fad622d3 100644 --- a/Plugins/ThemeRepo/ThemeRepo.plugin.js +++ b/Plugins/ThemeRepo/ThemeRepo.plugin.js @@ -1038,7 +1038,7 @@ module.exports = (_ => { } }, 1200000), amount: loading.amount+1}; - let loadingIcon = BDFDB.DOMUtils.create(themeRepoIcon.replace(/COLOR_1/gi, "#7289da").replace(/COLOR_2/gi, "#72767d")); + let loadingIcon = BDFDB.DOMUtils.create(themeRepoIcon.replace(/COLOR_1/gi, "var(--bdfdb-blurple)").replace(/COLOR_2/gi, "#72767d")); BDFDB.DOMUtils.addClass(loadingIcon, "themerepo-loadingicon"); loadingIcon.addEventListener("mouseenter", _ => { BDFDB.TooltipUtils.create(loadingIcon, this.getLoadingTooltipText(), {