my website (gabrief11.github.io) has dark mode! (on most pages, more coming soon)
litterally all i had to do was this (and a couple other things that didn't listen to it):
<style>
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: rgb(255, 255, 255);
}
}
@media (prefers-color-scheme: light) {
body {
background-color: white;
color: black;
}
}
</style>