Switch between light and dark mode automatically

To make your site looks better, or to provide a comfortable reading experience at night, you may consider to use a dark theme. But have you think about how to make a normal light theme switch automatically between light and dark? That’s our topic today.