diff --git a/index.html b/index.html index 9e6ff884..9c96bf13 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@ Piped + diff --git a/src/App.vue b/src/App.vue index b59c4442..3da866f0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -34,6 +34,12 @@ export default { if (themePref == "auto") this.theme = darkModePreference.matches ? "dark" : "light"; else this.theme = themePref; + // Change title bar color to white + if (this.theme === "light") { + const themeColor = document.querySelector("meta[name='theme-color']"); + themeColor.setAttribute("content", "#FFF"); + } + // Used for the scrollbar const root = document.querySelector(":root"); this.theme == "dark" ? root.classList.add("dark") : root.classList.remove("dark");