diff --git a/website/plugins/colorMode.ts b/website/plugins/colorMode.ts index 9f797d945..9f07cf16f 100644 --- a/website/plugins/colorMode.ts +++ b/website/plugins/colorMode.ts @@ -1,5 +1,6 @@ // Forces light color mode even if localStorage already contains saved preference. // `colorMode.preference` setting from `nuxt.config.ts` is not enough in this case. +// xref https://github.com/nuxt/ui/issues/227 export default defineNuxtPlugin((nuxtApp) => { const colorMode = useColorMode(); nuxtApp.hook("app:mounted", () => {