Theme Manager Stuff

This commit is contained in:
smartfridge 2021-07-17 17:25:25 +02:00
parent f7a1d23f70
commit e7ae65bfbb
3 changed files with 13 additions and 4 deletions

View file

@ -90,7 +90,7 @@ function createWindow() {
try { try {
appIcon(); appIcon();
} catch (error) { } catch (error) {
console.error(error); //console.error(error);
// expected output: TypeError: appIcon is not a function // expected output: TypeError: appIcon is not a function
} }
}); });

View file

@ -36,7 +36,11 @@ span {
font-size: 32px; font-size: 32px;
text-align: center; text-align: center;
} }
.disabled {
text-align: center;
font-weight: normal;
font-family: Helvetica, sans-serif;
}
.container { .container {
position: fixed; position: fixed;
top: 50%; top: 50%;
@ -107,7 +111,12 @@ button#open-themes-btn:active {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
#tm-disabled {
position: absolute;
top: 100px;
left: 50%;
transform: translateX(-50%);
}
#tm-list-item { #tm-list-item {
background: #23272a; background: #23272a;
font-family: Whitney, Helvetica Neue, Helvetica, Arial, sans-serif; font-family: Whitney, Helvetica Neue, Helvetica, Arial, sans-serif;

View file

@ -11,7 +11,7 @@
<button id="open-themes-btn">Themes Folder</button> <button id="open-themes-btn">Themes Folder</button>
<p class="logo">Cord Manager</p> <p class="logo">Cord Manager</p>
<div id="tm-list"></div> <div id="tm-list"></div>
<p>Disabled Themes:</p> <p class="disabled">Disabled Themes:</p>
<div id="tm-disabled"></div> <div id="tm-disabled"></div>
<p id="ac-channel"></p> <p id="ac-channel"></p>
</body> </body>