VSCode supports automatic theme switching based on the system theme using
the window.autoDetectColorScheme
setting.
Check available themes with Cmd+Shift+p
→ Preferences: Color Theme
, and add
the below to settings.json
:
{
...
"window.autoDetectColorScheme": true,
"workbench.preferredDarkColorTheme": "Atom One Dark",
"workbench.preferredLightColorTheme": "Atom One Light",
...
}