Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/codemirror-theme-vscode

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/codemirror-theme-vscode - npm Package Compare versions

Comparing version 4.21.25 to 4.22.0

4

package.json
{
"name": "@uiw/codemirror-theme-vscode",
"version": "4.21.25",
"version": "4.22.0",
"description": "Theme vscode for CodeMirror.",

@@ -25,3 +25,3 @@ "homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/vscode",

"dependencies": {
"@uiw/codemirror-themes": "4.21.25"
"@uiw/codemirror-themes": "4.22.0"
},

@@ -28,0 +28,0 @@ "keywords": [

@@ -20,2 +20,15 @@ <!--rehype:ignore:start-->

```js
import { EditorState } from '@codemirror/state';
import { javascript } from '@codemirror/lang-javascript';
import { vscodeDark } from '@uiw/codemirror-theme-vscode';
const state = EditorState.create({
doc: 'my source code',
extensions: [vscodeDark, javascript({ jsx: true })],
});
```
Using in React:
```jsx

@@ -22,0 +35,0 @@ import { vscodeDark, vscodeDarkInit } from '@uiw/codemirror-theme-vscode';

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc