Dark mode inconsistencies in Fedora 41, what can I do?

You can sync light/dark mode with a service:
Geany not changing to dark mode - #6 by vgaetera

This should work for Gtk-2/3/4 and Qt-5/6 apps.
If necessary, add a command removing stale configs.