▲ | Dark Mode in CSS Guide(css-tricks.com) | |
3 points by thunderbong 8 hours ago | 1 comments | ||
▲ | bruno-366 8 hours ago | parent [-] | |
haha, I was looking at this guide yesterday :) I can also recommend a color palette generator (especially one like the one linked below that auto-generates a dark-mode version too). That way you can use css variable for your colors and then using the media query @media (prefers-color-scheme: dark) your site can auto update the colors to darkmode. |