CSS "Dark Mode"
Apply css based on the user’s light/dark mode theme preference.
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: cyan;
}
}
Possible values:
lightdarkno-preference(not widely supported as of writing)