Документація
Мова22
Компоненти / Theme toggles / typewriter-toggle
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
A dark mode switch that rewrites itself: "light mode" is backspaced key by key and retyped as glowing "dark mode" as night falls, and going back the caret selects "dark" and types "light" over it.