Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Toggle Light/Dark ThemeNew to Visual Studio Code? Get it now.

Toggle Light/Dark Theme

Daniel Jackson

danjackson.dev
|
12,087 installs
| (11) | Free
Command to toggle the theme between light/dark.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Toggle Light/Dark Theme - VS Code Extension

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.

Toggle light/dark theme with a status bar icon

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).

Known Issues

None.

Release Notes

See: Change Log

History

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.

Links

  • GitHub Page: danielgjackson/vscode-auto-dark-mode-windows
  • Visual Studio Marketplace: Toggle Light/Dark Theme
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft