1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

fix: use light mode bg color as theme color (#3757)

This commit is contained in:
Agneev Mukherjee
2025-04-05 21:59:17 +05:30
committed by GitHub
parent e4fab590b9
commit 2a2f6bc9c6

View File

@@ -15,7 +15,7 @@ watchEffect(() => {
if (theme === "auto") { if (theme === "auto") {
theme = mode.value; theme = mode.value;
} }
document.querySelector('meta[name="theme-color"]')?.setAttribute("content", theme == "dark" ? "#121212" : "#3FA68F"); document.querySelector('meta[name="theme-color"]')?.setAttribute("content", theme == "dark" ? "#121212" : "#F5F5F5");
document.documentElement.setAttribute("data-theme", theme); document.documentElement.setAttribute("data-theme", theme);
}); });
</script> </script>