@01dcb763 Whatβs wrong with it being CSS instead of JS?
@90431d67 my personal opinion of is that the 6 lines of js can do a better job checking a cookie and local before defining the final value. if you are interested next week i can post how we handled our light dark button.
@01dcb763 Iβm just referring to this very simple CSS: ``` @media (prefers-color-scheme: dark) { } ``` No cookies or JS required.