// Personal website of Chris Smith

CSS » Dark mode selector

This media query matches when the user has indicated they prefer dark colour schemes. On modern browsers this happens when the OS is using a dark mode/theme.

@media (prefers-color-scheme: dark) {
}