A CSS theme Switcher with no flash
This site is an example of how a CSS-based color theme switcher can work without any flash on first load.
It’s powered by Netlify Edge Functions, cookies, and plain ol’ CSS. There is no client-side JavaScript in this example.