Dark mode has been introduced since last apple’s big release, this feature allows users to choose between dark, light and dynamic mode. If you like to implement this on your site you just need to use a simple media query

@media (prefers-color-scheme: dark) {
  /*my dark mode rules*/
}

dark mode