When dark mode is enabled, the rebase window momentarily flickers with "light mode" UI elements on opening

Summary

When opening the rebase window with dark mode enabled, it momentarily flickers with "light mode" UI elements on opening which can be jarring on my eyes when I'm working in a dark environment.

What steps will reproduce the problem?

(How one can reproduce the issue - this is very important)

  1. Enable dark mode on your OS.
  2. Enable dark theme in TortoiseGit's settings dialog under the "Colors 1" section.
  3. Put your computer into "power efficient mode" or put it under high CPU consumption.
  4. Open TortoiseGit's rebase window.

What is the expected output? What do you see instead?

For the rebase window to appear fully in dark mode, instead it initially loads with at least some UI elements in light mode for maybe a second before they are updated to dark mode, this bright flicker can be jarring on my eyes when I'm working in a dark environment.

What version of TortoiseGit and Git are you using? On what operating system?

TortoiseGit 2.15.0.0 on Windows 11 Professional 23H2.

Please provide any additional information below, e.g. possible fixes.

If you're looking for a more convenient way to switch your OS between light and dark mode, I use this app: https://apps.microsoft.com/store/detail/XP8JK4HZBVF435