DEV Community

Discussion on: Add dark mode to your site with this short CSS trick

Collapse
 
kylefilegriffin profile image
Kyle Griffin • Edited

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