Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: accent color always marked as the same color once loaded fixes #2196
Andrew Bastin5d54cf51b814
diff --git a/packages/hoppscotch-app/pages/settings.vue b/packages/hoppscotch-app/pages/settings.vueindex 8edc19621..da460ad2b 100644--- a/packages/hoppscotch-app/pages/settings.vue+++ b/packages/hoppscotch-app/pages/settings.vue@@ -32,7 +32,7 @@{{ t("settings.accent_color") }}</h4><div class="my-1 text-secondaryLight">- {{ active.charAt(0).toUpperCase() + active.slice(1) }}+ {{ ACCENT_COLOR.charAt(0).toUpperCase() + ACCENT_COLOR.slice(1) }}</div><div class="mt-4"><SmartAccentModePicker />@@ -248,13 +248,13 @@ import {hasChromeExtensionInstalled,hasFirefoxExtensionInstalled,} from "~/helpers/strategies/ExtensionStrategy"-import { getLocalConfig } from "~/newstore/localpersistence"import { browserIsChrome, browserIsFirefox } from "~/helpers/utils/userAgent"const t = useI18n()const toast = useToast()const colorMode = useColorMode()+const ACCENT_COLOR = useSetting("THEME_COLOR")const PROXY_ENABLED = useSetting("PROXY_ENABLED")const PROXY_URL = useSetting("PROXY_URL")const EXTENSIONS_ENABLED = useSetting("EXTENSIONS_ENABLED")@@ -290,8 +290,6 @@ const hasFirefoxExtInstalled = usePolled(5000, (stopPolling) => {const clearIcon = ref("rotate-ccw")-const active = ref(getLocalConfig("THEME_COLOR") || "blue")-const confirmRemove = ref(false)const proxySettings = computed(() => ({