Merge branch 'main' into canary

This commit is contained in:
smartfridge 2021-05-09 21:40:24 +02:00 committed by GitHub
commit 27919468cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 13 deletions

View file

@ -10,11 +10,9 @@
:root { :root {
background-color: #2c2f33; background-color: #2c2f33;
} --header-secondary: #b9bbbe;
--header-primary: #fff;
.titlebar { --background-tertiary: #202225;
font-family: Verdana, Geneva, Tahoma, sans-serif;
background-color: #202225;
} }
body { body {

View file

@ -79,17 +79,16 @@ div.menubar[role="menubar"] {
} }
`); `);
ArmCord.addStyle(
`.info-1VyQPT:last-child:before { ArmCord.addStyle(`.info-1VyQPT:last-child:before {
content: "ArmCord Version: ` + content: "ArmCord Version: ` + ArmCord.Version + `";
ArmCord.Version +
`";
height: auto; height: auto;
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;
color: var(--text-muted); color: var(--text-muted);
font-size: 12px; font-size: 12px;
text-transform: none; text-transform: none;
}`
); }`);
}); })

View file

@ -1,3 +1,4 @@
exports.Version = "2.4"; exports.Version = "2.4";
exports.addStyle = function (styleString) { exports.addStyle = function (styleString) {
@ -11,3 +12,4 @@ exports.addScript = function (scriptString) {
script.textContent = scriptString; script.textContent = scriptString;
document.body.append(script); document.body.append(script);
}; };