From 38864aeac5005755ab1b6fea1064ed75e5b3675e Mon Sep 17 00:00:00 2001 From: Klemek Date: Fri, 21 Feb 2025 21:09:25 +0100 Subject: [PATCH] fix default theme --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 8675f23..58c2084 100644 --- a/main.js +++ b/main.js @@ -54,7 +54,7 @@ let app = { beepTimer: undefined, sound: undefined, themes: DAISYUI_THEMES, - currentTheme: "light", + currentTheme: "cmyk", spinning: false, }; }, @@ -320,7 +320,7 @@ let app = { console.log("app mounted"); this.sound = new Audio("./sound.wav"); this.rawData = atob(this.getCookie("rawData", btoa(this.rawData))); - this.currentTheme = this.getCookie("theme", "light"); + this.currentTheme = this.getCookie("theme", this.currentTheme); this.data = this.getData(); setTimeout(this.showApp); setInterval(() => {