The first website in the world with “prefers-color-scheme: dark”

As Apple begins the dark mode revolution, it wants it to be everywhere. I love dark mode, and I agree. A couple of days ago they released a new version of the Safari Developer Preview with support of the CSS feature “prefers-color-scheme: dark”. There is only one website in the world that supports it, and I happen to really like it.

It’s really simple to take advantage of:

@media (prefers-color-scheme: light) {
//code that is//
}

@media (prefers-color-scheme: dark) {
//code that changes//
}

Yep, it’s my website.