🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@estruyf/vscode-theme-converter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@estruyf/vscode-theme-converter

Converts Visual Studio Code themes to Monaco editor themes.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Visual Studio Code theme converter to Monaco theme

The Monaco editor cannot use visual Studio Code themes. That is where this dependency comes into play.

This @estruyf/vscode-theme-converter dependency converts a JSON theme from VS Code to an understandable format for the Monaco editor.

Info: The dependency is a fork from Nishkal Kashyap's monaco-vscode-textmate-theme-converter

Installation

Run the following command to install the dependency to your solution:

npm i @estruyf/vscode-theme-converter

yarn add @estruyf/vscode-theme-converter

Usage

import { convertTheme, updateColor } from '@estruyf/vscode-theme-converter';

const vscodeTheme = convertTheme(textmateTheme);

const updatedColor = updateColor(colorValue);

Keywords

monaco-editor

FAQs

Package last updated on 03 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts