mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Some tweaks to theme loading
This commit is contained in:
parent
6232c01006
commit
45d8b89c9e
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
console.log(themeFile.theme);
|
console.log(themeFile.theme);
|
||||||
console.log(themeFile)
|
console.log(themeFile)
|
||||||
const theme = fs.readFileSync(`${__dirname}/themes/${file}/${themeFile.theme}`, "utf8");
|
const theme = fs.readFileSync(`${__dirname}/themes/${file}/${themeFile.theme}`, "utf8");
|
||||||
armcord.addStyle(theme)
|
armcord.addStyle(theme);
|
||||||
console.log(`Loaded ${themeFile.name} made by ${themeFile.author}`);
|
console.log(`%cLoaded ${themeFile.name} made by ${themeFile.author}`, "color:red");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue