How to control if a color scheme gets the dark or the light logo?

I really agree with that.

On my forum we have a pink colorscheme. It has a pink title bar and a light secondary color.
In the Light colorsheme, the title bar looks like this:

In the pink colorshceme, we expect the logo to look like this, just like the dark mode logo:

But what we actually get is this, Because discourse simply regards it as adapting the light mode logo:

In the end, we used some less elegant theme components to make the logo influenced by the header color. We are slightly distressed by the automatic determination of how dark and light color modes affect the logo.