use-dark-mode icon indicating copy to clipboard operation
use-dark-mode copied to clipboard

A custom React Hook to help you implement a "dark mode" component.

Results 49 use-dark-mode issues
Sort by recently updated
recently updated
newest added

Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...

dependencies

System query causes initial mode to ignore initialState value — is this a feature or a bug? If a site prioritizes a particular mode by setting initialState then system preference...

Updates README to reflect new npm run style command including npm run style -- --fix Based on Tailwind's contributing docs https://github.com/tailwindlabs/tailwindcss/blob/master/.github/CONTRIBUTING.md

Adds @DoctorDerek as a contributor for code, doc. This was requested by DoctorDerek [in this comment](https://github.com/donavon/use-dark-mode/pull/73#issuecomment-800567807)

This .gitattributes file will force Windows developers to check out LF line endings instead of the default "auto" behavior (CRLF check out, LF check in). This is a quality-of-life improvement...

Hello maintainers, looks like react 17 has become a dependency of Gatsby (V3). Any way we can get updated? Love the hook!

I'm trying to implement the configuration for useDarkMode hook, it works when NextJS uses CSR, but has an error when renders in server-side. Any way to implement that configuration in...

if system prefer value is in dark mode the react app by default will start in dark mode is there any way the default value is always light mode?

I've been trying to fix this issue but couldn't. I'm using use-dark-mode with gatsby and while developing the application it works fine, but when I run build of the application...

[FEATURE REQUEST] It seems like, currently, this hook only works with global styles sheets but as the codebase grows, multiple stylesheets become a necessity. This is particularly relevant with frameworks...