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; display: none;
} }
div#themes:after, div#acThemes:after,
div#armcord:after, div#acSettings:after,
div#forceQuit:after { div#acForceQuit:after {
content: url("https://raw.githubusercontent.com/ArmCord/BrandingStuff/main/ac_white_plug16x.png"); content: url("https://raw.githubusercontent.com/ArmCord/BrandingStuff/main/ac_white_plug16x.png");
margin-right: 5px; margin-right: 5px;
} }

View file

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