Hello, thanks for reaching out.
If your Windows 11 keeps switching from dark to light theme, check if Microsoft PowerToys is installed. It has a Light Switch feature that changes the theme automatically based on time or schedule.
Open PowerToys, go to Light Switch, and turn it off to keep your preferred theme fixed. You can also review your system theme settings under Settings > Personalization > Colors to confirm it’s set to Dark.