re: Add dark mode to your site with this short CSS trick VIEW POST


What's more likely to happen in this case is that you'll have color set on specific parts of the site for different things. So the better thing to do is to use CSS variables.

CSS Variables example for dark mode

code of conduct - report abuse