Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 3.05 KB

File metadata and controls

98 lines (67 loc) · 3.05 KB
vscode2xed Logo

vscode2xed

Convert Visual Studio Code themes into Xed-Editor compatible themes. This tool downloads a VS Code theme from the marketplace, extracts its color palette and token colors, and converts it into a format that Xed-Editor can understand.

Features

  • Download VS Code theme .vsix packages directly from the marketplace.
  • Extract light and dark theme variants from the extension.
  • Convert full theme palettes, terminal colors, and editor token colors.
  • Automatically export converted themes to an installable JSON theme.

Screenshots

Demonstration images of the themes GitHub Theme, One Dark Pro and Monokai Pro

Requirements

  • Git
  • Node.js 21.7.0+

Installation

  1. Clone the repository:
git clone https://github.com/KonerDev/vscode2xed.git
cd vscode2xed
  1. Install dependencies
npm install

Usage

Run the converter:

npm run start

Steps:

  1. Enter the Visual Studio Code theme URL from the marketplace.
  2. Select the light and dark theme variants that you want to combine.
  3. Wait for the converter to download, extract, and convert the theme.
  4. Find the converted theme in the ./out folder.

Update

To update vscode2xed to the latest version:

  1. Pull the latest changes from the GitHub repository:
git pull origin main
  1. Update dependencies to ensure compatibility with the latest Node.js:
npm install
  1. If you previously built themes, you may want to clear the output folder before generating new ones:
rm -rf ./out

Contributing

Contributions are welcome! Feel free to improve the project's color conversion algorithm or fix bugs and edge cases. You can open a pull request or create an issue for suggestions.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Not affiliated with Microsoft or Visual Studio Code in any way. Screenshots and converted themes are shown for demonstration purposes only.