correct theme style at settings page

This commit is contained in:
2020-07-27 21:14:56 +02:00
parent aa741c5a90
commit 0ec4954ec5
5 changed files with 34 additions and 5 deletions

View File

@@ -1,7 +1,13 @@
class GlobalInfos {
#darktheme = false;
isDarkTheme() {
return true;
return this.#darktheme;
};
enableDarkTheme(enable = true){
this.#darktheme = enable;
}
}
const StaticInfos = new GlobalInfos();