From c3ee2da33c66227b9eb6569a4a1d9483a7e22579 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Sun, 16 Mar 2025 16:38:43 -0700 Subject: [PATCH] fix: fixes theme color in dark and light mode (#3706) --- assets/App.vue | 1 + public/index.html | 1 + public/manifest.webmanifest | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/App.vue b/assets/App.vue index d7eda8da..65002c51 100644 --- a/assets/App.vue +++ b/assets/App.vue @@ -15,6 +15,7 @@ watchEffect(() => { if (theme === "auto") { theme = mode.value; } + document.querySelector('meta[name="theme-color"]')?.setAttribute("content", theme == "dark" ? "#121212" : "#3FA68F"); document.documentElement.setAttribute("data-theme", theme); }); diff --git a/public/index.html b/public/index.html index a70ed489..048a087e 100644 --- a/public/index.html +++ b/public/index.html @@ -5,6 +5,7 @@ + Dozzle