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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user