Skip to content
| Marketplace
Sign in
Visual Studio Code>Themes>Discogs Theme GeneratorNew to Visual Studio Code? Get it now.
Discogs Theme Generator

Discogs Theme Generator

MartinBarker

|
15 installs
| (0) | Free
Randomly generate and apply beautiful color themes to your VS Code or Cursor window instantly.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Discogs Color Theme Generator

Generate color themes from Discogs album art. Pick a random vinyl release, extract colors from its cover, and apply the palette to your editor.

Works in VS Code, Cursor, and any editor that supports VS Code extensions.


Quick Start

  1. Install the extension (from VSIX or marketplace)
  2. Ctrl+Shift+P (or Cmd+Shift+P on Mac) → Open Discogs Theme Generator
  3. Click Randomly Refresh Discogs Theme — a random release is fetched and its colors become your theme

Features

  • Randomly Refresh Discogs Theme — fetches random vinyl releases and builds themes from album art
  • Generate Random — random color palettes without Discogs
  • Customize Colors — click any color to open a picker, or press ↻ to swap it for another color from the album art
  • Syntax colors — code highlighting is themed from the album art too, so it stays readable whatever base theme you use
  • Code color range — a slider from album-only hues to the full color wheel, plus Shuffle for a new set of clearly different colors for each type of code
  • Refresh Text Colors — re-pick only the text and code colors, with contrast ratios shown (or set all text to black or white)
  • Gradient — blend two colors across the title bar, activity bar, side bar, tabs, editor, panel and status bar (one solid color per area, since VS Code doesn't support true gradients in themes)
  • History — browse and reload past themes
  • Auto-refresh — optional interval or on workspace open
  • Scope — apply to this window only or all windows

Build VSIX

To create an installable .vsix file:

1. Install the packaging tool (once):

npm install -g @vscode/vsce

2. Build a new version and package:

Bump the version in package.json, then run:

npm run bundle
vsce package

Or use npm version to bump and tag in one step:

npm version patch   # 0.0.5 → 0.0.6
npm run bundle
vsce package

Use patch (bug fixes), minor (new features), or major (breaking changes). This produces a file like discogs-theme-generator-0.0.6.vsix in the project root.


Publish to VS Code Marketplace

To build and publish the extension to the VS Code Marketplace:

1. Get a Personal Access Token (PAT):

  • Go to Azure DevOps → your organization → User settings (top right) → Personal access tokens
  • Create a new token with Marketplace (Publish) scope (or Full access)
  • Copy the token (it is shown only once)

2. Bump version, build, and publish:

npm version patch
npm run bundle
vsce publish --pat YOUR_AZURE_PERSONAL_ACCESS_TOKEN

Or set the token in the environment (recommended so it’s not in shell history):

# Windows (PowerShell)
$env:VSCE_PAT = "YOUR_AZURE_PERSONAL_ACCESS_TOKEN"
vsce publish

# Windows (cmd)
set VSCE_PAT=YOUR_AZURE_PERSONAL_ACCESS_TOKEN
vsce publish

vsce publish runs the prepublish script (which runs bundle), then packages and uploads the extension. The first time you publish, you may need to log in or confirm the publisher.


Install from VSIX

# VS Code
code --install-extension discogs-theme-generator-0.0.1.vsix

# Cursor
cursor --install-extension discogs-theme-generator-0.0.1.vsix

Or: Extensions → ⋯ → Install from VSIX…


Development

npm install
npm run watch

Press F5 in VS Code or Cursor to launch the Extension Development Host.


Requirements

  • Node.js 18+
  • VS Code 1.85+ or Cursor (any recent version)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft