Light/Dark mode and the bfcache

Solving a tricky problem with bfcache that I ran into when building my site's Settings page. (Art by KO.DLL )