This extension provides a quick toggle between light/dark themes in VS Code. This may be useful for anyone working under significantly changing background or reflected light levels.
New: If you would like to quickly toggle the whole system dark mode, you might be interested in: Toggle Dark/Light Mode.
Features
Toggle Theme command: auto-dark-mode-windows.toggle (see History for name choice!)
Status bar icon to quickly perform the theme switch: 🌓︎
Default hot-key: Ctrl+Alt+Shift+T
Requirements
None.
Extension Settings
No additional settings are provided.
The standard settings are used to customize the light/dark themes:
workbench.preferredDarkColorTheme
workbench.preferredLightColorTheme
The operating system's light/dark mode can be automatically tracked by enabling the standard setting (the Toggle Theme command will temporarily override the theme):
window.autoDetectColorScheme
The status bar icon (🌓︎) can be hidden/shown by right-clicking the status bar and selecting Toggle Light/Dark Theme (Extension).
This extension was previously titled Automatic Theme Switcher for Windows Dark Mode, which automatically switched between dark/light themes to match the Windows Dark Mode (on Windows 10 October 2018 Update or later), and used the settings autoDarkMode.darkTheme and autoDarkMode.lightTheme. The extension was partly inspired by a version for macOS Mojave: auto-dark-mode. However, since VS Code V1.42 (January 2020), a standard setting has been available (window.autoDetectColorScheme) to perform this functionality as a built-in, cross-platform feature. Since then, the extension remains useful as a quick toggle between the standard light/dark theme preferences.