UI: Components

Dark Mode

Methods to toggle between light and dark mode, with an optional auto-mode.

Used here with Button Group:


NOTE: On this demo-page, use only one toggler at a time, since they're both using the same name-attribute, and updating the same key in localstorage.

Single-element toggler