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

@uiw/codemirror-theme-dracula

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.9.3 to 4.9.4

47

cjs/index.js

@@ -15,3 +15,4 @@ "use strict";

* @author dracula
* Original dracula color scheme by Zeno Rocha (https://github.com/dracula/dracula-theme)
* Michael Kaminsky (http://github.com/mkaminsky11)
* Original dracula color scheme by Zeno Rocha (https://github.com/zenorocha/dracula-theme)
*/

@@ -21,37 +22,35 @@ var dracula = (0, _codemirrorThemes.createTheme)({

settings: {
background: '#2B2B2B',
background: '#282a36',
foreground: '#f8f8f2',
caret: '#FFFFFF',
caret: '#f8f8f0',
selection: 'rgba(255, 255, 255, 0.1)',
gutterBackground: 'rgba(255, 255, 255, 0.1)',
gutterForeground: '#999',
selectionMatch: 'rgba(255, 255, 255, 0.2)',
gutterBackground: '#282a36',
gutterForeground: '#6D8A88',
lineHighlight: 'rgba(255, 255, 255, 0.1)'
},
styles: [{
tag: [_highlight.tags.atom, _highlight.tags.number],
color: '#bd93f9'
tag: _highlight.tags.comment,
color: '#6272a4'
}, {
tag: [_highlight.tags.comment],
color: '#61A151'
tag: _highlight.tags.string,
color: '#f1fa8c'
}, {
tag: [_highlight.tags.string],
color: '#6A8759'
tag: _highlight.tags.atom,
color: '#bd93f9'
}, {
tag: [_highlight.tags.variableName, _highlight.tags.operator],
color: '#A9B7C6'
tag: _highlight.tags.meta,
color: '#f8f8f2'
}, {
tag: [_highlight.tags.meta, _highlight.tags.className],
color: '#A9B7C6'
tag: [_highlight.tags.keyword, _highlight.tags.operator, _highlight.tags.tagName],
color: '#ff79c6'
}, {
tag: [_highlight.tags.propertyName],
color: '#FFC66D'
tag: [_highlight.tags["function"](_highlight.tags.propertyName), _highlight.tags.propertyName],
color: '#66d9ef'
}, {
tag: [_highlight.tags.keyword],
color: '#CC7832'
tag: [_highlight.tags.definition(_highlight.tags.variableName), _highlight.tags["function"](_highlight.tags.variableName), _highlight.tags.className, _highlight.tags.attributeName],
color: '#50fa7b'
}, {
tag: [_highlight.tags.tagName],
color: '#ff79c6'
}, {
tag: [_highlight.tags.typeName],
color: '#ffb86c'
tag: _highlight.tags.atom,
color: '#bd93f9'
}]

@@ -58,0 +57,0 @@ });

/**
* @name dracula
* @author dracula
* Original dracula color scheme by Zeno Rocha (https://github.com/dracula/dracula-theme)
* Michael Kaminsky (http://github.com/mkaminsky11)
* Original dracula color scheme by Zeno Rocha (https://github.com/zenorocha/dracula-theme)
*/

@@ -11,39 +12,37 @@ import { tags as t } from '@lezer/highlight';

settings: {
background: '#2B2B2B',
background: '#282a36',
foreground: '#f8f8f2',
caret: '#FFFFFF',
caret: '#f8f8f0',
selection: 'rgba(255, 255, 255, 0.1)',
gutterBackground: 'rgba(255, 255, 255, 0.1)',
gutterForeground: '#999',
selectionMatch: 'rgba(255, 255, 255, 0.2)',
gutterBackground: '#282a36',
gutterForeground: '#6D8A88',
lineHighlight: 'rgba(255, 255, 255, 0.1)'
},
styles: [{
tag: [t.atom, t.number],
color: '#bd93f9'
tag: t.comment,
color: '#6272a4'
}, {
tag: [t.comment],
color: '#61A151'
tag: t.string,
color: '#f1fa8c'
}, {
tag: [t.string],
color: '#6A8759'
tag: t.atom,
color: '#bd93f9'
}, {
tag: [t.variableName, t.operator],
color: '#A9B7C6'
tag: t.meta,
color: '#f8f8f2'
}, {
tag: [t.meta, t.className],
color: '#A9B7C6'
tag: [t.keyword, t.operator, t.tagName],
color: '#ff79c6'
}, {
tag: [t.propertyName],
color: '#FFC66D'
tag: [t.function(t.propertyName), t.propertyName],
color: '#66d9ef'
}, {
tag: [t.keyword],
color: '#CC7832'
tag: [t.definition(t.variableName), t.function(t.variableName), t.className, t.attributeName],
color: '#50fa7b'
}, {
tag: [t.tagName],
color: '#ff79c6'
}, {
tag: [t.typeName],
color: '#ffb86c'
tag: t.atom,
color: '#bd93f9'
}]
});
//# sourceMappingURL=index.js.map
{
"name": "@uiw/codemirror-theme-dracula",
"version": "4.9.3",
"version": "4.9.4",
"description": "Theme dracula for CodeMirror.",

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

"dependencies": {
"@uiw/codemirror-themes": "4.9.3"
"@uiw/codemirror-themes": "4.9.4"
},

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

@@ -0,3 +1,7 @@

<!--rehype:ignore:start-->
# Dracula Theme
<!--rehype:ignore:end-->
[![npm version](https://img.shields.io/npm/v/@uiw/codemirror-theme-dracula.svg)](https://www.npmjs.com/package/@uiw/codemirror-theme-dracula)

@@ -4,0 +8,0 @@

/**
* @name dracula
* @author dracula
* Original dracula color scheme by Zeno Rocha (https://github.com/dracula/dracula-theme)
* Michael Kaminsky (http://github.com/mkaminsky11)
* Original dracula color scheme by Zeno Rocha (https://github.com/zenorocha/dracula-theme)
*/

@@ -12,21 +13,21 @@ import { tags as t } from '@lezer/highlight';

settings: {
background: '#2B2B2B',
background: '#282a36',
foreground: '#f8f8f2',
caret: '#FFFFFF',
caret: '#f8f8f0',
selection: 'rgba(255, 255, 255, 0.1)',
gutterBackground: 'rgba(255, 255, 255, 0.1)',
gutterForeground: '#999',
selectionMatch: 'rgba(255, 255, 255, 0.2)',
gutterBackground: '#282a36',
gutterForeground: '#6D8A88',
lineHighlight: 'rgba(255, 255, 255, 0.1)',
},
styles: [
{ tag: [t.atom, t.number], color: '#bd93f9' },
{ tag: [t.comment], color: '#61A151' },
{ tag: [t.string], color: '#6A8759' },
{ tag: [t.variableName, t.operator], color: '#A9B7C6' },
{ tag: [t.meta, t.className], color: '#A9B7C6' },
{ tag: [t.propertyName], color: '#FFC66D' },
{ tag: [t.keyword], color: '#CC7832' },
{ tag: [t.tagName], color: '#ff79c6' },
{ tag: [t.typeName], color: '#ffb86c' },
{ tag: t.comment, color: '#6272a4' },
{ tag: t.string, color: '#f1fa8c' },
{ tag: t.atom, color: '#bd93f9' },
{ tag: t.meta, color: '#f8f8f2' },
{ tag: [t.keyword, t.operator, t.tagName], color: '#ff79c6' },
{ tag: [t.function(t.propertyName), t.propertyName], color: '#66d9ef' },
{ tag: [t.definition(t.variableName), t.function(t.variableName), t.className, t.attributeName], color: '#50fa7b' },
{ tag: t.atom, color: '#bd93f9' },
],
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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