Dark mode
Dark mode shows light text on a dark background. On OLED screens it can save battery, but mostly at high brightness.
OLED pixels make their own light, so black pixels use almost no power. A Purdue University study found real savings on OLED phones at full brightness and only small ones at the brightness most people use.Source 1 On LCD screens, which are lit from behind, dark mode saves next to nothing.
A site can follow the visitor's system setting with the CSS media query `prefers-color-scheme`.Source 2 Many people choose dark mode for comfort in the evening, which is reason enough to support it well.
How Regular approaches it
Regular treats dark mode as a matter of comfort and choice rather than a climate measure: colours are set as tokens, so a site can follow the visitor's setting without a second design.
BenjaminWeb designer for sustainable and circular businessesSources and further reading
- Dark mode may not save your phone's battery life as much as you think, Purdue Universitypurdue.edu
- prefers-color-scheme, MDN Web Docsdeveloper.mozilla.org