diff --git a/packages/hoppscotch-app/pages/settings.vue b/packages/hoppscotch-app/pages/settings.vue index 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") }}
- {{ active.charAt(0).toUpperCase() + active.slice(1) }} + {{ ACCENT_COLOR.charAt(0).toUpperCase() + ACCENT_COLOR.slice(1) }}
@@ -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(() => ({