Docs
Langue22
Composants / Theme toggles / shortcut-toast-toggle
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
A dark mode button with a D shortcut: every switch slides out a small toast that says what changed, with Undo and a timer that waits while you hover it.