When it comes to text on websites, users either read or scan.
Reading involves focusing on words for a thorough comprehension of the subject.
Scanning involves skimming the words for a broader comprehension of the subject.
When you should use white text on a dark background depends on whether users are scanning or reading text.
😉