TLDR Web Dev · OPINIONS & ADVICE

PLEASE DON'T FORCE DARK MODE

iamvishnu.com5 min read

Summary from the TLDR Web Dev newsletter

Websites shouldn't force dark mode, as this can cause eye strain and after-effects for certain people. This is usually because of high contrast ratios between text and background in dark mode, even though current WCAG guidelines don't address maximum contrast. Dark mode is great in specific situations with comfortable contrast ratios, such as OLED screens in dark rooms or well-designed code editors.