There is already a "Force Dark Pages" setting that makes every website to force dark mode. you can use it but when you use it, you cannot use QR codes because it makes it dark so it breaks. Good luck