Hey, thanks for the report. This is a known issue. When you enable Auto Detect, the default light theme doesn’t get linked correctly.
Simple workaround: scroll down in Settings and manually pick the themes you want for Light and Dark mode. After that, auto switching should work correctly.
Similar report with a screenshot of the fix: VS Code Setting Auto Detect Color Scheme Not Working