https://guidebookgallery.org/pics/gui/settings/appearance/wi...
For an even more WTF experience, look at how CSS had defined how web apps could use the system-defined colours for UI elements, but then it was deprecated due to a very thin "insufficient" and "security/privacy" argument:
https://www.w3.org/TR/css-color-4/#deprecated-system-colors
Obviously they could be made sufficient (imagine if JS was deprecated because it was deemed "insufficient" for making applications behave natively...), and things like Electron could use them without worrying about "security" since it's not in pages served over the network.
(That "security/privacy" argument is really thin, especially when considering how much less customisable the colours have become in newer OSs!)
The ultimate state of perfect security for a system is a dead rock. Everything that's interesting and useful can only happen in the state of some lack of security.
The whole point is that application developers don't even have to care about it if they do things right, by using the OS's UI controls they will automatically be drawn with whatever colour the user has set.
You could tell the ones who didn't know what they were doing by the invisible text littering their UIs under some color schemes. This continued into the Web era. There were tons of defective sites that overrode your system background color with a hard-coded white background, but didn't bother setting the text color to black.
The result was invisible text on any system with a "dark" (non-inverse) color scheme. DUHHHH
There are probably still millions of such sites today, but now UIs are so gimped that they hide the defect.
But the file dialogs have black text. You can hardly read anything
https://guidebookgallery.org/pics/gui/settings/appearance/wi...