Component
ThemeToggle
A real button that cycles themes. Its accessible name says the current theme and the next one, and it works from the keyboard.
Default: every theme, config effect
Two themes, wipe
Go to a navigation page: the buttons keep working there.
Component
ThemeSelect
A native select that lists the themes and a System option. It shows your preference, so System stays selected while the page is dark.
Default: every theme plus System
Custom labels, wipe
Two themes, no System
Component
ThemeRadio
A radio group that shows every choice at once. It follows your preference, so System stays checked while the page is dark, and arrow keys move between the options.
Default: every theme plus System
Custom labels and name, wipe
Two themes, no System
Headless
data-eclipse-set
Any element with data-eclipse-set switches the theme on click, with no script of your own. This is what markdown or CMS content can use.
Switch to dark, sepia orthe system theme.