SVG Dark Theme Switcher
This is an animated dark theme / light theme switcher made in SVG.
It sets a cookie (themeStyle) with the value light or dark that can then be used client- or server side.
<embed src="switch.svg" width="100" type="image/svg+xml" />
Inspired (and designed to look similar) by https://codepen.io/bnthor/pen/WQBNxO