color-mode
color-mode copied to clipboard
Dark and Light mode with auto detection made easy with Nuxt 🌗
### Is your feature request related to a problem? Please describe. When switching the color-mode on my website, I was surprised system elements (like the scroll-bar on windows) isn't adjusted...
https://getbootstrap.com/docs/5.3/customize/color-modes/
Original PR: https://github.com/nuxt-modules/color-mode/pull/121 Resolved all conflicts, some code refactoring and fixed a bug generated by the minify process, which made the feature unusable in production. Debugging it was somewhat hard,...
there's a split-second light mode flash before the dark mode is applied one possible solution could be to set background color based on `@media(prefers-color-scheme: dark)` in CSS by default and...
Hi, Currently this module is using localstorage to save user preference. That's cool, but we cannot use it across subdomains. Could you please add cookies as alternative storage solution that...
### Is your feature request related to a problem? Please describe. Yes, since the user's preferred color mode is stored in localStorage, it can be modified manually with a theme...
After installing this module I get this error in the console: "Uncaught SyntaxError: Identifier 'w' has already been declared". I feel like it's trying to add the head script twice....
Hello, Question: Is there a built-in helper to get the current system value (`prefers-color-scheme`), regardless of this module's current color preferences? Reason: I'm trying to provide extra user preferences such...
### Version @nuxtjs/color-mode: 3.2.0 nuxt: 3.0.0 ### Reproduction Link ### Steps to reproduce ``` ``` ### What is Expected? There should be no type error. ### What is actually happening?...
### Version @nuxtjs/color-mode: 3.2 nuxt: 3.4 ### Reproduction Link I tried creating a fork of the codesandbox, but it was just endlessly stalled. I can create a repro if absolutely...