Updated some CSS ids (#398)

* Update preload.ts

* Update discord.css
This commit is contained in:
KayoticCarnige 2023-05-16 16:22:32 -04:00 committed by GitHub
parent 458b942d64
commit 353925e564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -30,9 +30,9 @@
display: none;
}
div#themes:after,
div#armcord:after,
div#forceQuit:after {
div#acThemes:after,
div#acSettings:after,
div#acForceQuit:after {
content: url("https://raw.githubusercontent.com/ArmCord/BrandingStuff/main/ac_white_plug16x.png");
margin-right: 5px;
}

View file

@ -102,13 +102,13 @@ setInterval(() => {
const tManager = advanced.cloneNode(true) as HTMLElement;
const fQuit = advanced.cloneNode(true) as HTMLElement;
acSettings.textContent = "ArmCord";
acSettings.id = "armcord";
acSettings.id = "acSettings";
acSettings.onclick = () => ipcRenderer.send("openSettingsWindow");
tManager.textContent = "Themes";
tManager.id = "themes";
tManager.id = "acThemes";
tManager.onclick = () => ipcRenderer.send("openManagerWindow");
fQuit.textContent = "Force Quit";
fQuit.id = "forceQuit";
fQuit.id = "acForceQuit";
fQuit.onclick = () => ipcRenderer.send("win-quit");
advanced.insertAdjacentElement("afterend", acSettings);
advanced.insertAdjacentElement("afterend", tManager);