brave://flags/#enable-force-dark will solve the problem, however, if you use Dark reader it’s not ideal. I am using it as a temporary fix. Credit Kolljak
Edit: The 4th from last option is the one you want. Enabled with selective inversion of non-image elements.