Create a user controlled dark or light mode

This bookmark was published on .

Andy Bell breaks down implementing robust theme-switching functionality on your own site.