Closed Eschricht closed 1 week ago
A module similar to @nuxtjs/color-mode but with SSR support (through cookie and sec-ch-prefers-color-scheme header to fetch system preferred color scheme on server)
@nuxtjs/color-mode
sec-ch-prefers-color-scheme
https://github.com/Eschricht/nuxt-color-mode
https://www.npmjs.com/package/@eschricht/nuxt-color-mode
Nuxt 3
Description
A module similar to
@nuxtjs/color-mode
but with SSR support (through cookie andsec-ch-prefers-color-scheme
header to fetch system preferred color scheme on server)Repository
https://github.com/Eschricht/nuxt-color-mode
npm
https://www.npmjs.com/package/@eschricht/nuxt-color-mode
Nuxt Compatibility
Nuxt 3