nuxt-modules / color-mode

Dark and Light mode with auto detection made easy with Nuxt 🌗
https://color-mode.nuxtjs.org
MIT License
1.08k stars 99 forks source link

feat: Add usage of theme header from http request #219

Open Kolobok12309 opened 10 months ago

Kolobok12309 commented 10 months ago

fix #218

Currently i add detecting of user theme from http request and add systemScheme property

But don't understand how it work with nuxtApp.ssrContext && 'islandContext' in nuxtApp.ssrContext

netlify[bot] commented 10 months ago

Deploy Preview for nuxt-color-mode ready!

Name Link
Latest commit 133d30903a01c724d6bcb5c23473852b9d13418e
Latest deploy log https://app.netlify.com/sites/nuxt-color-mode/deploys/6550eb6d24df120008acec75
Deploy Preview https://deploy-preview-219--nuxt-color-mode.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.