Dark Mode
Offer a dark colour scheme via `prefers-color-scheme` and a toggle.
Easy
Define colours as custom properties and swap them; set color-scheme: light dark; so form controls follow.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.