Mac Dark Mode media queries

CSS

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;
  }
}