"Dark mode" predates OLEDs by decades. Pretty much up until the first Macs, turning on a computer and getting something other than green, amber, or white text on a black background was an exception. Even then, code editors and terminal emulators on Macs and eventually Windows systems typically allowed for a dark mode, if only as a secondary option, well before anything other than CRT displays were practical.