npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vsw

v0.0.5

Published

VSCode theme switcher CLI tool

Readme

VSW - VSCode Theme Switcher

A command-line tool to easily switch VSCode color themes at the repository level.

https://github.com/user-attachments/assets/216912e1-8399-4bd8-a138-b9b397ad5a4d

Features

  • Switch between themes with a simple command
  • Save favorite themes for quick access
  • Categorize themes as dark or light
  • Interactive theme selection
  • Repository-specific theme settings

Installation

# Install globally
npm install -g vsw

# Or use with npx
npx vsw [command]

Usage

# Show help
vsw --help

# Set a specific theme
vsw set "Theme Name"

# Set a theme interactively (select from favorites)
vsw set

# List favorite themes
vsw list

# List only dark themes
vsw list --dark

# List only light themes
vsw list --light

# Add a theme to favorites
vsw add "Theme Name" --dark
vsw add "Theme Name" --light

# Add a theme interactively (will prompt for theme type)
vsw add "Theme Name"

# Remove a theme from favorites
vsw remove "Theme Name"

# Remove a theme interactively
vsw remove

# Show current theme
vsw current

# Switch to a dark theme (from favorites)
vsw dark

# Switch to a light theme (from favorites)
vsw light

# Set a pastel theme (interactive selection)
vsw pastel

# List available pastel themes
vsw pastel --list

# List dark pastel themes
vsw pastel --dark

# List light pastel themes
vsw pastel --light

# Set a vivid theme (interactive selection)
vsw vivid

# List available vivid themes
vsw vivid --list

# List dark vivid themes
vsw vivid --dark

# List light vivid themes
vsw vivid --light

# Set a color theme (interactive selection)
vsw color

# List available color themes
vsw color --list

# List dark color themes
vsw color --dark

# List light color themes
vsw color --light

Theme Collections

The CLI includes collections of beautiful color themes for VSCode. You can list and set these themes using the pastel, vivid, and color commands. When you set a theme, it's automatically added to your favorites for quick access.

Custom Colors

All themes come with custom color definitions that are applied directly to your repository's VSCode settings, so you don't need to install any theme extensions. These custom colors are applied using the workbench.colorCustomizations and editor.tokenColorCustomizations properties in your repository's .vscode/settings.json file, making them specific to each repository.

Terminal Colors

All themes now include terminal color customizations that match or complement the theme's color scheme. When you set a theme, the terminal background and foreground colors will automatically be updated to provide a consistent experience across your entire VSCode environment.

Input Background Colors

All themes now include input background color customizations that match or complement the theme's color scheme. When you set a theme, the input field background color will automatically be updated to provide a consistent experience across your entire VSCode environment, ensuring that input fields blend seamlessly with the rest of the interface. This includes the Copilot chat input background, providing a cohesive look throughout your coding environment.

Input Text Colors

All themes now include input text color customizations that ensure high contrast with the input background. This makes text in input fields, including the search box and Copilot chat, easier to read and more accessible.

Search Highlighting

Search results are now highlighted using colors that match the theme's color scheme, providing a more cohesive and visually pleasing experience when searching through code. The search highlight colors are derived from the theme's input text color, ensuring good contrast and visibility.

Enhanced Contrast for Subtexts in Dark Mode

All dark themes now feature enhanced contrast for subtexts (primarily comments) to improve readability. The contrast enhancement automatically adjusts comment colors to ensure they meet WCAG AA accessibility standards (minimum 4.5:1 contrast ratio), making code comments easier to read without straining your eyes. This is particularly beneficial for users who rely heavily on comments for code understanding or who have visual impairments.

Pastel Themes

Soft, muted color themes with a gentle aesthetic. Use the pastel command to access these themes.

Available pastel themes:

  • Pastel Light - A light theme with soft pastel colors
  • Pastel Dark - A dark theme with soft pastel colors
  • Panda Syntax - A superminimal dark syntax theme with pastel colors
  • Fairy Floss - A pastel-colored theme with a magical feel
  • Rainglow - Piggy Light - A light pastel theme with pink accents
  • Rainglow - Lavender Light - A light pastel theme with lavender accents
  • Rainglow - Tonic - A dark theme with pastel green and blue accents
  • Horizon - A beautifully warm dark theme with pastel colors
  • Ayu Light - A simple light theme with soft pastel colors
  • Winter is Coming (Light) - A light theme with soft blue pastel colors

Vivid Themes

Bright, vibrant color themes with high contrast and bold colors. Use the vivid command to access these themes.

Available vivid themes:

  • Neon Lights - A vibrant dark theme with neon accents
  • Synthwave - A retro-futuristic theme with bright colors
  • Cyberpunk - A high-contrast theme with electric colors
  • Tropical - A bright theme with vivid tropical colors
  • Candy - A colorful theme with sweet candy colors

Color Themes

Themes based on specific colors for a focused color palette. Use the color command to access these themes.

Dark Color Themes:

  • Ruby Red - A dark theme with rich red accents
  • Emerald Green - A dark theme with vibrant green accents
  • Sapphire Blue - A dark theme with deep blue accents
  • Royal Purple - A dark theme with elegant purple accents
  • Sunset Orange - A dark theme with warm orange accents
  • Chocolate Brown - A dark theme with earthy brown accents

Light Color Themes:

  • Cherry Red - A light theme with bright red accents
  • Mint Green - A light theme with fresh green accents
  • Sky Blue - A light theme with clear blue accents
  • Lavender Purple - A light theme with soft purple accents
  • Peach Orange - A light theme with gentle orange accents
  • Caramel Brown - A light theme with warm brown accents

How It Works

VSW modifies the .vscode/settings.json file in your current repository to set the workbench.colorTheme property. For pastel, vivid, and color themes with custom colors, it also sets the workbench.colorCustomizations and editor.tokenColorCustomizations properties in the same file. This allows you to have different themes and color customizations for different projects.

Favorite themes are stored in a configuration file in your home directory (~/.vsw/config.json), but the actual theme settings and color customizations are always repository-specific.

Development

# Clone the repository
git clone https://github.com/Naturalclar/vsw.git
cd vsw

# Install dependencies
pnpm install

# Build the project
pnpm build

# Run in development mode
pnpm dev

# Lint the code
pnpm lint

# Format the code
pnpm format

License

MIT