ArmCord Manager
-
+
diff --git a/utils/theme.js b/utils/theme.js
index c515406..8814e82 100644
--- a/utils/theme.js
+++ b/utils/theme.js
@@ -1,5 +1,5 @@
const fs = require("fs");
-const armcord = require("./ArmCord.js");
+const armcord = require("./armcord.js");
const themeFolder = __dirname + "/themes/";
window.addEventListener("DOMContentLoaded", () => {
@@ -14,13 +14,13 @@ window.addEventListener("DOMContentLoaded", () => {
const theme = fs.readFileSync(`${__dirname}/themes/${file}/${themeFile.theme}`, "utf8");
if (themeFile.theme.endsWith(".scss")) {
console.log(
- `%cCouldn't load ${themeFile.name} made by ${themeFile.author}. ArmCord doesn't support scss files if you want to have this theme ported feel free to reach out https://discord.gg/F25bc4RYDt `,
+ `%cCouldn't load ${themeFile.name} made by ${themeFile.author}. ArmCord doesn't support SCSS files! If you want to have this theme ported, feel free to reach out https://discord.gg/F25bc4RYDt `,
"color:red; font-weight: bold; font-size: 50px;color: red;"
);
}
armcord.addStyle(theme);
- var html = `
${themeFile.name}
`;
- document.getElementById("tm-list").insertAdjacentHTML("afterend", html);
+ var html = `
${themeFile.name}
By ${themeFile.author}
${themeFile.description}
`;
+ document.getElementById("tm-list").innerHTML = html + document.getElementById("tm-list").innerHTML;
console.log(`%cLoaded ${themeFile.name} made by ${themeFile.author}`, "color:red");
} catch (err) {
console.error(err);
diff --git a/utils/themes/test_thing/LICENSE b/utils/themes/test_thing/LICENSE
new file mode 100644
index 0000000..3cf6dad
--- /dev/null
+++ b/utils/themes/test_thing/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2021 GooseNest
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file
diff --git a/utils/themes/test_thing/README.md b/utils/themes/test_thing/README.md
new file mode 100644
index 0000000..3fb7430
--- /dev/null
+++ b/utils/themes/test_thing/README.md
@@ -0,0 +1,3 @@
+# GT-RevertRebrand ArmCord
+
+Reverts Discord's 2021 rebrand (font, colors, reactions, mentions, loading screen, home icon, reply ping color, and more)
diff --git a/utils/themes/test_thing/RevertRebrand.theme.css b/utils/themes/test_thing/RevertRebrand.theme.css
new file mode 100644
index 0000000..c342047
--- /dev/null
+++ b/utils/themes/test_thing/RevertRebrand.theme.css
@@ -0,0 +1,9 @@
+/**
+ * @name Revert Rebrand
+ * @author GooseNest
+ * @description Reverts Discord's 2021 rebrand (font, colors, reactions, mentions, loading screen, home icon, reply ping color, and more)
+ * @invite neMncS2
+ * @version 3.0
+*/
+
+@import url('https://Goose-Nest.github.io/GT-RevertRebrand/src/main.css');
\ No newline at end of file
diff --git a/utils/themes/test_thing/manifest.json b/utils/themes/test_thing/manifest.json
new file mode 100644
index 0000000..c0dad3e
--- /dev/null
+++ b/utils/themes/test_thing/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "Test Theme",
+ "description": "A test description (For theme seperation)",
+ "version": "3.0",
+ "author": "KayoticCarnige",
+ "license": "MIT",
+ "theme": "RevertRebrand.theme.css"
+}
\ No newline at end of file