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.
- Download VS Code theme
.vsixpackages 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.
Demonstration images of the themes GitHub Theme, One Dark Pro and Monokai Pro
- Git
- Node.js 21.7.0+
- Clone the repository:
git clone https://github.com/KonerDev/vscode2xed.git
cd vscode2xed- Install dependencies
npm installRun the converter:
npm run startSteps:
- Enter the Visual Studio Code theme URL from the marketplace.
- Select the light and dark theme variants that you want to combine.
- Wait for the converter to download, extract, and convert the theme.
- Find the converted theme in the
./outfolder.
To update vscode2xed to the latest version:
- Pull the latest changes from the GitHub repository:
git pull origin main- Update dependencies to ensure compatibility with the latest Node.js:
npm install- If you previously built themes, you may want to clear the output folder before generating new ones:
rm -rf ./outContributions 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.
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.