Hello,
I’m afraid that there is no way to disallow that in your case because it does not depend on theme but on your browser settings https://stackoverflow.com/questions/62989878/how-to-prevent-force-dark-mode-by-system
Regards