diff --git a/auto-imports.d.ts b/auto-imports.d.ts index beab76e..9eacf80 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -112,6 +112,7 @@ declare global { const resolveRef: typeof import('@vueuse/core')['resolveRef'] const resolveUnref: typeof import('@vueuse/core')['resolveUnref'] const routeI18nInstance: typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nInstance'] + const routeI18nT: typeof import('./src/locales-utils/i18n-auto-imports')['routeI18nT'] const setActivePinia: typeof import('pinia')['setActivePinia'] const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix'] const setViewportCSSVars: typeof import('utils4u/browser')['setViewportCSSVars'] @@ -457,6 +458,7 @@ declare module 'vue' { readonly resolveRef: UnwrapRef readonly resolveUnref: UnwrapRef readonly routeI18nInstance: UnwrapRef + readonly routeI18nT: UnwrapRef readonly setActivePinia: UnwrapRef readonly setMapStoreSuffix: UnwrapRef readonly setViewportCSSVars: UnwrapRef diff --git a/src/stores/app-store-auto-imports.ts b/src/stores/app-store-auto-imports.ts index bd53357..309986b 100644 --- a/src/stores/app-store-auto-imports.ts +++ b/src/stores/app-store-auto-imports.ts @@ -5,6 +5,7 @@ import { computed } from 'vue'; // >>>>> // https://vueuse.org/core/useColorMode/#advanced-usage const { system, store: themeMode } = useColorMode({ + selector: 'html', modes: { light: '', dark: 'app-dark', auto: '' }, disableTransition: false, });