4 ms·
From the article: > When you press it for the first time, it toggles to the opposite of what you’re currently seeing, and stores the literal value (light or da
by OroPla 2mo ago
From the article:
> When you press it for the first time, it toggles to the opposite of what you’re currently seeing, and stores the literal value (light or dark). The next time you press it, it toggles back to the system default, and removes the stored value.
The article even provides a demonstration demo: https://lea.verou.me/blog/2026/dark-mode-toggles/demo https://lea.verou.me/blog/2026/dark-mode-toggles/demo