Mac Dark Mode media queries

CSS TIP: Mac Dark Mode media queries.

/* Default Light Mode */
body {
  color: #333;
  background-color: #fff;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    color: #fff;
    background-color: #333;
  }
}
🛠️ with ❤️ by Ash Hitchcock © 2020 | Uses