Skip to content
| Marketplace
Sign in
Visual Studio Code>Themes>Now Playing ThemeNew to Visual Studio Code? Get it now.
Now Playing Theme

Now Playing Theme

Preview

Cris Dasalla

| (0) | Free
Tints VS Code with the album art of the song you are playing, with an optional cover background (Windows).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Now Playing Theme

Makes VS Code follow the song you're playing on Spotify (desktop app) or YouTube Music (browser tab or installed web app). Windows only. Preview.

  • Colors – the title bar, activity bar, status bar and (optionally) editor background take the album art's colors, and change with every song.
  • Album art background (opt-in) – the cover shows faintly behind your code.

No Spotify login, API key or account needed: it reads what Windows already shows in its media controls.

Getting started

  1. Install, then play something on Spotify or YouTube Music. The colors follow the song straight away.
  2. The song appears in the status bar. Click it for options.
  3. Want the cover behind your code? Run Now Playing Theme: Enable Album Art Background (see below), then use the button next to the song to switch between the background and Colors only.

How it works

  • A small PowerShell script reads Windows' media session (the same info shown in the volume flyout).
  • Colors are written to workbench.colorCustomizations in your user settings. Your original values are backed up and restored when the music app closes, or via Now Playing Theme: Restore My Original Colors.
  • The background modifies VS Code's own files, because VS Code has no API for backgrounds. It adds one <script> tag to workbench.html (original backed up).
    • VS Code then says its installation "appears to be corrupt". That's expected and harmless; choose Don't Show Again.
    • Every VS Code update removes it; the extension notices and offers Re-apply.
    • Run Disable Album Art Background before uninstalling the extension, to put VS Code's files back.

Settings

Setting Default
nowPlayingTheme.enabled true Master switch (also in the status-bar menu).
nowPlayingTheme.sources ["spotify","browser"] browser also catches regular YouTube videos.
nowPlayingTheme.colors.enabled true
nowPlayingTheme.scope full frame = title/activity/status bars only.
nowPlayingTheme.background.style poster poster (sharp cover on the right + blurred fill), blurred, sharp.
nowPlayingTheme.background.opacity 0.2 0.1 subtle – 0.35 bold.
nowPlayingTheme.minTrackSeconds 60 Ignores shorter "tracks" (YouTube ads). 0 = follow everything.
nowPlayingTheme.restoreWhenStopped true
nowPlayingTheme.pollIntervalMs 1500

Notes

  • If you use Settings Sync, add "settingsSync.ignoredSettings": ["workbench.colorCustomizations"] so every song change isn't synced.
  • The last VS Code window you focused does the updating, so colors keep following the music while you're in Spotify.
  • browser sources pick up whatever the browser is playing, including ordinary YouTube videos.
  • With several players open (e.g. Spotify and a browser) it follows the one Windows treats as current, the one your media keys control.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft