Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:zap: Theme color fix

Liyas Thomas1f3d1fd344b1
diff --git a/layouts/default.vue b/layouts/default.vue
index 6218ae256..b97d57d71 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -223,7 +223,6 @@
"--act-color",
vibrant ? "rgb(37, 38, 40)" : "#ffffff"
);
- document.querySelector('meta[name=theme-color]').setAttribute('content', this.$store.state.postwoman.settings.THEME_TAB_COLOR || "#252628")
})();
},
@@ -231,6 +230,7 @@
if (process.client) {
document.body.classList.add("afterLoad");
}
+ document.querySelector('meta[name=theme-color]').setAttribute('content', this.$store.state.postwoman.settings.THEME_TAB_COLOR || "#252628");
// Initializes the PWA code - checks if the app is installed,
// etc.