Yes, the current design was never finished, and it is essentially in a half-broken state as a result. You’re not supposed to have to think about any of this, as all colours used in the editors would adapt the dark or light mode setting (which itself doesn’t even formally exist).
Here is a previous thread on trying to get around these problems, with a link from me about halfway down to a much longer post on what the design is meant to encompass.
My own person solution is to just pick highlights, text colours and style boxes that look good against a dark background with light text. I never use light mode anyway, but it sounds like that wouldn’t be an option for you.