Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dark mode toggle in html #62

Open
nitrocode opened this issue Sep 29, 2019 · 1 comment
Open

dark mode toggle in html #62

nitrocode opened this issue Sep 29, 2019 · 1 comment

Comments

@nitrocode
Copy link
Contributor

Looks like it would be easy enough to add

https://darkmodejs.learn.uno/

@Albirew
Copy link

Albirew commented Mar 3, 2023

Since there's no picture, this very simple CSS should work:

  @media (prefers-color-scheme: dark){
    html {
      filter: hue-rotate(180deg) invert(1);
      background-color:#333;
    }
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants