new database entry for theme

new settings switcher
This commit is contained in:
2020-07-28 18:17:17 +02:00
parent 0ec4954ec5
commit 8c4b1a836a
7 changed files with 31 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
class GlobalInfos {
#darktheme = false;
#darktheme = true;
isDarkTheme() {
return this.#darktheme;
@@ -11,6 +11,6 @@ class GlobalInfos {
}
const StaticInfos = new GlobalInfos();
Object.freeze(StaticInfos);
//Object.freeze(StaticInfos);
export default StaticInfos;