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 #31

Open
juanfernandes opened this issue May 17, 2024 · 0 comments
Open

🌗 Dark mode #31

juanfernandes opened this issue May 17, 2024 · 0 comments
Assignees

Comments

@juanfernandes
Copy link
Owner

As a user I want to be able to see a dark version of the website and be able to toggle this setting on and off.

  • create dark mode css
  • create icon button toggle

Adding a little dark magic to the web https://medium.com/@dizzyup/adding-a-little-dark-magic-to-the-web-8eb82ce5fd91

https://paulmillr.com/posts/using-dark-mode-in-css/

Redesigning your product and website for dark mode https://stuffandnonsense.co.uk/blog/redesigning-your-product-and-website-for-dark-mode

https://blog.iconfactory.com/2018/10/dark-mode-and-css/

Learn CSS Variables in 5 minutes – freeCodeCamp https://medium.freecodecamp.org/learn-css-variables-in-5-minutes-80cf63b4025d?mc_cid=545e488581&mc_eid=ad1356f8b5

@keithamus There you have it folks. If you want your site to work with macos Mojave's Dark Mode, there's a css media query for it: prefers-dark-interface.

https://t.co/ZwSM8V2qZM

hat-tip @jonrohan https://t.co/EvtgkV4JsK

Link to Tweet: https://twitter.com/Keithamus/status/1007557906378706944

@media (prefers-color-scheme: dark) {
  body {
    background: black;
    color: white;
  }
}
@juanfernandes juanfernandes self-assigned this May 18, 2024
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

1 participant