Switch color schemes (vanilla js)
Light, dark, and auto (system) modes.
Keyboard accessible: Tab to focus radios, Left/Right arrows to toggle options.
Saves choice in localStorage.
When "auto" is selected, system preference applies.
Background/text color toggles between lavender (light) and navy (dark).
No external libs, easy to copy and customize.
Demos
Light
Dark
Auto
< toolbox