Open
Description
Is your feature request related to a problem? Please describe.
Related to #100. In that issue @atinux said it's not possible with Nuxt 2, but I still couldn't figure out how to do it with Nuxt 3.
Describe the solution you'd like
I think this might be a good addition to the Force a Color mode section of the docs.
Describe alternatives you've considered
I tried overriding during SSR both useColorMode().preference
and useColorMode().value
but none of them work, the page still flashes.
Additional context
I'd gladly make a PR to document this if I knew how to do it 😄 Maybe the server plugin can be modified to not only check the meta of the target page during routing but also check if a colorMode.value
was manually set?